:root {
  --ink: #12100e;
  --ink-2: #1c1915;
  --ivory: #f7f1e7;
  --ivory-2: #fffaf1;
  --muted: #7d705f;
  --line: rgba(92, 68, 30, 0.18);
  --gold: #c99436;
  --gold-2: #efc66c;
  --gold-3: #9b6b1f;
  --white: #ffffff;
  --shadow: 0 28px 70px rgba(34, 25, 12, 0.14);
  --shadow-dark: 0 28px 80px rgba(0, 0, 0, 0.34);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: radial-gradient(circle at 18% 8%, rgba(239, 198, 108, 0.16), transparent 28%),
    linear-gradient(180deg, #11100e 0 18rem, var(--ivory) 18rem 100%);
  color: var(--ink);
  font-family: var(--sans);
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

body.is-loading {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  appearance: none;
  border: 0;
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-shell {
  width: min(100%, 1600px);
  margin: 0 auto;
  background: var(--ivory);
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 34%, rgba(239, 198, 108, 0.16), transparent 28%),
    linear-gradient(145deg, #070604, #17130d 54%, #080706);
  color: var(--ivory);
  opacity: 1;
  visibility: visible;
  transition: opacity 620ms ease, visibility 620ms ease;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-panel {
  display: grid;
  justify-items: center;
  gap: 18px;
  transform: translateY(0);
  animation: loaderPanelIn 760ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.loader-panel img {
  width: min(220px, 58vw);
  filter: drop-shadow(0 22px 44px rgba(0, 0, 0, 0.45));
}

.loader-line {
  position: relative;
  width: min(220px, 58vw);
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.loader-line::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, var(--gold-2), transparent);
  animation: loaderSweep 1.25s ease-in-out infinite;
}

.loader-panel p {
  margin: 0;
  color: rgba(255, 250, 241, 0.78);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-header {
  position: fixed;
  top: 28px;
  left: 50%;
  z-index: 30;
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) 180px;
  align-items: center;
  gap: 24px;
  width: min(calc(100% - 72px), 1180px);
  transform: translateX(-50%);
  pointer-events: none;
  transition: top 360ms ease, width 420ms ease, grid-template-columns 420ms ease, gap 420ms ease;
}

.brand,
.desktop-nav,
.header-cta,
.menu-toggle {
  pointer-events: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 126px;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.45));
  transform-origin: left center;
  transition: opacity 320ms ease, transform 420ms ease, width 420ms ease, filter 420ms ease;
}

.brand img {
  width: 100%;
}

.desktop-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.88);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(22px);
  transition: padding 420ms ease, background 420ms ease, box-shadow 420ms ease, border-color 420ms ease;
}

.desktop-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  min-height: 38px;
  border-radius: 999px;
  color: #4f473c;
  font-size: 0.86rem;
  font-weight: 700;
  transition: color 220ms ease, background 220ms ease, transform 220ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  background: rgba(201, 148, 54, 0.16);
  color: var(--gold-3);
  transform: translateY(-1px);
}

.desktop-nav .nav-whatsapp {
  min-width: 0;
  width: 0;
  min-height: 42px;
  padding: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateX(14px) scale(0.84);
  color: #21170b;
  background: linear-gradient(135deg, #f2c665, #c9902e);
  box-shadow: 0 12px 28px rgba(201, 148, 54, 0.18);
  pointer-events: none;
  transition: width 420ms ease, opacity 320ms ease, transform 420ms ease, margin-left 420ms ease;
}

.desktop-nav .nav-whatsapp svg {
  width: 18px;
  height: 18px;
}

.header-cta {
  position: relative;
  overflow: hidden;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 22px;
  border: 1px solid rgba(255, 232, 170, 0.72);
  border-radius: 999px;
  background: linear-gradient(135deg, #f2c665, #c9902e);
  color: #21170b;
  font-size: 0.92rem;
  font-weight: 800;
  box-shadow: 0 20px 42px rgba(201, 148, 54, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.42);
  transform-origin: right center;
  transition: opacity 320ms ease, transform 420ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  top: 20px;
  grid-template-columns: 0 minmax(0, 1fr) 0;
  gap: 0;
  width: min(calc(100% - 48px), 720px);
}

.site-header.is-scrolled .brand {
  width: 0;
  opacity: 0;
  transform: translateX(-18px) scale(0.86);
  pointer-events: none;
  filter: none;
}

.site-header.is-scrolled .desktop-nav {
  padding: 9px 12px;
  border-color: rgba(255, 255, 255, 0.54);
  background: rgba(255, 250, 241, 0.72);
  box-shadow: 0 22px 64px rgba(20, 15, 9, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.site-header.is-scrolled .desktop-nav .nav-whatsapp {
  width: 44px;
  margin-left: 2px;
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}

.site-header.is-scrolled .header-cta {
  opacity: 0;
  transform: translateX(20px) scale(0.86);
  pointer-events: none;
}

.header-cta:hover,
.header-cta:focus-visible,
.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.icon,
[data-icon] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.icon svg,
[data-icon] svg {
  width: 1.15em;
  height: 1.15em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.menu-toggle {
  display: none;
  justify-self: end;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(21, 18, 14, 0.64);
  color: var(--white);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
}

.mobile-menu {
  position: fixed;
  inset: 98px 22px auto;
  z-index: 29;
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid rgba(255, 230, 170, 0.18);
  border-radius: 30px;
  background: rgba(17, 16, 14, 0.92);
  color: var(--ivory);
  box-shadow: var(--shadow-dark);
  transform: translateY(-18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
  backdrop-filter: blur(22px);
}

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

.mobile-menu a {
  padding: 14px 16px;
  border-radius: 18px;
  color: rgba(255, 250, 241, 0.86);
  font-weight: 700;
}

.mobile-menu a:hover,
.mobile-menu a:focus-visible {
  background: rgba(239, 198, 108, 0.12);
  color: var(--gold-2);
}

.hero {
  position: relative;
  min-height: 760px;
  padding: 170px max(34px, calc((100vw - var(--max)) / 2)) 88px;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
}

.hero::after {
  content: "";
  position: absolute;
  left: -4vw;
  right: -4vw;
  bottom: -68px;
  z-index: 3;
  height: 150px;
  border-top: 3px solid rgba(239, 198, 108, 0.62);
  border-radius: 50% 50% 0 0 / 45% 45% 0 0;
  background: var(--ivory);
}

.hero-bg,
.final-cta-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("../images/projects/house-of-hiranandani/hiranandani-06.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-bg {
  animation: heroDrift 26s ease-in-out infinite alternate;
  transform-origin: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 72% 38%, rgba(201, 148, 54, 0.1), transparent 24%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.5) 42%, rgba(0, 0, 0, 0.1) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.58), transparent 48%);
}

.hero-content {
  position: relative;
  z-index: 4;
  max-width: 620px;
}

.hero-orbit {
  position: absolute;
  z-index: 2;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(239, 198, 108, 0.18);
  border-radius: 50%;
  opacity: 0.7;
  pointer-events: none;
}

.hero-orbit::before,
.hero-orbit::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold-2);
  box-shadow: 0 0 24px rgba(239, 198, 108, 0.8);
}

.hero-orbit::before {
  top: 20px;
  left: 54px;
}

.hero-orbit::after {
  right: 30px;
  bottom: 42px;
}

.orbit-one {
  right: 13%;
  top: 28%;
  animation: orbitFloat 14s ease-in-out infinite;
}

.orbit-two {
  right: 4%;
  top: 53%;
  width: 150px;
  height: 150px;
  animation: orbitFloat 11s ease-in-out infinite reverse;
}

.eyebrow {
  margin: 0 0 14px;
  color: rgba(255, 240, 208, 0.82);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 690px;
  margin-bottom: 26px;
  font-size: clamp(3rem, 6vw, 5.15rem);
  text-wrap: balance;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(2.1rem, 4.7vw, 4.25rem);
}

h3 {
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 500px;
  margin-bottom: 30px;
  color: rgba(255, 250, 241, 0.82);
  font-size: 1.1rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 58px;
  padding: 0 27px;
  border-radius: 999px;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.btn::after,
.header-cta::after {
  content: "";
  position: absolute;
  inset: -70% auto -70% -45%;
  width: 42%;
  transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  opacity: 0;
}

.btn:hover::after,
.btn:focus-visible::after,
.header-cta:hover::after,
.header-cta:focus-visible::after {
  animation: sheen 760ms ease;
}

.btn-gold {
  border: 1px solid rgba(255, 232, 170, 0.72);
  background: linear-gradient(135deg, #f4cb6d, #c38a2c);
  color: #21170b;
  box-shadow: 0 24px 54px rgba(201, 148, 54, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.42);
  animation: ctaBreath 5.8s ease-in-out infinite;
}

.btn-gold:hover,
.btn-gold:focus-visible {
  box-shadow: 0 30px 70px rgba(201, 148, 54, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.btn-ghost {
  border: 1px solid rgba(239, 198, 108, 0.72);
  background: rgba(5, 5, 5, 0.35);
  color: var(--white);
  backdrop-filter: blur(12px);
}

.btn-outline-gold {
  min-height: 54px;
  border: 1px solid rgba(239, 198, 108, 0.72);
  color: var(--white);
  background: rgba(0, 0, 0, 0.22);
}

.btn-soft-gold {
  min-height: 50px;
  border: 1px solid rgba(255, 232, 170, 0.62);
  background: linear-gradient(135deg, #f2c665, #c9902e);
  color: #21170b;
  cursor: pointer;
  box-shadow: 0 18px 42px rgba(201, 148, 54, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.btn-soft-gold:hover,
.btn-soft-gold:focus-visible {
  background: linear-gradient(135deg, #f7d883, #b97f24);
  box-shadow: 0 24px 54px rgba(201, 148, 54, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.44);
}

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.trust-pills span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid rgba(239, 198, 108, 0.32);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.36);
  color: rgba(255, 250, 241, 0.88);
  font-size: 0.84rem;
  font-weight: 700;
  backdrop-filter: blur(12px);
  transition: transform 240ms ease, border-color 240ms ease, background 240ms ease;
}

.trust-pills i {
  color: var(--gold-2);
  font-size: 1.05rem;
}

.trust-pills span:hover {
  transform: translateY(-3px);
  border-color: rgba(239, 198, 108, 0.62);
  background: rgba(0, 0, 0, 0.52);
}

.section {
  position: relative;
  padding: 86px max(34px, calc((100vw - var(--max)) / 2));
}

.services-section {
  padding-top: 72px;
}

.section-head,
.portfolio-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section-head p:not(.eyebrow) {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.section-arrows {
  display: flex;
  gap: 13px;
}

.section-arrows button {
  width: 50px;
  height: 50px;
  border: 1px solid rgba(201, 148, 54, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.54);
  color: var(--gold-3);
}

.section-arrows button:last-child {
  background: linear-gradient(135deg, #eec66d, #bd8529);
  color: #21170b;
}

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

.service-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 36px;
  background: var(--ivory-2);
  box-shadow: var(--shadow);
  transition: transform 300ms ease, box-shadow 300ms ease;
  will-change: transform;
}

.service-card::before,
.project-card::before,
.testimonial-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.22) 42%, transparent 68%);
  transform: translateX(-120%);
  opacity: 0;
  pointer-events: none;
}

.service-card:hover,
.service-card:focus-visible {
  transform: translateY(-8px);
  box-shadow: 0 36px 76px rgba(34, 25, 12, 0.2);
}

.service-card:hover::before,
.service-card:focus-visible::before,
.project-card:hover::before,
.testimonial-card:hover::before {
  animation: cardShine 850ms ease;
}

.service-card img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(255, 250, 241, 0.98) 66%);
  pointer-events: none;
}

.service-card-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 0 24px 26px;
  text-align: left;
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-top: -8px;
  border: 1px solid rgba(201, 148, 54, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--gold-3);
  box-shadow: 0 15px 34px rgba(34, 25, 12, 0.12);
  transition: transform 260ms ease, color 260ms ease, background 260ms ease;
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-card h3 {
  margin: 0;
  font-size: 1.46rem;
  line-height: 1.02;
}

.service-card:hover .service-icon,
.service-card:focus-visible .service-icon {
  transform: translateY(-3px) scale(1.06);
  background: linear-gradient(135deg, #f6d582, #c99436);
  color: #21170b;
}

.portfolio-band {
  width: min(calc(100% - 64px), 1340px);
  margin: 8px auto 0;
  padding: 48px 42px 36px;
  border: 1px solid rgba(255, 230, 170, 0.12);
  border-radius: 44px;
  background: radial-gradient(circle at 80% 0%, rgba(201, 148, 54, 0.18), transparent 26%),
    linear-gradient(145deg, #151310, #050505);
  color: var(--white);
  box-shadow: var(--shadow-dark);
}

.portfolio-head {
  margin-bottom: 28px;
}

.portfolio-head h2 {
  margin-bottom: 0;
  color: var(--white);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.project-card {
  position: relative;
  min-height: 292px;
  overflow: hidden;
  border: 1px solid rgba(239, 198, 108, 0.42);
  border-radius: 28px;
  background: #111;
  transition: transform 320ms ease, border-color 320ms ease;
  will-change: transform;
}

.project-card:not(.is-project-visible) {
  display: none;
}

.project-card.is-switching {
  animation: projectSetIn 780ms ease both;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(239, 198, 108, 0.8);
  box-shadow: 0 26px 56px rgba(0, 0, 0, 0.28);
}

.project-card img {
  width: 100%;
  height: 100%;
  min-height: 292px;
  object-fit: cover;
  opacity: 0.78;
  transform: scale(1.02);
  transition: transform 600ms ease, opacity 600ms ease;
}

.project-card:hover img {
  opacity: 0.92;
  transform: scale(1.08);
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, 0.76) 78%), linear-gradient(90deg, rgba(0, 0, 0, 0.48), transparent 68%);
}

.project-overlay {
  position: absolute;
  inset: auto 20px 20px;
  z-index: 1;
  padding-right: 72px;
}

.project-overlay span {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(239, 198, 108, 0.5);
  border-radius: 999px;
  color: var(--gold-2);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.project-overlay h3 {
  max-width: min(310px, calc(100% - 74px));
  margin-bottom: 10px;
  color: var(--white);
  font-size: clamp(1.35rem, 2.1vw, 1.9rem);
  line-height: 1.06;
}

.project-overlay p {
  margin: 0;
  max-width: min(260px, calc(100% - 74px));
  color: rgba(255, 250, 241, 0.78);
  font-weight: 600;
  line-height: 1.35;
}

.project-overlay a {
  position: absolute;
  right: 0;
  bottom: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f0c86d, #bd8428);
  color: #21170b;
  font-size: 1.5rem;
  font-weight: 800;
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.project-card:hover .project-overlay a {
  transform: translateX(4px);
  box-shadow: 0 16px 34px rgba(201, 148, 54, 0.28);
}

.portfolio-dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 28px;
}

.portfolio-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.34);
  cursor: pointer;
  transition: width 320ms ease, background 320ms ease, box-shadow 320ms ease;
}

.portfolio-dots button.active {
  width: 28px;
  border-radius: 999px;
  background: var(--gold-2);
  animation: dotPulse 2.8s ease-in-out infinite;
}

.process-section {
  padding-top: 90px;
}

.process-line {
  display: none;
}

.process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
  padding-top: 28px;
}

.process-grid::before {
  content: "";
  position: absolute;
  left: 58px;
  right: 58px;
  top: 55px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 148, 54, 0.62) 8%, rgba(201, 148, 54, 0.62) 92%, transparent);
}

