﻿:root {
  color-scheme: dark;
  --ink: #080705;
  --ink2: #111009;
  --ink3: #1c1a14;
  --gold: #c9a96e;
  --gold-soft: #8a6d3f;
  --gold-faint: rgba(201, 169, 110, 0.15);
  --cream: #f4efe5;
  --mist: #a79b8d;
  --line: rgba(244, 239, 229, 0.09);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.cursor-dot,
.cursor-ring {
  display: none;
}

.whatsapp-float {
  position: fixed;
  right: clamp(18px, 3vw, 34px);
  bottom: clamp(18px, 3vw, 34px);
  z-index: 80;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  min-height: 58px;
  border: 1px solid rgba(8, 7, 5, 0.24);
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
  color: var(--ink);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.2s ease, background 0.2s ease;
}

.whatsapp-float::before {
  content: "";
  width: 20px;
  height: 20px;
  margin-right: 8px;
  background: currentColor;
  clip-path: polygon(50% 0%, 61% 34%, 96% 35%, 68% 56%, 79% 90%, 50% 70%, 21% 90%, 32% 56%, 4% 35%, 39% 34%);
}

.whatsapp-float:hover {
  background: #dfbf83;
  transform: translateY(-3px);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px clamp(20px, 5vw, 72px);
  background: linear-gradient(to bottom, rgba(8, 7, 5, 0.78), transparent);
  transition: background 0.25s ease, border-color 0.25s ease, padding 0.25s ease;
}

.site-header.scrolled {
  padding-block: 16px;
  border-bottom: 1px solid var(--gold-faint);
  background: rgba(8, 7, 5, 0.96);
  backdrop-filter: blur(14px);
}

/* ── BRAND BLOCK ── */
.brand {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-decoration: none;
  line-height: 1;
}

/* "SPACE" wordmark */
.brand-wordmark {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1;
  /* Subtle gold text-shadow for depth */
  text-shadow: 0 0 40px rgba(201, 169, 110, 0.25);
}

/* thin rule between wordmark and sub-line */
.brand::after {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, var(--gold-faint), transparent);
  margin: 2px 0 1px;
}

/* "Engineering and Interiors Pvt Ltd." sub-line */
.brand-sub {
  font-family: var(--sans);
  font-size: 0.56rem;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--mist);
  white-space: nowrap;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
}

.primary-nav a {
  color: var(--mist);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.primary-nav a:hover {
  color: var(--gold);
}

.primary-nav .nav-cta {
  border: 1px solid rgba(201, 169, 110, 0.38);
  color: var(--gold);
  padding: 0.72rem 1.2rem;
}

.primary-nav .nav-cta:hover {
  background: var(--gold);
  color: var(--ink);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--gold-faint);
  background: transparent;
  padding: 10px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 1px;
  margin: 6px 0;
  background: var(--gold);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 140px clamp(20px, 6vw, 86px) 88px;
}

.hero-media,
.hero-media::after,
.hero-media::before {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
  filter: brightness(0.42) saturate(0.82);
}

.hero-media::after {
  content: "";
  background:
    linear-gradient(90deg, rgba(8, 7, 5, 0.94) 0%, rgba(8, 7, 5, 0.64) 42%, rgba(8, 7, 5, 0.18) 100%),
    linear-gradient(to top, rgba(8, 7, 5, 0.86), transparent 44%);
}

.hero-media::before {
  content: "";
  z-index: 1;
  opacity: 0.28;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.13'/%3E%3C/svg%3E");
}

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



.hero h1,
.section-copy h2,
.section-heading h2,
.contact-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: 0;
  line-height: 0.96;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(4rem, 8vw, 7.5rem);
}

