/* ==========================================================================
   Nailed It Home Constructions — site styles
   Palette: charcoal / off-white / warm timber
   ========================================================================== */

:root {
  /* colour tokens */
  --charcoal: #1a1a1a;
  --charcoal-2: #222222;
  --charcoal-3: #2d2d2d;
  --ink: #1a1a1a;
  --ink-2: #47433f;
  --muted: #6d6660;
  --cream: #f4f1ec;
  --cream-2: #ebe6df;
  --white: #ffffff;
  --timber: #b5865a;
  --timber-dark: #94693f;
  --timber-light: #e8d6c1;
  --timber-tint: #f7efe5;
  --line: rgba(26, 26, 26, 0.12);
  --line-dark: rgba(255, 255, 255, 0.12);
  --on-dark: #f1ede7;
  --on-dark-muted: #b9b2aa;

  /* type */
  --font-display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* spacing scale */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  --s-10: 8rem;

  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 4px;
  --radius-lg: 8px;
  --shadow-sm: 0 1px 2px rgba(26, 26, 26, 0.06), 0 2px 8px rgba(26, 26, 26, 0.06);
  --shadow-md: 0 8px 24px rgba(26, 26, 26, 0.10);
  --shadow-lg: 0 24px 60px rgba(26, 26, 26, 0.18);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 180ms;
  --dur: 320ms;
  --dur-slow: 700ms;

  --header-h: 88px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

img, picture, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
img { height: auto; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  margin: 0 0 0.5em;
  color: var(--ink);
}

h1, h2 { text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); }
h2 { font-size: clamp(2.25rem, 4.6vw, 3.75rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.6rem); letter-spacing: 0.02em; }

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  background: var(--charcoal);
  color: var(--white);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-weight: 600;
}
.skip-link:focus { top: 1rem; }

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


