/* =====================================================================
   styles.css — Ace Group homepage
   Design tokens copied from ace-arte/assets/css/styles.css so both sites
   share one look while staying independently deployable.
   ===================================================================== */

/* ── Design tokens (verbatim from ace-arte) ────────────────────── */
:root {
  --ink:        #211d1a;
  --paper:      #faf8f6;
  --paper-2:    #ffffff;
  --muted:      #57504a;
  --faint:      #8a8177;
  --faint-2:    #a39a91;

  --accent:        #e0301b;
  --accent-dark:   #b02310;
  --accent-hover:  #c22a17;
  --accent-press:  #a3210f;
  --accent-soft:   #f7d9d3;
  --accent-warm:   #ff6a4d;
  --accent-on-dark:#ff8570;

  --dark-bg:    #171310;

  --card:       #faf8f6;
  --card-line:  #eae3dc;
  --media-bg:   #f1ece7;
  --plan-bg:    #f6f2ee;
  --loc-line:   #eee8e2;

  --input-bg:    #faf8f6;
  --input-border:#ded6ce;
  --outline-line:#cfc7bf;

  --scrollbar:  #d6cfc8;

  --serif: 'Marcellus', Georgia, serif;
  --sans:  'Archivo', system-ui, -apple-system, sans-serif;

  --container: 1400px;
  --gutter: clamp(18px, 3.4vw, 44px);
  --section-y: clamp(64px, 8vw, 128px);

  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --shadow-sm: 0 1px 2px rgba(33, 29, 26, 0.06), 0 4px 14px rgba(33, 29, 26, 0.06);
  --shadow-lg: 0 24px 60px rgba(33, 29, 26, 0.16);
}

/* ── Reset / base ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-dark); text-decoration: none; }
a:hover { color: var(--accent); }
img { display: block; max-width: 100%; }
figure { margin: 0; }
input, select, button, textarea { font-family: inherit; }
button, select, [type="checkbox"] { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent-soft); }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Layout primitives ─────────────────────────────────────────── */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-dark);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; flex: none; }
.eyebrow__num { font-variant-numeric: tabular-nums; color: var(--faint); }
.eyebrow__num::after { content: "/"; margin-left: 10px; opacity: 0.6; }
.eyebrow--light { color: var(--accent-on-dark); text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4); }
.eyebrow--light .eyebrow__num { color: rgba(255, 255, 255, 0.6); }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 3.8vw, 52px);
  line-height: 1.1;
  margin-top: 16px;
}

/* ── Buttons (from ace-arte) ───────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-weight: 600;
  font-size: 13.5px;
  line-height: 1;
  padding: 16px 26px;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.btn:active { transform: translateY(0.5px); }
.btn:disabled { opacity: 0.65; cursor: not-allowed; pointer-events: none; transform: none; }
.btn--accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 2px 10px rgba(176, 35, 16, 0.3);
}
.btn--accent:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; box-shadow: 0 6px 20px rgba(176, 35, 16, 0.35); }
.btn--ghost { background: rgba(255, 255, 255, 0.06); color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.btn--ghost:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn--sm { padding: 11px 18px; }

/* ── Wordmark ──────────────────────────────────────────────────── */
/* Logo: dark copy on light surfaces; the light copy swaps in only while the header sits over the hero. */
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand__logo { display: block; width: auto; height: 36px; }
.brand__logo--light { display: none; }

/* ── Header ────────────────────────────────────────────────────── */
.site-header {
  --hdr-bg: rgba(250, 248, 246, 0.92);
  --hdr-fg: var(--ink);
  --hdr-line: var(--card-line);
  --hdr-blur: blur(10px);
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--hdr-bg);
  backdrop-filter: var(--hdr-blur);
  -webkit-backdrop-filter: var(--hdr-blur);
  border-bottom: 1px solid var(--hdr-line);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
