/* ═══════════════════════════════════════════════════════════════
   VIVIKSHA DESIGN STUDIO — styles.css
   Premium Luxury Architecture & Interior Design Website
   ═══════════════════════════════════════════════════════════════ */

/* ── DESIGN TOKENS ──────────────────────────────────────────── */
:root {
  /* Core palette */
  --ivory:        #F8F5EF;
  --off-white:    #FAF8F4;
  --stone:        #EDE8DF;
  --warm-beige:   #E8E0D0;
  --sand:         #D4C9B4;
  --charcoal:     #1C1C1C;
  --charcoal-mid: #2D2D2D;
  --charcoal-soft:#3D3A36;
  --mid-grey:     #6B6560;
  --light-grey:   #9B9490;

  /* Accent — luxury sparingly */
  --forest:       #2C4A3E;
  --forest-mid:   #3D6357;
  --forest-light: #4E7C6A;
  --gold:         #B8963E;
  --gold-light:   #D4AA58;
  --gold-muted:   #C9A84C;

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

  /* Spacing */
  --section-pad:  120px;
  --section-pad-sm: 80px;
  --container:    1320px;

  /* Motion */
  --ease-luxury:  cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast:     0.3s;
  --dur-mid:      0.6s;
  --dur-slow:     1s;
  --dur-xl:       1.4s;
}


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

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

body {
  font-family: var(--font-sans);
  background-color: var(--ivory);
  color: var(--charcoal);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; height: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

::selection {
  background: var(--forest);
  color: var(--ivory);
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--stone); }
::-webkit-scrollbar-thumb { background: var(--forest); border-radius: 3px; }

/* ── SCROLL REVEAL SYSTEM ────────────────────────────────────── */
.reveal-up,
.reveal-left,
.reveal-scale {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
}

.reveal-left {
  transform: translateX(-40px);
}

.reveal-scale {
  transform: scale(0.94) translateY(20px);
}

.reveal-up.visible,
.reveal-left.visible,
.reveal-scale.visible {
  opacity: 1;
  transform: none;
}

.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }
.delay-4 { transition-delay: 0.48s; }

/* ── NAVIGATION ──────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 24px 48px;
  transition: background var(--dur-mid) var(--ease-luxury),
              padding var(--dur-mid) var(--ease-luxury),
              backdrop-filter var(--dur-mid) var(--ease-luxury),
              box-shadow var(--dur-mid) var(--ease-luxury);
}

.navbar.scrolled {
  background: rgba(248, 245, 239, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 16px 48px;
  box-shadow: 0 1px 0 rgba(28, 28, 28, 0.08);
}

.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  transition: opacity var(--dur-fast);
}
.nav-logo:hover { opacity: 0.78; }

/* Transparent PNG logo */
.nav-logo-img {
  height: 56px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.2));
  transition: filter var(--dur-fast);
}
.nav-logo:hover .nav-logo-img {
  filter: drop-shadow(0 3px 12px rgba(184, 150, 62, 0.4));
}
.navbar.scrolled .nav-logo-img {
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.08));
}

/* Brand name text stacked next to logo */
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 3px;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ivory);
  transition: color var(--dur-mid);
}

.logo-sub {
  font-family: var(--font-sans);
  font-size: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  color: rgba(248, 245, 239, 0.6);
  transition: color var(--dur-mid);
}

.navbar.scrolled .logo-text { color: var(--charcoal); }
.navbar.scrolled .logo-sub  { color: var(--mid-grey); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(248, 245, 239, 0.85);
  position: relative;
  transition: color var(--dur-fast), opacity var(--dur-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -3px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--dur-mid) var(--ease-out);
}

.nav-link:hover { color: var(--ivory); }
.nav-link:hover::after { width: 100%; }

.navbar.scrolled .nav-link { color: var(--charcoal-soft); }
.navbar.scrolled .nav-link:hover { color: var(--charcoal); }