/* --------------------------------------------------------------------------
   Layout helpers
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--dark, .projects, .areas { color: var(--on-dark); }
.section--dark { background: var(--charcoal); }
.section--dark h2, .section--dark h3, .projects h2, .projects h3, .areas h2, .areas h3 { color: var(--white); }
.section--white { background: var(--white); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--timber-dark);
  margin-bottom: 1.25rem;
}
.eyebrow::before {
  content: "";
  width: 2.25rem;
  height: 2px;
  background: var(--timber);
}
.section--dark .eyebrow, .projects .eyebrow, .areas .eyebrow, .cta .eyebrow { color: var(--timber); }

.section-head { max-width: 50rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head p { font-size: 1.1rem; color: var(--ink-2); max-width: 40rem; }
.section-head.center p { margin-inline: auto; }
.section--dark .section-head p, .projects .section-head p, .areas .section-head p { color: var(--on-dark-muted); }

.lead { font-size: 1.15rem; color: var(--ink-2); }
.section--dark .lead { color: var(--on-dark-muted); }

.accent { color: var(--timber); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.25rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: transform var(--dur-fast) var(--ease-out), background-color var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast), box-shadow var(--dur-fast);
  touch-action: manipulation;
  white-space: nowrap;
}
.btn svg { width: 1.1rem; height: 1.1rem; transition: transform var(--dur-fast) var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(0.98); }

.btn--primary { background: var(--timber); color: var(--charcoal); border-color: var(--timber); }
.btn--primary:hover { background: var(--timber-dark); border-color: var(--timber-dark); color: var(--white); }

.btn--dark { background: var(--charcoal); color: var(--white); border-color: var(--charcoal); }
.btn--dark:hover { background: var(--charcoal-3); border-color: var(--charcoal-3); }

.btn--outline { background: transparent; color: var(--ink); border-color: currentColor; }
.btn--outline:hover { background: var(--charcoal); color: var(--white); border-color: var(--charcoal); }

.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.55); }
.btn--outline-light:hover { background: var(--white); color: var(--charcoal); border-color: var(--white); }

.btn--block { width: 100%; }
.btn[disabled], .btn[aria-busy="true"] { opacity: 0.6; cursor: wait; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--timber-dark);
  border-bottom: 2px solid transparent;
  transition: border-color var(--dur-fast);
}
.text-link:hover { border-color: var(--timber-dark); }
.text-link svg { width: 1rem; height: 1rem; }

/* --------------------------------------------------------------------------
   Top bar + header
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--charcoal);
  color: var(--on-dark-muted);
  font-size: 0.85rem;
  font-weight: 500;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.5rem;
}
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.topbar a { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--on-dark); min-height: 2.5rem; }
.topbar a:hover { color: var(--timber); }
.topbar svg { width: 1rem; height: 1rem; color: var(--timber); }
.topbar__areas { display: none; }
@media (min-width: 900px) { .topbar__areas { display: inline-flex; } }
@media (max-width: 640px) { .topbar .topbar__right, .topbar .topbar__email { display: none; } .topbar .container { justify-content: center; } }

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 241, 236, 0.92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--dur), background-color var(--dur);
}
.header.is-scrolled { box-shadow: var(--shadow-sm); background: rgba(244, 241, 236, 0.97); }

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; min-height: 3rem; }
.brand img { height: 4.25rem; width: auto; }
@media (max-width: 480px) { .brand img { height: 3.1rem; } }

.nav { display: none; align-items: center; gap: 0.25rem; }
.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.25rem 0.85rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-2);
  transition: color var(--dur-fast);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0.85rem; right: 0.85rem; bottom: 0.35rem;
  height: 2px;
  background: var(--timber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease-out);
}
.nav a:hover, .nav a.is-active { color: var(--ink); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: 0.75rem; }
.header__phone { display: none; }
.header .btn { min-height: 2.9rem; padding-inline: 1.35rem; font-size: 1.05rem; }

@media (min-width: 1024px) {
  .nav { display: flex; }
  .header__phone {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--ink);
    padding: 0.25rem 0.5rem;
    min-height: 2.75rem;
  }
  .header__phone svg { width: 1.15rem; height: 1.15rem; color: var(--timber-dark); }
}
@media (max-width: 480px) { .header .btn--primary { display: none; } }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem; height: 3rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block;
  width: 1.35rem; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease-out), opacity var(--dur-fast);
}
.nav-toggle span { position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 1024px) { .nav-toggle { display: none; } }

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--charcoal);
  color: var(--on-dark);
  padding: calc(var(--header-h) + 2.5rem + 1.5rem) var(--gutter) 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), visibility 0s linear var(--dur);
  overflow-y: auto;
}
.mobile-nav.is-open { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.mobile-nav ul { display: flex; flex-direction: column; }
.mobile-nav li a {
  display: block;
  padding: 0.9rem 0;
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--white);
  border-bottom: 1px solid var(--line-dark);
  transform: translateY(10px);
  opacity: 0;
  transition: transform var(--dur-slow) var(--ease-out), opacity var(--dur-slow);
}
.mobile-nav.is-open li a { transform: none; opacity: 1; transition-delay: calc(var(--i, 0) * 40ms + 60ms); }
.mobile-nav__contact { display: flex; flex-direction: column; gap: 0.75rem; color: var(--on-dark-muted); }
.mobile-nav__contact a { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--white); font-weight: 600; min-height: 2.75rem; }
.mobile-nav__contact svg { width: 1.1rem; height: 1.1rem; color: var(--timber); }
@media (min-width: 1024px) { .mobile-nav { display: none; } }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h) - 2.5rem);
  display: grid;
  align-items: end;
  color: var(--white);
  background: var(--charcoal);
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 62% 55%;
  transform: scale(1.06);
  animation: heroZoom 9s var(--ease-out) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(20,20,20,0.88) 0%, rgba(20,20,20,0.72) 38%, rgba(20,20,20,0.28) 70%, rgba(20,20,20,0.15) 100%),
    linear-gradient(180deg, rgba(20,20,20,0.15) 0%, rgba(20,20,20,0) 35%, rgba(20,20,20,0.75) 100%);
}
.hero .container {
  padding-block: clamp(4rem, 9vw, 7rem) clamp(2.5rem, 5vw, 4rem);
}
.hero__content { max-width: 48rem; }
.hero .eyebrow { color: var(--timber); }
.hero h1 { color: var(--white); margin-bottom: 0.4em; }
.hero h1 em { font-style: normal; color: var(--timber); }
.hero__lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: rgba(255,255,255,0.86);
  max-width: 36rem;
  margin-bottom: 2rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }

.hero__trust {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hero__trust li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.15rem;
  background: rgba(20,20,20,0.55);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
}
.hero__trust svg { flex: none; width: 1.35rem; height: 1.35rem; color: var(--timber); }
.hero__trust small { display: block; font-weight: 500; font-size: 0.78rem; color: rgba(255,255,255,0.68); }
@media (min-width: 900px) { .hero__trust { grid-template-columns: repeat(4, 1fr); } }

/* hero entrance */
.hero [data-hero] { opacity: 0; transform: translateY(18px); animation: rise var(--dur-slow) var(--ease-out) forwards; }
.hero [data-hero="1"] { animation-delay: 80ms; }
.hero [data-hero="2"] { animation-delay: 180ms; }
.hero [data-hero="3"] { animation-delay: 280ms; }
.hero [data-hero="4"] { animation-delay: 380ms; }
.hero [data-hero="5"] { animation-delay: 520ms; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* --------------------------------------------------------------------------
   Marquee strip (services ribbon)
   -------------------------------------------------------------------------- */
.ribbon {
  background: var(--timber);
  color: var(--charcoal);
  overflow: hidden;
  border-block: 1px solid rgba(0,0,0,0.08);
}
.ribbon__track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.ribbon:hover .ribbon__track { animation-play-state: paused; }
.ribbon ul { display: flex; align-items: center; }
.ribbon li {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.85rem 1.25rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ribbon li::after { content: ""; width: 6px; height: 6px; background: var(--charcoal); transform: rotate(45deg); opacity: 0.6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */
.about { background: var(--cream); }
.about__grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
@media (min-width: 960px) { .about__grid { grid-template-columns: 1.05fr 1fr; } }

.about__media { position: relative; }
.about__media .frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about__media .frame--main { aspect-ratio: 4 / 5; }
.about__media .frame--main img { width: 100%; height: 100%; object-fit: cover; }
.about__media .frame--inset {
  position: absolute;
  right: -6%;
  bottom: -8%;
  width: 52%;
  aspect-ratio: 4 / 3;
  border: 6px solid var(--cream);
}
.about__media .frame--inset img { width: 100%; height: 100%; object-fit: cover; }
.about__badge {
  position: absolute;
  top: 1.25rem; left: -1rem;
  background: var(--charcoal);
  color: var(--white);
  padding: 0.9rem 1.15rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  font-family: var(--font-display);
  text-transform: uppercase;
  line-height: 1;
}
.about__badge strong { display: block; font-size: 2.2rem; white-space: nowrap; font-weight: 700; color: var(--timber); }
.about__badge span { display: block; max-width: 7rem; line-height: 1.2; font-size: 0.75rem; letter-spacing: 0.12em; font-weight: 600; color: var(--on-dark-muted); }
@media (max-width: 959px) {
  .about__media { margin-bottom: 3rem; padding-right: 6%; }
  .about__media .frame--inset { right: 0; bottom: -2rem; }
}

.about__copy p { color: var(--ink-2); }
.about__points {
  display: grid;
  gap: 0.85rem;
  margin: 1.75rem 0 2rem;
}
.about__points li { display: flex; gap: 0.85rem; align-items: flex-start; font-weight: 600; }
.about__points svg { flex: none; width: 1.35rem; height: 1.35rem; color: var(--timber-dark); margin-top: 0.15rem; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 2.5rem;
}
.stats li { background: var(--white); padding: 1.25rem 1rem; text-align: center; }
.stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 0.35rem;
}
.stats span { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; color: var(--muted); }

/* --------------------------------------------------------------------------
   Services
   -------------------------------------------------------------------------- */
.services { background: var(--white); }
.services__grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}
.service {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem 1.75rem 1.9rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur), border-color var(--dur);
}
.service::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 4px;
  background: var(--timber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease-out);
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.service:hover::after { transform: scaleX(1); }
.service__icon {
  width: 3.25rem; height: 3.25rem;
  display: grid; place-items: center;
  background: var(--charcoal);
  color: var(--timber);
  border-radius: var(--radius);
}
.service__icon svg { width: 1.5rem; height: 1.5rem; }
.service h3 { margin: 0.25rem 0 0; }
.service p { color: var(--ink-2); font-size: 0.97rem; }
.service--feature { background: var(--charcoal); color: var(--on-dark); border-color: transparent; }
.service--feature h3 { color: var(--white); }
.service--feature p { color: var(--on-dark-muted); }
.service--feature .service__icon { background: var(--timber); color: var(--charcoal); }
.service__tag {
  position: absolute; top: 1rem; right: 1rem;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--timber); border: 1px solid currentColor; padding: 0.25rem 0.5rem; border-radius: 999px;
}
.services__cta {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
  padding: 1.75rem 2rem;
  background: var(--timber-tint);
  border: 1px solid var(--timber-light);
  border-radius: var(--radius-lg);
}
.services__cta p { font-weight: 600; color: var(--ink); max-width: 36rem; }