.process-step {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 9px;
  text-align: center;
  transition: transform 280ms ease;
}

.process-step:hover {
  transform: translateY(-8px);
}

.process-step span {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #edc267, #b98228);
  color: var(--white);
  font-weight: 800;
  outline: 10px solid var(--ivory);
  box-shadow: 0 14px 28px rgba(201, 148, 54, 0.22);
  animation: stepPulse 4.8s ease-in-out infinite;
}

.process-step:nth-child(2) span { animation-delay: 220ms; }
.process-step:nth-child(3) span { animation-delay: 440ms; }
.process-step:nth-child(4) span { animation-delay: 660ms; }
.process-step:nth-child(5) span { animation-delay: 880ms; }

.process-step h3 {
  margin: 2px 0 0;
  font-size: 1.18rem;
}

.process-step p {
  max-width: 170px;
  margin: 0 auto 6px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.process-step i {
  color: var(--gold);
  font-size: 1.7rem;
}

.testimonials-section {
  width: min(calc(100% - 64px), 1340px);
  margin: 0 auto;
  padding: 52px 42px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 44px;
  background: linear-gradient(135deg, rgba(255, 252, 246, 0.76), rgba(246, 236, 220, 0.6));
  box-shadow: var(--shadow);
}

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

.testimonial-card {
  position: relative;
  overflow: hidden;
  min-height: 224px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 22px 60px rgba(34, 25, 12, 0.11);
  transition: transform 280ms ease, box-shadow 280ms ease;
}

.extra-review {
  display: none;
}

.testimonial-grid.show-all .extra-review {
  display: block;
  animation: reviewReveal 520ms ease both;
}

.testimonial-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 30px 72px rgba(34, 25, 12, 0.16);
}

.quote {
  display: block;
  height: 42px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 5rem;
  line-height: 0.8;
}

.testimonial-card p {
  min-height: 76px;
  color: #312a21;
  line-height: 1.55;
}

.rating {
  color: var(--gold);
  letter-spacing: 0.12em;
}

.testimonial-card strong,
.testimonial-card small {
  display: block;
}

.testimonial-card strong {
  margin-top: 8px;
}

.testimonial-card small {
  margin-top: 2px;
  color: var(--muted);
}

.final-cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  align-items: center;
  gap: 34px;
  width: min(calc(100% - 72px), 1260px);
  margin: 28px auto 54px;
  min-height: 240px;
  padding: 48px 72px;
  overflow: hidden;
  border-radius: 42px;
  color: var(--white);
  background: #080706;
  isolation: isolate;
  box-shadow: 0 28px 80px rgba(18, 12, 4, 0.18);
}

.final-cta-bg {
  background-image: url("../images/cta-lounge.jpg");
  opacity: 0.58;
  animation: ctaImageDrift 24s ease-in-out infinite alternate;
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.36) 68%, rgba(0, 0, 0, 0.72));
}

.final-cta-content {
  position: relative;
  z-index: 1;
}

.final-cta h2 {
  margin-bottom: 8px;
  color: var(--gold-2);
}

.final-cta p {
  color: rgba(255, 250, 241, 0.82);
}

.cta-features {
  position: relative;
  z-index: 1;
  justify-self: end;
  display: grid;
  grid-template-columns: repeat(3, max-content);
  justify-content: end;
  gap: 18px 24px;
  max-width: 100%;
  color: rgba(255, 250, 241, 0.86);
  font-size: 0.9rem;
  font-weight: 700;
}

.cta-features span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.cta-features i {
  color: var(--gold-2);
  font-size: 1.25rem;
}

.site-footer {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 1.35fr) minmax(220px, 0.75fr) minmax(130px, 0.45fr) minmax(150px, 0.5fr);
  gap: 42px;
  width: min(calc(100% - 72px), 1260px);
  margin: 0 auto 34px;
  padding: 38px 42px 28px;
  border: 1px solid rgba(201, 148, 54, 0.14);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(246, 236, 220, 0.48)),
    radial-gradient(circle at 92% 18%, rgba(201, 148, 54, 0.12), transparent 30%);
  color: var(--muted);
  box-shadow: 0 22px 60px rgba(34, 25, 12, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 42px;
  right: 42px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 148, 54, 0.45), transparent);
}

.site-footer strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.22rem;
}

.site-footer p {
  max-width: 560px;
  margin: 0;
  line-height: 1.6;
}

.footer-brand,
.footer-contact,
.footer-socials,
.footer-legal {
  display: grid;
  align-content: start;
}

.footer-contact,
.footer-socials,
.footer-legal {
  gap: 10px;
  min-width: 0;
}

.footer-contact span,
.footer-socials span,
.footer-legal span {
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-contact a,
.footer-socials a,
.footer-legal a {
  display: inline-flex;
  max-width: 100%;
  font-weight: 700;
  color: var(--gold-3);
  overflow-wrap: anywhere;
  line-height: 1.35;
  transition: color 220ms ease, transform 220ms ease;
}

.footer-contact a:hover,
.footer-contact a:focus-visible,
.footer-socials a:hover,
.footer-socials a:focus-visible,
.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: #6c4710;
  transform: translateX(3px);
}

.site-footer .footer-credit {
  grid-column: 1 / -1;
  max-width: none;
  width: 100%;
  padding-top: 18px;
  border-top: 1px solid rgba(201, 148, 54, 0.16);
  color: rgba(125, 112, 95, 0.9);
  font-size: 0.86rem;
  font-weight: 700;
  text-align: center;
}