.nav-cta {
  padding: 10px 24px;
  border: 1px solid rgba(248, 245, 239, 0.4);
  border-radius: 2px;
  color: var(--ivory) !important;
  background: transparent;
  transition: background var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast) !important;
}

.nav-cta:hover {
  background: var(--ivory);
  color: var(--charcoal) !important;
  border-color: var(--ivory);
}
.nav-cta::after { display: none; }

.navbar.scrolled .nav-cta {
  border-color: var(--forest);
  color: var(--forest) !important;
}
.navbar.scrolled .nav-cta:hover {
  background: var(--forest);
  color: var(--ivory) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--ivory);
  transition: background var(--dur-mid), transform var(--dur-mid);
}
.navbar.scrolled .nav-toggle span { background: var(--charcoal); }
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }



/* ── HERO SECTION ────────────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    object-position: center center;
  opacity: 0.73;
  transform: scale(1.02);
  transition: transform 16s ease, opacity 1s ease;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.15;
  transform: scale(1.02);
  transition: transform 16s ease, opacity 1s ease;
  filter: grayscale(100%) contrast(120%) brightness(1.4);
}

.hero:hover .hero-bg-img { transform: scale(1.0); }



.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom,
      rgba(28, 28, 28, 0.28) 0%,
      rgba(28, 28, 28, 0.12) 40%,
      rgba(28, 28, 28, 0.32) 100%),
    linear-gradient(to right,
      rgba(28, 28, 28, 0.2) 0%,
      transparent 60%);
}

/* Architectural line SVG */
.hero-lines {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.arch-lines-svg {
  width: 100%;
  height: 100%;
}

.arch-line {
  stroke: rgba(184, 150, 62, 0.5);
  stroke-width: 1;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: drawLine 2s var(--ease-out) forwards;
}

.arch-rect {
  fill: none;
  stroke: rgba(184, 150, 62, 0.4);
  stroke-width: 1;
  opacity: 0;
  animation: fadeRect 0.6s ease forwards;
}

.l1 { animation-delay: 0.4s; }
.l2 { animation-delay: 0.5s; }
.l3 { animation-delay: 0.8s; }
.l4 { animation-delay: 0.9s; }
.l5 { animation-delay: 1.0s; }
.l6 { animation-delay: 1.1s; }
.l7 { animation-delay: 1.2s; }
.l8 { animation-delay: 1.3s; }
.r1 { animation-delay: 1.0s; }
.r2 { animation-delay: 1.1s; }
.r3 { animation-delay: 1.4s; }
.r4 { animation-delay: 1.5s; }

@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}
@keyframes fadeRect {
  to { opacity: 1; }
}

/* Hero content */
.hero-content {
    position: relative;
    z-index: 10;

    max-width: 950px;

    margin-left: 5%;
    margin-right: auto;

    text-align: left;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(248, 245, 239, 0.75);
  margin-top: 32px;
}

.eyebrow-line {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.hero-title {
  text-align: left;
  font-family: var(--font-serif);
  font-size: clamp(3.2rem, 8vw, 7.5rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: rgba(4, 56, 3, 0.95);
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-shadow:
        0 2px 10px rgba(0,0,0,0.15),
        0 0 30px rgba(0,0,0,0.08);
}

.hero-title-line { display: block; }

.italic-line {
  font-style: italic;
  font-weight: 400;
  color: rgba(2, 85, 53, 0.9);
}

.hero-sub {
  text-align: left;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 4vw, 1.25rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.hero-scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(248, 245, 239, 0.5);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(248,245,239,0.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 0.9; transform: scaleY(1.1); }
}

/* Hero corner stamps */
.hero-stamp {
  position: absolute;
  z-index: 3;
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(248, 245, 239, 0.4);
  animation: fadeIn 2s ease forwards;
  animation-delay: 1.5s;
  opacity: 0;
}

.hero-stamp-tl { top: 110px; left: 48px; }
.hero-stamp-br { bottom: 40px; right: 48px; }

@keyframes fadeIn {
  to { opacity: 1; }
}

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 2px;
  transition: all var(--dur-mid) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.12);
  transform: translateX(-101%);
  transition: transform var(--dur-mid) var(--ease-out);
}
.btn:hover::before { transform: translateX(0); }

