/* =========================================================
   AYAT INTERIORS — PREMIUM EDITORIAL WEBSITE
   Clean alignment + navigation layering fix
   ========================================================= */

:root {
  --black: #111111;
  --black-2: #171717;
  --cream: #f2efe8;
  --cream-2: #e8e3d9;
  --muted: #858077;
  --line: rgba(17,17,17,.16);
  --line-light: rgba(255,255,255,.18);
  --gold: #c5a45b;
  --white: #f7f5ef;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --display: "Manrope", Arial, sans-serif;
  --ease: cubic-bezier(.16,1,.3,1);
  --page-x: 7vw;
  --header-x: 4vw;
  --content-max: 1380px;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--black);
  font-family: var(--sans);
  font-weight: 400;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; width: 100%; }

/* =========================
   LOADER
   ========================= */
.site-loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--black);
  display: grid;
  place-items: center;
  pointer-events: none;
}
.loader-mark { width: min(220px, 42vw); opacity: 0; }
.loader-line {
  position: absolute;
  bottom: 8vh;
  left: 50%;
  width: 180px;
  height: 1px;
  background: rgba(255,255,255,.15);
  transform: translateX(-50%);
}
.loader-line span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--gold);
}

/* =========================
   CUSTOM CURSOR
   ========================= */
.cursor-dot,
.cursor-ring {
  position: fixed;
  z-index: 900;
  pointer-events: none;
  transform: translate(-50%,-50%);
  opacity: 0;
}
.cursor-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}
.cursor-ring {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 50%;
  transition: width .3s var(--ease), height .3s var(--ease), background .3s ease;
  mix-blend-mode: difference;
}
.cursor-ring.is-hover {
  width: 72px;
  height: 72px;
  background: rgba(255,255,255,.08);
}

/* =========================
   HEADER / NAVIGATION
   ========================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  width: 100%;
  height: 100px;
  padding: 0 var(--header-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
  transition: background .5s ease, color .5s ease, height .5s var(--ease);
}

.site-header.scrolled {
  height: 76px;
  background: rgba(242,239,232,.92);
  color: var(--black);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand {
  width: 112px;
  flex: 0 0 auto;
  display: block;
  line-height: 0;
}
.brand img {
  width: auto;
  height: 120px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 34px;
  margin-left: auto;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  line-height: 1;
  text-transform: uppercase;
}

.desktop-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 30px;
  line-height: 1;
  white-space: nowrap;
}

/* IMPORTANT: desktop nav links contain NO numbers. */
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 1px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease);
}
.desktop-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle { display: none; }

/*
   Desktop safety fix:
   The mobile menu is completely removed from the visual layer on desktop.
   This prevents its Contact / 04 item from leaking underneath the navbar.
*/
.mobile-menu {
  display: none;
}

/* =========================
   HERO
   ========================= */
.hero {
  position: relative;
  height: 100svh;
  min-height: 700px;
  color: var(--white);
  overflow: hidden;
  background: var(--black);
}
.hero-media,
.hero-media img,
.hero-overlay,
.hero-grain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-media img {
  object-fit: cover;
  object-position: center;
  transform: scale(1.1);
}
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8,8,8,.82) 0%, rgba(8,8,8,.45) 45%, rgba(8,8,8,.08) 100%),
    linear-gradient(0deg, rgba(8,8,8,.58) 0%, transparent 48%);
}
.hero-grain {
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}
.hero-content {
  position: absolute;
  left: var(--page-x);
  right: var(--page-x);
  bottom: 8.5vh;
  z-index: 10;
  width: auto;
  max-width: var(--content-max);
  margin-right: auto;
}
.eyebrow {
  margin: 0;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.hero h1 {
  position: relative;
  z-index: 11;
  margin: 22px 0 30px;
  max-width: 1000px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(64px, 9vw, 144px);
  line-height: .88;
  letter-spacing: -.055em;
}
.hero h1 span { display: block; }
.hero h1 .indent { margin-left: 10vw; }
.hero h1 em { font-style: italic; }
.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  max-width: 1000px;
}
.hero-copy {
  max-width: 360px;
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: 13px;
  line-height: 1.65;
}
.circle-link {
  width: 92px;
  height: 92px;
  flex: 0 0 auto;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: transform .5s var(--ease), background .5s ease, color .5s ease;
}
.circle-link i { font-style: normal; font-size: 16px; }
.circle-link:hover {
  transform: scale(1.08);
  background: var(--white);
  color: var(--black);
}
.hero-scroll {
  position: absolute;
  z-index: 12;
  right: var(--header-x);
  bottom: 7vh;
  writing-mode: vertical-rl;
  font-size: 8px;
  letter-spacing: .2em;
  color: rgba(255,255,255,.65);
}
.hero-scroll span {
  display: block;
  width: 1px;
  height: 48px;
  margin: 10px auto 0;
  background: rgba(255,255,255,.5);
}