.footer-credit a {
  color: var(--gold-3);
  font-weight: 900;
}

.footer-credit a:hover,
.footer-credit a:focus-visible {
  color: #6c4710;
}

.sticky-actions {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 31;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: min(calc(100% - 26px), 430px);
  padding: 8px;
  border: 1px solid rgba(255, 230, 170, 0.2);
  border-radius: 999px;
  background: rgba(12, 10, 8, 0.88);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.32);
  transform: translateX(-50%);
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(18px);
  transition: opacity 240ms ease, transform 240ms ease;
}

.sticky-actions.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.sticky-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  border-radius: 999px;
  color: var(--white);
  font-weight: 800;
}

.sticky-actions a:first-child {
  background: linear-gradient(135deg, #f0c86d, #bd8428);
  color: #21170b;
}

.desktop-nav a.is-active {
  background: rgba(201, 148, 54, 0.16);
  color: var(--gold-3);
}

.blog-hero {
  position: relative;
  min-height: 640px;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 190px 5vw 96px;
  color: var(--ivory-2);
  background: #080706;
}

.blog-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.48) 42%, rgba(0, 0, 0, 0.18)),
    url("../images/projects/house-of-hiranandani/hiranandani-06.jpg") center / cover;
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.blog-hero-content {
  position: relative;
  z-index: 1;
  width: min(780px, 100%);
}

.blog-hero h1,
.blog-post-hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: 0.96;
}

.blog-hero p:not(.eyebrow),
.blog-post-hero p:not(.eyebrow) {
  max-width: 680px;
  color: rgba(255, 250, 241, 0.82);
  font-size: 1.08rem;
  line-height: 1.75;
}

.blog-section {
  padding-top: 72px;
}

.blog-category-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.blog-category-pills button,
.blog-meta {
  display: inline-flex;
  align-items: center;
  width: max-content;
  border-radius: 999px;
  color: var(--gold-3);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-category-pills button {
  padding: 10px 14px;
  border: 1px solid rgba(201, 148, 54, 0.28);
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: transform 220ms ease, background 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.blog-category-pills button:hover,
.blog-category-pills button:focus-visible {
  transform: translateY(-2px);
  background: rgba(201, 148, 54, 0.14);
  color: #21170b;
}

.blog-category-pills button.active {
  background: linear-gradient(135deg, #efc66c, #bd8428);
  color: #21170b;
  box-shadow: 0 14px 30px rgba(201, 148, 54, 0.16);
}

.blog-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.8fr);
  gap: 22px;
  margin-bottom: 24px;
}

.blog-feature-card,
.blog-card,
.blog-note-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 250, 241, 0.74);
  box-shadow: var(--shadow);
}

.blog-feature-card,
.blog-card {
  display: grid;
  color: var(--ink);
}

.blog-feature-card.is-blog-hidden,
.blog-card.is-blog-hidden {
  display: none;
}

.blog-feature-card {
  grid-template-columns: 1.04fr 0.96fr;
  min-height: 390px;
  border-radius: 42px;
}

.blog-feature-card img,
.blog-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.blog-feature-card:hover img,
.blog-card:hover img {
  transform: scale(1.055);
}

.blog-feature-card > div,
.blog-card > div,
.blog-note-card {
  display: grid;
  align-content: end;
  gap: 14px;
  padding: 34px;
}

.blog-feature-card h3,
.blog-card h3,
.blog-note-card h3 {
  margin: 0;
  font-family: var(--serif);
  line-height: 1;
}

.blog-feature-card h3 {
  font-size: clamp(2.2rem, 4vw, 4.2rem);
}

.blog-feature-card p,
.blog-card p,
.blog-note-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.blog-note-card {
  min-height: 390px;
  border-radius: 42px;
  background:
    radial-gradient(circle at 18% 18%, rgba(239, 198, 108, 0.2), transparent 32%),
    linear-gradient(145deg, #14110d, #0a0907);
  color: var(--ivory-2);
}

.blog-note-card p {
  color: rgba(255, 250, 241, 0.72);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.blog-card {
  min-height: 430px;
  border-radius: 34px;
}

.blog-card img {
  height: 230px;
}

.blog-card h3 {
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
}

.blog-topics-band {
  margin-top: 40px;
}

.blog-post {
  background: var(--ivory);
}

.blog-post-hero {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: 180px 0 60px;
}

.blog-post-hero .eyebrow {
  color: var(--gold);
}

.blog-post-hero h1 {
  max-width: 980px;
  color: var(--ink);
}

.blog-post-hero p:not(.eyebrow) {
  color: var(--muted);
}

.blog-post-hero img {
  width: 100%;
  max-height: 620px;
  margin-top: 34px;
  border-radius: 44px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.blog-post-body {
  width: min(860px, calc(100% - 44px));
  margin: 0 auto;
  padding: 10px 0 70px;
}

.blog-post-body section {
  padding: 22px 0;
}

.blog-post-body h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.blog-post-body p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.88;
}

.blog-post-cta {
  margin-top: 18px;
  padding: 38px !important;
  border: 1px solid rgba(201, 148, 54, 0.2);
  border-radius: 34px;
  background: linear-gradient(145deg, #16130f, #070604);
  color: var(--ivory-2);
  box-shadow: var(--shadow-dark);
}

.blog-post-cta p {
  color: rgba(255, 250, 241, 0.76);
}

.related-posts {
  padding-top: 20px;
}

.gallery-hero {
  position: relative;
  min-height: 720px;
  padding: 176px max(34px, calc((100vw - var(--max)) / 2)) 120px;
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
}

.gallery-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("../images/projects/house-of-hiranandani/hiranandani-06.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  animation: heroDrift 28s ease-in-out infinite alternate;
}

.gallery-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 76% 32%, rgba(201, 148, 54, 0.16), transparent 28%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.5) 52%, rgba(0, 0, 0, 0.12)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.7), transparent 54%);
}

.gallery-hero-content {
  max-width: 760px;
}

.gallery-hero h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 6vw, 5.8rem);
  line-height: 0.96;
}

.gallery-hero-content > p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255, 250, 241, 0.82);
  font-size: 1.1rem;
  line-height: 1.7;
}

.gallery-section {
  padding-top: 36px;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  padding: 9px;
  border: 1px solid rgba(201, 148, 54, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  box-shadow: 0 16px 46px rgba(34, 25, 12, 0.08);
}

.gallery-filters button {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: transparent;
  color: #5f5141;
  font-size: 0.82rem;
  font-weight: 900;
  cursor: pointer;
  transition: transform 240ms ease, background 240ms ease, color 240ms ease, box-shadow 240ms ease;
}

.gallery-filters button:hover,
.gallery-filters button:focus-visible {
  transform: translateY(-2px);
  background: rgba(201, 148, 54, 0.12);
  color: #21170b;
}

.gallery-filters button.active {
  background: linear-gradient(135deg, #efc66c, #bd8428);
  color: #21170b;
  box-shadow: 0 14px 30px rgba(201, 148, 54, 0.18);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 210px;
  gap: 18px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 30px;
  background: #111;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 320ms ease, box-shadow 320ms ease, border-color 320ms ease, opacity 280ms ease;
}

.gallery-item.is-gallery-hidden {
  display: none;
}

.gallery-item.gallery-large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item.gallery-wide {
  grid-column: span 2;
}

.gallery-item.gallery-tall {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
  transform: scale(1.02);
  transition: transform 760ms cubic-bezier(0.22, 1, 0.36, 1), opacity 760ms ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 34%, rgba(0, 0, 0, 0.7));
  opacity: 0.78;
}

.gallery-item span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 1;
  display: inline-flex;
  padding: 8px 12px;
  border: 1px solid rgba(239, 198, 108, 0.46);
  border-radius: 999px;
  color: var(--gold-2);
  background: rgba(0, 0, 0, 0.34);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.gallery-item:hover,
.gallery-item:focus-visible {
  transform: translateY(-8px);
  border-color: rgba(239, 198, 108, 0.58);
  box-shadow: 0 34px 84px rgba(34, 25, 12, 0.22);
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  opacity: 1;
  transform: scale(1.08);
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(5, 4, 3, 0.9);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  backdrop-filter: blur(20px);
  transition: opacity 260ms ease, visibility 260ms ease;
}

.gallery-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.gallery-lightbox figure {
  width: min(1120px, 100%);
  margin: 0;
  transform: translateY(18px) scale(0.98);
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-lightbox.is-open figure {
  transform: translateY(0) scale(1);
}

.gallery-lightbox img {
  width: 100%;
  max-height: min(76vh, 780px);
  border: 1px solid rgba(239, 198, 108, 0.22);
  border-radius: 32px;
  object-fit: contain;
  background: #080706;
  box-shadow: var(--shadow-dark);
}

.gallery-lightbox figcaption {
  margin-top: 14px;
  color: var(--ivory-2);
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  text-align: center;
}

.gallery-lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(239, 198, 108, 0.28);
  border-radius: 50%;
  background: rgba(255, 250, 241, 0.08);
  color: var(--ivory-2);
  font-size: 2rem;
  cursor: pointer;
  backdrop-filter: blur(16px);
}

.gallery-cta {
  margin-top: 18px;
}

.portfolio-hero {
  position: relative;
  min-height: 740px;
  padding: 176px max(34px, calc((100vw - var(--max)) / 2)) 110px;
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
}

.portfolio-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("../images/projects/house-of-hiranandani/hiranandani-06.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  animation: heroDrift 28s ease-in-out infinite alternate;
}

.portfolio-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 72% 38%, rgba(201, 148, 54, 0.13), transparent 25%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.54) 46%, rgba(0, 0, 0, 0.12)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.62), transparent 52%);
}

.portfolio-hero-content {
  max-width: 760px;
}

.portfolio-hero h1 {
  max-width: 760px;
  margin-bottom: 26px;
  font-size: clamp(3.2rem, 6vw, 5.8rem);
  line-height: 0.96;
}

.portfolio-hero-content > p:not(.eyebrow) {
  max-width: 590px;
  color: rgba(255, 250, 241, 0.82);
  font-size: 1.1rem;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-stats button {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 17px;
  border: 1px solid rgba(239, 198, 108, 0.34);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.34);
  color: rgba(255, 250, 241, 0.9);
  font-size: 0.84rem;
  font-weight: 800;
  backdrop-filter: blur(14px);
  cursor: pointer;
  overflow: hidden;
  position: relative;
  transition: transform 260ms ease, border-color 260ms ease, background 260ms ease, color 260ms ease;
}

.hero-stats button::after,
.portfolio-filters button::after,
.portfolio-detail-grid article::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  opacity: 0;
  transform: translateX(-120%);
  pointer-events: none;
}