.btn-primary {
  background: var(--forest);
  color: var(--ivory);
  border: 1px solid var(--forest);
}
.btn-primary:hover {
  background: var(--forest-mid);
  border-color: var(--forest-mid);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(44, 74, 62, 0.35);
}

.btn-ghost {
  background: rgba(174, 151, 106, 0.712);;
  color: var(--ivory);
  border: 1px solid rgba(250, 199, 96, 0.611);
}
.btn-ghost:hover {
  background: rgba(255, 171, 2, 0.147);
  border-color: rgb(243, 210, 145);
  transform: translateY(-2px);
}



.strip-inner {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: marquee 22s linear infinite;
}

.strip-inner span {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.strip-dot {
  color: var(--gold);
  font-size: 0.5rem;
}

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

/* ── SECTION SHARED ──────────────────────────────────────────── */
.section-label {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-label.light { color: rgba(184, 150, 62, 0.8); }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--charcoal);
  margin-bottom: 20px;
}

.section-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--forest);
}

.section-sub {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--mid-grey);
  max-width: 500px;
  line-height: 1.8;
}

/* ── ABOUT SECTION ───────────────────────────────────────────── */
.about-section-wrapper {
  position: relative;
  width: 100%;
  background: var(--ivory, #f8f5ef);
  padding: 100px 0 120px;
  overflow: hidden;
}

.about-section {
  width: 100%;
  padding: 0;
}

.about-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 64px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* PROCESS SECTION */
#process {
    padding: 120px 0;
    background: #f8f6f2;
}

.process-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.process-header {
    text-align: center;
    margin-bottom: 80px;
}

.process-track {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
}

.process-step {
    position: relative;
    text-align: center;
}

.step-node {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #173f31;
    color: white;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
}

.step-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: #173f31;
}

.step-desc {
    color: #666;
    line-height: 1.8;
}

.process-connector {
    position: absolute;
    top: 45px;
    left: 10%;
    width: 80%;
    height: 2px;
    background: rgba(0,0,0,.1);
    z-index: 0;
}

.process-connector-fill {
    height: 100%;
    background: #d4af37;
}

.about-image-col {
  position: relative;
}

.about-img-wrapper {
  width: 100%;
  height : 100%;
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: 0 40px 100px rgba(28, 28, 28, 0.15);
}

.about-bg-img{
  
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  
}

.about-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display : block;
  transition: transform 0.9s var(--ease-out);
}

.about-img-wrapper:hover .about-main-img {
  transform: scale(1.04);
}

.about-img-caption {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(248, 245, 239, 0.9);
  backdrop-filter: blur(10px);
  padding: 10px 20px;
  border-radius: 1px;
  white-space: nowrap;
}

.caption-label {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
}

.caption-arrow {
  color: var(--gold);
  font-size: 1rem;
}

.about-sketch-thumb {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 180px;
  border: 4px solid var(--ivory);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(28, 28, 28, 0.15);
  background: var(--stone);
}

.about-sketch-thumb img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  filter: sepia(20%) contrast(0.9);
}

.thumb-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.55rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mid-grey);
  padding: 8px 12px;
  background: var(--ivory);
}

/* Stat chips */
.stat-chip {
  position: absolute;
  background: var(--charcoal);
  color: var(--ivory);
  padding: 16px 20px;
  border-radius: 2px;
  text-align: center;
  min-width: 90px;
  box-shadow: 0 16px 40px rgba(28, 28, 28, 0.2);
}

.chip-1 { top: 40px; right: -30px; }
.chip-2 { top: 140px; right: -50px; }

.chip-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
  color: var(--gold);
}

.chip-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(248, 245, 239, 0.6);
  margin-top: 4px;
}

/* About text */
.about-text-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.about-headline {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 300;
  line-height: 1.0;
  color: var(--charcoal);
  margin-bottom: 32px;
}