/* Homepage: floats over the hero, transparent until the page scrolls (JS adds .is-scrolled). */
.site-header--overlay { position: fixed; left: 0; right: 0; }
.site-header--overlay.is-scrolled { box-shadow: 0 6px 24px rgba(33, 29, 26, 0.06); }
.js .site-header--overlay:not(.is-scrolled):not(.is-menu-open) {
  --hdr-bg: linear-gradient(180deg, rgba(23, 19, 16, 0.55), rgba(23, 19, 16, 0));
  --hdr-fg: #fff;
  --hdr-line: transparent;
  --hdr-blur: none;
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.js .site-header--overlay:not(.is-scrolled):not(.is-menu-open) .brand__logo--dark { display: none; }
.js .site-header--overlay:not(.is-scrolled):not(.is-menu-open) .brand__logo--light { display: block; }
.site-nav { display: flex; gap: 36px; }
.site-nav a { position: relative; color: var(--hdr-fg); font-size: 14px; font-weight: 500; transition: color 0.2s ease; }
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease-out);
}
.site-nav a:hover { color: var(--hdr-fg); }
.site-nav a:hover::after { transform: scaleX(1); }
.site-nav__phone { display: none; }
.site-header__actions { display: flex; align-items: center; gap: 18px; }
.header-phone { color: var(--hdr-fg); font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; }
.header-phone:hover { color: var(--accent); }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--hdr-fg);
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  opacity: 0.85;
}
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--hdr-fg); transition: transform 0.25s ease, opacity 0.2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 899px) {
  .nav-toggle { display: inline-flex; }
  .header-phone { display: none; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--paper-2);
    border-bottom: 1px solid var(--card-line);
    padding: 8px var(--gutter) 20px;
    box-shadow: 0 18px 30px rgba(33, 29, 26, 0.1);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--loc-line); font-size: 16px; color: var(--ink); }
  .site-nav a::after { display: none; }
  .site-nav .site-nav__phone { display: block; color: var(--accent-dark); border-bottom: 0; }
}
@media (max-width: 479px) {
  .site-header__actions .btn { display: none; }
  .brand__logo { height: 30px; }
}

/* ── Footer ────────────────────────────────────────────────────── */
.site-footer {
  background: var(--dark-bg);
  color: #d9d1c9;
  padding-block: clamp(56px, 6vw, 88px) 32px;
  box-shadow: inset 0 3px 0 var(--accent);
}
.site-footer a { color: var(--accent-on-dark); }
.site-footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 48px; }
.footer-col__title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint-2);
  margin-bottom: 16px;
}
.footer-logo { display: block; width: auto; height: 56px; margin-bottom: 16px; }
.footer-text { font-size: 14px; max-width: 34ch; color: #b9afa5; }
.footer-rera li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13.5px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-rera b { color: #fff; font-weight: 500; }
.footer-rera span { color: #b9afa5; font-variant-numeric: tabular-nums; }
.footer-link { display: inline-block; margin-top: 12px; font-size: 13.5px; }
.site-footer .footer-phone { display: block; font-family: var(--serif); font-size: 30px; color: #fff; margin-bottom: 20px; }
.site-footer .footer-phone:hover { color: var(--accent-on-dark); }
.footer-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 2px solid var(--accent);
  border-radius: 4px;
  padding: 16px 18px;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.03);
}
.footer-card b { display: block; color: var(--faint-2); font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 6px; }
.footer-card span { color: #fff; font-family: var(--serif); font-size: 20px; }
.footer-divider { height: 1px; background: rgba(255, 255, 255, 0.1); margin: 44px 0 24px; }
.footer-disclaimer, .footer-copy { font-size: 12px; line-height: 1.7; color: var(--faint-2); max-width: 110ch; }
.footer-copy { margin-top: 12px; }

@media (max-width: 899px) {
  .site-footer__grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ── Hero: full-bleed slideshow with overlaid content ──────────── */
.hero {
  position: relative;
  isolation: isolate;
  min-height: max(640px, 100svh);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--dark-bg);
  color: #fff;
}
.hero__slides { position: absolute; inset: 0; z-index: -2; }
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
}
.hero__slide.is-active { opacity: 1; }
.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 7s linear;
}
.hero__slide.is-active img { transform: scale(1); }
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(23, 19, 16, 0.7) 0%, rgba(23, 19, 16, 0.25) 60%, rgba(23, 19, 16, 0) 100%),
    linear-gradient(180deg, rgba(23, 19, 16, 0.45) 0%, rgba(23, 19, 16, 0.15) 35%, rgba(23, 19, 16, 0.88) 100%);
}
.hero__content { width: 100%; padding-top: 140px; padding-bottom: clamp(36px, 5vw, 64px); }
.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 6.2vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  max-width: 15ch;
  margin: 22px 0 24px;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25);
}
.hero__sub { font-size: clamp(16px, 1.35vw, 19px); color: rgba(255, 255, 255, 0.86); max-width: 56ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero__bar {
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: clamp(24px, 3.4vw, 44px);
}
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 4px;
  background: rgba(23, 19, 16, 0.42);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.stat { padding: 18px clamp(20px, 2.6vw, 36px); }
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, 0.14); }
.stat__value { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 34px); line-height: 1; }
.stat__label { font-size: 12.5px; color: rgba(255, 255, 255, 0.72); margin-top: 8px; letter-spacing: 0.02em; }

