/* =====================================================================
   BowerB Sdn. Bhd. — refined editorial design system
   Grey is the architectural base; BowerB yellow is the signature accent.
   ===================================================================== */

:root {
  --yellow: #f1c232;
  --yellow-deep: #d6a71e;
  --yellow-soft: #f8e7a7;
  --charcoal: #292d30;
  --charcoal-2: #353a3e;
  --ink: #202326;
  --ink-soft: #62676b;
  --grey-700: #53595d;
  --grey-400: #a7abad;
  --grey-250: #d6d7d5;
  --grey-150: #e8e8e4;
  --grey-100: #f1f1ed;
  --paper: #f8f7f2;
  --white: #ffffff;
  --font-display: "DM Serif Display", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", Arial, sans-serif;
  --wrap: 1180px;
  --shadow-soft: 0 24px 60px rgba(23, 25, 27, 0.14);
  --shadow-card: 0 12px 32px rgba(27, 30, 32, 0.09);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--grey-100);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
img { object-fit: cover; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; }

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.wrap {
  width: min(100%, var(--wrap));
  margin-inline: auto;
  padding-inline: 2rem;
}

.page { overflow: clip; }
.section { position: relative; padding: clamp(5rem, 8vw, 8rem) 0; }
.section--yellow { background: var(--yellow); }
.section--soft { background: var(--grey-150); }
.section--charcoal, .section--ink { background: var(--charcoal); color: var(--white); }

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--grey-700);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow--light { color: var(--yellow); }

.section-head {
  max-width: 18ch;
  margin-bottom: 1.35rem;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
}

.section-intro {
  display: grid;
  grid-template-columns: 0.8fr 1.6fr 1fr;
  gap: 2.5rem;
  align-items: end;
  margin-bottom: 4rem;
}

.section-intro .eyebrow { align-self: start; }
.section-intro .section-head { margin: 0; }
.section-intro > p { color: var(--ink-soft); }

.skip-link {
  position: fixed;
  z-index: 500;
  top: 0;
  left: -999px;
  padding: 0.7rem 1rem;
  color: var(--ink);
  background: var(--yellow);
  font-weight: 700;
}

.skip-link:focus { left: 0; }

/* Buttons and text links */
.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.45rem;
  border: 1px solid var(--yellow);
  border-radius: 2px;
  color: var(--ink);
  background: var(--yellow);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.btn:hover { color: var(--white); background: var(--charcoal); transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
.btn--sm { min-height: 40px; padding: 0.65rem 1.1rem; font-size: 0.68rem; }
.btn--lg { min-height: 50px; padding: 0.9rem 1.7rem; }
.btn--block { width: 100%; }

.text-link {
  display: inline-flex;
  gap: 0.8rem;
  align-items: center;
  margin-top: 1rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid var(--yellow);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link span { transition: transform 160ms ease; }
.text-link:hover span { transform: translateX(5px); }

/* Navigation */
.nav {
  position: sticky;
  z-index: 100;
  top: 0;
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.65rem max(2rem, calc((100vw - var(--wrap)) / 2 + 2rem));
  border-bottom: 1px solid rgba(32, 35, 38, 0.1);
  background: rgba(248, 247, 242, 0.97);
  backdrop-filter: blur(16px);
}

.nav__logo { display: inline-flex; flex: none; align-items: center; text-decoration: none; }
.nav__logo-image {
  display: block;
  width: 82px;
  height: auto;
  border-radius: 10px;
}
.nav__cta { border-radius: 10px; }
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a {
  position: relative;
  padding: 0.4rem 0;
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}
.nav__links a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--yellow);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__toggle, .nav__cta-mobile { display: none; }

/* Home hero */
.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 78px));
  overflow: hidden;
  color: var(--white);
  background: var(--charcoal);
}

.hero__media, .page-hero__media, .hero__shade, .page-hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__media { object-position: center; }
.hero__shade {
  background:
    linear-gradient(90deg, rgba(25, 28, 30, 0.9) 0%, rgba(25, 28, 30, 0.52) 48%, rgba(25, 28, 30, 0.72) 100%),
    linear-gradient(0deg, rgba(25, 28, 30, 0.5), transparent 55%);
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: min(760px, calc(100vh - 78px));
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
  padding-top: 4rem;
  padding-bottom: 7rem;
}