.about-headline em {
  font-style: italic;
  font-weight: 400;
  color: var(--forest);
}

.about-divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 32px;
}

.about-fulldivider {
    width: 100%;
    max-width: 1400px;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        #d4af37,
        transparent
    );

    margin: 80px auto;
}

.about-body {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--charcoal-soft);
  line-height: 1.9;
  margin-bottom: 24px;
  max-width: 480px;
}

.about-body em {
  font-style: italic;
  color: var(--forest-mid);
  font-family: var(--font-serif);
  font-size: 1.1em;
}

.about-philosophy {
  background: var(--stone);
  border-left: 3px solid var(--gold);
  padding: 20px 24px;
  margin: 32px 0;
  border-radius: 0 2px 2px 0;
}

.philosophy-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.phi-icon {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.philosophy-item strong {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--charcoal);
  display: block;
  margin-bottom: 4px;
}

.philosophy-item span {
  font-size: 0.85rem;
  color: var(--mid-grey);
  font-style: italic;
}

.about-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--forest);
  border-bottom: 1px solid var(--forest);
  padding-bottom: 4px;
  transition: gap var(--dur-fast), color var(--dur-fast);
  margin-top: 8px;
}

.about-cta:hover {
  gap: 20px;
  color: var(--forest-mid);
}

.cta-arrow { transition: transform var(--dur-fast); }
.about-cta:hover .cta-arrow { transform: translateX(4px); }

/* Floating geometric accents */
.geo-accent {
  position: absolute;
  pointer-events: none;
}

.geo-circle {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(184, 150, 62, 0.08);
  top: -100px;
  right: -100px;
}

.geo-grid {
  bottom: 60px;
  left: 40px;
  opacity: 0.3;
  color: var(--sand);
}

/* ── SERVICES SECTION ────────────────────────────────────────── */
.services-section {
  padding: var(--section-pad) 0;
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}

.services-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.services-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 48px;
}

.section-header {
  text-align: center;
  margin-bottom: 72px;
}

.services-section .section-title {
  color: var(--ivory);
}

.services-section .section-title em {
  color: var(--gold-light);
}

.services-section .section-sub {
  color: rgba(248, 245, 239, 0.5);
  margin: 0 auto;
}

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

.service-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: background var(--dur-mid) var(--ease-luxury),
              transform var(--dur-mid) var(--ease-out),
              box-shadow var(--dur-mid) var(--ease-out);
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(44, 74, 62, 0.12), transparent);
  opacity: 0;
  transition: opacity var(--dur-mid);
}

.service-card:hover { background: rgba(255,255,255,0.07); transform: translateY(-4px); box-shadow: 0 24px 60px rgba(0,0,0,0.3); }
.service-card:hover::before { opacity: 1; }

.card-num {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 300;
  color: rgba(184, 150, 62, 0.15);
  line-height: 1;
  position: absolute;
  top: 28px;
  right: 32px;
  transition: color var(--dur-mid);
}

.service-card:hover .card-num { color: rgba(184, 150, 62, 0.3); }

.card-icon {
  color: var(--gold);
  margin-bottom: 24px;
  opacity: 0.8;
  transition: opacity var(--dur-fast), transform var(--dur-mid);
}

.service-card:hover .card-icon { opacity: 1; transform: scale(1.08); }

.card-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--ivory);
  margin-bottom: 14px;
  line-height: 1.3;
}

.card-desc {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: rgba(248, 245, 239, 0.5);
  line-height: 1.8;
  margin-bottom: 28px;
}

.card-services {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-slow) var(--ease-out);
}

.service-card:hover .card-services,
.service-card:focus .card-services { max-height: 200px; }

