/* ==========================================================================
   Briktrie Developers — Concept 1: Luxury ("Noir & Sand")
   ========================================================================== */

:root {
  --ink: #0e0d0b;
  --charcoal: #171614;
  --charcoal-2: #201e1b;
  --line: rgba(239, 231, 218, .14);
  --line-strong: rgba(239, 231, 218, .3);
  --sand: #cdb48c;
  --sand-deep: #9a7b4f;
  --sand-soft: #e6d8c0;
  --ivory: #f5f0e7;
  --paper: #f8f4ed;
  --text-light: rgba(245, 240, 231, .72);
  --muted-light: rgba(245, 240, 231, .5);
  --text-dark: #2a2723;
  --muted-dark: #6d665c;
  --line-dark: rgba(42, 39, 35, .14);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --container: 1320px;
  --gutter: clamp(20px, 5vw, 64px);
  --header-h: 92px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--charcoal);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
img.img-failed { opacity: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4, p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 1px solid var(--sand); outline-offset: 4px; }
::selection { background: var(--sand); color: var(--ink); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(96px, 12vw, 168px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: .7rem; font-weight: 500; letter-spacing: .32em; text-transform: uppercase;
  color: var(--sand);
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; opacity: .7; }

.display {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.4rem, 4.6vw, 4.2rem);
  line-height: 1.05; letter-spacing: -.01em;
}
.display em { font-style: italic; color: var(--sand); }

/* ---------- Buttons & links ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 34px;
  font-size: .74rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .5s var(--ease); }
.btn:hover svg { transform: translateX(5px); }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: scaleX(0); transform-origin: right;
  transition: transform .6s var(--ease-out);
}
.btn:hover::before { transform: scaleX(1); transform-origin: left; }

.btn--gold { background: var(--sand); color: var(--ink); }
.btn--gold::before { background: var(--ivory); }
.btn--outline { border: 1px solid var(--line-strong); color: var(--ivory); }
.btn--outline::before { background: var(--sand); }
.btn--outline:hover { color: var(--ink); border-color: var(--sand); }

.link-underline {
  position: relative; display: inline-block; padding-block: 6px;
  font-size: .74rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
}
.link-underline::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: currentColor;
}
.link-underline:hover::after { animation: line-sweep .9s var(--ease-out); }
@keyframes line-sweep {
  0%   { transform: scaleX(1); transform-origin: right; }
  50%  { transform: scaleX(0); transform-origin: right; }
  50.1%{ transform: scaleX(0); transform-origin: left; }
  100% { transform: scaleX(1); transform-origin: left; }
}

/* ---------- Logo ---------- */

.logo {
  display: inline-flex;
  align-items: center;
  position: relative;
  z-index: 2;
}

.logo img {
  height: 55px;
  width: auto;
  display: block;
}

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background-color .5s var(--ease), border-color .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.header__inner { height: var(--header-h); display: flex; align-items: center; gap: 48px; transition: height .5s var(--ease); }
.header .logo { margin-right: auto; }
.header.is-scrolled {
  background: rgba(14, 13, 11, .84);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.header.is-scrolled .header__inner { height: 72px; }
.header.menu-open { -webkit-backdrop-filter: none; backdrop-filter: none; background: transparent; border-bottom-color: transparent; }

.nav__list { display: flex; gap: 44px; }
.nav__link {
  position: relative; display: inline-block; padding-block: 8px;
  font-size: .72rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
  color: var(--text-light); transition: color .3s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 50%; bottom: -2px;
  width: 4px; height: 4px; border-radius: 50%; background: var(--sand);
  transform: translateX(-50%) scale(0); transition: transform .4s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--ivory); }
.nav__link:hover::after, .nav__link.is-active::after { transform: translateX(-50%) scale(1); }
.nav__mobile-foot { display: none; }

.header__cta {
  padding: 12px 26px; border: 1px solid rgba(205, 180, 140, .5);
  font-size: .7rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--sand);
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
.header__cta:hover { background: var(--sand); color: var(--ink); }