/* --------------------------------------------------------------------------
   Projects / Gallery
   -------------------------------------------------------------------------- */
.projects { background: var(--charcoal); color: var(--on-dark); }
.projects .section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem; max-width: none; }
.projects .section-head > div { max-width: 46rem; }

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.project-meta li {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  color: var(--on-dark-muted);
}
.project-meta li.is-primary { background: var(--timber); color: var(--charcoal); border-color: var(--timber); }

.gallery {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 42vw;
}
@media (min-width: 700px) {
  .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 16.5vw; gap: 1rem; }
  .gallery .tile--wide { grid-column: span 2; }
  .gallery .tile--tall { grid-row: span 2; }
}
@media (min-width: 1240px) { .gallery { grid-auto-rows: 205px; } }
.tile {
  position: relative;
  display: block;
  width: 100%; height: 100%;
  padding: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--charcoal-3);
  cursor: zoom-in;
}
.tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out), filter var(--dur-slow);
}
.tile:hover img, .tile:focus-visible img { transform: scale(1.05); }
.tile__label {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2.5rem 1rem 0.9rem;
  background: linear-gradient(180deg, rgba(20,20,20,0) 0%, rgba(20,20,20,0.75) 100%);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: left;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--dur), transform var(--dur) var(--ease-out);
}
.tile:hover .tile__label, .tile:focus-visible .tile__label { opacity: 1; transform: none; }
@media (hover: none) { .tile__label { opacity: 1; transform: none; } }
.gallery--more { margin-top: 1rem; }
.gallery--more[hidden] { display: none; }
.gallery__actions { display: flex; justify-content: center; margin-top: 2rem; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: rgba(12,12,12,0.94);
  padding: 1rem;
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur), visibility 0s linear var(--dur);
}
.lightbox.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.lightbox__figure { margin: 0; max-width: min(1400px, 100%); width: 100%; }
.lightbox__figure img {
  width: 100%;
  max-height: calc(100svh - 7rem);
  object-fit: contain;
  border-radius: var(--radius);
  transform: scale(0.97);
  transition: transform var(--dur) var(--ease-out);
}
.lightbox.is-open .lightbox__figure img { transform: none; }
.lightbox__caption { text-align: center; color: var(--on-dark-muted); font-size: 0.9rem; margin-top: 0.85rem; }
.lightbox__btn {
  position: absolute;
  display: grid; place-items: center;
  width: 3rem; height: 3rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  transition: background-color var(--dur-fast);
}
.lightbox__btn:hover { background: var(--timber); color: var(--charcoal); }
.lightbox__btn svg { width: 1.35rem; height: 1.35rem; }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 0.75rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 0.75rem; top: 50%; transform: translateY(-50%); }
@media (min-width: 900px) { .lightbox__prev { left: 2rem; } .lightbox__next { right: 2rem; } }