.hero-kicker,
.section-kicker {
  margin: 0 0 24px;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-kicker::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

em {
  color: var(--gold);
  font-style: italic;
}

.hero-copy {
  max-width: 560px;
  margin: 28px 0 0;
  color: var(--mist);
  font-size: 1rem;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  text-decoration: none;
  cursor: pointer;
}

.button-gold {
  background: var(--gold);
  color: var(--ink);
  padding: 0.95rem 1.7rem;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.2s ease, transform 0.2s ease;
}

.button-gold:hover {
  background: #dfbf83;
  transform: translateY(-2px);
}

.button-text {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.button-text::after {
  content: ">";
  margin-left: 10px;
}

.hero-stats {
  position: absolute;
  right: clamp(22px, 6vw, 86px);
  bottom: 100px;
  z-index: 2;
  display: grid;
  gap: 24px;
  max-width: 230px;
  text-align: right;
}

.hero-stats strong {
  display: block;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 300;
}

.hero-stats span {
  color: var(--mist);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  z-index: 2;
  display: grid;
  gap: 9px;
  justify-items: center;
  color: var(--mist);
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue span {
  width: 1px;
  height: 46px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: pulse 2.2s infinite;
}

.quick-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--ink2);
  border-block: 1px solid var(--line);
}

.quick-stats div {
  min-height: 148px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 24px;
  border-right: 1px solid var(--line);
  text-align: center;
}

.stat-number {
  color: var(--gold);
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1;
}

.stat-label {
  color: var(--mist);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.marquee {
  overflow: hidden;
  border-bottom: 1px solid var(--gold-faint);
  background: rgba(201, 169, 110, 0.08);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee span {
  display: inline-flex;
  align-items: center;
  color: var(--gold);
  padding: 18px 26px;
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.marquee span::after {
  content: "";
  width: 5px;
  height: 5px;
  margin-left: 26px;
  border-radius: 50%;
  background: var(--gold-soft);
}

.studio,
.services,
.process,
.projects,
.why,
.contact {
  padding: clamp(76px, 10vw, 140px) clamp(20px, 6vw, 86px);
}

.studio {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(320px, 1fr);
  align-items: center;
  gap: clamp(46px, 8vw, 108px);
}

.studio-image {
  position: relative;
}

.studio-image::before {
  content: "";
  position: absolute;
  inset: -18px 18px 18px -18px;
  border: 1px solid var(--gold);
}

.studio-image img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: brightness(0.72) saturate(0.85);
}

.studio-badge {
  position: absolute;
  right: -24px;
  bottom: 30px;
  max-width: 190px;
  padding: 20px;
  background: var(--gold);
  color: var(--ink);
}

.studio-badge strong {
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
}

.studio-badge span {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section-copy h2,
.section-heading h2,
.contact-copy h2 {
  font-size: clamp(2.6rem, 5vw, 4.4rem);
}

.section-copy p,
.contact-copy p {
  max-width: 620px;
  color: var(--mist);
  font-size: 0.95rem;
  line-height: 1.95;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 30px 0 34px;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 22px;
  color: var(--cream);
  font-size: 0.9rem;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.services,
.projects,
.site-footer {
  background: var(--ink2);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 46px;
}

.section-heading h2 {
  max-width: 720px;
}

.section-heading.compact {
  display: block;
  max-width: 760px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-card {
  position: relative;
  min-height: 570px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--ink2);
  transition: background 0.25s ease;
}

.service-card:hover {
  background: var(--ink3);
}

.service-number {
  color: var(--gold-soft);
  font-family: var(--serif);
  font-size: 1.3rem;
}

.service-card img {
  width: 100%;
  aspect-ratio: 1.4 / 1;
  margin: 22px 0 28px;
  object-fit: cover;
  filter: brightness(0.72) saturate(0.85);
}

.service-card h3,
.process-track h3,
.why-grid h3,
.project-card h3 {
  margin: 0;
  color: var(--cream);
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 400;
}

.service-card p,
.process-track p,
.why-grid p {
  color: var(--mist);
  font-size: 0.86rem;
  line-height: 1.8;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.pills span {
  border: 1px solid var(--gold-faint);
  color: var(--gold);
  padding: 7px 10px;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.process-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-top: 60px;
}

.process-track::before {
  content: "";
  position: absolute;
  top: 37px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold-faint);
}

.process-track article {
  position: relative;
}

.process-track span {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin-bottom: 26px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.15rem;
}

.process-track h3 {
  font-size: 1.25rem;
  text-transform: uppercase;
}

.project-mosaic {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  grid-auto-rows: minmax(250px, 32vw);
  gap: 1px;
  background: var(--line);
}

.project-card {
  position: relative;
  min-height: 250px;
  overflow: hidden;
}

.project-featured {
  grid-row: span 2;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.58) saturate(0.78);
  transition: transform 0.7s ease, filter 0.4s ease;
}

.project-card:hover img {
  transform: scale(1.06);
  filter: brightness(0.72) saturate(0.94);
}

.project-card div {
  position: absolute;
  inset: auto 0 0;
  padding: 28px;
  background: linear-gradient(to top, rgba(8, 7, 5, 0.95), transparent);
}

.project-card span {
  color: var(--gold);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.project-card p {
  margin: 8px 0 0;
  color: var(--mist);
}

.quote-band {
  position: relative;
  min-height: 500px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 80px 20px;
  text-align: center;
}

.quote-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.16) saturate(0.56);
}

.quote-band div {
  position: relative;
  max-width: 880px;
}

blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  font-weight: 300;
  line-height: 1.05;
}

.quote-band span {
  display: block;
  margin-top: 28px;
  color: var(--mist);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 46px;
  background: var(--line);
  border: 1px solid var(--line);
}

.why-grid article {
  min-height: 230px;
  padding: 34px;
  background: var(--ink);
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1fr);
  gap: clamp(40px, 8vw, 100px);
  background:
    linear-gradient(90deg, var(--ink) 0%, var(--ink) 50%, var(--ink2) 50%, var(--ink2) 100%);
}

.contact-list {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.contact-list div {
  border-left: 2px solid var(--gold);
  padding-left: 18px;
}

.contact-list span {
  display: block;
  color: var(--gold);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-list strong {
  display: block;
  margin-top: 5px;
  font-weight: 300;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--gold);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(8, 7, 5, 0.45);
  color: var(--cream);
  padding: 14px 16px;
  outline: none;
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--mist);
  font-size: 0.88rem;
  letter-spacing: 0;
  text-transform: none;
}

.form-status.success {
  color: #c7dfb9;
}

.form-status.error {
  color: #efb4a4;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 34px;
  padding: 62px clamp(20px, 6vw, 86px) 30px;
  border-top: 1px solid var(--line);
}

.quick-contact {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 0 clamp(20px, 6vw, 86px);
  border-top: 1px solid var(--gold-faint);
  border-bottom: 1px solid var(--gold-faint);
  background: var(--line);
}

.quick-contact a,
.quick-contact div {
  min-height: 132px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 26px 22px;
  background: var(--ink);
  text-decoration: none;
}

.quick-contact span {
  color: var(--gold);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.quick-contact strong {
  color: var(--cream);
  font-size: 0.98rem;
  font-weight: 300;
  line-height: 1.45;
}

.site-footer h2 {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.site-footer a,
.site-footer p {
  display: block;
  margin: 0 0 10px;
  color: var(--mist);
  font-size: 0.86rem;
  line-height: 1.65;
  text-decoration: none;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 18px;
}

.copyright {
  grid-column: 1 / -1;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

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

@keyframes pulse {
  0%,
  100% {
    opacity: 0.25;
    transform: scaleY(0.8);
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

@media (pointer: fine) {
  .cursor-dot,
  .cursor-ring {
    position: fixed;
    z-index: 999;
    display: block;
    pointer-events: none;
    translate: -50% -50%;
  }

  .cursor-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
  }

  .cursor-ring {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(201, 169, 110, 0.45);
    border-radius: 50%;
  }
}

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

  .process-track {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-track::before {
    display: none;
  }

  .hero-stats {
    position: relative;
    right: auto;
    bottom: auto;
    grid-template-columns: repeat(3, 1fr);
    max-width: 100%;
    margin-top: 48px;
    text-align: left;
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--gold-faint);
    background: rgba(8, 7, 5, 0.98);
  }

  .primary-nav.open {
    display: flex;
  }

  .primary-nav a,
  .primary-nav .nav-cta {
    padding: 15px;
    border: 0;
  }

  .hero {
    min-height: auto;
    padding-top: 132px;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 16vw, 5.4rem);
  }

  .hero-stats,
  .quick-stats,
  .studio,
  .contact,
  .quick-contact,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .contact {
    background: var(--ink);
  }

  .section-heading {
    display: block;
  }

  .project-mosaic {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(290px, 78vw);
  }

  .project-featured {
    grid-row: span 1;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 18px;
  }

  .brand-wordmark {
    font-size: 1.5rem;
    letter-spacing: 0.28em;
  }

  .brand-sub {
    font-size: 0.48rem;
    letter-spacing: 0.16em;
  }

  .hero {
    padding-inline: 18px;
    padding-bottom: 72px;
  }

  .hero-actions,
  .hero-stats,
  .process-track {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 16px;
  }

  .scroll-cue {
    left: auto;
    right: 18px;
    transform: none;
  }

  .quick-stats div {
    min-height: 122px;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    min-width: 52px;
    min-height: 52px;
  }

  .whatsapp-float span {
    display: none;
  }

  .whatsapp-float::before {
    margin-right: 0;
  }

  .quick-contact {
    padding-inline: 18px;
  }

  .quick-contact a,
  .quick-contact div {
    min-height: 104px;
  }

  .studio,
  .services,
  .process,
  .projects,
  .why,
  .contact {
    padding-inline: 18px;
  }

  .studio-image::before,
  .studio-badge {
    display: none;
  }

  .service-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .section-copy h2,
  .section-heading h2,
  .contact-copy h2 {
    font-size: clamp(2.4rem, 13vw, 3.4rem);
  }

  .site-footer {
    padding-inline: 18px;
  }
}