.menu-toggle { display: none; position: relative; z-index: 2; width: 44px; height: 44px; }
.menu-toggle span {
  position: absolute; left: 10px; right: 10px; height: 1px; background: var(--ivory);
  transition: transform .45s var(--ease), top .45s var(--ease);
}
.menu-toggle span:nth-child(1) { top: 18px; }
.menu-toggle span:nth-child(2) { top: 26px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden; background: var(--ink);
}
.hero__media { position: absolute; inset: 0; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 60%;
  transform: scale(1.12); animation: hero-zoom 16s var(--ease-out) forwards;
}
@keyframes hero-zoom { to { transform: scale(1); } }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14,13,11,.6) 0%, rgba(14,13,11,.08) 32%, rgba(14,13,11,.35) 62%, rgba(14,13,11,.94) 100%),
    linear-gradient(90deg, rgba(14,13,11,.65) 0%, rgba(14,13,11,0) 65%);
}
.hero__content { position: relative; padding-top: calc(var(--header-h) + 64px); padding-bottom: clamp(48px, 8vh, 88px); }
.hero__title {
  margin: 30px 0 30px;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(3rem, 8vw, 7.6rem); line-height: .98; letter-spacing: -.02em;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .line > span { display: block; transform: translateY(105%); animation: rise 1.5s var(--ease-out) .2s forwards; }
.hero__title .line:nth-child(2) > span { animation-delay: .38s; }
.hero__title em { font-style: italic; color: var(--sand); }
@keyframes rise { to { transform: none; } }

.hero__lead { max-width: 470px; margin-bottom: 44px; font-size: 1.06rem; color: var(--text-light); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 40px; }

.hero__fade { opacity: 0; animation: fade-up 1.2s var(--ease-out) forwards; }
.hero__content > .eyebrow.hero__fade { animation-delay: .1s; }
.hero__lead.hero__fade { animation-delay: .8s; }
.hero__actions.hero__fade { animation-delay: 1s; }
.hero__foot.hero__fade { animation-delay: 1.3s; }
@keyframes fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.hero__foot {
  position: relative; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding-block: 26px; border-top: 1px solid var(--line);
  font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-light);
}
.scroll-cue { display: inline-flex; align-items: center; gap: 16px; }
.scroll-cue__line { position: relative; width: 64px; height: 1px; background: var(--line-strong); overflow: hidden; }
.scroll-cue__line::after { content: ""; position: absolute; inset: 0; background: var(--sand); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }
.hero__spotlight { display: inline-flex; align-items: center; gap: 12px; transition: color .3s; }
.hero__spotlight strong { color: var(--ivory); font-weight: 500; }
.hero__spotlight:hover { color: var(--ivory); }
.hero__spotlight-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sand); box-shadow: 0 0 0 0 rgba(205,180,140,.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(205,180,140,0); } 100% { box-shadow: 0 0 0 0 rgba(205,180,140,0); } }

/* ---------- About ---------- */
.about { background: var(--charcoal); }
.about__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(56px, 8vw, 128px); align-items: center; }
.about__media { position: relative; padding: 0 70px 100px 0; }
.about__media::before {
  content: ""; position: absolute; top: -26px; left: -26px; width: 58%; height: 58%;
  border: 1px solid rgba(205, 180, 140, .35); pointer-events: none;
}
.about__img { overflow: hidden; background: var(--charcoal-2); }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__img--main { aspect-ratio: 4 / 5; }
.about__img--inset { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; border: 10px solid var(--charcoal); }
.about__text .display { margin: 26px 0 34px; }
.about__text > p:not(.eyebrow) { max-width: 520px; color: var(--text-light); }
.about__text > p + p { margin-top: 18px; }
.about__focus { display: grid; grid-template-columns: repeat(3, 1fr); margin: 48px 0 44px; border-top: 1px solid var(--line); }
.about__focus li { padding: 22px 16px 0 0; font-family: var(--serif); font-size: 1.25rem; line-height: 1.25; }
.about__focus span { display: block; margin-bottom: 8px; font-family: var(--sans); font-size: .66rem; letter-spacing: .24em; color: var(--sand); }