.hero__controls { display: none; align-items: center; gap: 18px; }
.js .hero__controls { display: flex; }
.hero__caption { font-size: 13px; font-weight: 500; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.85); white-space: nowrap; }
.hero__dots { display: flex; gap: 4px; }
.hero__dot {
  position: relative;
  width: 36px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.hero__dot::before {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  top: 50%;
  height: 2px;
  background: rgba(255, 255, 255, 0.35);
  transition: background 0.2s ease;
}
.hero__dot:hover::before { background: rgba(255, 255, 255, 0.7); }
.hero__dot[aria-current="true"]::before { background: var(--accent); }
.hero__toggle {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.hero__toggle:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }
.hero__toggle svg { width: 14px; height: 14px; fill: currentColor; }
.hero__toggle .icon-play, .hero__toggle[aria-pressed="true"] .icon-pause { display: none; }
.hero__toggle[aria-pressed="true"] .icon-play { display: block; }

@media (max-width: 899px) {
  .hero__bar { flex-direction: column; align-items: stretch; }
  .hero__controls { justify-content: space-between; }
}
@media (max-width: 639px) {
  .hero__content { padding-top: 120px; }
  .hero__stats { grid-template-columns: repeat(3, 1fr); }
  .stat { padding: 14px 12px; }
  .stat__value { font-size: 20px; }
  .stat__label { font-size: 11.5px; }
  .hero__caption { white-space: normal; font-size: 12px; }
  .hero__ctas .btn { flex: 1 1 auto; }
}

/* ── Project cards: shared ─────────────────────────────────────── */
.card-media { position: relative; overflow: hidden; background: var(--media-bg); aspect-ratio: 16 / 10; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.card-media.is-missing img { display: none; }
.card-media.is-missing::after {
  content: attr(data-name);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 28px;
  color: var(--faint);
}
.tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 11px;
  border-radius: 2px;
  background: var(--plan-bg);
  color: var(--muted);
}
.tag--accent { background: var(--accent-soft); color: var(--accent-dark); }
.project-name { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.1; margin-top: 14px; color: var(--ink); }
.project-loc { color: var(--muted); font-size: 14.5px; margin-top: 6px; }
.project-facts { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--loc-line); display: grid; gap: 9px; }
.project-facts li { position: relative; padding-left: 18px; font-size: 14.5px; color: var(--ink); font-variant-numeric: tabular-nums; }
.project-facts li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 8px; height: 1px; background: var(--accent); }
.project-rera { margin-top: 20px; font-size: 12px; letter-spacing: 0.04em; color: var(--faint); }

/* ── Featured card: Ace Arte (the only clickable project) ──────── */
.project-feature {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  background: var(--paper-2);
  border: 1px solid var(--card-line);
  border-radius: 6px;
  overflow: hidden;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project-feature:hover { color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.project-feature:hover .card-media img { transform: scale(1.04); }
.project-feature .card-media { aspect-ratio: auto; min-height: 500px; }
.project-feature__body { padding: clamp(28px, 3.6vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.project-feature .project-name { font-size: clamp(34px, 3.4vw, 48px); }
.project-cta {
  margin-top: 30px;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 24px;
  border-radius: 3px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 2px 10px rgba(176, 35, 16, 0.3);
  transition: background 0.2s ease;
}
.project-cta .icon { width: 18px; height: 18px; transition: transform 0.25s var(--ease-out); }
.project-feature:hover .project-cta { background: var(--accent-hover); }
.project-feature:hover .project-cta .icon { transform: translateX(4px); }

/* ── Static cards: not clickable yet ───────────────────────────── */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); margin-top: clamp(16px, 2vw, 28px); }
.project-card {
  display: flex;
  flex-direction: column;
  background: var(--paper-2);
  border: 1px solid var(--card-line);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: default;
}
.project-card .card-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(23, 19, 16, 0.35) 0%, rgba(23, 19, 16, 0) 35%, rgba(23, 19, 16, 0) 60%, rgba(23, 19, 16, 0.55) 100%);
  pointer-events: none;
}
.project-card .card-media .tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
}
.project-card__body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.project-card__body .project-name { margin-top: 0; }
.project-card__body .project-rera { margin-top: auto; padding-top: 20px; }
.soon {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 7px 10px;
  border-radius: 2px;
  background: rgba(23, 19, 16, 0.78);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 1023px) {
  .project-feature { grid-template-columns: 1fr; }
  .project-feature .card-media { min-height: 0; aspect-ratio: 16 / 10; }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 639px) {
  .project-grid { grid-template-columns: 1fr; }
}

