/* ==========================================================================
   MHF Venetian Finishes
   Colours taken from the brand logo: deep racing green and stone cream,
   with a gold accent from the veining in their marble finishes.
   ========================================================================== */

:root {
  --green: #10302b;
  --green-deep: #0a221e;
  --green-soft: #1b453d;
  --cream: #e6dfcb;
  --stone: #f4f0e7;
  --stone-dark: #ebe5d7;
  --paper: #fbf9f4;
  --ink: #1a1f1d;
  --ink-soft: #4a514e;
  --gold: #b48d55;
  --gold-light: #d2b07a;
  --line: rgba(26, 31, 29, 0.12);
  --line-light: rgba(230, 223, 203, 0.18);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --caps: "Cinzel", "Trajan Pro", serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 56px);
  --max: 1220px;
  --section: clamp(80px, 11vw, 140px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 92px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
figure, blockquote { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

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

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--green); color: var(--cream); padding: 10px 16px;
}
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }

.icon { width: 18px; height: 18px; flex: none; }

/* ---------- Type ---------- */

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.eyebrow-dark { color: var(--gold); }

.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.005em;
  color: var(--green);
}
.h2 em, h1 em { font-style: italic; color: var(--gold); }
.h2-light { color: var(--cream); }
.h2-light em { color: var(--gold-light); }

.section { padding: var(--section) 0; }
.section-stone { background: var(--stone); }

.section-head { max-width: 640px; margin: 0 auto clamp(44px, 6vw, 72px); text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; }
.section-head p:not(.eyebrow) { margin-top: 18px; color: var(--ink-soft); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 30px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-light); color: var(--green-deep); }
.btn-ghost-light { border-color: var(--line-light); color: var(--cream); }
.btn-ghost-light:hover { border-color: var(--cream); background: rgba(230, 223, 203, .06); }
.btn-dark { background: var(--green); color: var(--cream); }
.btn-dark:hover { background: var(--green-soft); }
.btn-small { min-height: 40px; padding: 0 18px; font-size: 11px; gap: 8px; }
.btn-small .icon { width: 16px; height: 16px; }
.btn-large { min-height: 58px; padding: 0 36px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 6px;
}
.text-link .icon { transition: transform .3s var(--ease); }
.text-link:hover .icon { transform: translateX(4px); }

/* ---------- Brand ---------- */

.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 78px; width: auto; }
.brand-footer .brand-logo { height: 84px; }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  color: var(--cream);
  border-bottom: 1px solid transparent;
  transition: background-color .4s var(--ease), border-color .4s var(--ease);
}
.site-header.is-solid {
  background: rgba(10, 34, 30, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line-light);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
  gap: 24px;
}

.nav { display: flex; gap: clamp(20px, 3vw, 40px); }
.nav a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: .82;
  position: relative;
  padding: 6px 0;
  transition: opacity .3s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold-light); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav a:hover { opacity: 1; }
.nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  padding: 0; border: 0; background: transparent; cursor: pointer;
  position: relative;
}
.bars, .bars::before, .bars::after {
  position: absolute; left: 11px; width: 22px; height: 1.5px; background: currentColor;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.bars { top: 21px; }
.bars::before, .bars::after { content: ""; left: 0; }
.bars::before { top: -7px; }
.bars::after { top: 7px; }
.menu-toggle[aria-expanded="true"] .bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: flex;
  flex-direction: column;
  padding: 8px var(--gutter) 28px;
  background: rgba(10, 34, 30, 0.97);
  border-bottom: 1px solid var(--line-light);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a {
  padding: 16px 0;
  border-bottom: 1px solid var(--line-light);
  font-family: var(--serif);
  font-size: 24px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  color: var(--cream);
  background:
    radial-gradient(ellipse 70% 60% at 15% 20%, rgba(180, 141, 85, 0.10), transparent 60%),
    radial-gradient(ellipse 60% 70% at 90% 90%, rgba(27, 69, 61, 0.9), transparent 70%),
    var(--green-deep);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(46px, 6.6vw, 88px);
  line-height: 1.0;
  letter-spacing: -0.01em;
  color: #f6f1e4;
}
.hero h1 em { color: var(--gold-light); display: block; }

.lead {
  margin-top: 28px;
  max-width: 500px;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(230, 223, 203, 0.82);
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

.hero-points {
  list-style: none;
  margin: 48px 0 0;
  padding: 26px 0 0;
  border-top: 1px solid var(--line-light);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(230, 223, 203, 0.72);
}
.hero-points li { display: flex; align-items: center; gap: 10px; }
.hero-points li::before { content: ""; width: 5px; height: 5px; transform: rotate(45deg); background: var(--gold); }

.hero-media { position: relative; }
.hero-media::before {
  content: "";
  position: absolute;
  inset: -18px 18px 18px -18px;
  border: 1px solid rgba(210, 176, 122, 0.45);
  pointer-events: none;
}
.hero-media img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
}
.hero-media figcaption {
  position: absolute;
  left: 0; bottom: 0;
  transform: translateY(50%);
  margin-left: 24px;
  background: var(--paper);
  color: var(--green);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 12px 18px;
}

/* ---------- Intro ---------- */

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}
.intro-copy .h2 { margin-bottom: 28px; }
.intro-copy p:not(.eyebrow) { color: var(--ink-soft); }
.intro-copy p + p { margin-top: 16px; }
.intro-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* ---------- Gallery ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(180px, 20vw, 270px);
  grid-template-areas:
    "a b b c"
    "a d e c"
    "f f g g";
  gap: 14px;
  margin-bottom: 52px;
}
.g-item { position: relative; overflow: hidden; background: var(--stone-dark); }
.g-a { grid-area: a; } .g-b { grid-area: b; } .g-c { grid-area: c; } .g-d { grid-area: d; }
.g-e { grid-area: e; } .g-f { grid-area: f; } .g-g { grid-area: g; }
.g-item button { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.g-item:hover img { transform: scale(1.04); }
.g-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 40px 18px 16px;
  background: linear-gradient(to top, rgba(10, 34, 30, 0.85), transparent);
  color: #f6f1e4;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  pointer-events: none;
}

/* ---------- Services ---------- */

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 32px);
}
.service { background: var(--stone); display: flex; flex-direction: column; }
.service-img { aspect-ratio: 4 / 3; overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service-img img.pos-top { object-position: center 18%; }
.service:hover .service-img img { transform: scale(1.04); }
.service-body { padding: 30px 30px 36px; }
.service-num { font-family: var(--caps); font-size: 13px; color: var(--gold); letter-spacing: 0.12em; }
.service h3 { font-family: var(--serif); font-size: 28px; line-height: 1.15; color: var(--green); margin: 10px 0 12px; }
.service p { color: var(--ink-soft); font-size: 14.5px; }

.finishes {
  margin-top: clamp(48px, 6vw, 72px);
  padding: 36px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px 40px;
  align-items: center;
}
.finishes-title { font-family: var(--caps); font-size: 14px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--green); }
.finishes ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.finishes li {
  font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--green);
}
.finishes p { grid-column: 1 / -1; color: var(--ink-soft); font-size: 14px; }

/* ---------- Quote band ---------- */

.band {
  position: relative;
  padding: clamp(90px, 12vw, 150px) 0;
  color: #f6f1e4;
  text-align: center;
  overflow: hidden;
  background: var(--green-deep);
}
.band-bg {
  position: absolute;
  inset: 0;
  background: url("../img/marble-detail.jpg") center / cover no-repeat;
  opacity: 0.16;
  mix-blend-mode: luminosity;
}
.band-inner { position: relative; }
.band-mark { width: 84px; height: auto; margin: 0 auto 30px; display: block; }
.band-quote {
  font-family: var(--serif);
  font-size: clamp(30px, 4.4vw, 54px);
  line-height: 1.15;
  max-width: 900px;
  margin: 0 auto;
}
.band-quote em { color: var(--gold-light); }

/* ---------- Process ---------- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
}
.step { background: var(--paper); padding: 40px 34px 44px; border-top: 2px solid var(--gold); }
.step-num { font-family: var(--serif); font-size: 56px; line-height: 1; color: var(--gold); opacity: .55; }
.step h3 { font-family: var(--serif); font-size: 28px; color: var(--green); margin: 18px 0 12px; }
.step p { color: var(--ink-soft); font-size: 14.5px; }

/* ---------- Contact ---------- */

