/* ==========================================================================
   STYLE SHEET: PAPER & PENCIL (ART | ARCHITECTURE | INTERIORS)
   Inspired by BIG.dk + Archipelago + minaleandmann.com
   ========================================================================== */

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

/* CSS Variables */
:root {
  --bg-ink: #090a0d;
  --bg-obsidian: #111317;
  --text-cream: #faf7f2;
  --text-dust: #a39e94;
  --color-gold: #c5a880;
  --color-gold-glow: rgba(197, 168, 128, 0.3);
  
  /* Brand Flood Colors */
  --color-institutional: #b32424;
  --color-industrial: #5d38a8;
  --color-commercial: #1f40b3;
  --color-residential: #d4952b;
  
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Jost', sans-serif;
  
  --transition-smooth: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-medium: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

/* Reset and Core Layout */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto; /* Handled by high-perf custom scroll logic or standard fallback */
  background-color: var(--bg-ink);
  color: var(--text-cream);
  font-family: var(--font-sans);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  background-color: var(--bg-ink);
}

::selection {
  background-color: var(--color-gold);
  color: var(--bg-ink);
}

/* Hide default cursor on desktop */
@media (min-width: 1024px) {
  body, a, button, select, input, textarea {
    cursor: none;
  }
}

/* ==========================================================================
   CUSTOM CURSOR
   ========================================================================== */
.cursor-dot {
  width: 6px;
  height: 6px;
  background-color: var(--color-gold);
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease;
  will-change: transform;
}

.cursor-ring {
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-gold);
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  will-change: transform;
  transition: border-color 0.3s ease, background-color 0.3s ease, width 0.3s ease, height 0.3s ease, box-shadow 0.3s ease;
}

/* Cursor Interactive States */
.cursor-hover .cursor-dot {
  width: 4px;
  height: 4px;
  background-color: var(--text-cream);
}

.cursor-hover .cursor-ring {
  width: 60px;
  height: 60px;
  border-color: var(--text-cream);
  background-color: rgba(250, 247, 242, 0.05);
  box-shadow: 0 0 25px rgba(250, 247, 242, 0.15);
}

.cursor-gold-hover .cursor-ring {
  width: 70px;
  height: 70px;
  border-color: var(--color-gold);
  background-color: rgba(197, 168, 128, 0.08);
  box-shadow: 0 0 30px var(--color-gold-glow);
}

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

p {
  font-family: var(--font-sans);
  font-weight: 200;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: var(--text-dust);
}

.text-gold {
  color: var(--color-gold);
}

.text-uppercase {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  font-weight: 400;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
}

@media (max-width: 1024px) {
  .container {
    padding: 0 40px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }
}

/* ==========================================================================
   GHOST DECORATIVE NUMERALS
   ========================================================================== */
.ghost-num {
  font-family: var(--font-serif);
  font-size: clamp(10rem, 20vw, 18rem);
  font-weight: 200;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(250, 247, 242, 0.03);
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

/* ==========================================================================
   REVEAL ON SCROLL
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger reveals */
.reveal-delay-1 { transition-delay: 150ms; }
.reveal-delay-2 { transition-delay: 300ms; }
.reveal-delay-3 { transition-delay: 450ms; }

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 40px 80px;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: padding 0.5s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.5s ease, backdrop-filter 0.5s ease;
  border-bottom: 1px solid rgba(250, 247, 242, 0.03);
}

.navbar.nav-scrolled {
  padding: 20px 80px;
  background-color: rgba(9, 10, 13, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(250, 247, 242, 0.08);
}

@media (max-width: 1024px) {
  .navbar, .navbar.nav-scrolled {
    padding: 24px 40px;
  }
}

@media (max-width: 768px) {
  .navbar, .navbar.nav-scrolled {
    padding: 20px 24px;
  }
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo .logo-main {
  display: block;
  text-decoration: none;
}

.logo-img-tag {
  height: 32px;
  width: auto;
  display: block;
  opacity: 0.95;
  filter: brightness(1.05);
}

.nav-enquire {
  display: flex;
  align-items: center;
}

.enquire-link {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gold);
  text-decoration: none;
  font-weight: 400;
  transition: var(--transition-fast);
  position: relative;
  padding: 8px 0;
}

.enquire-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-gold);
  transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.enquire-link:hover {
  color: var(--text-cream);
}