/* --------------------------------------------------------------------------
   Process
   -------------------------------------------------------------------------- */
.process { background: var(--cream); }
.steps {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  counter-reset: step;
}
.step {
  position: relative;
  padding: 2rem 1.75rem 1.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.step__num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--timber-light);
  margin-bottom: 0.75rem;
}
.step h3 { margin-bottom: 0.4rem; }
.step p { color: var(--ink-2); font-size: 0.97rem; }

/* --------------------------------------------------------------------------
   Why choose us
   -------------------------------------------------------------------------- */
.why { background: var(--white); }
.why__grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
@media (min-width: 960px) { .why__grid { grid-template-columns: 0.9fr 1.1fr; } .why__sticky { position: sticky; top: calc(var(--header-h) + 2rem); } }
.why__image { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); margin-top: 2rem; }
.why__image img { width: 100%; height: 100%; object-fit: cover; }
.reasons { display: grid; gap: 1rem; }
@media (min-width: 640px) { .reasons { grid-template-columns: repeat(2, 1fr); } }
.reason {
  padding: 1.6rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--cream);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur);
}
.reason:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.reason svg { width: 1.75rem; height: 1.75rem; color: var(--timber-dark); margin-bottom: 0.9rem; }
.reason h3 { font-size: 1.3rem; margin-bottom: 0.35rem; }
.reason p { font-size: 0.95rem; color: var(--ink-2); }