.hero__copy { max-width: 730px; }
.hero-title { max-width: 12ch; font-size: clamp(3.8rem, 7.8vw, 7rem); }
.hero-title em { color: var(--yellow); font-weight: 400; }
.hero__aside { position: relative; max-width: 440px; padding-left: 2rem; }
.hero__aside p { color: rgba(255, 255, 255, 0.78); font-size: clamp(0.96rem, 1.3vw, 1.08rem); }
.hero__aside .btn { margin-top: 1.8rem; }
.hero__line { position: absolute; top: 0; bottom: 0; left: 0; width: 3px; background: var(--yellow); }
.hero__scroll {
  position: absolute;
  z-index: 3;
  right: max(2rem, calc((100vw - var(--wrap)) / 2 + 2rem));
  bottom: 2rem;
  display: inline-flex;
  gap: 0.65rem;
  align-items: center;
  color: var(--white);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
}
.hero__scroll span { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 50%; }

/* Overlapping home service tiles */
.home-services { position: relative; z-index: 5; background: var(--grey-100); }
.home-services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  transform: translateY(-50px);
  box-shadow: var(--shadow-card);
}
.service-tile {
  display: grid;
  min-height: 150px;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.6rem;
  border-right: 1px solid var(--grey-150);
  background: var(--white);
  text-decoration: none;
  transition: background 180ms ease, transform 180ms ease;
}
.service-tile:last-child { border-right: 0; }
.service-tile:hover { z-index: 2; background: var(--paper); transform: translateY(-6px); }
.service-tile__icon { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 50%; color: var(--ink); background: var(--yellow); font-size: 0.7rem; font-weight: 700; letter-spacing: -0.04em; }
.service-tile strong { display: block; font-family: var(--font-display); font-size: 1.28rem; font-weight: 400; }
.service-tile small { display: block; margin-top: 0.25rem; color: var(--ink-soft); font-size: 0.72rem; line-height: 1.5; }
.service-tile__arrow { color: var(--grey-400); font-size: 1.1rem; }

/* Homepage company profile */
.about-profile { scroll-margin-top: 88px; background: var(--paper); }
.about-profile__intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: end;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--grey-250);
}
.about-profile__intro .section-head { max-width: 11ch; margin-bottom: 0; font-size: clamp(3rem, 5.7vw, 5.6rem); }
.about-profile__lead { max-width: 62ch; padding-left: 1.5rem; border-left: 3px solid var(--yellow); color: var(--ink); font-size: clamp(1.05rem, 1.35vw, 1.22rem); line-height: 1.75; }
.about-profile__body { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr); gap: clamp(3rem, 8vw, 7rem); align-items: start; margin-top: clamp(2.5rem, 5vw, 4rem); }
.about-profile__media img { width: 100%; aspect-ratio: 4 / 3; object-position: center; filter: saturate(0.88) contrast(1.02); }
.about-profile__media figcaption { margin-top: 0.8rem; color: var(--grey-700); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.about-profile__copy { max-width: 62ch; }
.about-profile__copy p { color: var(--ink-soft); font-size: 1rem; line-height: 1.85; }
.about-profile__copy p + p { margin-top: 2rem; }
.about-profile__copy .text-link { margin-top: 2.25rem; }

/* Expertise */
.expertise { background: var(--grey-100); }
.expertise__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.expertise-card {
  display: grid;
  min-height: 150px;
  grid-template-columns: 62px 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 2rem;
  border-left: 7px solid var(--yellow);
  background: var(--white);
  box-shadow: var(--shadow-card);
}
.expertise-card__num { color: var(--grey-400); font-family: var(--font-display); font-size: 2.15rem; line-height: 1; }
.expertise-card p { color: var(--grey-700); }

/* Vision and stats */
.vm__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(4rem, 9vw, 9rem); align-items: center; }
.vm__vision h2 { max-width: 12ch; color: var(--white); font-size: clamp(2.8rem, 5.5vw, 5rem); }
.vm__mission > p { max-width: 52ch; color: rgba(255,255,255,0.7); }
.stats-band__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.16); }
.stat__value { display: block; color: var(--yellow); font-family: var(--font-display); font-size: 2.2rem; line-height: 1; }
.stat__label { display: block; margin-top: 0.5rem; color: rgba(255,255,255,0.64); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

/* Facebook follow band (home) */
.social-band { padding: clamp(3rem, 5.5vw, 4.5rem) 0; color: var(--white); background: var(--charcoal); }
.social-band__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.social-band__mark {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--yellow);
}
.social-band__mark svg { width: 28px; height: 28px; }
.social-band__copy .eyebrow { margin-bottom: 0.6rem; }
.social-band__copy h2 { max-width: 30ch; color: var(--white); font-size: clamp(1.8rem, 3.2vw, 2.55rem); }
.social-band__copy p { max-width: 52ch; margin-top: 0.85rem; color: rgba(255,255,255,0.68); font-size: 0.88rem; line-height: 1.65; }
.social-band__cta { gap: 0.6rem; }
.social-band__cta:hover { border-color: var(--white); color: var(--ink); background: var(--white); }