/* ── About ─────────────────────────────────────────────────────── */
.about { background: var(--paper-2); border-block: 1px solid var(--card-line); }
.about__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 88px); align-items: stretch; }
.about__media { position: relative; border-radius: 6px; overflow: hidden; background: var(--media-bg); min-height: 520px; }
.about__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about__badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: grid;
  gap: 2px;
  padding: 14px 18px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
}
.about__badge b { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-dark); }
.about__badge span { font-family: var(--serif); font-size: 18px; color: var(--ink); }
.about__body { display: flex; flex-direction: column; justify-content: center; gap: clamp(28px, 3.4vw, 44px); }
.about__text { font-size: clamp(16px, 1.3vw, 18px); color: var(--muted); margin-top: 20px; max-width: 60ch; }
.strengths { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.strength {
  background: var(--paper);
  border: 1px solid var(--card-line);
  border-radius: 6px;
  padding: 24px 22px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.strength:hover { border-color: var(--accent-soft); box-shadow: var(--shadow-sm); }
.strength__icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  margin-bottom: 16px;
}
.strength h3 { font-family: var(--serif); font-weight: 400; font-size: 21px; }
.strength p { font-size: 14px; color: var(--muted); margin-top: 8px; }

@media (max-width: 899px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__media { min-height: 0; aspect-ratio: 16 / 10; }
}
@media (max-width: 479px) { .strengths { grid-template-columns: 1fr; } }

/* ── Enquiry ───────────────────────────────────────────────────── */
.enquire {
  position: relative;
  isolation: isolate;
  background: var(--dark-bg);
  color: #fff;
  overflow: hidden;
}
.enquire::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(23, 19, 16, 0.96) 0%, rgba(23, 19, 16, 0.86) 55%, rgba(23, 19, 16, 0.7) 100%),
    url("../images/hero/hero-arte.webp") center / cover no-repeat;
}
.enquire__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 88px); align-items: center; }
.enquire .section-title { color: #fff; }
.enquire__copy p { color: rgba(255, 255, 255, 0.78); margin-top: 20px; max-width: 46ch; font-size: clamp(16px, 1.25vw, 18px); }
.enquire__phone { display: inline-flex; align-items: center; gap: 16px; margin-top: 32px; color: #fff; }
.enquire__phone:hover { color: #fff; }
.enquire__phone-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  transition: background 0.2s ease;
}
.enquire__phone:hover .enquire__phone-icon { background: var(--accent-hover); }
.enquire__phone > span:last-child { font-family: var(--serif); font-size: 30px; line-height: 1.1; }
.enquire__phone small { display: block; font-family: var(--sans); font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); margin-bottom: 4px; }

.enquiry-form {
  background: var(--paper-2);
  color: var(--ink);
  border-radius: 6px;
  padding: clamp(26px, 3.2vw, 44px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}
.enquiry-form__title { font-family: var(--serif); font-weight: 400; font-size: 28px; margin-bottom: 22px; }
.form-stack { display: grid; gap: 12px; }
.field {
  width: 100%;
  min-height: 50px;
  font-size: 15px;
  padding: 14px 16px;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 3px;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.field::placeholder { color: var(--faint); }
.field:hover { border-color: var(--outline-line); }
.field:focus { border-color: var(--accent); background: #fff; }
.field:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--muted); margin: 18px 0 20px; cursor: pointer; }
.consent input { margin-top: 3px; accent-color: var(--accent); }
.enquiry-form .btn { width: 100%; padding-block: 18px; font-size: 14px; }
.form-error { margin-top: 14px; font-size: 13.5px; color: var(--accent-dark); }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 899px) { .enquire__grid { grid-template-columns: 1fr; } }

/* ── Thank-you page ────────────────────────────────────────────── */
.thanks { min-height: 62vh; display: grid; place-items: center; text-align: center; padding-block: var(--section-y); }
.thanks__inner { max-width: 640px; }
.thanks__check {
  width: 64px;
  height: 64px;
  margin: 0 auto 8px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 28px;
}
.thanks__text { color: var(--muted); margin: 18px 0 28px; }

/* ── Reveal on scroll (only when app.js has added html.js) ─────── */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s var(--ease-out);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* The featured card is itself revealable; keep its hover lift and shadow transition. */
.js .project-feature[data-reveal] {
  transition: opacity 0.6s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.js .project-feature[data-reveal].is-visible:hover { transform: translateY(-3px); }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .project-feature, .js .project-feature[data-reveal], .card-media img { transition: none; }
  .hero__slide, .hero__slide img, .site-header, .project-cta .icon, .nav-toggle span { transition: none; }
  .hero__slide img { transform: none; }
}