/* --------------------------------------------------------------------------
   Areas
   -------------------------------------------------------------------------- */
.areas { background: var(--charcoal-2); color: var(--on-dark); position: relative; overflow: hidden; }
.areas::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.6), transparent 80%);
  pointer-events: none;
}
.areas .container { position: relative; }
.areas__grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}
.area {
  padding: 1.75rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
}
.area h3 { color: var(--white); display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.5rem; }
.area h3 svg { width: 1.25rem; height: 1.25rem; color: var(--timber); }
.area > p { font-size: 0.92rem; color: var(--on-dark-muted); margin-bottom: 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.chips li {
  font-size: 0.83rem;
  font-weight: 600;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  border: 1px solid transparent;
  color: var(--on-dark);
}
.areas__note { margin-top: 2rem; color: var(--on-dark-muted); font-size: 0.95rem; max-width: 52rem; }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta {
  position: relative;
  isolation: isolate;
  color: var(--white);
  background: var(--charcoal);
  overflow: hidden;
}
.cta__media { position: absolute; inset: 0; z-index: -2; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.cta::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(20,20,20,0.92) 0%, rgba(20,20,20,0.8) 55%, rgba(20,20,20,0.55) 100%);
}
.cta .container {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding-block: clamp(4rem, 8vw, 6.5rem);
}
@media (min-width: 900px) { .cta .container { grid-template-columns: 1.3fr 1fr; } .cta__actions { justify-self: end; } }
.cta h2 { color: var(--white); margin-bottom: 0.35em; }
.cta p { color: rgba(255,255,255,0.8); max-width: 34rem; font-size: 1.1rem; }
.cta__actions { display: flex; flex-direction: column; gap: 0.85rem; align-items: flex-start; }
.cta__phone {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--white);
  min-height: 3rem;
}
.cta__phone svg { width: 1.6rem; height: 1.6rem; color: var(--timber); }
.cta__phone:hover { color: var(--timber); }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact { background: var(--cream); }
.contact__grid { display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
@media (min-width: 960px) { .contact__grid { grid-template-columns: 0.85fr 1.15fr; } }

.contact__list { display: grid; gap: 1.1rem; margin-top: 2rem; }
.contact__list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact__list .ico {
  flex: none;
  width: 2.75rem; height: 2.75rem;
  display: grid; place-items: center;
  background: var(--charcoal);
  color: var(--timber);
  border-radius: var(--radius);
}
.contact__list .ico svg { width: 1.2rem; height: 1.2rem; }
.contact__list strong { display: block; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.15rem; }
.contact__list a { font-weight: 600; }
.contact__list a:hover { color: var(--timber-dark); }
.contact__list .big { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; letter-spacing: 0.03em; }

.social { display: flex; gap: 0.6rem; margin-top: 2rem; }
.social > a {
  display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  transition: background-color var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast);
}
.social > a:hover { background: var(--charcoal); color: var(--white); border-color: var(--charcoal); }
.social svg { width: 1.2rem; height: 1.2rem; }

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  box-shadow: var(--shadow-md);
}
.form-card h3 { margin-bottom: 0.35rem; }
.form-card > p { color: var(--ink-2); margin-bottom: 1.5rem; font-size: 0.97rem; }