/* Interior page heroes */
.page-hero { position: relative; min-height: 520px; overflow: hidden; color: var(--white); background: var(--charcoal); }
.page-hero__media { object-position: center 55%; }
.page-hero__shade { background: linear-gradient(90deg, rgba(24,27,29,0.9) 0%, rgba(24,27,29,0.66) 52%, rgba(24,27,29,0.2) 100%); }
.page-hero__grid { position: relative; z-index: 2; display: grid; min-height: 520px; grid-template-columns: 1fr; align-items: center; padding-top: 4rem; padding-bottom: 4rem; }
.page-hero__copy { max-width: 710px; }
.page-hero .hero-title { max-width: 14ch; color: var(--white); }
.hero-title--sm { font-size: clamp(3.7rem, 7vw, 6.4rem); }
.hero__lead { max-width: 56ch; margin-top: 1.3rem; color: rgba(255,255,255,0.76); }
.page-hero .btn { margin-top: 2rem; }

/* Services */
.grid-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.service-card {
  position: relative;
  min-height: 270px;
  padding: 2rem;
  border-top: 5px solid var(--yellow);
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: transform 180ms ease, background 180ms ease;
}
.service-card:hover { background: var(--paper); transform: translateY(-6px); }
.service-card h3 { max-width: 17ch; margin: 1.5rem 0 0.8rem; font-size: 1.65rem; }
.service-card p { color: var(--ink-soft); font-size: 0.88rem; }
.icon-badge { display: inline-block; color: var(--yellow-deep); font-family: var(--font-display); font-size: 1.4rem; }
.service-feature__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.service-feature__media { min-height: 430px; overflow: hidden; box-shadow: var(--shadow-soft); }
.service-feature__media img { width: 100%; height: 100%; min-height: 430px; }
.service-feature__content .section-head { max-width: 12ch; }
.service-feature__content p { max-width: 52ch; margin-bottom: 1.7rem; color: rgba(32,35,38,0.78); }

/* Interior design & renovation */
.interior-hero .page-hero__media { object-position: center 58%; }
.interior-philosophy__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.interior-philosophy__card { display: grid; grid-template-columns: 96px 1fr; gap: 1.5rem; align-items: start; padding: 2rem; background: var(--white); box-shadow: var(--shadow-card); }
.interior-philosophy__card img { width: 96px; height: 96px; border-radius: 50%; }
.interior-philosophy__card h3 { margin-bottom: 0.8rem; font-size: 1.75rem; }
.interior-philosophy__card p { color: var(--ink-soft); font-size: 0.88rem; }
.interior-services-detail .section-intro > p { color: rgba(255,255,255,0.68); }
.interior-services-detail__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.interior-service-card { display: grid; grid-template-columns: 86px 1fr; gap: 1.5rem; padding: 2rem; border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.05); }
.interior-service-card img { width: 86px; height: 86px; border-radius: 50%; }
.interior-service-card h3 { margin-bottom: 0.75rem; color: var(--white); font-size: 1.55rem; }
.interior-service-card p { color: rgba(255,255,255,0.66); font-size: 0.84rem; }
.interior-about__grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.interior-about__heading { position: sticky; top: 7rem; }
.interior-about__heading .section-head { max-width: 12ch; }
.interior-about__tagline { max-width: 42ch; font-weight: 700; }
.interior-about__body > p { color: rgba(32,35,38,0.8); }
.interior-about__body > p + h3 { margin-top: 2rem; }
.interior-about__body h3 { margin-bottom: 1rem; font-size: 1.6rem; }
.interior-about__body ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.65rem 1.5rem; margin-bottom: 2rem; }
.interior-about__body li { position: relative; padding-left: 1.25rem; font-size: 0.84rem; font-weight: 600; }
.interior-about__body li::before { position: absolute; top: 0.7rem; left: 0; width: 7px; height: 7px; background: var(--charcoal); content: ""; }