/* ---------- Projects showcase ---------- */
.projects { background: var(--ink); }
.section-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 32px; margin-bottom: clamp(52px, 6vw, 84px); }
.section-head .display { margin-top: 22px; }
.section-head__note { max-width: 360px; color: var(--text-light); }

.showcase { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.showcase__list { border-top: 1px solid var(--line); }
.showcase__item { border-bottom: 1px solid var(--line); }
.showcase__link {
  position: relative; display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 18px;
  padding: 32px 0;
}
.showcase__link::before {
  content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 1px; background: var(--sand);
  transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease-out);
}
.showcase__item.is-active .showcase__link::before { transform: scaleX(1); }
.showcase__num { align-self: start; padding-top: 8px; font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--sand); }
.showcase__name {
  display: block; font-family: var(--serif); font-size: clamp(1.6rem, 2.2vw, 2.15rem); line-height: 1.1;
  color: rgba(245, 240, 231, .42);
  transition: color .5s var(--ease), transform .7s var(--ease-out);
}
.showcase__item.is-active .showcase__name { color: var(--ivory); transform: translateX(10px); }
.showcase__meta {
  display: block; margin-top: 10px;
  font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted-light);
  transition: transform .7s var(--ease-out);
}
.showcase__item.is-active .showcase__meta { transform: translateX(10px); }
.showcase__mobile-img { display: none; }

.status {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 7px 14px; border: 1px solid var(--line); border-radius: 100px;
  font-size: .62rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
}
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status--ongoing { color: #e2c48f; }
.status--completed { color: #a9c4a0; }
.status--upcoming { color: #b8b2a8; }

.showcase__stage { position: relative; }
.stage__frame { position: relative; aspect-ratio: 6 / 7; overflow: hidden; background: var(--charcoal-2); }
.stage__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.08);
  transition: opacity 1.1s var(--ease), transform 1.8s var(--ease-out);
}
.stage__img.is-active { opacity: 1; transform: scale(1); }
.stage__frame::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(14,13,11,0) 50%, rgba(14,13,11,.85) 100%);
}
.stage__caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 20px;
  padding: clamp(22px, 3vw, 36px);
}
.stage__caption.swap > * { animation: fade-up .8s var(--ease-out) both; }
.stage__type { font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: var(--sand); }
.stage__name { margin-top: 6px; font-family: var(--serif); font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.15; }
.stage__loc { margin-top: 4px; font-size: .88rem; color: var(--text-light); }
.stage__count { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--text-light); white-space: nowrap; }
.stage__count b { font-weight: 400; color: var(--ivory); font-size: 1.6rem; }

.projects__foot { margin-top: clamp(56px, 6vw, 80px); display: flex; justify-content: center; }

/* ---------- Why ---------- */
.why { background: var(--paper); color: var(--text-dark); }
.why .eyebrow, .why .display em { color: var(--sand-deep); }
.why__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(56px, 8vw, 120px); align-items: start; }
.why__intro .display { margin-top: 24px; }
.why__intro > p:not(.eyebrow) { max-width: 430px; margin-top: 26px; color: var(--muted-dark); }
.why__img { margin-top: 48px; aspect-ratio: 16 / 11; overflow: hidden; background: #e8e1d5; }
.why__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease-out); }
.why__img:hover img { transform: scale(1.05); }