.hero-stats button:hover,
.hero-stats button:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(239, 198, 108, 0.75);
  background: rgba(201, 148, 54, 0.24);
  color: var(--gold-2);
}

.hero-stats button:hover::after,
.hero-stats button:focus-visible::after,
.portfolio-filters button:hover::after,
.portfolio-filters button:focus-visible::after,
.portfolio-detail-grid article:hover::after {
  animation: cardShine 820ms ease;
  opacity: 1;
}

.portfolio-curve {
  height: 126px;
  margin-top: -66px;
  border-top: 3px solid rgba(239, 198, 108, 0.62);
  border-radius: 50% 50% 0 0 / 55% 55% 0 0;
  background: var(--ivory);
}

.portfolio-page-section {
  padding-top: 36px;
}

.portfolio-page-section .section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1fr);
  align-items: end;
}

.portfolio-page-section .section-head h2 {
  max-width: 620px;
  font-size: clamp(2.65rem, 4.4vw, 4.8rem);
}

.portfolio-page-section .section-head p:not(.eyebrow) {
  max-width: 520px;
}

.project-detail-hero {
  position: relative;
  min-height: 720px;
  padding: 176px max(34px, calc((100vw - var(--max)) / 2)) 120px;
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
}

.project-detail-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  animation: heroDrift 28s ease-in-out infinite alternate;
}

.project-detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 76% 32%, rgba(201, 148, 54, 0.16), transparent 28%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.5) 52%, rgba(0, 0, 0, 0.12)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.7), transparent 54%);
}

.project-detail-hero-content {
  max-width: 760px;
}

.project-detail-hero h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(3.2rem, 6vw, 5.8rem);
  line-height: 0.96;
}

.project-detail-hero-content > p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255, 250, 241, 0.82);
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.7;
}

.project-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 28px;
  margin-bottom: 28px;
}

.project-detail-copy,
.project-facts,
.project-scope-grid article {
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: linear-gradient(135deg, rgba(255, 252, 246, 0.96), rgba(246, 236, 220, 0.76));
  box-shadow: var(--shadow);
}

.project-detail-copy {
  padding: 44px;
  border-radius: 40px;
}

.project-detail-copy h2 {
  max-width: 820px;
}

.project-detail-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.8;
}

.project-facts {
  display: grid;
  gap: 12px;
  padding: 24px;
  border-radius: 36px;
}

.project-facts div {
  padding: 18px;
  border: 1px solid rgba(201, 148, 54, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.5);
}

.project-facts span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-3);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-facts strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1.05;
}

.project-scope-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.project-gallery-section {
  padding-top: 34px;
}

.project-image-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.project-image-grid figure {
  position: relative;
  min-height: 340px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 34px;
  background: #11100e;
  box-shadow: 0 26px 70px rgba(29, 21, 12, 0.18);
}

.project-image-grid figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 44%, rgba(0, 0, 0, 0.74));
  pointer-events: none;
}

.project-image-grid img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 700ms ease, filter 700ms ease;
}

.project-image-grid figure:hover img {
  transform: scale(1.075);
  filter: saturate(1.05) contrast(1.03);
}

.project-image-large {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 700px;
}

.project-image-grid figcaption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  z-index: 1;
  color: var(--ivory-2);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.45;
}

.project-story-band {
  width: min(calc(100% - 56px), var(--max));
  margin: 18px auto 56px;
  padding: 46px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 46px;
  background:
    radial-gradient(circle at 12% 8%, rgba(201, 148, 54, 0.13), transparent 32%),
    linear-gradient(135deg, rgba(255, 252, 246, 0.96), rgba(244, 234, 218, 0.78));
  box-shadow: 0 28px 80px rgba(30, 23, 14, 0.13);
}

.project-story-copy {
  max-width: 900px;
  margin-bottom: 28px;
}

.project-story-copy h2 {
  max-width: 860px;
}

.project-story-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.project-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.project-detail-grid article {
  min-height: 190px;
  padding: 24px;
  border: 1px solid rgba(201, 148, 54, 0.16);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.54);
}

.project-detail-grid strong {
  display: block;
  margin-bottom: 14px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.05;
}

.project-detail-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.error-hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: end;
  padding: 170px max(34px, calc((100vw - var(--max)) / 2)) 112px;
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
}

.error-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("../images/projects/house-of-hiranandani/hiranandani-06.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  animation: heroDrift 26s ease-in-out infinite alternate;
}

.error-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 72% 34%, rgba(239, 198, 108, 0.18), transparent 28%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.58) 44%, rgba(0, 0, 0, 0.18)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.56), transparent 48%);
}

.error-hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.error-code {
  display: block;
  margin: 12px 0 18px;
  color: transparent;
  font-family: var(--serif);
  font-size: clamp(7rem, 18vw, 17rem);
  font-weight: 700;
  line-height: 0.78;
  letter-spacing: 0;
  -webkit-text-stroke: 2px rgba(239, 198, 108, 0.72);
  text-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.error-hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--ivory-2);
  font-size: clamp(3rem, 6vw, 6.4rem);
  line-height: 0.92;
}

.error-hero-content > p:not(.eyebrow) {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 250, 241, 0.82);
  font-size: 1.06rem;
  line-height: 1.75;
}

.error-curve {
  margin-top: -44px;
}

.error-links-section {
  padding-top: 84px;
}

.error-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.legal-hero {
  position: relative;
  min-height: 560px;
  display: grid;
  align-items: end;
  padding: 170px max(34px, calc((100vw - var(--max)) / 2)) 96px;
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
}

.legal-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("../images/projects/house-of-hiranandani/hiranandani-06.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  animation: heroDrift 26s ease-in-out infinite alternate;
}

.legal-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 72% 34%, rgba(239, 198, 108, 0.16), transparent 28%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.56) 44%, rgba(0, 0, 0, 0.18)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.48), transparent 48%);
}

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

.legal-hero h1 {
  max-width: 820px;
  margin: 0;
  color: var(--ivory-2);
  font-size: clamp(3.4rem, 7vw, 7rem);
  line-height: 0.92;
}

.legal-hero-content > p:not(.eyebrow) {
  margin: 22px 0 0;
  color: rgba(255, 250, 241, 0.78);
  font-weight: 800;
}

.legal-section {
  padding-top: 84px;
}

.legal-card {
  width: min(100%, 980px);
  padding: 52px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 42px;
  background:
    radial-gradient(circle at 12% 8%, rgba(201, 148, 54, 0.1), transparent 30%),
    linear-gradient(135deg, rgba(255, 252, 246, 0.96), rgba(246, 236, 220, 0.78));
  box-shadow: var(--shadow);
}

.legal-card h2 {
  margin: 34px 0 10px;
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  line-height: 1;
}

.legal-card p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.82;
}

.legal-card a {
  color: var(--gold-3);
  font-weight: 800;
}

.project-scope-grid article {
  min-height: 170px;
  padding: 24px;
  border-radius: 28px;
}

.project-scope-grid strong {
  display: block;
  margin-bottom: 18px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 2.1rem;
}

.project-scope-grid p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.55;
}

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  padding: 9px;
  border: 1px solid rgba(201, 148, 54, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  box-shadow: 0 16px 46px rgba(34, 25, 12, 0.08);
}

.portfolio-filters button {
  position: relative;
  overflow: hidden;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  color: #5f5141;
  background: transparent;
  font-size: 0.86rem;
  font-weight: 900;
  transition: transform 260ms ease, background 260ms ease, color 260ms ease, box-shadow 260ms ease;
}

.portfolio-filters button:hover,
.portfolio-filters button:focus-visible {
  transform: translateY(-2px);
  color: #21170b;
  background: rgba(201, 148, 54, 0.12);
}

.portfolio-filters button.active {
  background: linear-gradient(135deg, #efc66c, #bd8428);
  color: #21170b;
  box-shadow: 0 14px 30px rgba(201, 148, 54, 0.18);
}

.portfolio-feature-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  margin-bottom: 28px;
}

.portfolio-feature-card,
.portfolio-work-card,
.portfolio-story-card,
.portfolio-detail-band,
.portfolio-cta {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
}

.portfolio-feature-card,
.portfolio-work-card {
  position: relative;
  display: block;
  text-decoration: none;
  color: var(--white);
  background: #111;
  transition: transform 320ms ease, box-shadow 320ms ease, border-color 320ms ease, opacity 360ms ease, filter 360ms ease;
  will-change: transform;
}

.portfolio-work-card.is-filter-hidden,
.portfolio-feature-card.is-filter-hidden {
  display: none;
}

.portfolio-feature-card {
  min-height: 540px;
  border-radius: 40px;
}

.portfolio-work-card {
  min-height: 360px;
  border-radius: 32px;
}

.portfolio-feature-card img,
.portfolio-work-card img {
  height: 100%;
  object-fit: cover;
  opacity: 0.86;
  transform: scale(1.02);
  transition: transform 650ms ease, opacity 650ms ease;
}

.portfolio-feature-card::after,
.portfolio-work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(0, 0, 0, 0.78));
}

.portfolio-feature-card:hover,
.portfolio-work-card:hover {
  transform: translateY(-8px);
  border-color: rgba(239, 198, 108, 0.58);
  box-shadow: 0 34px 84px rgba(34, 25, 12, 0.22);
}

.portfolio-feature-card:hover img,
.portfolio-work-card:hover img {
  opacity: 0.96;
  transform: scale(1.08);
}

.portfolio-card-content {
  position: absolute;
  inset: auto 28px 28px;
  z-index: 1;
}