.enquire-link:hover::after {
  width: 100%;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
  margin-left: auto;
  margin-right: 48px;
}

@media (max-width: 768px) {
  .nav-links {
    display: none; /* In production: a premium hamburger, but for now we keep minimal links in desktop and simplify */
  }
}

.nav-link {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-dust);
  text-decoration: none;
  font-weight: 300;
  transition: var(--transition-fast);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-gold);
  transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.nav-link:hover {
  color: var(--text-cream);
}

.nav-link:hover::after {
  width: 100%;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 80px 40px;
  overflow: hidden;
  background-color: var(--bg-ink);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.hero-video {
  position: absolute;
  top: -10%;
  left: 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
  opacity: 0.9;
  filter: brightness(0.8) contrast(1.05);
  will-change: transform;
}

/* Elegant dark wash to ensure text readability and match aesthetic */
.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(9, 10, 13, 0.4) 0%, rgba(9, 10, 13, 0.7) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 800px;
}

.est-text {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--color-gold);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 7.5vw, 6.5rem);
  line-height: 1.1;
  font-weight: 300;
  color: var(--text-cream);
  margin-bottom: 0;
  letter-spacing: -0.01em;
}

.typewriter-cursor {
  font-weight: 100;
  color: var(--text-cream);
  animation: blink-cursor 0.8s step-end infinite;
  display: inline-block;
  margin-left: 2px;
}

@keyframes blink-cursor {
  from, to { opacity: 1 }
  50% { opacity: 0 }
}

.hero .hero-ghost {
  top: 30%;
  right: 10%;
  font-size: clamp(12rem, 25vw, 24rem);
  -webkit-text-stroke: 1px rgba(250, 247, 242, 0.05);
  z-index: 1;
}

/* Hero Bottom Row Layout */
.hero-bottom {
  position: absolute;
  bottom: 40px;
  left: 0;
  width: 100%;
  padding: 0 80px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  z-index: 3;
}

.hero-bottom-left {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--text-dust);
  font-weight: 300;
}

.hero-bottom-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.view-work-btn {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-cream);
  text-decoration: none;
  font-weight: 400;
  transition: var(--transition-fast);
}

.view-work-btn:hover {
  color: var(--color-gold);
}

.scroll-subtext {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-dust);
}

@media (max-width: 1024px) {
  .hero {
    padding: 100px 40px 40px;
  }
  .hero-bottom {
    padding: 0 40px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 100px 24px 40px;
  }
  .hero-bottom {
    padding: 0 24px;
    bottom: 30px;
  }
  .hero-bottom-center {
    display: none;
  }
}

/* ==========================================================================
   INFINITE MARQUEE TICKER
   ========================================================================== */
.ticker-container {
  background-color: var(--bg-obsidian);
  border-top: 1px solid rgba(250, 247, 242, 0.05);
  border-bottom: 1px solid rgba(250, 247, 242, 0.05);
  padding: 24px 0;
  overflow: hidden;
  position: relative;
  z-index: 10;
}

.ticker-wrap {
  display: flex;
  width: 100%;
}

.ticker {
  display: flex;
  flex-shrink: 0;
  white-space: nowrap;
  animation: ticker-loop 25s linear infinite;
}

.ticker-item {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-cream);
  padding: 0 40px;
  display: flex;
  align-items: center;
}

.ticker-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-gold);
  margin-left: 80px;
}

@keyframes ticker-loop {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   STUDIO / ABOUT
   ========================================================================== */
.studio {
  padding: 160px 0;
  position: relative;
}

.studio-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 100px;
  align-items: center;
}

.studio-left {
  position: relative;
}

.section-tag {
  color: var(--color-gold);
  margin-bottom: 20px;
  display: block;
}

.studio-heading {
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 1.1;
  margin-bottom: 40px;
}

.studio-desc {
  font-size: 1.05rem;
  margin-bottom: 30px;
}

.studio-desc-small {
  font-size: 0.95rem;
  max-width: 520px;
}

.studio-right {
  position: relative;
  width: 100%;
}

.studio-img-frame {
  width: 100%;
  height: 520px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(250, 247, 242, 0.05);
}

.studio-img-inner {
  position: absolute;
  top: -10%;
  left: 0;
  width: 100%;
  height: 120%;
  will-change: transform;
}

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