/* Certifications */
.certs__head { max-width: 720px; margin: 0 auto 3.4rem; text-align: center; }
.certs__head .section-head { margin-inline: auto; }
.certs__head p { color: var(--ink-soft); }
.certs__grid { grid-template-columns: repeat(2, 1fr); }
.cert-card { display: grid; grid-template-columns: 100px 1fr; gap: 1.6rem; padding: 2.2rem; background: var(--white); box-shadow: var(--shadow-card); }
.cert-card__badge { display: grid; width: 86px; height: 86px; place-items: center; border: 1px solid rgba(32,35,38,0.15); border-radius: 50%; color: var(--ink); background: var(--yellow); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.05em; }
.cert-card h3 { font-size: 1.8rem; }
.cert-card__sub { margin: 0.35rem 0 0.8rem; color: var(--yellow-deep); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; }
.cert-card__body > p { color: var(--ink-soft); font-size: 0.88rem; }

/* Why BowerB */
.reasons { display: grid; }
.reason-row { display: grid; grid-template-columns: 150px 1fr; border-top: 1px solid var(--grey-250); }
.reason-row:last-child { border-bottom: 1px solid var(--grey-250); }
.reason-row--flip { grid-template-columns: 150px 1fr; }
.reason-row--flip .reason-row__icon { order: 0; }
.reason-row__icon { display: grid; place-items: center; color: var(--ink); background: var(--yellow); }
.reason-row__mark { width: 62px; height: 62px; padding: 0.72rem; border: 1px solid rgba(32,35,38,0.2); background: rgba(255,255,255,0.12); box-sizing: border-box; }
.reason-row__body { padding: 2.2rem 2.5rem; background: var(--white); }
.reason-row__body h3 { margin-bottom: 0.45rem; font-size: 1.75rem; }
.reason-row__body p { max-width: 72ch; color: var(--ink-soft); }
.commitment__inner { max-width: 820px; margin-inline: auto; text-align: center; }
.commitment__inner .section-head { max-width: none; margin-inline: auto; }
.commitment__inner > p { max-width: 60ch; margin: 0 auto 2rem; color: rgba(255,255,255,0.72); font-size: 1.08rem; }