.portfolio-card-content span {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 8px 12px;
  border: 1px solid rgba(239, 198, 108, 0.48);
  border-radius: 999px;
  color: var(--gold-2);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.portfolio-card-content h3 {
  max-width: 620px;
  margin-bottom: 10px;
  color: var(--white);
}

.portfolio-feature-card .portfolio-card-content h3 {
  font-size: clamp(2.3rem, 4vw, 3.25rem);
}

.portfolio-card-content p {
  margin: 0;
  color: rgba(255, 250, 241, 0.78);
  font-weight: 700;
}

.portfolio-story-card {
  display: grid;
  align-content: space-between;
  min-height: 540px;
  padding: 36px;
  border-radius: 40px;
  background: radial-gradient(circle at 75% 20%, rgba(201, 148, 54, 0.16), transparent 28%),
    linear-gradient(145deg, #171411, #050505);
  color: var(--white);
  box-shadow: var(--shadow-dark);
}

.portfolio-story-card h3 {
  margin-bottom: 14px;
  color: var(--white);
  font-size: clamp(2rem, 3.4vw, 3rem);
}

.portfolio-story-card p:not(.eyebrow) {
  color: rgba(255, 250, 241, 0.75);
  line-height: 1.7;
}

.portfolio-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.portfolio-metrics div {
  min-height: 112px;
  padding: 18px;
  border: 1px solid rgba(239, 198, 108, 0.16);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
}

.portfolio-metrics strong {
  display: block;
  color: var(--gold-2);
  font-family: var(--serif);
  font-size: 2.35rem;
}

.portfolio-metrics span {
  color: rgba(255, 250, 241, 0.78);
  font-size: 0.88rem;
  font-weight: 700;
}

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

.portfolio-collection-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.portfolio-collection-card {
  min-height: 430px;
}

.portfolio-card-gallery {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: repeat(2, 1fr);
  gap: 8px;
  padding: 8px;
  background: #111;
}

.portfolio-card-gallery img {
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 24px;
  object-fit: cover;
  opacity: 0.84;
  transform: scale(1.01);
  transition: transform 650ms ease, opacity 650ms ease;
}

.portfolio-card-gallery img:first-child {
  grid-row: 1 / -1;
}

.portfolio-collection-card:hover .portfolio-card-gallery img {
  opacity: 0.95;
  transform: scale(1.055);
}

.portfolio-collection-card .portfolio-card-content {
  max-width: 650px;
}

.portfolio-collection-card .portfolio-card-content h3 {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
}

.portfolio-detail-band {
  width: min(calc(100% - 96px), 1340px);
  margin: 0 auto 84px;
  padding: 48px;
  border-radius: 44px;
  background: radial-gradient(circle at 82% 14%, rgba(201, 148, 54, 0.18), transparent 30%),
    linear-gradient(145deg, #171411, #050505);
  color: var(--white);
  box-shadow: var(--shadow-dark);
}

.portfolio-detail-band h2 {
  max-width: 860px;
  color: var(--white);
}

.portfolio-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.portfolio-detail-grid article {
  position: relative;
  overflow: hidden;
  min-height: 150px;
  padding: 24px;
  border: 1px solid rgba(239, 198, 108, 0.14);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.06);
  transition: transform 300ms ease, border-color 300ms ease, background 300ms ease, box-shadow 300ms ease;
}

.portfolio-detail-grid article:hover {
  transform: translateY(-6px);
  border-color: rgba(239, 198, 108, 0.42);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.18);
}

.portfolio-detail-grid strong {
  display: block;
  margin-bottom: 12px;
  color: var(--gold-2);
  font-family: var(--serif);
  font-size: 1.6rem;
}

.portfolio-detail-grid p {
  margin: 0;
  color: rgba(255, 250, 241, 0.76);
  line-height: 1.55;
}

.portfolio-cta {
  width: min(calc(100% - 96px), 1260px);
  margin: 0 auto 64px;
  padding: 58px 72px;
  border-radius: 42px;
  background: linear-gradient(135deg, rgba(255, 252, 246, 0.92), rgba(246, 236, 220, 0.72));
}

.portfolio-cta h2 {
  max-width: 820px;
}

.portfolio-cta p:not(.eyebrow) {
  max-width: 580px;
  color: var(--muted);
  line-height: 1.65;
}

.contact-hero {
  position: relative;
  min-height: 720px;
  padding: 176px max(34px, calc((100vw - var(--max)) / 2)) 120px;
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
}

.contact-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("../images/cta-lounge.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
  animation: heroDrift 28s ease-in-out infinite alternate;
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 74% 28%, rgba(201, 148, 54, 0.18), transparent 28%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.52) 48%, rgba(0, 0, 0, 0.16)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.66), transparent 54%);
}

.contact-hero-content {
  max-width: 760px;
}

.contact-hero h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 6vw, 5.8rem);
  line-height: 0.96;
}

.contact-hero-content > p:not(.eyebrow) {
  max-width: 610px;
  color: rgba(255, 250, 241, 0.82);
  font-size: 1.1rem;
  line-height: 1.7;
}

.contact-hero-actions,
.contact-address-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

.contact-hero-actions .btn,
.final-cta .hero-actions .btn {
  min-width: 180px;
}

.contact-page-section {
  padding-top: 36px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.contact-method {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(255, 252, 246, 0.95), rgba(246, 236, 220, 0.72));
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 320ms ease, box-shadow 320ms ease, border-color 320ms ease;
}

.contact-method::after,
.contact-form-card::after,
.contact-address-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  opacity: 0;
  transform: translateX(-120%);
  pointer-events: none;
}

.contact-method:hover,
.contact-method:focus-visible {
  transform: translateY(-8px);
  border-color: rgba(239, 198, 108, 0.58);
  box-shadow: 0 34px 84px rgba(34, 25, 12, 0.2);
}

.contact-method:hover::after,
.contact-method:focus-visible::after,
.contact-form-card:hover::after,
.contact-address-card:hover::after {
  animation: cardShine 900ms ease;
  opacity: 1;
}

.contact-method span {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #efc66c, #bd8428);
  color: #21170b;
  box-shadow: 0 16px 34px rgba(201, 148, 54, 0.2);
}

.contact-method svg {
  width: 28px;
  height: 28px;
}

.contact-method strong {
  display: block;
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 2rem;
}

.contact-method p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.55;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 24px;
  width: min(calc(100% - 96px), 1340px);
  margin: 0 auto 84px;
}

.contact-form-card,
.contact-address-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 42px;
  box-shadow: var(--shadow);
}

.contact-form-card {
  padding: 46px;
  background: linear-gradient(135deg, rgba(255, 252, 246, 0.96), rgba(246, 236, 220, 0.78));
}

.contact-form-card h2 {
  max-width: 680px;
  margin-bottom: 28px;
}

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

.contact-form-card label {
  display: grid;
  gap: 8px;
}

.contact-form-card label span {
  color: #7b6236;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form-card input,
.contact-form-card select,
.contact-form-card textarea {
  width: 100%;
  border: 1px solid rgba(201, 148, 54, 0.18);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  outline: none;
  transition: border-color 240ms ease, box-shadow 240ms ease, background 240ms ease;
}

.contact-form-card input,
.contact-form-card select {
  min-height: 56px;
  padding: 0 18px;
}

.contact-form-card textarea {
  resize: vertical;
  min-height: 130px;
  padding: 16px 18px;
}

.contact-form-card input:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus {
  border-color: rgba(201, 148, 54, 0.64);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 4px rgba(201, 148, 54, 0.12);
}

.contact-form-card button {
  justify-self: start;
  border: 0;
  cursor: pointer;
}

.contact-address-card {
  display: grid;
  align-content: space-between;
  min-height: 650px;
  padding: 42px;
  background: radial-gradient(circle at 72% 20%, rgba(201, 148, 54, 0.2), transparent 32%),
    linear-gradient(145deg, #171411, #050505);
  color: var(--white);
  box-shadow: var(--shadow-dark);
}

.contact-address-card h3 {
  color: var(--white);
  font-size: clamp(2.3rem, 4vw, 3.5rem);
}

.contact-address-card p:not(.eyebrow) {
  max-width: 520px;
  color: rgba(255, 250, 241, 0.76);
  line-height: 1.75;
}

.contact-map-preview {
  display: grid;
  align-content: end;
  min-height: 240px;
  margin-top: 34px;
  padding: 28px;
  border: 1px solid rgba(239, 198, 108, 0.18);
  border-radius: 30px;
  background: radial-gradient(circle at 28% 32%, rgba(239, 198, 108, 0.26), transparent 16%),
    radial-gradient(circle at 72% 56%, rgba(255, 255, 255, 0.1), transparent 20%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}

.contact-map-preview span {
  color: var(--gold-2);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-map-preview strong {
  color: var(--white);
  font-family: var(--serif);
  font-size: 2.4rem;
}

.contact-detail-band {
  margin-bottom: 64px;
}

.services-hero {
  position: relative;
  min-height: 730px;
  padding: 176px max(34px, calc((100vw - var(--max)) / 2)) 120px;
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
}

.services-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("../images/services/residential.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  animation: heroDrift 28s ease-in-out infinite alternate;
}

.services-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 76% 32%, rgba(201, 148, 54, 0.18), transparent 28%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.55) 50%, rgba(0, 0, 0, 0.14)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.68), transparent 54%);
}

.services-hero-content {
  max-width: 790px;
}

.services-hero h1 {
  max-width: 870px;
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 6vw, 5.8rem);
  line-height: 0.96;
}

.services-hero-content > p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255, 250, 241, 0.82);
  font-size: 1.1rem;
  line-height: 1.7;
}

.services-page-section {
  padding-top: 36px;
}

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

.services-showcase-card {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 390px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 38px;
  background: linear-gradient(145deg, rgba(255, 252, 246, 0.96), rgba(246, 236, 220, 0.72));
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 320ms ease, box-shadow 320ms ease, border-color 320ms ease;
}

.services-showcase-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  opacity: 0;
  transform: translateX(-120%);
  pointer-events: none;
}

.services-showcase-card:hover,
.services-showcase-card:focus-visible {
  transform: translateY(-8px);
  border-color: rgba(239, 198, 108, 0.58);
  box-shadow: 0 34px 84px rgba(34, 25, 12, 0.2);
}

.services-showcase-card:hover::after,
.services-showcase-card:focus-visible::after {
  animation: cardShine 900ms ease;
  opacity: 1;
}

.services-showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 700ms ease, opacity 700ms ease;
}

.services-showcase-card:hover img,
.services-showcase-card:focus-visible img {
  transform: scale(1.08);
}

.services-showcase-card > div {
  display: grid;
  align-content: center;
  padding: 34px 38px;
}

.services-showcase-card span {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #efc66c, #bd8428);
  color: #21170b;
  box-shadow: 0 16px 34px rgba(201, 148, 54, 0.2);
}

.services-showcase-card svg {
  width: 28px;
  height: 28px;
}

.services-showcase-card h3 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.2vw, 3.05rem);
  line-height: 1.02;
}

.service-summary {
  margin: -6px 0 18px;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.5;
}

.services-showcase-card ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-weight: 700;
  list-style: none;
}

.services-showcase-card li {
  position: relative;
  padding-left: 18px;
}

.services-showcase-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-1);
}

.service-process-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 36px;
  width: min(calc(100% - 96px), 1340px);
  margin: 0 auto 84px;
  padding: 48px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 44px;
  background: radial-gradient(circle at 82% 14%, rgba(201, 148, 54, 0.18), transparent 30%),
    linear-gradient(145deg, #171411, #050505);
  color: var(--white);
  box-shadow: var(--shadow-dark);
}