/* =========================
   SHARED SECTIONS
   ========================= */
.section-pad {
  padding: 12vw var(--page-x);
}
.section-meta {
  display: flex;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
}

/* =========================
   INTRO
   ========================= */
.intro { background: var(--cream); }
.intro-grid {
  display: grid;
  grid-template-columns: minmax(170px,.72fr) minmax(0,2fr);
  gap: 9vw;
  padding-top: 9vw;
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
  align-items: start;
}
.intro-grid > div { min-width: 0; }
.intro-kicker {
  max-width: 220px;
  margin: 10px 0;
  font-size: 12px;
  line-height: 1.7;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.intro h2,
.services-head h2,
.material-intro h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(46px,6vw,92px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.045em;
}
.intro h2 em,
.services-head h2 em,
.material-intro h2 em { font-style: italic; }
.body-copy {
  max-width: 500px;
  margin: 55px 0 34px;
  color: #625f59;
  font-size: 14px;
  line-height: 1.8;
}
.text-link {
  display: inline-flex;
  gap: 15px;
  align-items: center;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .14em;
  border-bottom: 1px solid var(--black);
  padding-bottom: 8px;
}
.text-link span { transition: transform .3s ease; }
.text-link:hover span { transform: translate(3px,-3px); }

/* =========================
   FEATURED PROJECT
   ========================= */
.featured { background: var(--cream); }
.featured-project {
  display: block;
  padding-top: 5.5vw;
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
}
.project-image {
  position: relative;
  height: min(72vw,780px);
  overflow: hidden;
  background: #ddd;
}
.project-image img {
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 1.2s var(--ease);
}
.featured-project:hover .project-image img { transform: scale(1); }
.image-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg,rgba(0,0,0,.55),transparent 45%);
}
.project-view {
  position: absolute;
  right: 28px;
  bottom: 26px;
  color: white;
  font-size: 10px;
  letter-spacing: .14em;
}
.project-view b { font-size: 17px; margin-left: 8px; font-weight: 400; }
.featured-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 50px;
  padding-top: 34px;
}
.featured-info > div:first-child { min-width: 0; }
.project-number {
  margin: 0 0 14px;
  font-size: 9px;
  letter-spacing: .16em;
  color: var(--muted);
}
.featured-info h2 {
  margin: 0;
  max-width: 700px;
  font-family: var(--serif);
  font-size: clamp(48px,7vw,100px);
  font-weight: 400;
  line-height: .88;
  letter-spacing: -.05em;
}
.featured-info h2 em { font-style: italic; }
.project-details {
  flex: 0 0 190px;
  padding-top: 8px;
}
.project-details p {
  margin: 0 0 8px;
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .1em;
}

/* =========================
   PROJECT LIST
   ========================= */
.project-list {
  background: var(--cream-2);
  position: relative;
}
.project-rows {
  margin-top: 3vw;
  position: relative;
  z-index: 2;
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
}
.project-row {
  min-height: 105px;
  display: grid;
  grid-template-columns: 56px minmax(0,1.65fr) minmax(120px,.7fr) minmax(110px,.55fr) 30px;
  column-gap: 18px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  transition: color .35s ease,padding .45s var(--ease);
}
.project-row:hover { padding-left: 18px; color: #6d655a; }
.row-number,.row-type,.row-location {
  font-size: 9px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
}
.row-title { min-width: 0; font-family: var(--serif); font-size: clamp(25px,3vw,45px); }
.row-arrow { font-size: 20px; }
.project-float-image {
  position: fixed;
  z-index: 150;
  width: 250px;
  height: 310px;
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
  transform: translate(-50%,-50%) scale(.8);
  transition: opacity .25s ease,transform .45s var(--ease);
}
.project-float-image.show { opacity: 1; transform: translate(-50%,-50%) scale(1); }
.project-float-image img { height: 100%; object-fit: cover; }

/* =========================
   PHILOSOPHY
   ========================= */
.philosophy {
  position: relative;
  min-height: 100svh;
  color: var(--white);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--black);
}
.philosophy-image,.philosophy-image img,.philosophy-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.philosophy-image img { object-fit: cover; transform: scale(1.08); }
.philosophy-overlay {
  background: linear-gradient(90deg,rgba(0,0,0,.8),rgba(0,0,0,.15) 70%),linear-gradient(0deg,rgba(0,0,0,.75),transparent 55%);
}
.philosophy-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 7vw 0;
}
.philosophy h2 {
  margin: 24px 0;
  font-family: var(--serif);
  font-size: clamp(60px,8vw,125px);
  font-weight: 400;
  line-height: .86;
  letter-spacing: -.055em;
}
.philosophy h2 em { font-style: italic; }
.philosophy-content > p:last-child {
  max-width: 410px;
  margin: 42px 0 0;
  color: rgba(255,255,255,.7);
  font-size: 13px;
  line-height: 1.8;
}