.studio .ghost-num {
  top: -60px;
  left: -20px;
}

@media (max-width: 1024px) {
  .studio-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .studio-img-frame {
    height: 400px;
  }
}

/* ==========================================================================
   4-SERVICE INTERACTIVE GRID
   ========================================================================== */
.services {
  padding: 120px 0;
  background-color: rgba(9, 10, 13, 0.5);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 80px;
}

.service-card {
  position: relative;
  background-color: var(--bg-obsidian);
  border: 1px solid rgba(250, 247, 242, 0.05);
  padding: 60px 40px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: border-color 0.4s ease;
}

/* Flood Fill Background Layer */
.service-flood {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.service-card[data-color="institutional"] .service-flood { background-color: var(--color-institutional); }
.service-card[data-color="industrial"] .service-flood { background-color: var(--color-industrial); }
.service-card[data-color="commercial"] .service-flood { background-color: var(--color-commercial); }
.service-card[data-color="residential"] .service-flood { background-color: var(--color-residential); }

.service-content {
  position: relative;
  z-index: 2;
  transition: var(--transition-medium);
}

.service-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--color-gold);
  display: block;
  margin-bottom: 40px;
  transition: var(--transition-medium);
}

.service-title {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--text-cream);
  transition: var(--transition-medium);
}

.service-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-dust);
  transition: var(--transition-medium);
}

.service-arrow {
  position: relative;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(250, 247, 242, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-medium);
}

.service-arrow svg {
  width: 16px;
  height: 16px;
  fill: var(--text-cream);
  transition: var(--transition-medium);
}

/* Hover States for Cards */
.service-card:hover {
  border-color: transparent;
}

.service-card:hover .service-flood {
  transform: scaleY(1);
}

.service-card:hover .service-num {
  color: rgba(250, 247, 242, 0.6);
  transform: translateY(-5px);
}

.service-card:hover .service-title {
  color: var(--text-cream);
  transform: translateY(-5px);
}

.service-card:hover .service-desc {
  color: rgba(250, 247, 242, 0.85);
  transform: translateY(-5px);
}

.service-card:hover .service-arrow {
  border-color: var(--text-cream);
  background-color: var(--text-cream);
}

.service-card:hover .service-arrow svg {
  fill: var(--bg-ink);
  transform: rotate(45deg);
}

@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    min-height: 340px;
    padding: 40px 30px;
  }
}

/* ==========================================================================
   PROJECTS SECTION
   ========================================================================== */
.projects {
  padding: 160px 0;
}

.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 80px;
}

.projects-heading {
  font-size: clamp(2.5rem, 4vw, 4rem);
  max-width: 600px;
}

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

.project-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.project-img-container {
  width: 100%;
  height: 520px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(250, 247, 242, 0.03);
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), filter 0.8s ease;
}

/* Sliding Tag overlay */
.project-tag-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: var(--color-gold);
  color: var(--bg-ink);
  padding: 16px 28px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 500;
  transform: translateX(-101%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 3;
}

.project-info {
  margin-top: 24px;
}

.project-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 12px;
}

.project-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gold);
}

.project-area {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dust);
}

.project-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  margin-bottom: 8px;
  font-weight: 400;
  transition: color 0.3s ease;
}

.project-card:hover .project-title {
  color: var(--color-gold);
}

.project-card:hover .project-img {
  transform: scale(1.06);
  filter: grayscale(1) contrast(1.15);
}

.project-card:hover .project-tag-overlay {
  transform: translateX(0);
}

@media (max-width: 1024px) {
  .project-img-container {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .projects-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}

/* ==========================================================================
   PROCESS STEPS
   ========================================================================== */
.process {
  padding: 120px 0;
  background-color: var(--bg-obsidian);
  position: relative;
  border-top: 1px solid rgba(250, 247, 242, 0.05);
  border-bottom: 1px solid rgba(250, 247, 242, 0.05);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 80px;
}

.process-step {
  position: relative;
  display: flex;
  flex-direction: column;
}

.process-step::after {
  content: '';
  position: absolute;
  top: 0;
  right: -20px;
  width: calc(100% - 20px);
  height: 1px;
  background-color: rgba(250, 247, 242, 0.05);
}

.process-step:last-child::after {
  display: none;
}

.process-step .ghost-num {
  position: relative;
  top: 0;
  left: 0;
  font-size: 5rem;
  margin-bottom: 24px;
}

.process-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 16px;
  font-weight: 400;
}