.why__list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-dark); }
.why__item { position: relative; padding: 48px 40px 52px 0; border-bottom: 1px solid var(--line-dark); }
.why__item:nth-child(odd) { border-right: 1px solid var(--line-dark); }
.why__item:nth-child(even) { padding-left: 40px; padding-right: 0; }
.why__item::after {
  content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 1px; background: var(--sand-deep);
  transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease-out);
}
.why__item:hover::after { transform: scaleX(1); }
.why__icon { width: 46px; height: 46px; margin-bottom: 34px; color: var(--sand-deep); transition: transform .6s var(--ease-out); }
.why__item:hover .why__icon { transform: translateY(-4px); }
.why__num { position: absolute; top: 50px; right: 40px; font-family: var(--serif); font-style: italic; color: #b5a68e; }
.why__item:nth-child(even) .why__num { right: 0; }
.why__item h3 { margin-bottom: 14px; font-family: var(--serif); font-weight: 500; font-size: 1.75rem; line-height: 1.15; }
.why__item p { font-size: .95rem; color: var(--muted-dark); }

/* ---------- Stats ---------- */
.stats { position: relative; overflow: hidden; padding-block: clamp(104px, 12vw, 168px); background: var(--ink); }
.stats__bg { position: absolute; inset: -15% 0; will-change: transform; }
.stats__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .26; filter: grayscale(.35); }
.stats::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(14,13,11,.2), rgba(14,13,11,.85)); }
.stats .container { position: relative; z-index: 1; }
.stats__head { text-align: center; margin-bottom: clamp(56px, 7vw, 88px); }
.stats__head .display { margin-top: 22px; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 14px 24px; text-align: center; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat__num { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(3.4rem, 6vw, 5.6rem); line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.stat__num sup { font-size: .45em; color: var(--sand); vertical-align: top; margin-left: 2px; position: relative; top: .25em; }
.stat__label { display: block; margin-top: 18px; font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: var(--text-light); }
.stats__note { margin-top: 60px; text-align: center; font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--muted-light); }

/* ---------- Enquire ---------- */
.enquire { display: grid; grid-template-columns: 1fr 1fr; background: var(--charcoal); }
.enquire__media { position: relative; min-height: 460px; overflow: hidden; background: var(--charcoal-2); }
.enquire__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.enquire__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14,13,11,.7), rgba(14,13,11,0) 55%); }
.enquire__media figcaption {
  position: absolute; left: clamp(24px, 4vw, 56px); right: clamp(24px, 4vw, 56px); bottom: clamp(24px, 4vw, 56px); z-index: 1;
  font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 2.4vw, 2.2rem); line-height: 1.2;
}
.enquire__panel { padding: clamp(64px, 8vw, 128px) var(--gutter); max-width: 700px; }
.enquire__panel .display { margin-top: 22px; }
.enquire__lead { margin-top: 22px; max-width: 460px; color: var(--text-light); }

.form { display: grid; gap: 30px; margin-top: 48px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.field { position: relative; }
.field input, .field select, .field textarea {
  width: 100%; padding: 24px 0 10px;
  background: transparent; border: 0; border-bottom: 1px solid rgba(245, 240, 231, .25); border-radius: 0;
  color: var(--ivory); font: inherit; font-size: 1rem; outline: none;
  -webkit-appearance: none; appearance: none;
  transition: border-color .35s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--sand); }