.card-services li {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: rgba(248, 245, 239, 0.6);
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-services li::before {
  content: '';
  display: inline-block;
  width: 14px; height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.card-hover-line {
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--dur-mid) var(--ease-out);
}

.service-card:hover .card-hover-line { width: 100%; }

/* ── ARCHIVE SECTION ─────────────────────────────────────────── */
.archive-section {
  padding: var(--section-pad) 0;
  background: var(--ivory);
  overflow: hidden;
}

.archive-header {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 48px;
  margin-bottom: 48px;
}

.archive-filters {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-btn {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mid-grey);
  padding: 10px 22px;
  border: 1px solid var(--sand);
  border-radius: 2px;
  background: transparent;
  transition: all var(--dur-fast);
}

.filter-btn:hover {
  border-color: var(--forest);
  color: var(--forest);
}

.filter-btn.active {
  background: var(--charcoal);
  color: var(--ivory);
  border-color: var(--charcoal);
}

/* Masonry grid */
.archive-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 280px;
  gap: 12px;
}

.archive-tile {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  cursor: pointer;
}

.tile-large { grid-column: span 4; grid-row: span 2; }
.tile-small { grid-column: span 2; grid-row: span 1; }
.tile-medium { grid-column: span 3; grid-row: span 1; }

.tile-img-wrap {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

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

.archive-tile:hover .tile-img-wrap img { transform: scale(1.07); }

.tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28,28,28,0.75) 0%, rgba(28,28,28,0.1) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  transform: translateY(10px);
  opacity: 0.85;
  transition: opacity var(--dur-mid), transform var(--dur-mid);
}

.archive-tile:hover .tile-overlay { opacity: 1; transform: translateY(0); }

.tile-cat {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 6px;
}

.tile-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--ivory);
  line-height: 1.2;
  margin-bottom: 6px;
}

.tile-loc {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  color: rgba(248, 245, 239, 0.6);
  letter-spacing: 0.08em;
}

/* Hide/show filter */
.archive-tile.hidden {
  display: none;
}

/* ── PORTFOLIO SECTION ───────────────────────────────────────── */
.portfolio-section {
  padding: var(--section-pad) 0;
  background: var(--stone);
  overflow: hidden;
}

.portfolio-header {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 48px;
  margin-bottom: 64px;
}

.portfolio-slider {
  position: relative;
}

.slider-track {
  display: flex;
  transition: transform 0.7s var(--ease-out);
}

.portfolio-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 0 48px;
  max-width: var(--container);
  margin: 0 auto;
  gap: 80px;
}

/* Centering trick for full-width slides */
.slider-track { padding: 0; }
.portfolio-slide { max-width: 1320px; margin: 0 auto; width: 100%; padding: 0 48px; }

.slide-image-wrap {
  position: relative;
  aspect-ratio: 5/4;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 40px 100px rgba(28, 28, 28, 0.2);
}

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

.slide-image-wrap:hover .slide-img { transform: scale(1.04); }

.slide-sketch-overlay {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--dur-slow);
}

.slide-sketch-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(30%);
}

.slide-image-wrap:hover .slide-sketch-overlay { opacity: 0.18; }

.slide-content {
  padding: 20px 0;
}

.slide-meta {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 20px;
}

.slide-cat {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(184, 150, 62, 0.1);
  padding: 5px 14px;
  border-radius: 2px;
}

.slide-year {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: var(--mid-grey);
  letter-spacing: 0.1em;
}

.slide-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--charcoal);
  margin-bottom: 16px;
}

.slide-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--forest);
}

.slide-location {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--mid-grey);
  margin-bottom: 24px;
}

.slide-desc {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--charcoal-soft);
  line-height: 1.85;
  margin-bottom: 28px;
  max-width: 420px;
}

.slide-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
  border: 1px solid var(--sand);
  padding: 6px 14px;
  border-radius: 2px;
}

/* Slider controls */
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 56px;
}

.slider-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal-soft);
  transition: all var(--dur-fast);
}

.slider-btn:hover {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--ivory);
  transform: scale(1.08);
}

.slider-dots {
  display: flex;
  gap: 10px;
  align-items: center;
}

.slider-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sand);
  transition: all var(--dur-fast);
}

.slider-dot.active {
  width: 24px;
  border-radius: 3px;
  background: var(--forest);
}