.process-desc {
  font-size: 0.85rem;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
  }
  .process-step::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   CLIENT QUOTE SECTION
   ========================================================================== */
.quote-section {
  padding: 160px 0;
  position: relative;
  text-align: center;
}

.quote-container {
  max-width: 960px;
  margin: 0 auto;
}

.quote-icon {
  font-family: var(--font-serif);
  font-size: 6rem;
  color: var(--color-gold);
  line-height: 1;
  opacity: 0.2;
  margin-bottom: 20px;
  display: inline-block;
}

.quote-text {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  line-height: 1.3;
  margin-bottom: 40px;
  font-weight: 300;
  color: var(--text-cream);
}

.quote-author {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.85rem;
  color: var(--color-gold);
  display: block;
}

.quote-author-title {
  font-size: 0.75rem;
  color: var(--text-dust);
  margin-top: 6px;
  display: block;
  letter-spacing: 0.1em;
}

/* ==========================================================================
   CONTACT FORM & GLOW EFFECTS
   ========================================================================== */
.contact {
  padding: 120px 0 160px 0;
  position: relative;
  border-top: 1px solid rgba(250, 247, 242, 0.03);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 100px;
}

.contact-heading {
  font-size: clamp(2.5rem, 4.5vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 30px;
}

.contact-info-list {
  list-style: none;
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-info-item .info-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-gold);
  display: block;
  margin-bottom: 8px;
}

.contact-info-item .info-val {
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--text-cream);
  text-decoration: none;
}

/* Bottom Border Only glowing fields */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.form-group {
  position: relative;
  width: 100%;
}

.form-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(250, 247, 242, 0.15);
  padding: 12px 0;
  color: var(--text-cream);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 200;
  outline: none;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.form-label {
  position: absolute;
  top: 12px;
  left: 0;
  font-size: 0.9rem;
  color: var(--text-dust);
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), font-size 0.4s ease, color 0.4s ease;
}

/* Floating Label Logic */
.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
  transform: translateY(-24px);
  font-size: 0.75rem;
  color: var(--color-gold);
}

.form-input:focus {
  border-bottom: 1px solid var(--color-gold);
  /* Elegant ambient bottom glow */
  box-shadow: 0 4px 20px rgba(197, 168, 128, 0.08);
}

.form-btn {
  background-color: transparent;
  border: 1px solid rgba(250, 247, 242, 0.2);
  color: var(--text-cream);
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  padding: 18px 40px;
  width: fit-content;
  transition: var(--transition-medium);
  margin-top: 20px;
}

.form-btn:hover {
  border-color: var(--color-gold);
  background-color: var(--color-gold);
  color: var(--bg-ink);
}

/* Premium success popup message */
.form-success {
  display: none;
  background-color: rgba(197, 168, 128, 0.08);
  border: 1px solid var(--color-gold);
  padding: 30px;
  text-align: center;
  animation: fade-in-up 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.form-success-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--color-gold);
  margin-bottom: 12px;
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}

/* ==========================================================================
   FOOTER (3-COLUMN MINIMAL LAYOUT)
   ========================================================================== */
.footer {
  padding: 100px 0 60px 0;
  border-top: 1px solid rgba(250, 247, 242, 0.05);
  background-color: rgba(9, 10, 13, 0.8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 80px;
}

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

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-cream);
}

.footer-desc {
  font-size: 0.9rem;
  max-width: 320px;
  line-height: 1.6;
}

.footer-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.20em;
  color: var(--color-gold);
  margin-bottom: 24px;
  font-weight: 400;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  text-decoration: none;
  font-size: 0.85rem;
  color: var(--text-dust);
  font-weight: 300;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--text-cream);
  padding-left: 4px;
}

.footer-copy {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 80px;
  padding-top: 30px;
  border-top: 1px solid rgba(250, 247, 242, 0.03);
  font-size: 0.75rem;
  color: var(--text-dust);
  letter-spacing: 0.05em;
}

.footer-copy-left {
  font-weight: 200;
}

.footer-copy-right {
  display: flex;
  gap: 30px;
}

.footer-copy-right a {
  color: var(--text-dust);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-copy-right a:hover {
  color: var(--text-cream);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .footer-copy {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-top: 48px;
  }
}