.service-process-copy h2 {
  max-width: 720px;
  color: var(--white);
}

.service-process-copy p:not(.eyebrow) {
  max-width: 560px;
  color: rgba(255, 250, 241, 0.75);
  line-height: 1.7;
}

.service-process-copy .btn {
  margin-top: 24px;
}

.service-process-list {
  display: grid;
  gap: 16px;
}

.service-process-list article {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 6px 18px;
  min-height: 150px;
  padding: 24px;
  border: 1px solid rgba(239, 198, 108, 0.14);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.06);
  transition: transform 300ms ease, border-color 300ms ease, background 300ms ease;
}

.service-process-list article:hover {
  transform: translateY(-5px);
  border-color: rgba(239, 198, 108, 0.42);
  background: rgba(255, 255, 255, 0.09);
}

.service-process-list strong {
  grid-row: 1 / span 2;
  color: var(--gold-2);
  font-family: var(--serif);
  font-size: 3rem;
}

.service-process-list span {
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.8rem;
}

.service-process-list p {
  margin: 0;
  color: rgba(255, 250, 241, 0.74);
  line-height: 1.55;
}

.services-cta {
  margin-bottom: 64px;
}

.residential-hero-bg {
  background-image: url("../images/projects/house-of-hiranandani/hiranandani-04.jpg");
}

.kitchen-hero-bg {
  background-image: url("../images/services/modular-kitchen.jpg");
}

.turnkey-hero-bg {
  background-image: url("../images/projects/house-of-hiranandani/hiranandani-06.jpg");
}

.wardrobe-hero-bg {
  background-image: url("../images/services/wardrobes.jpg");
}

.commercial-hero-bg {
  background-image: url("../images/projects/house-of-hiranandani/hiranandani-01.jpg");
}

.renovation-hero-bg {
  background-image: url("../images/services/renovation.jpg");
}

.service-detail-section {
  padding-top: 36px;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.service-detail-card {
  position: relative;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 38px;
  background: linear-gradient(145deg, rgba(255, 252, 246, 0.96), rgba(246, 236, 220, 0.72));
  box-shadow: var(--shadow);
  transition: transform 320ms ease, box-shadow 320ms ease, border-color 320ms ease;
}

.service-detail-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  opacity: 0;
  transform: translateX(-120%);
  pointer-events: none;
}

.service-detail-card:hover {
  transform: translateY(-8px);
  border-color: rgba(239, 198, 108, 0.58);
  box-shadow: 0 34px 84px rgba(34, 25, 12, 0.2);
}

.service-detail-card:hover::after {
  animation: cardShine 900ms ease;
  opacity: 1;
}

.service-detail-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 700ms ease;
}

.service-detail-card:hover img {
  transform: scale(1.08);
}

.service-detail-card > div {
  display: grid;
  align-content: center;
  padding: 34px 38px;
}

.service-detail-card span {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #efc66c, #bd8428);
  color: #21170b;
  box-shadow: 0 16px 34px rgba(201, 148, 54, 0.2);
}

.service-detail-card svg {
  width: 28px;
  height: 28px;
}

.service-detail-card h3 {
  margin-bottom: 14px;
  font-size: clamp(1.65rem, 2.5vw, 2.35rem);
  line-height: 1.04;
}

.service-detail-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.62;
}

.residential-detail-band,
.residential-room-band {
  margin-bottom: 64px;
}

.service-copy-band {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 42px;
  width: min(calc(100% - 96px), 1340px);
  margin: 0 auto 64px;
  padding: 46px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 42px;
  background: linear-gradient(135deg, rgba(255, 252, 246, 0.94), rgba(246, 236, 220, 0.72));
  box-shadow: var(--shadow);
}

.service-copy-band h2 {
  max-width: 620px;
}

.service-copy-band p {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.75;
}

.service-copy-body {
  display: grid;
  gap: 18px;
}

.service-faq {
  width: min(calc(100% - 96px), 1340px);
  margin: 0 auto 64px;
}

.service-faq .section-head {
  margin-bottom: 24px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.faq-card {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  background: rgba(255, 252, 246, 0.72);
  box-shadow: 0 20px 54px rgba(34, 25, 12, 0.08);
}

.faq-card h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.faq-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.62;
}

@keyframes heroDrift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.055) translate3d(-12px, 8px, 0); }
}

@keyframes ctaImageDrift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.045) translate3d(12px, 0, 0); }
}

@keyframes orbitFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 0.42; }
  50% { transform: translate3d(-24px, 18px, 0) rotate(22deg); opacity: 0.78; }
}

@keyframes sheen {
  0% { transform: translateX(0) skewX(-20deg); opacity: 0; }
  22% { opacity: 1; }
  100% { transform: translateX(360%) skewX(-20deg); opacity: 0; }
}

@keyframes ctaBreath {
  0%, 100% { box-shadow: 0 24px 54px rgba(201, 148, 54, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.42); }
  50% { box-shadow: 0 30px 74px rgba(201, 148, 54, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.52); }
}

@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 0.25; }
  40% { opacity: 1; }
  100% { transform: translateY(26px); opacity: 0; }
}

@keyframes cardShine {
  0% { transform: translateX(-120%); opacity: 0; }
  22% { opacity: 1; }
  100% { transform: translateX(120%); opacity: 0; }
}

@keyframes dotPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 rgba(239, 198, 108, 0); }
  50% { transform: scale(1.45); box-shadow: 0 0 18px rgba(239, 198, 108, 0.5); }
}

@keyframes projectSetIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes stepPulse {
  0%, 100% { box-shadow: 0 14px 28px rgba(201, 148, 54, 0.22); }
  50% { box-shadow: 0 16px 38px rgba(201, 148, 54, 0.42), 0 0 0 8px rgba(201, 148, 54, 0.08); }
}

@keyframes reviewReveal {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes mobileSoftLift {
  from {
    opacity: 0.001;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes mobileHeaderGlow {
  0%, 100% {
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    background-position: 0% 50%;
  }
  50% {
    box-shadow: 0 18px 48px rgba(201, 148, 54, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.14);
    background-position: 100% 50%;
  }
}

@keyframes mobileMenuPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 10px 24px rgba(0, 0, 0, 0.2);
  }
  50% {
    transform: scale(1.035);
    box-shadow: inset 0 0 0 1px rgba(239, 198, 108, 0.24), 0 12px 28px rgba(0, 0, 0, 0.24);
  }
}

@keyframes mobileImageDrift {
  0%, 100% { transform: scale(1.015) translate3d(0, 0, 0); }
  50% { transform: scale(1.055) translate3d(-8px, 5px, 0); }
}

@keyframes mobileIconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes mobileGoldBreath {
  0%, 100% { box-shadow: 0 14px 34px rgba(201, 148, 54, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.42); }
  50% { box-shadow: 0 18px 46px rgba(201, 148, 54, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
}

@keyframes loaderPanelIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes loaderSweep {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 780ms ease, transform 780ms ease;
}

html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 130px minmax(0, 1fr) 164px;
    width: min(calc(100% - 38px), 980px);
  }

  .desktop-nav a {
    min-width: auto;
    padding: 0 13px;
  }

  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .project-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
  }
}