/* ── ENQUIRY SECTION ─────────────────────────────────────────── */
.enquiry-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.enquiry-left {
  position: relative;
  background: var(--forest);
  overflow: hidden;
  padding: 100px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blueprint-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

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

.enquiry-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--ivory);
  margin-bottom: 48px;
}

.enquiry-headline em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-light);
}

.enquiry-contact-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(248, 245, 239, 0.75);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  transition: color var(--dur-fast);
}

.contact-item:hover { color: var(--ivory); }

.contact-icon {
  width: 36px; height: 36px;
  border: 1px solid rgba(248, 245, 239, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color var(--dur-fast), background var(--dur-fast);
}

.contact-item:hover .contact-icon {
  border-color: var(--gold);
  background: rgba(184, 150, 62, 0.1);
  color: var(--gold);
}

.enquiry-social {
  display: flex;
  gap: 16px;
}

.social-link {
  width: 40px; height: 40px;
  border: 1px solid rgba(248, 245, 239, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(248, 245, 239, 0.6);
  transition: all var(--dur-fast);
}

.social-link:hover {
  color: var(--ivory);
  border-color: var(--gold);
  background: rgba(184, 150, 62, 0.12);
  transform: translateY(-2px);
}

.blueprint-lines {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 300px;
  opacity: 0.5;
  z-index: 1;
}

/* Right: form */
.enquiry-right {
  background: var(--off-white);
  padding: 100px 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
}

.enquiry-form { width: 100%; max-width: 520px; }

.form-heading {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.form-sub {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--mid-grey);
  margin-bottom: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group.full-width { margin-bottom: 28px; }

.form-label {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
}

.form-input {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--charcoal);
  background: var(--stone);
  border: 1px solid transparent;
  border-bottom: 1px solid var(--sand);
  padding: 14px 0;
  border-radius: 0;
  outline: none;
  transition: border-color var(--dur-fast), background var(--dur-fast);
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}

.form-input:focus {
  border-bottom-color: var(--forest);
  background: rgba(44, 74, 62, 0.04);
}

.form-input::placeholder { color: var(--light-grey); }

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M1 4L6 9L11 4' stroke='%236B6560' stroke-width='1.2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 28px;
  cursor: pointer;
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.7;
  padding: 14px 0;
}

.btn-submit {
  width: 100%;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.form-note {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: var(--light-grey);
  text-align: center;
}

/* ── FOOTER ──────────────────────────────────────────────────── */
.footer {
  background: var(--charcoal);
  color: var(--ivory);
  padding: 80px 0 0;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.footer-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ivory);
  margin-bottom: 4px;
}

.footer-logo-sub {
  font-family: var(--font-sans);
  font-size: 0.52rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mid-grey);
  margin-bottom: 20px;
}