.field textarea { display: block; min-height: 120px; resize: vertical; line-height: 1.6; }
.field label {
  position: absolute; left: 0; top: 24px; pointer-events: none;
  font-size: .95rem; color: var(--text-light);
  transition: top .35s var(--ease), font-size .35s var(--ease), letter-spacing .35s var(--ease), color .35s var(--ease);
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label,
.field--select label {
  top: 0; font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--sand);
}
.field--select select {
  cursor: pointer; padding-right: 30px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cdb48c' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 2px bottom 12px; background-size: 16px;
}
.field select option { background: var(--charcoal); color: var(--ivory); }
.field input.is-invalid, .field textarea.is-invalid { border-bottom-color: #d98b74; }
.field label .required { color: var(--sand); }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 8px; }
.form__status { font-size: .9rem; color: var(--sand); max-width: 320px; line-height: 1.5; }
/* Result of a submit: full-width notice under the button */
.form__status.is-success, .form__status.is-error {
  flex-basis: 100%; max-width: none; padding: 14px 18px;
  background: rgba(205, 180, 140, .08); border: 1px solid var(--line); border-left: 2px solid var(--sand);
  color: var(--ivory);
}
.form__status.is-error { background: rgba(217, 139, 116, .08); border-left-color: #d98b74; }

.enquire__contact { display: flex; flex-wrap: wrap; gap: 24px 56px; margin-top: 60px; padding-top: 32px; border-top: 1px solid var(--line); }
.enquire__contact small { display: block; margin-bottom: 4px; font-size: .64rem; letter-spacing: .24em; text-transform: uppercase; color: var(--sand); }
.enquire__contact a { font-family: var(--serif); font-size: 1.35rem; font-variant-numeric: lining-nums; transition: color .3s; }
.enquire__contact a:hover { color: var(--sand); }

/* ---------- Footer ---------- */
.footer { padding-top: clamp(72px, 9vw, 120px); background: var(--ink); border-top: 1px solid var(--line); }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px; padding-bottom: 56px; border-bottom: 1px solid var(--line); }
.footer__tag { font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 3vw, 2.4rem); color: var(--sand-soft); }
.footer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; padding-block: 56px; }
.footer h4 { margin-bottom: 18px; font-size: .66rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--sand); }
.footer__grid a, .footer address { display: block; font-style: normal; font-size: .94rem; line-height: 2; color: var(--text-light); }
.footer__grid a { width: fit-content; transition: color .3s; }
.footer__grid a:hover, .footer__bottom a:hover { color: var(--ivory); }
.footer__social { display: flex; flex-wrap: wrap; gap: 10px; }
.footer__grid .footer__social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; line-height: 1; transition: color .3s, border-color .3s, transform .3s; }
.footer__grid .footer__social a:hover { color: var(--ivory); border-color: var(--sand); transform: translateY(-2px); }
.footer__social svg { width: 17px; height: 17px; }
/* Social icon whose profile URL isn't configured yet: shown, but not presented as clickable */
.footer__grid .footer__social a:not([href]) { cursor: default; }
.footer__grid .footer__social a:not([href]):hover { color: inherit; border-color: var(--line); transform: none; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 28px 96px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted-light); }

/* ---------- Reveal animations ---------- */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); }
.js .reveal.is-visible { opacity: 1; transform: none; }
/* Clip the inner image (not the observed element) so IntersectionObserver still sees it */
.js .reveal-img { background: transparent; }
.js .reveal-img img { clip-path: inset(0 0 100% 0); transform: scale(1.15); transition: clip-path 1.6s var(--ease-out), transform 2s var(--ease-out); }
.js .reveal-img.is-visible img { clip-path: inset(0); transform: none; }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }

/* ==========================================================================
   Inner pages — About, Projects, Contact
   ========================================================================== */

/* ---------- Page hero (shorter variant of the home hero) ---------- */
.hero--page { min-height: 78vh; min-height: 78svh; }
.hero--page .hero__media img { object-position: center 40%; }
.hero--page .hero__title { font-size: clamp(3rem, 7.4vw, 6.8rem); }
.hero--page .hero__lead { margin-bottom: 0; }
.breadcrumb { display: flex; align-items: center; gap: 12px; }
.breadcrumb a { transition: color .3s; }
.breadcrumb a:hover { color: var(--ivory); }
.breadcrumb [aria-current] { color: var(--sand); }

/* ---------- Vision & Mission ---------- */
.vm { background: var(--ink); }
.vm__grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.vm__item { padding: 56px 56px 8px 0; }
.vm__item + .vm__item { padding: 56px 0 8px 56px; border-left: 1px solid var(--line); }
.vm__icon { width: 44px; height: 44px; margin-bottom: 30px; color: var(--sand); }
.vm__item h3 { margin-top: 20px; font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 2.6vw, 2.35rem); line-height: 1.2; }
.vm__item h3 em { font-style: italic; color: var(--sand); }
.vm__item p { margin-top: 22px; max-width: 500px; color: var(--text-light); }

/* ---------- Call to action band ---------- */
.cta { position: relative; overflow: hidden; padding-block: clamp(104px, 12vw, 160px); background: var(--ink); text-align: center; }
.cta__bg { position: absolute; inset: 0; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .3; filter: grayscale(.35); }
.cta::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(14,13,11,.25), rgba(14,13,11,.9)); }
.cta .container { position: relative; z-index: 1; }
.cta .display { max-width: 820px; margin: 22px auto 0; }
.cta__lead { max-width: 520px; margin: 26px auto 0; color: var(--text-light); }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 20px; margin-top: 44px; }