/* Projects */
.projects-grid { grid-template-columns: repeat(3, 1fr); }
.project-card { overflow: hidden; background: var(--white); box-shadow: var(--shadow-card); transition: transform 180ms ease, box-shadow 180ms ease; }
.project-card:hover { transform: translateY(-6px); }
.project-card:has(.project-card__link:focus-visible) { box-shadow: 0 18px 44px rgba(27, 30, 32, 0.2); }
.project-card__link { display: flex; height: 100%; flex-direction: column; color: inherit; text-decoration: none; }
.project-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--grey-250); }
.project-card__media img { width: 100%; height: 100%; transition: transform 500ms ease; }
.project-card:hover img { transform: scale(1.04); }
.project-card__tag { position: absolute; top: 1rem; left: 1rem; padding: 0.4rem 0.7rem; color: var(--ink); background: var(--yellow); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.project-card__body { display: flex; flex: 1; flex-direction: column; padding: 1.5rem; }
.project-card__head { display: flex; gap: 1rem; align-items: baseline; justify-content: space-between; }
.project-card__head h3 { font-size: 1.45rem; }
.project-card__year { color: var(--yellow-deep); font-size: 0.74rem; font-weight: 700; }
.project-card__body .project-card__subtitle { margin-top: 0.7rem; color: var(--ink-soft); font-size: 0.83rem; }
.project-card__meta { display: flex; flex-wrap: wrap; gap: 0.35rem 0.9rem; margin-top: 1rem; color: var(--grey-700); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.project-card__meta span + span::before { margin-right: 0.9rem; color: var(--yellow-deep); content: "•"; }
.project-card__cta { margin-top: auto; padding-top: 1.4rem; color: var(--ink); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.home-projects__header { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: clamp(2rem, 7vw, 7rem); align-items: end; margin-bottom: 3.5rem; }
.home-projects__header .section-head { max-width: 13ch; margin-bottom: 0; }
.home-projects__intro p { margin-bottom: 1.2rem; color: var(--ink-soft); }

/* Project details */
.project-detail-hero { position: relative; min-height: 680px; display: grid; overflow: hidden; color: var(--white); background: var(--charcoal); }
.project-detail-hero__media, .project-detail-hero__shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.project-detail-hero__shade { background: linear-gradient(90deg, rgba(23,26,28,0.94) 0%, rgba(23,26,28,0.7) 50%, rgba(23,26,28,0.2) 100%); }
.project-detail-hero__content { position: relative; z-index: 1; display: flex; min-height: 680px; flex-direction: column; justify-content: center; padding-top: 7rem; padding-bottom: 5rem; }
.project-detail-hero__back { width: fit-content; margin-bottom: 2.5rem; color: rgba(255,255,255,0.78); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-decoration: none; text-transform: uppercase; }
.project-detail-hero__back:hover { color: var(--yellow); }
.project-detail-hero__badges { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-bottom: 1.3rem; }
.project-detail-hero__badges span { padding: 0.4rem 0.7rem; color: var(--ink); background: var(--yellow); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.project-detail-hero .hero-title { max-width: 13ch; color: var(--white); }
.project-detail-hero .hero__lead { max-width: 58ch; }
.project-detail-hero__facts { display: flex; flex-wrap: wrap; gap: 0.75rem 1.8rem; margin-top: 1.7rem; color: rgba(255,255,255,0.9); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.project-detail-hero__facts span + span::before { margin-right: 1.8rem; color: var(--yellow); content: "•"; }

.project-detail__layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.72fr); gap: clamp(3rem, 7vw, 7rem); align-items: start; }
.project-detail__story h2 { max-width: 14ch; margin-bottom: 2rem; font-size: clamp(2.6rem, 5vw, 4.7rem); }
.project-detail__story > p { max-width: 68ch; margin-top: 1.25rem; color: var(--ink-soft); font-size: 1.02rem; }
.project-features { margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid var(--grey-250); }
.project-features h3 { margin-bottom: 1.4rem; font-size: 1.8rem; }
.project-features ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem 1.5rem; }
.project-features li { position: relative; padding-left: 1.4rem; color: var(--ink-soft); font-size: 0.86rem; }
.project-features li::before { position: absolute; top: 0.68rem; left: 0; width: 7px; height: 7px; background: var(--yellow); content: ""; }

.project-specs { position: sticky; top: 7rem; padding: 2rem; background: var(--white); box-shadow: var(--shadow-card); }
.project-specs__head { padding-bottom: 1.4rem; border-bottom: 4px solid var(--yellow); }
.project-specs__head .eyebrow { display: block; margin-bottom: 0.5rem; }
.project-specs__head strong { display: block; font-family: var(--font-display); font-size: 1.7rem; font-weight: 400; line-height: 1.2; }
.project-specs dl > div { display: grid; grid-template-columns: minmax(95px, 0.75fr) minmax(0, 1fr); gap: 1rem; padding: 0.9rem 0; border-bottom: 1px solid var(--grey-150); }
.project-specs dt { color: var(--grey-700); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.project-specs dd { color: var(--ink); font-size: 0.78rem; font-weight: 600; text-align: right; }

.project-gallery-section .section-intro { grid-template-columns: 1.4fr 0.8fr; }
.project-gallery-section .section-intro h2 { font-size: clamp(2.6rem, 5vw, 4.7rem); }
.project-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.project-gallery__item { min-height: 330px; overflow: hidden; background: var(--grey-250); }
.project-gallery__item:first-child { grid-column: 1 / -1; min-height: min(65vw, 620px); }
.project-gallery__item img { width: 100%; height: 100%; transition: transform 500ms ease; }
.project-gallery__item:hover img { transform: scale(1.025); }

/* Contact */
.contact { padding: clamp(5rem, 8vw, 8rem) 0; color: var(--white); background: var(--charcoal-2); }
.contact::before { position: absolute; top: 0; left: 0; width: 30%; height: 8px; background: var(--yellow); content: ""; }
.contact__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.contact .eyebrow { color: var(--yellow); }
.contact .section-head { color: var(--white); }
.contact__intro > p { max-width: 44ch; color: rgba(255,255,255,0.68); }
.contact__details { display: grid; gap: 0; margin-top: 2rem; border-top: 1px solid rgba(255,255,255,0.14); }
.contact__details li { display: grid; grid-template-columns: 88px 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,0.14); }
.contact__details a { text-decoration: none; }
.contact__details a:hover { color: var(--yellow); }
.contact__label { color: var(--yellow); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.contact__form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; padding: clamp(2rem, 4vw, 3rem); color: var(--ink); background: var(--white); box-shadow: var(--shadow-soft); }
.contact__form .field:nth-of-type(3), .contact__form .field:nth-of-type(4), .contact__form .btn, .form-note { grid-column: 1 / -1; }
.field { display: grid; gap: 0.4rem; }
.field label { color: var(--grey-700); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.8rem 0;
  border: 0;
  border-bottom: 1px solid var(--grey-250);
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  outline: 0;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--yellow-deep); box-shadow: 0 2px 0 var(--yellow); }
.field textarea { min-height: 110px; resize: vertical; }
.form-note { padding: 0.8rem 1rem; border-left: 4px solid var(--yellow); background: var(--grey-100); font-size: 0.82rem; }

/* Footer */
.footer { color: rgba(255,255,255,0.72); background: #1d2022; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 0.7fr 1fr; gap: 4rem; padding-top: 4.5rem; padding-bottom: 3.5rem; }
.footer__brand > p { max-width: 42ch; color: rgba(255,255,255,0.55); font-size: 0.84rem; }
.footer__social { display: flex; gap: 0.65rem; margin-top: 1.5rem; }
.footer__social a { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid rgba(255,255,255,0.2); color: var(--white); text-decoration: none; transition: color 160ms ease, border-color 160ms ease, background 160ms ease; }
.footer__social a:hover { border-color: var(--yellow); color: var(--ink); background: var(--yellow); }
.footer__col h3 { margin-bottom: 1rem; color: var(--white); font-family: var(--font-body); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.footer__col li { margin-bottom: 0.55rem; font-size: 0.82rem; }
.footer__col a { text-decoration: none; }
.footer__col a:hover { color: var(--yellow); }
.footer__bottom { display: flex; gap: 1rem; justify-content: space-between; padding-top: 1.25rem; padding-bottom: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.4); font-size: 0.7rem; }

/* 404 */
.notfound { min-height: 620px; }
.notfound::before { position: absolute; inset: 0; background: linear-gradient(135deg, var(--charcoal), #1b1d1f); content: ""; }
.notfound__inner { position: relative; z-index: 2; display: flex; min-height: 620px; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.notfound .hero__lead { margin-inline: auto; }

@media (max-width: 1020px) {
  .nav__links { gap: 1.25rem; }
  .hero__grid { grid-template-columns: 1fr 0.75fr; gap: 3rem; }
  .section-intro { grid-template-columns: 1fr 2fr; }
  .section-intro > p { grid-column: 2; }
  .grid-cards, .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { gap: 2.5rem; }
}

@media (max-width: 820px) {
  .wrap { padding-inline: 1.4rem; }
  .nav { min-height: 70px; padding-inline: 1.4rem; }
  .nav__cta { display: none; }
  .nav__toggle {
    display: grid;
    width: 42px;
    height: 42px;
    gap: 5px;
    place-content: center;
    border: 0;
    color: var(--white);
    background: var(--charcoal);
    cursor: pointer;
  }
  .nav__toggle span { display: block; width: 20px; height: 2px; background: currentColor; transition: transform 180ms ease, opacity 180ms ease; }
  .nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav__wrap { position: absolute; top: 100%; right: 0; left: 0; overflow: hidden; max-height: 0; border-bottom: 1px solid var(--grey-250); background: var(--paper); transition: max-height 250ms ease; }
  .nav__wrap.is-open { max-height: 440px; }
  .nav__links { flex-direction: column; gap: 0; align-items: stretch; padding: 0.7rem 1.4rem 1.4rem; }
  .nav__links li { border-bottom: 1px solid var(--grey-150); }
  .nav__links a { display: block; padding: 1rem 0; }
  .nav__links a::after { display: none; }
  .nav__cta-mobile { display: block; margin-top: 0.7rem; border: 0 !important; }
  .nav__cta-mobile .btn { width: 100%; }

  .hero { min-height: 700px; }
  .hero__grid { min-height: 700px; grid-template-columns: 1fr; gap: 2.5rem; align-content: center; padding-top: 4rem; padding-bottom: 6rem; }
  .hero__aside { max-width: 560px; }
  .hero__shade { background: linear-gradient(0deg, rgba(25,28,30,0.9), rgba(25,28,30,0.52)); }
  .home-services__grid { grid-template-columns: 1fr; transform: translateY(-35px); }
  .service-tile { min-height: 120px; border-right: 0; border-bottom: 1px solid var(--grey-150); }
  .about-profile__intro, .about-profile__body { grid-template-columns: 1fr; gap: 2rem; }
  .about-profile__intro { align-items: start; }
  .about-profile__lead { max-width: none; }
  .about-profile__body { margin-top: 2rem; }
  .section-intro { grid-template-columns: 1fr; gap: 1rem; }
  .section-intro > p { grid-column: auto; max-width: 56ch; }
  .service-feature__grid, .interior-about__grid { grid-template-columns: 1fr; }
  .service-feature__media, .service-feature__media img { min-height: 320px; }
  .interior-philosophy__grid, .interior-services-detail__grid { grid-template-columns: 1fr; }
  .interior-about__heading { position: static; }
  .interior-about__body ul { grid-template-columns: 1fr; }
  .expertise__grid { grid-template-columns: 1fr; }
  .social-band__inner { grid-template-columns: auto minmax(0, 1fr); }
  .social-band__cta { grid-column: 2; justify-self: start; }
  .vm__grid, .contact__grid { grid-template-columns: 1fr; }
  .certs__grid { grid-template-columns: 1fr; }
  .contact__grid { gap: 3rem; }
  .footer__grid { grid-template-columns: 1.5fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .section { padding: 4.5rem 0; }
  .nav__logo-image { width: 72px; }
  .hero-title { font-size: clamp(3.1rem, 16vw, 5rem); }
  .hero__aside { padding-left: 1.25rem; }
  .hero__scroll { right: 1.4rem; }
  .service-tile { grid-template-columns: auto 1fr; }
  .service-tile__arrow { display: none; }
  .about-profile__intro .section-head { max-width: none; font-size: clamp(2.65rem, 13vw, 3.8rem); }
  .about-profile__lead { padding-left: 1rem; font-size: 1.02rem; line-height: 1.75; }
  .about-profile__copy p { font-size: 1rem; line-height: 1.8; }
  .about-profile__copy p + p { margin-top: 1.6rem; }
  .expertise-card { grid-template-columns: 45px 1fr; padding: 1.5rem; }
  .social-band__inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .social-band__mark { width: 50px; height: 50px; }
  .social-band__mark svg { width: 24px; height: 24px; }
  .social-band__cta { grid-column: auto; }
  .vm__grid { gap: 3rem; }
  .stats-band__grid { grid-template-columns: 1fr; }
  .stat { padding-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .page-hero, .page-hero__grid { min-height: 500px; }
  .hero-title--sm { font-size: clamp(3.2rem, 15vw, 5rem); }
  .grid-cards, .projects-grid { grid-template-columns: 1fr; }
  .interior-philosophy__card, .interior-service-card { grid-template-columns: 1fr; }
  .home-projects__header { grid-template-columns: 1fr; gap: 1.25rem; }
  .project-detail-hero, .project-detail-hero__content { min-height: 620px; }
  .project-detail__layout { grid-template-columns: 1fr; }
  .project-specs { position: static; }
  .project-gallery-section .section-intro { grid-template-columns: 1fr; }
  .project-gallery { grid-template-columns: 1fr; }
  .project-gallery__item, .project-gallery__item:first-child { grid-column: auto; min-height: 280px; }
  .project-features ul { grid-template-columns: 1fr; }
  .reason-row, .reason-row--flip { grid-template-columns: 72px 1fr; }
  .reason-row__mark { width: 44px; height: 44px; padding: 0.52rem; }
  .reason-row__body { padding: 1.6rem; }
  .reason-row__body h3 { font-size: 1.45rem; }
  .cert-card { grid-template-columns: 1fr; }
  .cert-card__badge { width: 72px; height: 72px; }
  .contact__form { grid-template-columns: 1fr; padding: 1.5rem; }
  .contact__form .field, .contact__form .btn, .form-note { grid-column: 1; }
  .contact__details li { grid-template-columns: 72px 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__brand { grid-column: auto; }
  .footer__bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