@media (max-width: 840px) {
  body {
    background: var(--ivory);
  }

  .site-header {
    top: 12px;
    grid-template-columns: 84px 1fr 44px;
    width: min(calc(100% - 64px), 500px);
    min-height: 54px;
    padding: 5px 6px 5px 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: linear-gradient(100deg, rgba(12, 10, 8, 0.58), rgba(42, 33, 24, 0.46), rgba(12, 10, 8, 0.56));
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(18px) saturate(1.1);
    overflow: hidden;
    animation: mobileHeaderGlow 7s ease-in-out infinite;
  }

  .site-header.is-scrolled {
    transform: translate(-50%, -120%);
  }

  .brand {
    grid-column: 1;
    justify-self: start;
    width: 80px;
  }

  .brand img {
    max-height: 42px;
    object-fit: contain;
  }

  .site-header.is-scrolled .brand {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    grid-column: 3;
    display: block;
    justify-self: end;
    width: 44px;
    height: 44px;
    background: rgba(21, 18, 14, 0.72);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 10px 24px rgba(0, 0, 0, 0.2);
    animation: mobileMenuPulse 5.8s ease-in-out infinite;
  }

  .hero {
    min-height: 850px;
    padding: 126px 24px 104px;
  }

  .hero::before {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.42) 72%, rgba(0, 0, 0, 0.12)),
      linear-gradient(0deg, rgba(0, 0, 0, 0.68), transparent 56%);
  }

  .hero::after {
    bottom: -52px;
    height: 112px;
  }

  .hero-orbit {
    display: none;
  }

  h1 {
    max-width: 430px;
    font-size: clamp(3.05rem, 12vw, 4.7rem);
  }

  .hero-copy {
    max-width: 365px;
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
    max-width: 360px;
  }

  .trust-pills {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 390px;
    padding: 10px;
    border: 1px solid rgba(239, 198, 108, 0.16);
    border-radius: 30px;
    background: rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(14px);
  }

  .trust-pills span {
    justify-content: flex-start;
    background: transparent;
    border-color: transparent;
    border-radius: 20px;
  }

  .section,
  .services-section {
    padding: 66px 22px;
  }

  .section-head,
  .portfolio-head {
    align-items: flex-start;
  }

  .section-arrows {
    display: none;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .service-card {
    min-height: 226px;
    border-radius: 24px;
  }

  .service-card:first-child {
    grid-column: 1 / -1;
    min-height: 270px;
  }

  .service-card:nth-child(6) {
    grid-column: 1 / -1;
    min-height: 270px;
  }

  .service-card img {
    height: 100%;
    min-height: inherit;
    transform-origin: center;
    animation: mobileImageDrift 10s ease-in-out infinite;
  }

  .service-card:first-child img,
  .service-card:nth-child(6) img {
    height: 100%;
    min-height: inherit;
  }

  .service-card:nth-child(even) img,
  .project-card:nth-child(even) img {
    animation-direction: reverse;
  }

  .service-card,
  .project-card,
  .portfolio-work-card,
  .portfolio-feature-card,
  .portfolio-story-card,
  .portfolio-detail-grid article,
  .services-showcase-card,
  .service-detail-card,
  .service-process-list article,
  .testimonial-card,
  .process-step {
    transition: opacity 820ms cubic-bezier(0.22, 1, 0.36, 1),
      transform 820ms cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 320ms ease;
  }

  html.js .service-card.reveal,
  html.js .project-card.reveal,
  html.js .portfolio-work-card.reveal,
  html.js .portfolio-feature-card.reveal,
  html.js .portfolio-story-card.reveal,
  html.js .portfolio-detail-grid article.reveal,
  html.js .services-showcase-card.reveal,
  html.js .service-detail-card.reveal,
  html.js .service-process-list article.reveal,
  html.js .testimonial-card.reveal,
  html.js .process-step.reveal {
    opacity: 0;
    transform: translateY(34px) scale(0.965);
  }

  html.js .service-card.reveal:nth-child(even),
  html.js .project-card.reveal:nth-child(even),
  html.js .portfolio-work-card.reveal:nth-child(even),
  html.js .portfolio-detail-grid article.reveal:nth-child(even),
  html.js .services-showcase-card.reveal:nth-child(even),
  html.js .service-detail-card.reveal:nth-child(even),
  html.js .service-process-list article.reveal:nth-child(even),
  html.js .testimonial-card.reveal:nth-child(even) {
    transform: translateY(34px) translateX(14px) scale(0.965);
  }

  html.js .service-card.reveal:nth-child(odd),
  html.js .project-card.reveal:nth-child(odd),
  html.js .portfolio-work-card.reveal:nth-child(odd),
  html.js .portfolio-detail-grid article.reveal:nth-child(odd),
  html.js .services-showcase-card.reveal:nth-child(odd),
  html.js .service-detail-card.reveal:nth-child(odd),
  html.js .service-process-list article.reveal:nth-child(odd),
  html.js .testimonial-card.reveal:nth-child(odd) {
    transform: translateY(34px) translateX(-14px) scale(0.965);
  }

  html.js .service-card.reveal.is-visible,
  html.js .project-card.reveal.is-visible,
  html.js .portfolio-work-card.reveal.is-visible,
  html.js .portfolio-feature-card.reveal.is-visible,
  html.js .portfolio-story-card.reveal.is-visible,
  html.js .portfolio-detail-grid article.reveal.is-visible,
  html.js .services-showcase-card.reveal.is-visible,
  html.js .service-detail-card.reveal.is-visible,
  html.js .service-process-list article.reveal.is-visible,
  html.js .testimonial-card.reveal.is-visible,
  html.js .process-step.reveal.is-visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
  }

  .service-card:nth-child(1) { --mobile-delay: 0; }
  .service-card:nth-child(2) { --mobile-delay: 1; }
  .service-card:nth-child(3) { --mobile-delay: 2; }
  .service-card:nth-child(4) { --mobile-delay: 3; }
  .service-card:nth-child(5) { --mobile-delay: 4; }
  .service-card:nth-child(6) { --mobile-delay: 5; }

  html.js .service-card.reveal,
  html.js .project-card.reveal,
  html.js .portfolio-work-card.reveal,
  html.js .portfolio-feature-card.reveal,
  html.js .portfolio-story-card.reveal,
  html.js .portfolio-detail-grid article.reveal,
  html.js .services-showcase-card.reveal,
  html.js .service-detail-card.reveal,
  html.js .service-process-list article.reveal,
  html.js .testimonial-card.reveal,
  html.js .process-step.reveal {
    transition-delay: calc(var(--mobile-delay, 0) * 90ms) !important;
  }

  .project-card:nth-child(1),
  .testimonial-card:nth-child(1),
  .process-step:nth-child(1) { --mobile-delay: 0; }
  .project-card:nth-child(2),
  .testimonial-card:nth-child(2),
  .process-step:nth-child(2) { --mobile-delay: 1; }
  .project-card:nth-child(3),
  .testimonial-card:nth-child(3),
  .process-step:nth-child(3) { --mobile-delay: 2; }
  .portfolio-work-card:nth-child(1),
  .portfolio-detail-grid article:nth-child(1) { --mobile-delay: 0; }
  .portfolio-work-card:nth-child(2),
  .portfolio-detail-grid article:nth-child(2) { --mobile-delay: 1; }
  .portfolio-work-card:nth-child(3),
  .portfolio-detail-grid article:nth-child(3) { --mobile-delay: 2; }
  .portfolio-work-card:nth-child(4),
  .portfolio-detail-grid article:nth-child(4) { --mobile-delay: 3; }
  .portfolio-work-card:nth-child(5) { --mobile-delay: 4; }
  .portfolio-work-card:nth-child(6) { --mobile-delay: 5; }
  .services-showcase-card:nth-child(1),
  .service-detail-card:nth-child(1),
  .service-process-list article:nth-child(1) { --mobile-delay: 0; }
  .services-showcase-card:nth-child(2),
  .service-detail-card:nth-child(2),
  .service-process-list article:nth-child(2) { --mobile-delay: 1; }
  .services-showcase-card:nth-child(3),
  .service-detail-card:nth-child(3),
  .service-process-list article:nth-child(3) { --mobile-delay: 2; }
  .service-detail-card:nth-child(4) { --mobile-delay: 3; }
  .services-showcase-card:nth-child(4) { --mobile-delay: 3; }
  .services-showcase-card:nth-child(5) { --mobile-delay: 4; }
  .services-showcase-card:nth-child(6) { --mobile-delay: 5; }
  .process-step:nth-child(4) { --mobile-delay: 3; }
  .process-step:nth-child(5) { --mobile-delay: 4; }

  .service-card:active,
  .project-card:active,
  .testimonial-card:active {
    transform: scale(0.985);
  }

  .service-icon,
  .process-step i,
  .cta-features i {
    animation: mobileIconFloat 4.8s ease-in-out infinite;
  }

  .service-card:nth-child(2) .service-icon,
  .process-step:nth-child(2) i,
  .cta-features span:nth-child(2) i {
    animation-delay: 600ms;
  }

  .service-card:nth-child(3) .service-icon,
  .process-step:nth-child(3) i,
  .cta-features span:nth-child(3) i {
    animation-delay: 1.2s;
  }

  .btn-gold,
  .sticky-actions a:first-child {
    animation: mobileGoldBreath 4.8s ease-in-out infinite;
  }

  .project-card img,
  .portfolio-feature-card img,
  .portfolio-work-card img,
  .services-showcase-card img,
  .service-detail-card img,
  .final-cta-bg {
    animation: mobileImageDrift 12s ease-in-out infinite;
  }

  .portfolio-work-card:nth-child(even) img,
  .portfolio-feature-card img {
    animation-direction: reverse;
  }

  .service-card-body {
    align-items: center;
    justify-items: start;
    grid-template-columns: 52px 1fr;
    padding: 0 14px 20px;
    text-align: left;
  }

  .service-icon {
    width: 52px;
    height: 52px;
  }

  .service-card h3 {
    font-size: 1.2rem;
  }

  .portfolio-band,
  .testimonials-section,
  .final-cta {
    width: calc(100% - 32px);
    border-radius: 30px;
  }

  .portfolio-band {
    padding: 30px 18px 24px;
  }

  .portfolio-hero {
    min-height: 720px;
    padding: 118px 24px 92px;
  }

  .portfolio-hero-bg {
    background-position: center;
  }

  .portfolio-hero::before {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 26%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.42) 72%, rgba(0, 0, 0, 0.1)),
      linear-gradient(0deg, rgba(0, 0, 0, 0.76), transparent 54%);
  }

  .portfolio-hero h1 {
    font-size: clamp(2.8rem, 11vw, 4.2rem);
    line-height: 0.98;
  }

  .portfolio-hero-content > p:not(.eyebrow) {
    font-size: 1rem;
  }

  .hero-stats {
    display: grid;
    gap: 4px;
    width: min(100%, 390px);
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 28px;
    background: rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(14px);
  }

  .hero-stats button {
    justify-content: flex-start;
    min-height: 40px;
    border-color: transparent;
    background: transparent;
  }

  .portfolio-curve {
    height: 96px;
    margin-top: -48px;
  }

  .portfolio-page-section {
    padding-top: 28px;
  }

  .portfolio-page-section .section-head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
  }

  .portfolio-filters {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: 100%;
    max-width: 100%;
    gap: 8px;
    padding: 8px;
    overflow-x: auto;
    border-radius: 24px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .portfolio-filters::-webkit-scrollbar {
    display: none;
  }

  .portfolio-filters button {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 0 15px;
    scroll-snap-align: start;
    white-space: nowrap;
  }

  .portfolio-page-section .section-head h2 {
    font-size: clamp(2.15rem, 10vw, 3.1rem);
  }

  .project-detail-hero {
    min-height: 720px;
    padding: 118px 24px 92px;
  }

  .project-detail-hero h1 {
    font-size: clamp(2.8rem, 11vw, 4.2rem);
    line-height: 0.98;
  }

  .project-detail-layout,
  .project-scope-grid {
    grid-template-columns: 1fr;
  }

  .project-detail-copy,
  .project-facts {
    padding: 24px 18px;
    border-radius: 30px;
  }

  .project-scope-grid article {
    min-height: auto;
    border-radius: 24px;
  }

  .project-image-grid,
  .project-detail-grid {
    grid-template-columns: 1fr;
  }

  .project-image-grid figure,
  .project-image-large {
    grid-column: auto;
    grid-row: auto;
    min-height: 360px;
    border-radius: 30px;
  }

  .project-image-large {
    min-height: 440px;
  }

  .project-story-band {
    width: calc(100% - 28px);
    margin-bottom: 36px;
    padding: 28px 20px;
    border-radius: 34px;
  }

  .project-detail-grid article {
    min-height: auto;
  }

  .error-hero {
    min-height: 760px;
    padding: 120px 22px 92px;
  }

  .error-code {
    font-size: clamp(6rem, 34vw, 9rem);
    -webkit-text-stroke-width: 1.4px;
  }

  .error-hero h1 {
    font-size: clamp(2.7rem, 12vw, 4.1rem);
  }

  .error-link-grid {
    grid-template-columns: 1fr;
  }

  .legal-hero {
    min-height: 560px;
    padding: 120px 22px 86px;
  }

  .legal-hero h1 {
    font-size: clamp(2.8rem, 12vw, 4.2rem);
  }

  .legal-card {
    padding: 30px 20px;
    border-radius: 32px;
  }

  .portfolio-feature-grid,
  .portfolio-page-grid,
  .portfolio-detail-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-feature-grid,
  .portfolio-page-grid {
    gap: 16px;
  }

  .portfolio-feature-card,
  .portfolio-story-card,
  .portfolio-work-card {
    border-radius: 30px;
  }

  .portfolio-feature-card {
    min-height: 430px;
  }

  .portfolio-story-card {
    min-height: auto;
    padding: 28px;
    gap: 26px;
  }

  .portfolio-metrics {
    grid-template-columns: 1fr;
  }

  .portfolio-work-card {
    min-height: 356px;
  }

  .portfolio-collection-card {
    min-height: 430px;
  }

  .portfolio-card-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1.2fr 0.8fr;
    gap: 6px;
    padding: 6px;
  }

  .portfolio-card-gallery img:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .portfolio-card-content {
    inset: auto 20px 20px;
  }

  .portfolio-card-content h3 {
    font-size: 1.75rem;
  }

  .portfolio-feature-card .portfolio-card-content h3 {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .portfolio-detail-band,
  .portfolio-cta {
    width: calc(100% - 32px);
    padding: 30px 18px;
    border-radius: 30px;
  }

  .portfolio-detail-band {
    margin-bottom: 46px;
  }

  .portfolio-detail-grid article {
    min-height: 124px;
  }

  .contact-hero {
    min-height: 720px;
    padding: 118px 24px 92px;
  }

  .contact-hero::before {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.48), transparent 28%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.46) 74%, rgba(0, 0, 0, 0.12)),
      linear-gradient(0deg, rgba(0, 0, 0, 0.74), transparent 54%);
  }

  .contact-hero h1 {
    font-size: clamp(2.8rem, 11vw, 4.2rem);
    line-height: 0.98;
  }

  .contact-hero-content > p:not(.eyebrow) {
    font-size: 1rem;
  }

  .contact-hero-actions,
  .contact-address-actions {
    display: grid;
    gap: 12px;
  }

  .contact-page-section {
    padding-top: 28px;
  }

  .contact-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    gap: 14px;
  }

  .contact-method {
    display: grid;
    grid-template-columns: 58px 1fr;
    align-items: center;
    min-height: auto;
    padding: 20px;
    border-radius: 28px;
  }

  .contact-method span {
    grid-row: 1 / span 2;
    width: 52px;
    height: 52px;
    margin: 0;
  }

  .contact-method strong {
    margin: 0;
    font-size: 1.55rem;
  }

  .contact-method p {
    grid-column: 2;
  }

  .contact-panel {
    width: calc(100% - 32px);
    margin-bottom: 46px;
  }

  .contact-form-card,
  .contact-address-card {
    border-radius: 30px;
  }

  .contact-form-card {
    padding: 28px 18px;
  }

  .contact-form-card button {
    justify-self: stretch;
  }

  .contact-address-card {
    min-height: auto;
    padding: 30px 18px;
  }

  .contact-map-preview {
    min-height: 190px;
    border-radius: 24px;
  }

  .contact-detail-band {
    margin-bottom: 46px;
  }

  .services-hero {
    min-height: 720px;
    padding: 118px 24px 92px;
  }

  .services-hero::before {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.48), transparent 28%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.46) 74%, rgba(0, 0, 0, 0.12)),
      linear-gradient(0deg, rgba(0, 0, 0, 0.74), transparent 54%);
  }

  .services-hero h1 {
    font-size: clamp(2.8rem, 11vw, 4.2rem);
    line-height: 0.98;
  }

  .services-hero-content > p:not(.eyebrow) {
    font-size: 1rem;
  }

  .services-page-section {
    padding-top: 28px;
  }

  .services-showcase-grid,
  .service-process-band {
    grid-template-columns: 1fr;
  }

  .services-showcase-grid {
    gap: 16px;
  }

  .services-showcase-card {
    grid-template-columns: 1fr;
    min-height: auto;
    border-radius: 30px;
  }

  .services-showcase-card img {
    width: 100%;
    height: 220px;
  }

  .services-showcase-card > div {
    padding: 24px 20px 26px;
  }

  .services-showcase-card span {
    width: 54px;
    height: 54px;
    margin-bottom: 16px;
  }

  .services-showcase-card h3 {
    font-size: 1.8rem;
    line-height: 1.08;
  }

  .service-summary {
    margin-top: -4px;
  }

  .service-process-band {
    width: calc(100% - 32px);
    gap: 26px;
    margin-bottom: 46px;
    padding: 30px 18px;
    border-radius: 30px;
  }

  .service-process-list article {
    grid-template-columns: 58px 1fr;
    min-height: auto;
    padding: 18px;
    border-radius: 24px;
  }

  .service-process-list strong {
    font-size: 2.25rem;
  }

  .service-process-list span {
    font-size: 1.45rem;
  }

  .service-detail-section {
    padding-top: 28px;
  }

  .service-detail-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-detail-card {
    grid-template-columns: 1fr;
    min-height: auto;
    border-radius: 30px;
  }

  .service-detail-card img {
    width: 100%;
    height: 220px;
  }

  .service-detail-card > div {
    padding: 24px 20px 26px;
  }

  .service-detail-card span {
    width: 54px;
    height: 54px;
    margin-bottom: 16px;
  }

  .service-detail-card h3 {
    font-size: 1.45rem;
    line-height: 1.08;
  }

  .residential-detail-band,
  .residential-room-band {
    margin-bottom: 46px;
  }

  .service-copy-band,
  .service-faq {
    width: calc(100% - 32px);
    margin-bottom: 46px;
  }

  .service-copy-band {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 30px 18px;
    border-radius: 30px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .faq-card {
    padding: 22px;
    border-radius: 24px;
  }

  .portfolio-head {
    display: grid;
  }

  .blog-hero {
    min-height: 720px;
    padding: 160px 22px 76px;
  }

  .blog-feature-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-feature-card {
    grid-template-columns: 1fr;
    min-height: auto;
    border-radius: 32px;
  }

  .blog-feature-card img {
    height: 280px;
  }

  .blog-note-card {
    min-height: auto;
    border-radius: 32px;
  }

  .blog-category-pills {
    justify-content: flex-start;
  }

  .blog-card {
    min-height: auto;
    border-radius: 30px;
  }

  .blog-card img {
    height: 240px;
  }

  .blog-feature-card > div,
  .blog-card > div,
  .blog-note-card {
    padding: 26px;
  }

  .blog-post-hero {
    width: calc(100% - 32px);
    padding: 150px 0 42px;
  }

  .blog-post-hero img {
    max-height: 420px;
    border-radius: 30px;
  }

  .blog-post-body {
    width: calc(100% - 32px);
  }

  .blog-post-cta {
    padding: 28px !important;
    border-radius: 28px;
  }

  .gallery-hero {
    min-height: 720px;
    padding: 118px 24px 92px;
  }

  .gallery-hero::before {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.48), transparent 28%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.46) 74%, rgba(0, 0, 0, 0.12)),
      linear-gradient(0deg, rgba(0, 0, 0, 0.74), transparent 54%);
  }

  .gallery-hero h1 {
    font-size: clamp(2.8rem, 11vw, 4.2rem);
    line-height: 0.98;
  }

  .gallery-hero-content > p:not(.eyebrow) {
    font-size: 1rem;
  }

  .gallery-section {
    padding-top: 28px;
  }

  .gallery-section .section-head {
    display: grid;
    gap: 20px;
  }

  .gallery-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    width: 100%;
    border-radius: 28px;
  }

  .gallery-filters button {
    min-height: 42px;
    padding: 0 10px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 14px;
  }

  .gallery-item,
  .gallery-item.gallery-large,
  .gallery-item.gallery-wide,
  .gallery-item.gallery-tall {
    grid-column: auto;
    grid-row: auto;
    height: 284px;
    border-radius: 28px;
  }

  .gallery-item.gallery-large,
  .gallery-item.gallery-wide {
    height: 340px;
  }

  .gallery-lightbox {
    padding: 16px;
  }

  .gallery-lightbox img {
    max-height: 72vh;
    border-radius: 24px;
  }

  .gallery-lightbox-close {
    top: 14px;
    right: 14px;
    width: 46px;
    height: 46px;
  }

  .project-grid {
    gap: 14px;
  }

  .project-card {
    min-height: 284px;
    border-radius: 22px;
  }

  .project-card:not(:first-child) {
    min-height: 210px;
  }

  .project-card img {
    min-height: inherit;
  }

  .project-overlay {
    inset: auto 16px 16px;
  }

  .project-overlay h3 {
    padding-right: 54px;
    font-size: 1.4rem;
  }

  .project-overlay a {
    width: 48px;
    height: 48px;
  }

  .process-line {
    display: none;
  }

  .process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 0;
  }

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

  .process-step {
    grid-template-columns: 48px 42px 1fr;
    justify-items: start;
    align-items: center;
    padding: 14px;
    border: 1px solid rgba(201, 148, 54, 0.12);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.46);
    text-align: left;
  }

  .process-step span {
    width: 42px;
    height: 42px;
  }

  .process-step i {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .process-step h3 {
    grid-column: 3;
    margin: 0;
  }

  .process-step p {
    grid-column: 3;
    max-width: none;
    margin: 0;
  }

  .testimonials-section {
    padding: 34px 18px;
  }

  .testimonials-section .section-head {
    display: grid;
  }

  .testimonial-grid {
    gap: 14px;
  }

  .testimonial-card {
    min-height: auto;
    padding: 22px;
  }

  .testimonial-card p {
    min-height: auto;
  }

  .final-cta {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 24px;
    min-height: 360px;
    padding: 34px 24px;
  }

  .final-cta-content {
    padding: 0;
  }

  .cta-features {
    justify-self: start;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px;
    font-size: 0.8rem;
  }

  .site-footer {
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
    width: calc(100% - 32px);
    margin-bottom: 104px;
    padding: 30px 22px;
    border-radius: 26px;
  }

  .footer-credit {
    text-align: left;
  }

  .sticky-actions {
    display: grid;
  }
}

@media (max-width: 520px) {
  .site-header {
    grid-template-columns: 84px 1fr 44px;
    width: min(calc(100% - 64px), 500px);
    min-height: 54px;
  }

  .hero {
    min-height: 795px;
  }

  h1 {
    font-size: clamp(2.65rem, 12vw, 3.55rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .services-grid {
    gap: 12px;
  }

  .service-card {
    min-height: 210px;
  }

  .service-card img {
    height: 100%;
    min-height: inherit;
  }

  .service-card:first-child img,
  .service-card:nth-child(6) img {
    height: 100%;
    min-height: inherit;
  }

  .service-card-body {
    grid-template-columns: 46px 1fr;
  }

  .service-icon {
    width: 46px;
    height: 46px;
  }

  .service-card h3 {
    font-size: 1.03rem;
  }

  .btn {
    min-height: 56px;
    padding: 0 22px;
  }
}