/* ---------- Project grid ---------- */
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(64px, 7vw, 104px) clamp(32px, 5vw, 80px); }
.project-card { display: flex; flex-direction: column; }
.project-card__media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--charcoal-2); }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease-out); }
.project-card:hover .project-card__media img { transform: scale(1.05); }
.project-card__media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(14,13,11,.45) 0%, rgba(14,13,11,0) 30%); }
.project-card__num { position: absolute; top: 20px; left: 24px; z-index: 1; font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--sand); }
.project-card__body { position: relative; flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: 32px 0 36px; border-bottom: 1px solid var(--line); }
.project-card__body::after {
  content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 1px; background: var(--sand);
  transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease-out);
}
.project-card:hover .project-card__body::after { transform: scaleX(1); }
.project-card__type { font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: var(--sand); }
.project-card__name { margin-top: 10px; font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 2.4vw, 2.2rem); line-height: 1.1; }
.project-card__loc { margin-top: 8px; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted-light); }
.project-card__desc { margin: 16px 0 30px; max-width: 520px; font-size: .95rem; color: var(--text-light); }
.project-card__body .btn { margin-top: auto; }

/* ---------- Contact ---------- */
.contact { background: var(--charcoal); }
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(56px, 8vw, 120px); align-items: start; }
.contact__info .display { margin: 22px 0 26px; }
.contact__lead { max-width: 440px; color: var(--text-light); }
.contact__list { margin: 48px 0 44px; border-top: 1px solid var(--line); }
.contact__item { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact__icon { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--sand); transition: border-color .3s, transform .3s; }
.contact__icon svg { width: 19px; height: 19px; }
.contact__item:hover .contact__icon { border-color: var(--sand); transform: translateY(-2px); }
.contact__item small { display: block; margin-bottom: 2px; font-size: .64rem; letter-spacing: .24em; text-transform: uppercase; color: var(--sand); }
.contact__item a, .contact__item address { font-family: var(--serif); font-style: normal; font-size: 1.35rem; line-height: 1.3; font-variant-numeric: lining-nums; overflow-wrap: anywhere; transition: color .3s; }
.contact__item a:hover { color: var(--sand); }
.contact__panel { padding: clamp(36px, 5vw, 64px); background: var(--charcoal-2); border: 1px solid var(--line); }
.contact__panel h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 2.6vw, 2.4rem); line-height: 1.15; }
.contact__panel > p { margin-top: 12px; color: var(--text-light); }
.contact__panel .form { margin-top: 36px; }
/* Project details page: plain-text values in the details list, styled like .contact__item links */
.contact__item .project-fact { font-family: var(--serif); font-size: 1.35rem; line-height: 1.3; overflow-wrap: anywhere; }
.contact__panel .contact__list { margin-bottom: 0; }
.project-details__actions { display: flex; flex-wrap: wrap; gap: 16px 20px; margin-top: 44px; }

/* ---------- Map ---------- */
.map { position: relative; background: var(--ink); }
.map__frame { height: clamp(380px, 46vw, 560px); background: var(--charcoal-2); }
.map__frame iframe { display: block; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.9) contrast(.85); }
.map__inner { position: absolute; left: 0; right: 0; bottom: clamp(24px, 4vw, 56px); pointer-events: none; }
.map__card {
  max-width: 380px; padding: 32px 36px; pointer-events: auto;
  background: rgba(14, 13, 11, .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--line);
}
.map__card p:not(.eyebrow) { margin: 14px 0 18px; font-family: var(--serif); font-size: 1.6rem; line-height: 1.2; }