.footer-tagline {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: rgba(248, 245, 239, 0.45);
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social-link {
  width: 36px; height: 36px;
  border: 1px solid rgba(248, 245, 239, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(248, 245, 239, 0.5);
  transition: all var(--dur-fast);
}

.footer-social-link:hover {
  color: var(--ivory);
  border-color: var(--gold);
  background: rgba(184, 150, 62, 0.1);
}

.footer-col-title {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.footer-links-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-col a,
.footer-links-col span {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: rgba(248, 245, 239, 0.5);
  transition: color var(--dur-fast);
  line-height: 1.5;
}

.footer-links-col a:hover { color: var(--ivory); }

.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px 48px;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom span {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: rgba(248, 245, 239, 0.3);
}

/* ── TOAST ───────────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 40px;
  right: 40px;
  background: var(--charcoal);
  color: var(--ivory);
  padding: 18px 28px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: all var(--dur-mid) var(--ease-out);
  z-index: 9999;
  border-left: 3px solid var(--gold);
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.toast-icon {
  color: var(--gold);
  font-size: 1rem;
}

.toast-msg {
  font-family: var(--font-sans);
  font-size: 0.85rem;
}

/* ── PARALLAX ────────────────────────────────────────────────── */
.parallax-layer {
  will-change: transform;
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .about-container { grid-template-columns: 1fr; gap: 60px; padding: 0 32px; }
  .about-image-col { max-width: 600px; margin: 0 auto; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-container { grid-template-columns: 1fr 1fr; gap: 40px; }

  /* Fix: chips + sketch thumb overflowed the container on tablets
     since they were only hidden below 640px */
  .chip-1 { top: 24px; right: 12px; }
  .chip-2 { top: 110px; right: -8px; }
  .about-sketch-thumb { width: 140px; bottom: -24px; right: -12px; }
  body { overflow-x: hidden; }
}

@media (max-width: 900px) and (min-width: 641px) {
  /* Fix: process steps had no tablet breakpoint, jumping straight
     from 5 columns to 1 at 768px */
  .process-track { grid-template-columns: repeat(2, 1fr); row-gap: 60px; }
  .process-connector { display: none; }
}

@media (max-width: 900px) {
  :root { --section-pad: 80px; }
  .navbar { padding: 20px 24px; }
  .navbar.scrolled { padding: 14px 24px; }
  .nav-links { display: none; position: fixed; top: 0; right: 0; bottom: 0; width: 280px; background: var(--charcoal); flex-direction: column; align-items: flex-start; padding: 80px 40px; gap: 28px; transition: transform var(--dur-mid); transform: translateX(101%); }
  .nav-links.open { display: flex; transform: translateX(0); }
  .nav-link { color: var(--ivory) !important; font-size: 0.85rem; }
  .nav-cta { border-color: var(--forest) !important; color: var(--ivory) !important; }
  .nav-toggle { display: flex; }
  .nav-logo-img { height: 50px; }
  .hero-stamp { display: none; }
  .portfolio-slide { grid-template-columns: 1fr; gap: 40px; }
  .archive-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; padding: 0 24px; }
  .tile-large { grid-column: span 2; grid-row: span 1; }
  .tile-medium { grid-column: span 2; }
  .enquiry-section { grid-template-columns: 1fr; }
  .enquiry-left { padding: 60px 32px; min-height: auto; }
  .enquiry-right { padding: 60px 32px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 640px) {
  :root { --section-pad: 60px; }
  .services-grid { grid-template-columns: 1fr; }
  .archive-grid { grid-template-columns: 1fr; padding: 0 16px; }
  .tile-large, .tile-small, .tile-medium { grid-column: span 1; grid-row: span 1; }
  .footer-container { grid-template-columns: 1fr; gap: 32px; padding: 0 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; padding: 20px 24px; }
  .about-sketch-thumb { display: none; }
  .chip-1, .chip-2 { display: none; }
  .archive-header, .portfolio-header, .services-container { padding: 0 24px; }
  .archive-filters { padding: 0 24px; }
  .hero-content { padding: 0 16px; margin-left: 0; max-width: 100%; }
  .hero-eyebrow { justify-content: flex-start; }
  .hero-title { font-size: clamp(2.4rem, 10vw, 4rem); }
  .navbar { padding: 16px 20px; }
  .btn { padding: 14px 24px; font-size: 0.68rem; }
  .process-track { grid-template-columns: 1fr; gap: 48px; }
  .process-connector { display: none; }
  .process-inner { padding: 0 20px; }
  .step-node { width: 64px; height: 64px; font-size: 1.05rem; }
  .step-title { font-size: 1.15rem; }
}

@media (max-width: 480px) {
  .archive-grid { grid-auto-rows: 200px; }
  .tile-title { font-size: 1.1rem; }
  .enquiry-left, .enquiry-right { padding: 48px 20px; }
  .form-heading { font-size: 1.6rem; }
}

@media (max-width: 768px) {

    .process-track {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .process-connector {
        display: none;
    }

    .process-inner {
        padding: 0 24px;
    }

    .step-node {
        width: 70px;
        height: 70px;
    }

    .step-title {
        font-size: 1.25rem;
    }
}