.contact {
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(180, 141, 85, 0.12), transparent 60%),
    var(--green);
  color: rgba(230, 223, 203, 0.85);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(48px, 7vw, 100px);
  align-items: center;
}
.contact-copy .h2 { margin-bottom: 24px; }
.contact-copy p:not(.eyebrow) { max-width: 500px; }
.area { display: flex; align-items: center; gap: 10px; margin: 24px 0 36px; color: var(--cream); font-weight: 500; }
.area .icon { color: var(--gold-light); }

.socials { display: flex; flex-direction: column; gap: 12px; }
.social {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  border: 1px solid var(--line-light);
  background: rgba(10, 34, 30, 0.35);
  color: var(--cream);
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.social:hover { background: rgba(10, 34, 30, 0.7); border-color: rgba(210, 176, 122, 0.55); }
.social-icon { width: 26px; height: 26px; color: var(--gold-light); flex: none; }
.social span { display: flex; flex-direction: column; line-height: 1.3; flex: 1; min-width: 0; }
.social strong { font-weight: 600; font-size: 14px; letter-spacing: 0.04em; }
.social small { font-size: 13px; opacity: .7; overflow: hidden; text-overflow: ellipsis; }
.social-arrow { opacity: .5; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.social:hover .social-arrow { transform: translateX(4px); opacity: 1; }

/* ---------- Footer ---------- */

.site-footer { background: var(--green-deep); color: rgba(230, 223, 203, 0.7); padding: 56px 0 40px; }
.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px 40px;
}
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.footer-links a:hover, .footer-social a:hover { color: var(--gold-light); }
.footer-social { display: flex; gap: 8px; }
.footer-social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-light); border-radius: 50%; transition: color .3s var(--ease), border-color .3s var(--ease); }
.footer-social svg { width: 18px; height: 18px; }
.copy { grid-column: 1 / -1; padding-top: 28px; border-top: 1px solid var(--line-light); font-size: 12px; letter-spacing: 0.06em; text-align: center; }

/* ---------- Floating WhatsApp ---------- */

.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: none;
  place-items: center;
  background: var(--gold);
  color: #fff;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.45);
}
.wa-float svg { width: 28px; height: 28px; }

/* ---------- Lightbox ---------- */

.lightbox {
  max-width: min(92vw, 1100px);
  max-height: 92vh;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}
.lightbox::backdrop { background: rgba(6, 20, 17, 0.92); }
.lightbox img { max-width: 100%; max-height: 82vh; margin: 0 auto; object-fit: contain; }
.lightbox-cap { margin-top: 14px; text-align: center; color: var(--cream); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; }
.lightbox-close {
  position: fixed; top: 16px; right: 20px;
  width: 48px; height: 48px;
  border: 0; background: none; cursor: pointer;
  color: var(--cream); font-size: 38px; line-height: 1;
}

/* ---------- Reveal on scroll ---------- */

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
  .services { grid-template-columns: 1fr 1fr; }
  .service:last-child { grid-column: 1 / -1; flex-direction: row; }
  .service:last-child .service-img { flex: 1; aspect-ratio: auto; }
  .service:last-child .service-body { flex: 1; align-self: center; }
  .gallery {
    grid-template-columns: repeat(3, 1fr);
    grid-template-areas:
      "a b b"
      "a d e"
      "c f f"
      "c g g";
  }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
  .header-inner { height: 80px; }
  .brand-logo { height: 64px; }

  .hero { padding: 116px 0 72px; min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { max-width: 460px; margin: 20px 18px 0 auto; width: calc(100% - 18px); }
  .hero-media img { aspect-ratio: 4 / 4.4; }

  .intro-grid, .contact-grid { grid-template-columns: 1fr; }
  .intro-media { order: -1; }
  .intro-media img { aspect-ratio: 3 / 2; }

  .steps { grid-template-columns: 1fr; }
  .finishes { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }

  .wa-float { display: grid; }
}

@media (max-width: 640px) {
  body { font-size: 14.5px; }
  .header-actions .btn-small { display: none; }

  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-points { flex-direction: column; }

  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 190px;
    gap: 10px;
    grid-template-areas:
      "a c"
      "a c"
      "b b"
      "d e"
      "f f"
      "g g";
  }
  .g-item figcaption { font-size: 9.5px; padding: 30px 12px 12px; letter-spacing: .12em; }

  .services { grid-template-columns: 1fr; }
  .service:last-child { flex-direction: column; }
  .service:last-child .service-img { aspect-ratio: 4 / 3; }

  .btn-large { width: 100%; }
  .social { padding: 18px; }
}