/* ---------- Design review switcher (remove before launch) ---------- */
.review-bar {
  position: fixed; left: 16px; bottom: 16px; z-index: 60;
  display: flex; align-items: center; gap: 12px; padding: 6px 6px 6px 16px;
  background: rgba(20, 19, 17, .9); color: #f5f0e7;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .12); border-radius: 100px;
  font: 500 12px/1 var(--sans); letter-spacing: .04em;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
}
.review-bar nav { display: flex; gap: 2px; }
.review-bar a { min-width: 30px; height: 30px; padding: 0 10px; display: grid; place-items: center; border-radius: 100px; color: rgba(255,255,255,.7); transition: background-color .2s, color .2s; }
.review-bar a:hover { background: rgba(255,255,255,.1); color: #fff; }
.review-bar a[aria-current] { background: #f5f0e7; color: #111; }

/* ---------- Floating WhatsApp button ---------- */
/* z-index sits below the header (50) so the full-screen mobile menu covers it */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 45;
  width: 58px; height: 58px; display: grid; place-items: center;
  border-radius: 50%; background: #25d366; color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .28), 0 2px 6px rgba(0, 0, 0, .18);
  transition: transform .3s var(--ease), background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.wa-float:hover, .wa-float:focus-visible {
  background: #1ebe5a; transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .34), 0 3px 8px rgba(0, 0, 0, .2);
}
.wa-float:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; }
.wa-float__tip {
  position: absolute; right: calc(100% + 14px); top: 50%;
  padding: 8px 14px; white-space: nowrap; pointer-events: none;
  background: rgba(20, 19, 17, .92); color: var(--ivory);
  border: 1px solid var(--line); border-radius: 100px;
  font: 500 12px/1 var(--sans); letter-spacing: .04em;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
  opacity: 0; visibility: hidden; transform: translate(6px, -50%);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.wa-float:hover .wa-float__tip, .wa-float:focus-visible .wa-float__tip { opacity: 1; visibility: visible; transform: translate(0, -50%); }
@media (hover: none) { .wa-float__tip { display: none; } }
@media (max-width: 600px) {
  .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .wa-float svg { width: 27px; height: 27px; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .nav__list { gap: 32px; }
  .header__inner { gap: 32px; }
  .why__grid { grid-template-columns: 1fr; }
  .why__intro { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
  .why__intro .eyebrow, .why__intro .display, .why__intro > p { grid-column: 1; }
  .why__img { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; aspect-ratio: auto; min-height: 280px; }
}

@media (max-width: 960px) {
  :root { --header-h: 76px; }
  .menu-toggle { display: block; }
  .header__cta { display: none; }
  .nav {
    position: fixed; inset: 0; z-index: 1;
    display: flex; flex-direction: column; justify-content: center;
    padding: 100px var(--gutter) 48px;
    background: var(--ink);
    opacity: 0; visibility: hidden;
    transition: opacity .5s var(--ease), visibility .5s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; gap: 4px; }
  .nav__link {
    font-family: var(--serif); font-size: clamp(2.6rem, 10vw, 3.6rem); font-weight: 400;
    letter-spacing: 0; text-transform: none; color: var(--ivory);
    opacity: 0; transform: translateY(24px);
    transition: opacity .6s var(--ease-out), transform .6s var(--ease-out), color .3s;
  }
  .nav__link::after { display: none; }
  .nav__link.is-active { color: var(--sand); }
  .nav.is-open .nav__link { opacity: 1; transform: none; }
  .nav.is-open li:nth-child(2) .nav__link { transition-delay: .06s; }
  .nav.is-open li:nth-child(3) .nav__link { transition-delay: .12s; }
  .nav.is-open li:nth-child(4) .nav__link { transition-delay: .18s; }
  .nav__mobile-foot {
    display: flex; flex-direction: column; gap: 6px;
    margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line);
    color: var(--text-light);
  }

  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 560px; margin-left: 26px; }

  .section-head { grid-template-columns: 1fr; }

  .showcase { grid-template-columns: 1fr; }
  .showcase__stage { display: none; }
  .showcase__list { border-top: 0; display: grid; gap: 48px; }
  .showcase__item { border-bottom: 0; display: flex; flex-direction: column; }
  .showcase__mobile-img { display: block; order: -1; aspect-ratio: 4 / 3; overflow: hidden; background: var(--charcoal-2); }
  .showcase__mobile-img img { width: 100%; height: 100%; object-fit: cover; }
  .showcase__link { grid-template-columns: 40px 1fr; padding: 22px 0 24px; border-bottom: 1px solid var(--line); }
  .showcase__link .status { grid-column: 2; justify-self: start; }
  .showcase__link::before { transform: scaleX(1); opacity: .5; }
  .showcase__name { color: var(--ivory); }
  .showcase__item.is-active .showcase__name, .showcase__item.is-active .showcase__meta { transform: none; }

  .why__intro { display: block; }
  .why__img { margin-top: 40px; aspect-ratio: 16 / 10; min-height: 0; }

  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 32px 16px; border-left: 0; }
  .stat:nth-child(even) { border-left: 1px solid var(--line); }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }

  .enquire { grid-template-columns: 1fr; }
  .enquire__media { min-height: 0; aspect-ratio: 16 / 10; }
  .enquire__panel { max-width: none; }

  .footer__grid { grid-template-columns: 1fr 1fr; }

  .hero--page { min-height: 66vh; min-height: 66svh; }
  .vm__grid { grid-template-columns: 1fr; }
  .vm__item, .vm__item + .vm__item { padding: 44px 0; border-left: 0; }
  .vm__item + .vm__item { border-top: 1px solid var(--line); }
  .contact__grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 15px; }
  .hero__title { font-size: clamp(2.7rem, 12.5vw, 3.6rem); }
  .hero__lead { font-size: 1rem; }
  .hero__foot .hero__spotlight { display: none; }
  .btn { padding: 16px 26px; }

  .about__media { padding: 0 34px 64px 0; margin-left: 14px; }
  .about__media::before { top: -14px; left: -14px; }
  .about__img--inset { border-width: 6px; }
  .about__focus { grid-template-columns: 1fr; }
  .about__focus li { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .about__focus span { margin: 0; }

  .why__list { grid-template-columns: 1fr; }
  .why__item, .why__item:nth-child(odd), .why__item:nth-child(even) { padding: 36px 0 40px; border-right: 0; }
  .hero .eyebrow { letter-spacing: .22em; font-size: .64rem; }
  .hero .eyebrow::before { width: 24px; }
  .why__num, .why__item:nth-child(even) .why__num { top: 38px; right: 0; }

  .stat__label { letter-spacing: .16em; font-size: .64rem; }

  .form__row { grid-template-columns: 1fr; }
  .form__actions .btn { width: 100%; justify-content: center; }

  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .review-bar__label { display: none; }

  .hero--page .hero__title { font-size: clamp(2.7rem, 12.5vw, 3.6rem); }
  .project-grid { grid-template-columns: 1fr; }
  .cta__actions .btn { width: 100%; justify-content: center; }
  .contact__item a, .contact__item address { font-size: 1.18rem; }
  .contact__panel { padding: 32px 22px; }
  .map__frame { height: 340px; }
  .map__inner { position: relative; bottom: auto; z-index: 1; padding-bottom: 48px; margin-top: -48px; }
  .map__card { max-width: none; padding: 28px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .reveal-img img { opacity: 1; transform: none; clip-path: none; }
}
.hero--page {
  min-height: 110vh;
}

/* Long breadcrumbs (e.g. a project name) wrap instead of pushing the scroll cue off-screen on phones */
@media (max-width: 600px) {
  .hero__foot .breadcrumb { flex-wrap: wrap; row-gap: 4px; min-width: 0; }
}

/* ---------- Project card status (projects page) ---------- */
.project-card__status { margin-top: 12px; }

/* ---------- Legal pages (privacy policy, terms): short text-only hero + readable column ---------- */
.hero.hero--legal { min-height: 0; }
.legal { max-width: 820px; }
.legal > p, .legal li { color: var(--text-light); }
.legal > p + p { margin-top: 14px; }
.legal h2 { margin: 48px 0 14px; font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2.2vw, 1.95rem); line-height: 1.2; color: var(--ivory); }
.legal ul { margin-top: 12px; padding-left: 20px; list-style: disc; }
.legal li + li { margin-top: 6px; }
.legal a { color: var(--sand); border-bottom: 1px solid currentColor; }