.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; gap: 1.1rem; }
@media (min-width: 600px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.02em; }
.field label .req { color: var(--timber-dark); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 3.1rem;
  padding: 0.75rem 0.95rem;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast), background-color var(--dur-fast);
}
.field textarea { min-height: 8rem; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; padding-right: 2.5rem; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--timber);
  box-shadow: 0 0 0 3px rgba(181,134,90,0.25);
}
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #b3261e; }
.field__error { display: none; font-size: 0.82rem; color: #9a2019; font-weight: 600; }
.field.is-invalid .field__error { display: block; }
.field__hint { font-size: 0.82rem; color: var(--muted); }
.form__consent { font-size: 0.85rem; color: var(--muted); }
.form__status {
  display: none;
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
}
.form__status.is-success { display: block; background: #e6f4ea; color: #1e5631; border: 1px solid #b7dfc2; }
.form__status.is-error { display: block; background: #fdecea; color: #8a1c14; border: 1px solid #f3b9b3; }
.form__status.is-info { display: block; background: #fff8dc; color: #5c4a00; border: 1px solid #ecd67a; }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer { background: var(--charcoal); color: var(--on-dark-muted); font-size: 0.93rem; }
.footer__top {
  display: grid;
  gap: 2.5rem;
  padding-block: clamp(3.5rem, 7vw, 5.5rem) 3rem;
  border-bottom: 1px solid var(--line-dark);
}
@media (min-width: 720px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer__top { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.footer__brand img { width: 12rem; margin-bottom: 1.25rem; }
.footer__brand p { max-width: 30rem; }
.footer .footer__heading {
  font-size: 1rem;
  letter-spacing: 0.14em;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer ul { display: grid; gap: 0.45rem; }
.footer li a { display: inline-block; padding-block: 0.2rem; color: var(--on-dark-muted); transition: color var(--dur-fast); }
.footer li a:hover { color: var(--timber); }
.footer__contact li { display: flex; gap: 0.65rem; align-items: flex-start; }
.footer__contact svg { flex: none; width: 1rem; height: 1rem; color: var(--timber); margin-top: 0.3rem; }
.footer__contact a { color: var(--white); font-weight: 600; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  justify-content: space-between;
  align-items: center;
  padding-block: 1.5rem;
  font-size: 0.82rem;
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.reveal.in { opacity: 1; transform: none; }

/* Back to top */
.to-top {
  position: fixed;
  right: 1.25rem; bottom: 1.25rem;
  z-index: 80;
  width: 3rem; height: 3rem;
  display: grid; place-items: center;
  background: var(--charcoal);
  color: var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--dur), transform var(--dur) var(--ease-out), visibility 0s linear var(--dur), background-color var(--dur-fast);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.to-top:hover { background: var(--timber); color: var(--charcoal); }
.to-top svg { width: 1.2rem; height: 1.2rem; }

/* Sticky mobile call bar */
.callbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 85;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line-dark);
  border-top: 1px solid var(--line-dark);
  padding-bottom: env(safe-area-inset-bottom);
  transform: translateY(100%);
  transition: transform var(--dur) var(--ease-out);
}
.callbar.is-visible { transform: none; }
.callbar a {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3.5rem;
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.callbar a:first-child { background: var(--charcoal); color: var(--white); }
.callbar a:last-child { background: var(--timber); color: var(--charcoal); }
.callbar svg { width: 1.1rem; height: 1.1rem; }
@media (min-width: 1024px) { .callbar { display: none; } }
@media (max-width: 1023px) { .to-top { bottom: 4.75rem; } body { padding-bottom: calc(3.5rem + env(safe-area-inset-bottom)); } }

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal, .hero [data-hero] { opacity: 1; transform: none; }
  .hero__media img { transform: none; animation: none; }
  .ribbon__track { animation: none; flex-wrap: wrap; width: auto; }
  .ribbon ul:last-child { display: none; }
}

/* --------------------------------------------------------------------------
   Additions: project note, social note, 4-column areas grid
   -------------------------------------------------------------------------- */
.projects__note {
  margin-top: 2.5rem;
  padding: 1.1rem 1.35rem;
  border-left: 3px solid var(--timber);
  background: rgba(255,255,255,0.04);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--on-dark-muted);
  font-size: 0.95rem;
  max-width: 56rem;
}
.social { align-items: center; }
.social__note { font-size: 0.8rem; margin-left: 0.5rem; }
.areas__grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.gallery__actions { gap: 0.85rem; flex-wrap: wrap; }
.projects__note a { color: var(--timber); font-weight: 600; border-bottom: 1px solid transparent; }
.projects__note a:hover { border-color: var(--timber); }
.social__note { font-size: 0.88rem; color: var(--ink-2); margin-left: 0.35rem; }
.social__note a { font-weight: 700; color: var(--timber-dark); }
.social__note a:hover { text-decoration: underline; }
.footer__insta { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.25rem; font-weight: 700; color: var(--white); min-height: 2.75rem; }
.footer__insta svg { width: 1.1rem; height: 1.1rem; color: var(--timber); }
.footer__insta:hover { color: var(--timber); }
.topbar__right a { font-weight: 600; }
.social { flex-wrap: wrap; }
.social__note { flex-basis: 100%; margin: 0.35rem 0 0; }
.footer__insta + .footer__insta { margin-left: 1.25rem; }

@media (max-width: 560px) { .hero__trust li { padding: 0.85rem 0.9rem; font-size: 0.86rem; } .hero__trust small { display: none; } }

.nav a, .header__phone { white-space: nowrap; }
@media (min-width: 1024px) and (max-width: 1199px) { .header__phone { display: none; } }