/* =========================
   MATERIALS
   ========================= */
.materials { background: var(--cream); }
.material-intro {
  display: grid;
  grid-template-columns: minmax(0,1.15fr) minmax(250px,.85fr);
  gap: 8vw;
  padding: 8vw 0 7vw;
  align-items: end;
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
}
.material-intro h2 { max-width: 700px; }
.material-intro p {
  max-width: 360px;
  margin: 0;
  justify-self: end;
  color: #67625b;
  font-size: 13px;
  line-height: 1.8;
}
.material-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr .9fr;
  gap: 20px;
  align-items: start;
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
}
.material-card {
  position: relative;
  height: 34vw;
  min-height: 350px;
  overflow: hidden;
}
.material-card.tall { height: 46vw; }
.material-card.offset { margin-top: 10vw; }
.material-card img {
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.material-card:hover img { transform: scale(1.04); }
.material-card span {
  position: absolute;
  left: 20px;
  bottom: 18px;
  color: white;
  font-size: 8px;
  letter-spacing: .15em;
  text-transform: uppercase;
}

/* =========================
   SERVICES
   ========================= */
.services { background: var(--black); color: var(--white); }
.services .section-meta { border-color: var(--line-light); color: #8e8a82; }
.services-head {
  padding: 8vw 0 7vw;
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
}
.services-head h2 { max-width: 850px; }
.service-list {
  border-top: 1px solid var(--line-light);
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
}
.service-row {
  min-height: 145px;
  display: grid;
  grid-template-columns: 56px minmax(0,1fr) 30px;
  column-gap: 18px;
  align-items: center;
  border-bottom: 1px solid var(--line-light);
  transition: padding .5s var(--ease),background .4s ease;
}
.service-row:hover { padding: 0 24px; background: rgba(255,255,255,.035); }
.service-row > span {
  align-self: start;
  padding-top: 24px;
  font-size: 9px;
  letter-spacing: .15em;
  color: #777;
}
.service-row h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: clamp(30px,4vw,54px);
  font-weight: 400;
}
.service-row p {
  margin: 0;
  max-width: 500px;
  color: #85827b;
  font-size: 12px;
  line-height: 1.6;
}
.service-row b {
  font-size: 20px;
  font-weight: 300;
  transition: transform .3s ease;
}
.service-row:hover b { transform: translate(4px,-4px); }

/* =========================
   PROCESS
   ========================= */
.process {
  background: var(--cream-2);
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
}
.process-sticky {
  padding: 8vw var(--page-x);
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.process-sticky .section-meta { width: 100%; margin-bottom: auto; }
.process-sticky h2 {
  margin: auto 0 20px;
  font-family: var(--serif);
  font-size: clamp(54px,6vw,90px);
  font-weight: 400;
  line-height: .9;
  letter-spacing: -.05em;
}
.process-sticky h2 em { font-style: italic; }
.process-sticky > p {
  max-width: 340px;
  margin: 0 0 5vh;
  color: #6b675f;
  font-size: 13px;
  line-height: 1.7;
}
.process-steps { padding: 10vw var(--page-x) 10vw 2vw; }
.process-step {
  min-height: 48vh;
  padding: 5vh 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.process-step span { font-size: 9px; letter-spacing: .15em; color: var(--muted); }
.process-step h3 {
  margin: 22px 0 16px;
  font-family: var(--serif);
  font-size: clamp(48px,5vw,76px);
  font-weight: 400;
  letter-spacing: -.04em;
}
.process-step p {
  max-width: 390px;
  margin: 0;
  color: #68645c;
  font-size: 13px;
  line-height: 1.8;
}

/* =========================
   TESTIMONIAL
   ========================= */
.testimonial { background: var(--cream); }
.testimonial blockquote {
  max-width: 1120px;
  margin: 9vw auto 7vw;
  font-family: var(--serif);
  font-size: clamp(48px,7vw,105px);
  line-height: .94;
  letter-spacing: -.05em;
}
.quote-credit {
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* =========================
   CONTACT
   ========================= */
.contact {
  min-height: 92svh;
  position: relative;
  color: var(--white);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.contact-bg,.contact-bg img,.contact-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.contact-bg img { object-fit: cover; transform: scale(1.08); }
.contact-overlay { background: linear-gradient(90deg,rgba(0,0,0,.78),rgba(0,0,0,.25)); }
.contact-content {
  position: relative;
  z-index: 2;
  width: calc(100% - (var(--page-x) * 2));
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 7vw 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.contact h2 {
  width: 100%;
  max-width: 1000px;
  margin: 28px 0 48px;
  font-family: var(--serif);
  font-size: clamp(56px,8vw,120px);
  line-height: .88;
  font-weight: 400;
  letter-spacing: -.055em;
}
.contact h2 em { font-style: italic; }
.contact-button {
  min-width: 245px;
  display: inline-flex;
  justify-content: space-between;
  gap: 35px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.55);
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.contact-button b {
  font-size: 18px;
  font-weight: 400;
  transition: transform .3s ease;
}
.contact-button:hover b { transform: translate(4px,-4px); }

/* =========================
   FOOTER
   ========================= */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 7vw var(--page-x) 28px;
}
.footer-top,
.footer-grid,
.footer-bottom {
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 7vw;
}
.footer-brand { width: 170px; }
.footer-top > p {
  margin: 0;
  max-width: 260px;
  color: #8a8780;
  font-size: 11px;
  line-height: 1.8;
  text-align: right;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  padding: 45px 0 90px;
  border-top: 1px solid var(--line-light);
}
.footer-grid > div { display: flex; flex-direction: column; gap: 10px; }
.footer-label { margin-bottom: 8px; color: #77746e; font-size: 8px; letter-spacing: .16em; }
.footer-grid a,.footer-grid p { margin: 0; font-size: 12px; }
.footer-grid a:hover { color: var(--gold); }
.footer-location { text-align: right; align-items: flex-end; }
.footer-location p { color: #8a8780; line-height: 1.8; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--line-light);
  color: #67645e;
  font-size: 8px;
  letter-spacing: .15em;
}

/* =========================
   TABLET / MOBILE
   ========================= */
@media (max-width: 900px) {
  :root {
    --page-x: 6vw;
  }

  .site-header {
    height: 82px;
    padding: 0 var(--page-x);
  }
  .site-header.scrolled { height: 70px; }
  .brand { width: 96px; }
  .desktop-nav { display: none; }

  .menu-toggle {
    display: flex;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 50%;
    background: transparent;
    color: inherit;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    position: relative;
    z-index: 210;
  }
  .site-header.scrolled .menu-toggle { border-color: rgba(17,17,17,.3); }
  .menu-toggle span {
    width: 13px;
    height: 1px;
    background: currentColor;
    transition: transform .4s ease;
  }
  .menu-toggle.active span:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-toggle.active span:last-child { transform: translateY(-3px) rotate(-45deg); }

  /* Mobile menu exists only on mobile and is fully hidden when closed. */
  .mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 190;
    display: block;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    background: var(--black);
    color: var(--white);
    transform: translate3d(0,-100%,0);
    transition: transform .8s var(--ease), opacity .35s ease, visibility 0s linear .8s;
  }
  .mobile-menu.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translate3d(0,0,0);
    transition: transform .8s var(--ease), opacity .35s ease, visibility 0s linear 0s;
  }
  .mobile-menu-inner {
    height: 100%;
    padding: 130px var(--page-x) 40px;
    display: flex;
    flex-direction: column;
  }
  .mobile-menu nav { margin-top: 8vh; }
  .mobile-menu nav a {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 19px 0;
    border-bottom: 1px solid var(--line-light);
    font-family: var(--serif);
    font-size: clamp(38px,10vw,76px);
    line-height: 1;
  }
  .mobile-menu nav a span {
    flex: 0 0 auto;
    font-family: var(--sans);
    font-size: 11px;
    line-height: 1;
    letter-spacing: .12em;
  }
  .mobile-menu-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #aaa;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .12em;
  }

  .hero { min-height: 760px; }
  .hero-media img { object-position: 58% center; }
  .hero-overlay {
    background: linear-gradient(90deg,rgba(8,8,8,.78),rgba(8,8,8,.25)),linear-gradient(0deg,rgba(8,8,8,.7),transparent 60%);
  }
  .hero-content {
    left: var(--page-x);
    right: var(--page-x);
    bottom: 9vh;
  }
  .hero h1 { font-size: clamp(54px,13vw,90px); }
  .hero h1 .indent { margin-left: 7vw; }
  .hero-bottom { align-items: flex-end; }
  .hero-copy { max-width: 270px; }
  .hero-scroll { display: none; }

  .section-pad { padding: 18vw var(--page-x); }
  .intro-grid { grid-template-columns: 1fr; gap: 12vw; padding-top: 15vw; }
  .intro-kicker { margin: 0; }
  .body-copy { margin-top: 40px; }
  .project-image { height: 110vw; max-height: 720px; }
  .featured-info { flex-direction: column; gap: 30px; }
  .project-details { flex: none; display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
  .project-details p { margin: 0; }
  .project-row { min-height: 90px; grid-template-columns: 40px 1fr 25px; }
  .row-type,.row-location { display: none; }
  .project-float-image { display: none; }

  .philosophy { min-height: 85svh; }
  .philosophy-content { padding: 12vw 0; }
  .philosophy h2 { font-size: clamp(54px,13vw,100px); }

  .material-intro { grid-template-columns: 1fr; gap: 40px; padding: 15vw 0 12vw; }
  .material-intro p { justify-self: start; }
  .material-grid { grid-template-columns: 1fr 1fr; }
  .material-card { height: 58vw; min-height: 300px; }
  .material-card.tall { height: 76vw; grid-row: span 2; }
  .material-card.offset { margin-top: 8vw; }

  .process { grid-template-columns: 1fr; }
  .process-sticky { position: relative; height: auto; min-height: 75vh; padding: 18vw var(--page-x) 10vw; }
  .process-sticky h2 { margin: 20vh 0 30px; }
  .process-steps { padding: 0 var(--page-x) 15vw; }
  .process-step { min-height: 52vh; }

  .testimonial blockquote { margin: 15vw auto; }
  .quote-credit { flex-direction: column; gap: 10px; }
  .contact { min-height: 80svh; }
  .contact-content {
    width: calc(100% - (var(--page-x) * 2));
    padding: 14vw 0;
  }
  .contact h2 { max-width: 760px; }

  .footer { padding: 14vw var(--page-x) 25px; }
  .footer-top { flex-direction: column; gap: 40px; padding-bottom: 14vw; }
  .footer-top > p { text-align: left; }
  .footer-grid { grid-template-columns: 1fr 1fr; padding: 45px 0 60px; }
  .footer-location { text-align: left; align-items: flex-start; }
}

@media (max-width: 560px) {
  .hero h1 { font-size: clamp(50px,14vw,72px); }
  .hero h1 .indent { margin-left: 4vw; }
  .hero-bottom { gap: 18px; }
  .hero-copy { font-size: 11px; max-width: 200px; }
  .circle-link { width: 78px; height: 78px; }
  .section-meta { font-size: 8px; }
  .featured-info h2 { font-size: 56px; }
  .project-details { display: block; }
  .project-details p { margin-bottom: 7px; }
  .material-grid { display: block; }
  .material-card,.material-card.tall,.material-card.offset { height: 112vw; margin: 0 0 16px; }
  .service-row { grid-template-columns: 42px 1fr 20px; min-height: 150px; }
  .service-row h3 { font-size: 31px; }
  .service-row p { font-size: 11px; }
  .footer-grid { grid-template-columns: 1fr; gap: 42px; }
  .footer-bottom { gap: 15px; flex-direction: column; }
  .mobile-menu-footer { flex-direction: column; }
}

@media (pointer: coarse) {
  .cursor-dot,.cursor-ring { display: none; }
}


/* =========================================================
   AYAT V3 — PREMIUM FOOTER
   ========================================================= */
.footer{
  position:relative;
  background:radial-gradient(circle at 78% 18%,rgba(197,164,91,.08),transparent 28%),#101010;
  color:var(--white);
  padding:0 var(--page-x) 26px;
  overflow:hidden;
}
.footer::before{content:"";position:absolute;top:0;left:0;width:34%;height:1px;background:linear-gradient(90deg,var(--gold),transparent)}
.footer-shell{max-width:var(--content-max);margin:0 auto}
.footer-hero{min-height:390px;padding:78px 0 72px;display:grid;grid-template-columns:1.25fr .75fr;align-items:end;gap:80px}
.footer-brand-block{display:flex;flex-direction:column;align-items:flex-start}
.footer-brand{width:158px;display:block;filter:drop-shadow(0 10px 30px rgba(197,164,91,.08))}
.footer-brand img{width:100%;height:auto}
.footer-tagline{margin:34px 0 0;color:#85817a;font-size:12px;line-height:1.8}
.footer-cta{justify-self:end;width:min(100%,390px);padding-bottom:5px}
.footer-cta .footer-label{display:block;margin-bottom:24px}
.footer-cta>a{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:0 0 17px;border-bottom:1px solid rgba(255,255,255,.34);font-family:var(--serif);font-size:clamp(24px,2.3vw,36px);line-height:1.05}
.footer-cta>a b{color:var(--gold);font-family:var(--sans);font-size:18px;font-weight:400;transition:transform .35s var(--ease)}
.footer-cta>a:hover b{transform:translate(5px,-5px)}
.footer-rule{height:1px;background:rgba(255,255,255,.12)}
.footer-grid{display:grid;grid-template-columns:1fr 1fr 1.35fr .75fr;gap:42px;padding:58px 0 82px}
.footer-column,.footer-location{display:flex;flex-direction:column;align-items:flex-start;gap:13px}
.footer-label{margin:0 0 12px;color:#6f6b65;font-size:8px;line-height:1;font-weight:500;letter-spacing:.2em}
.footer-column a,.footer-location p{margin:0;color:#dedbd4;font-size:12px;line-height:1.4;transition:color .25s ease,transform .25s ease}
.footer-column a:hover{color:var(--gold);transform:translateX(3px)}
.footer-location{align-items:flex-end;text-align:right}
.footer-location p{color:#85817a;line-height:1.9}
.footer-bottom{display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center;gap:20px;padding-top:18px;border-top:1px solid rgba(255,255,255,.10);color:#5f5b56;font-size:8px;letter-spacing:.15em}
.footer-bottom span:nth-child(2){text-align:center}.footer-bottom span:last-child{text-align:right}
@media(max-width:900px){
  .footer-hero{min-height:auto;padding:70px 0 58px;grid-template-columns:1fr;gap:58px}
  .footer-cta{justify-self:start;width:min(100%,520px)}
  .footer-grid{grid-template-columns:1fr 1fr;gap:52px 28px;padding:48px 0 58px}
  .footer-location{align-items:flex-start;text-align:left}
  .footer-bottom{grid-template-columns:1fr;gap:10px}
  .footer-bottom span,.footer-bottom span:nth-child(2),.footer-bottom span:last-child{text-align:left}
}
@media(max-width:560px){
  .footer-hero{padding-top:58px}.footer-brand{width:132px}.footer-grid{grid-template-columns:1fr 1fr}
  .footer-column a,.footer-location p{font-size:11px}
}

/* =========================================================
   NAVIGATION / ALIGNMENT REFINEMENT
   ========================================================= */
.nav-service-wrap{position:relative;height:100%;display:flex;align-items:center}
.nav-service-trigger{padding:10px 0}
.nav-service-dropdown{position:absolute;top:calc(100% + 16px);right:-18px;width:255px;padding:12px;background:rgba(18,18,18,.97);border:1px solid rgba(255,255,255,.12);box-shadow:0 24px 60px rgba(0,0,0,.22);opacity:0;visibility:hidden;transform:translateY(10px);transition:.35s var(--ease);z-index:80}
.nav-service-wrap:hover .nav-service-dropdown,.nav-service-wrap:focus-within .nav-service-dropdown{opacity:1;visibility:visible;transform:none}
.nav-service-dropdown a{display:grid!important;grid-template-columns:28px 1fr;gap:10px;padding:13px 12px!important;color:#eee!important;font-size:10px!important;letter-spacing:.08em!important;text-transform:uppercase}
.nav-service-dropdown a:hover{background:rgba(255,255,255,.07)}
.nav-service-dropdown span{color:var(--gold)}
.mobile-service-links{display:none}
.mobile-service-item.open .mobile-service-links{display:block}
.mobile-service-links a{font-family:var(--sans)!important;font-size:10px!important;letter-spacing:.12em!important;padding:12px 0 12px 18px!important;border-bottom:0!important}
.mobile-service-links small{color:var(--gold);font-family:var(--sans)}
@media(max-width:900px){.nav-service-wrap{display:none}}
/* Consistent editorial side padding for the philosophy section */
.philosophy-content{width:calc(100% - 2 * var(--page-pad));max-width:var(--content-max)}


/* =========================================================
   V4 STANDALONE PAGES
   Same typography, spacing system and visual language.
   ========================================================= */

.standalone-page {
  background: var(--cream);
  color: var(--black);
}

.standalone-hero {
  min-height: 68vh;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
}

.standalone-hero-media,
.standalone-hero-media img,
.standalone-hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.standalone-hero-media img {
  object-fit: cover;
  transform: scale(1.03);
}

.standalone-hero-overlay {
  background:
    linear-gradient(90deg, rgba(8,8,8,.82), rgba(8,8,8,.22) 75%),
    linear-gradient(0deg, rgba(8,8,8,.68), transparent 60%);
}

.standalone-hero-content {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 14vw), var(--content-max));
  margin: 0 auto;
  padding: 170px 0 8vw;
}

.standalone-hero h1 {
  margin: 22px 0 0;
  max-width: 1000px;
  font: 400 clamp(68px, 10vw, 145px)/.86 var(--serif);
  letter-spacing: -.06em;
}

.standalone-hero h1 em {
  font-style: italic;
}

.standalone-intro {
  padding: 9vw var(--page-x);
}

.standalone-intro-inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.standalone-intro h2 {
  margin: 0;
  max-width: 1000px;
  font: 400 clamp(48px, 6.4vw, 92px)/.94 var(--serif);
  letter-spacing: -.055em;
}

.standalone-intro h2 em {
  font-style: italic;
}

.standalone-intro-copy {
  max-width: 600px;
  margin: 38px 0 0 auto;
  color: #69645d;
  font-size: 14px;
  line-height: 1.9;
}

.standalone-project-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 18px;
  margin-top: 55px;
}

.standalone-project-card {
  position: relative;
  overflow: hidden;
  background: #ddd;
}

.standalone-project-card.tall {
  height: 720px;
}

.standalone-project-card.short {
  height: 500px;
  margin-top: 140px;
}

.standalone-project-card img {
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.standalone-project-card:hover img {
  transform: scale(1.045);
}

.standalone-project-card span {
  position: absolute;
  left: 24px;
  bottom: 22px;
  color: #fff;
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-shadow: 0 2px 15px rgba(0,0,0,.4);
}

.standalone-list {
  padding: 0 var(--page-x) 10vw;
}

.standalone-list-inner {
  max-width: var(--content-max);
  margin: auto;
}

.standalone-list .project-rows {
  border-top: 1px solid var(--line);
}

.standalone-note {
  padding: 9vw var(--page-x);
  background: #111;
  color: var(--white);
}

.standalone-note-inner {
  max-width: var(--content-max);
  margin: auto;
}

.standalone-note h2 {
  margin: 0;
  max-width: 1000px;
  font: 400 clamp(52px, 7vw, 105px)/.9 var(--serif);
  letter-spacing: -.055em;
}

.standalone-note h2 em {
  font-style: italic;
}

.standalone-note p {
  max-width: 570px;
  margin: 35px 0 0;
  color: #858078;
  font-size: 13px;
  line-height: 1.9;
}

.standalone-contact {
  min-height: 78vh;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  background: #111;
}

.standalone-contact-media,
.standalone-contact-media img,
.standalone-contact-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.standalone-contact-media img {
  object-fit: cover;
}

.standalone-contact-overlay {
  background: linear-gradient(90deg, rgba(0,0,0,.84), rgba(0,0,0,.25));
}

.standalone-contact-content {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 14vw), var(--content-max));
  margin: 0 auto;
  padding: 9vw 0;
}

.standalone-contact h1 {
  margin: 20px 0 35px;
  max-width: 1000px;
  font: 400 clamp(64px, 9vw, 135px)/.86 var(--serif);
  letter-spacing: -.06em;
}

.standalone-contact h1 em {
  font-style: italic;
}

.contact-details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 900px;
  border-top: 1px solid rgba(255,255,255,.2);
  padding-top: 30px;
}

.contact-detail span {
  display: block;
  color: #77736d;
  font-size: 8px;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.contact-detail a,
.contact-detail p {
  margin: 0;
  color: #e8e4dc;
  font-size: 12px;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .standalone-hero-content,
  .standalone-contact-content {
    width: calc(100% - 12vw);
    padding-top: 125px;
    padding-bottom: 12vw;
  }

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

  .standalone-project-card.tall {
    height: 105vw;
  }

  .standalone-project-card.short {
    height: 82vw;
    margin-top: 0;
  }

  .contact-details-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}


/* =========================================================
   FINAL V4 ALIGNMENT FIXES
   Keep the original V4 visual design. Only correct structure,
   spacing and navigation layering.
   ========================================================= */

/* The homepage philosophy uses the same editorial side padding
   as the rest of the site. */
.philosophy-content {
  width: calc(100% - (2 * var(--page-x)));
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}

/* All standalone pages share the same left/right content grid. */
.standalone-hero-content,
.standalone-contact-content,
.standalone-intro-inner,
.standalone-list-inner,
.standalone-note-inner {
  width: calc(100% - (2 * var(--page-x)));
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
}

/* Fixed header must never affect document flow or swallow page content. */
.standalone-page .site-header {
  position: fixed;
  z-index: 500;
}

/* Standalone hero/contact content starts below the fixed header while
   retaining the original V4 typography. */
.standalone-hero-content {
  padding-top: 150px;
}
.standalone-contact-content {
  padding-top: 150px;
}

/* Keep standalone navigation complete and above hero artwork. */
.standalone-page .desktop-nav {
  position: relative;
  z-index: 510;
}
.standalone-page .nav-service-wrap {
  position: relative;
  z-index: 520;
}
.standalone-page .nav-service-dropdown {
  z-index: 600;
}

/* On narrow screens use the same side grid instead of allowing
   headings to touch the viewport edge. */
@media (max-width: 900px) {
  .philosophy-content,
  .standalone-hero-content,
  .standalone-contact-content,
  .standalone-intro-inner,
  .standalone-list-inner,
  .standalone-note-inner {
    width: calc(100% - (2 * var(--page-x)));
  }

  .standalone-hero-content,
  .standalone-contact-content {
    padding-top: 110px;
  }
}


/* =========================================================
   AYAT INTERIORS — PREMIUM CONTACT FORM
   ========================================================= */

.ayat-contact-form-section {
  background: var(--cream, #f3f0e9);
  color: var(--ink, #171615);
  padding: 130px var(--page-x, 7.5vw) 150px;
  border-top: 1px solid rgba(23, 22, 20, .12);
}

.ayat-contact-form-grid {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(480px, 1.18fr);
  gap: clamp(60px, 9vw, 150px);
  align-items: start;
}

.ayat-contact-form-intro {
  position: sticky;
  top: 130px;
}

.ayat-form-eyebrow {
  display: block;
  margin-bottom: 28px;
  font-size: 11px;
  letter-spacing: .18em;
  font-weight: 600;
  opacity: .58;
}

.ayat-contact-form-intro h2 {
  margin: 0 0 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(52px, 5.2vw, 88px);
  line-height: .9;
  font-weight: 400;
  letter-spacing: -.045em;
}

.ayat-contact-form-intro h2 em {
  font-style: italic;
}

.ayat-contact-form-intro > p {
  max-width: 470px;
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  opacity: .68;
}

.ayat-form-details {
  margin-top: 60px;
  display: grid;
  gap: 28px;
}

.ayat-form-details div {
  display: grid;
  gap: 7px;
}

.ayat-form-details span {
  font-size: 10px;
  letter-spacing: .18em;
  opacity: .5;
}

.ayat-form-details a {
  color: inherit;
  text-decoration: none;
  font-size: 14px;
  transition: opacity .25s ease;
}

.ayat-form-details a:hover {
  opacity: .55;
}

.ayat-contact-form {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(23, 22, 20, .22);
}

.ayat-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
}

.ayat-contact-form label {
  display: grid;
  gap: 13px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(23, 22, 20, .16);
}

.ayat-contact-form label > span {
  font-size: 10px;
  letter-spacing: .16em;
  font-weight: 600;
  opacity: .55;
}

.ayat-contact-form input,
.ayat-contact-form select,
.ayat-contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 0;
  outline: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 15px;
  padding: 0;
}

.ayat-contact-form input,
.ayat-contact-form select {
  height: 28px;
}

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

.ayat-contact-form input::placeholder,
.ayat-contact-form textarea::placeholder {
  color: currentColor;
  opacity: .35;
}

.ayat-contact-form select {
  cursor: pointer;
}

.ayat-form-full {
  margin-top: 0;
}

.ayat-form-check {
  display: flex !important;
  grid-template-columns: none !important;
  grid-auto-flow: column;
  justify-content: start;
  align-items: center;
  gap: 11px !important;
  border-bottom: 0 !important;
  padding: 28px 0 18px !important;
}

.ayat-form-check input {
  width: 14px;
  height: 14px;
  accent-color: #b89442;
  cursor: pointer;
}

.ayat-form-check span {
  font-size: 11px !important;
  letter-spacing: .02em !important;
  font-weight: 400 !important;
  opacity: .58 !important;
}

.ayat-form-submit {
  margin-top: 20px;
  width: 100%;
  min-height: 62px;
  padding: 0 24px;
  border: 1px solid rgba(23, 22, 20, .45);
  background: #171615;
  color: #f3f0e9;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  cursor: pointer;
  transition: background .3s ease, color .3s ease, transform .3s ease;
}

.ayat-form-submit span:last-child {
  font-size: 19px;
  letter-spacing: 0;
}

.ayat-form-submit:hover {
  background: transparent;
  color: #171615;
  transform: translateY(-2px);
}

.ayat-form-status {
  min-height: 18px;
  margin: 16px 0 0;
  font-size: 12px;
  opacity: .6;
}

@media (max-width: 900px) {
  .ayat-contact-form-section {
    padding: 90px var(--page-x, 7vw) 100px;
  }

  .ayat-contact-form-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .ayat-contact-form-intro {
    position: static;
  }

  .ayat-contact-form-intro h2 {
    font-size: clamp(48px, 13vw, 72px);
  }

  .ayat-form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 520px) {
  .ayat-contact-form-section {
    padding-left: 22px;
    padding-right: 22px;
  }

  .ayat-contact-form-intro h2 {
    font-size: 49px;
  }
}
