/* HAVEN — style.css */

:root {
  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.8125rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1rem + 0.6vw, 1.375rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.4rem + 2.5vw, 3rem);
  --text-3xl: clamp(2.75rem, 1.4rem + 5vw, 5rem);
  --text-hero: clamp(3rem, 1rem + 7vw, 7rem);
  --text-marquee: clamp(1.1rem, 0.8rem + 1.4vw, 1.9rem);

  /* Spacing */
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Colors */
  --color-bg: #F4F4F4;
  --color-dark: #0D0D0D;
  --color-text: #0D0D0D;
  --color-text-muted: #6b6b6b;
  --color-accent: #1e5b3a;
  --color-accent-hover: #164429;
  --color-gold: #d8b23a;
  --color-gold-deep: #b8912a;
  --color-white: #ffffff;
  --color-hairline: #d6d6d6;

  /* Fonts */
  --font-display: 'Clash Display', 'Arial Black', sans-serif;
  --font-body: 'DM Sans', 'Helvetica Neue', sans-serif;

  --maxw: 1280px;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}

section {
  position: relative;
}

.section-pad {
  padding-block: clamp(4rem, 9vw, 9rem);
}

.eyebrow {
  font-size: var(--text-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-gold-deep);
}

.section-label {
  font-size: var(--text-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: var(--space-8);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hairline {
  height: 1px;
  background: var(--color-dark);
  border: 0;
  width: 100%;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.95rem 1.8rem;
  border-radius: 999px;
  transition: all 0.25s ease;
}

.btn-ghost {
  border: 1.5px solid var(--color-dark);
  color: var(--color-dark);
  background: transparent;
  text-transform: uppercase;
}
.btn-ghost:hover {
  background: var(--color-dark);
  color: var(--color-white);
}

.btn-gold {
  border: 1.5px solid var(--color-gold);
  color: var(--color-gold-deep);
  background: transparent;
  text-transform: uppercase;
}
.btn-gold:hover {
  background: var(--color-gold);
  color: var(--color-white);
  border-color: var(--color-gold);
}

.btn-purple {
  background: var(--color-accent);
  color: var(--color-white);
  border: 1.5px solid var(--color-accent);
}
.btn-purple:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  transform: translateY(-2px);
}

.btn-purple-ghost {
  border: 1.5px solid var(--color-white);
  color: var(--color-white);
  background: transparent;
}
.btn-purple-ghost:hover {
  background: var(--color-white);
  color: var(--color-dark);
}

/* ---------- Floating pill nav ---------- */
.nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: calc(100% - 32px);
  max-width: 820px;
  background: var(--color-white);
  border-radius: 999px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.7rem 0.6rem 1.5rem;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  color: var(--color-dark);
  display: flex;
  align-items: center;
  flex-shrink: 0; /* never let the logo get compressed by the flex row */
}
.nav-logo img {
  height: 40px;
  width: auto;
  flex-shrink: 0; /* preserve intrinsic aspect ratio at all times */
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  list-style: none;
}
.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-dark);
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--color-accent);
}

.nav-cta {
  background: var(--color-accent);
  color: var(--color-white);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.6rem;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-burger span {
  width: 22px;
  height: 2px;
  background: var(--color-dark);
  display: block;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: var(--space-16);
}
.hero-grid {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  width: 100%;
}
.hero h1 {
  font-size: clamp(2.6rem, 1rem + 5vw, 5rem);
  line-height: 0.98;
  margin: var(--space-6) 0;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}
.hero-body {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 44ch;
  margin-bottom: var(--space-8);
}
.hero-carousel {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.18);
  background: #ddd;
}
.hero-carousel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-carousel img.active {
  opacity: 1;
}
.carousel-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.carousel-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transition: background 0.3s, width 0.3s;
}
.carousel-dots span.active {
  background: #fff;
  width: 24px;
  border-radius: 999px;
}

/* ---------- Centered approach section ---------- */
.approach {
  text-align: center;
}
.approach .inner {
  max-width: 800px;
  margin-inline: auto;
  padding-block: clamp(3rem, 6vw, 5rem);
}
.approach h2 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-6);
}
.approach p {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-inline: auto;
  margin-bottom: var(--space-8);
  max-width: 60ch;
}

/* ---------- Trusted split ---------- */
.trusted-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.trusted-grid h2 {
  font-size: var(--text-3xl);
  line-height: 1;
}
.trusted-grid .sub {
  margin-top: var(--space-6);
  font-size: var(--text-lg);
  color: var(--color-text-muted);
}
.logo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--color-hairline);
  border: 1px solid var(--color-hairline);
}
.logo-grid div {
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(1.2rem, 2.5vw, 2rem) 0.75rem;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-dark);
  min-height: 90px;
}

/* ---------- Featured listings ---------- */
.work-pair {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.work-pair.left-large {
  grid-template-columns: 1.6fr 1fr;
}
.work-pair.right-large {
  grid-template-columns: 1fr 1.6fr;
}
.work-card {
  display: block;
  overflow: hidden;
}
.work-card .img-wrap {
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 3 / 2;
}
.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.work-card:hover img {
  transform: scale(1.05);
}
.work-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: var(--space-4);
  gap: 1rem;
  border-top: 1px solid var(--color-dark);
  padding-top: var(--space-3);
}
.work-meta .addr {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  letter-spacing: -0.01em;
}
.work-meta .type {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-align: right;
  white-space: nowrap;
}

/* ---------- Accordion ---------- */
.acc-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: var(--space-12);
}
.acc-header h2 {
  font-size: var(--text-2xl);
  max-width: 14ch;
}
.acc-header a {
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1.5px solid var(--color-dark);
  padding-bottom: 3px;
}
.accordion {
  border-top: 1px solid var(--color-dark);
}
.acc-item {
  border-bottom: 1px solid var(--color-dark);
}
.acc-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: clamp(1.25rem, 2.5vw, 1.75rem) 0;
  text-align: left;
}
.acc-trigger .num {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  width: 3ch;
  flex-shrink: 0;
}
.acc-trigger .title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 2.5vw, 1.9rem);
  letter-spacing: -0.01em;
  flex: 1;
}
.acc-trigger .icon {
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--color-accent);
  transition: transform 0.3s;
  flex-shrink: 0;
}
.acc-item.open .acc-trigger .icon {
  transform: rotate(45deg);
}
.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.acc-body p {
  padding: 0 0 var(--space-6) calc(3ch + 1rem);
  color: var(--color-text-muted);
  font-size: var(--text-lg);
  max-width: 60ch;
}
.acc-item.open .acc-body {
  max-height: 200px;
}

/* ---------- Big text marquee ---------- */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  padding-block: clamp(2rem, 4vw, 3.5rem);
  border-top: 1px solid var(--color-hairline);
  border-bottom: 1px solid var(--color-hairline);
}
.marquee-track {
  display: inline-flex;
  white-space: nowrap;
  will-change: transform;
  animation: scroll-x 34s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-marquee);
  letter-spacing: -0.02em;
  padding-right: 0.4em;
  color: var(--color-accent);
}
@keyframes scroll-x {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Stats ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  text-align: center;
}
.stat .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-3xl);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat .label {
  margin-top: var(--space-3);
  font-size: var(--text-base);
  color: var(--color-text-muted);
}

/* ---------- Dark section ---------- */
.dark {
  background: var(--color-dark);
  color: var(--color-white);
}
.dark-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.dark .eyebrow {
  color: #9a9a9a;
}
.dark h2 {
  font-size: var(--text-2xl);
  margin: var(--space-6) 0;
  color: #fff;
}
.dark p {
  color: #b8b8b8;
  font-size: var(--text-lg);
  max-width: 46ch;
  margin-bottom: var(--space-10);
}
/* laptop mockup */
.laptop {
  width: 100%;
  position: relative;
}
.laptop-screen {
  background: #1c1c1c;
  border: 2px solid #2e2e2e;
  border-radius: 16px 16px 0 0;
  padding: 14px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.5);
}
.laptop-ui {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  padding: 18px;
  display: flex;
  flex-direction: column;
}
.laptop-base {
  height: 14px;
  background: #2e2e2e;
  border-radius: 0 0 14px 14px;
  width: 112%;
  margin-left: -6%;
}
.ui-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}
.ui-bar i {
  width: 9px; height: 9px; border-radius: 50%; background: #e0e0e0; display: block;
}
.ui-listing {
  flex: 1;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.ui-photo {
  background: linear-gradient(135deg, #5C2D91, #8b5cc4);
  flex: 1.4;
  position: relative;
}
.ui-photo .price {
  position: absolute;
  bottom: 10px; left: 12px;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
}
.ui-info {
  flex: 1;
  padding: 12px 14px;
  color: #0D0D0D;
}
.ui-info .ui-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}
.ui-info .ui-sub {
  font-size: 0.75rem;
  color: #888;
  margin-top: 3px;
}
.ui-tags {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}
.ui-tags span {
  font-size: 0.65rem;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(92,45,145,0.1);
  color: #5C2D91;
  font-weight: 600;
}

/* ---------- Testimonials ---------- */
.t-head {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-12);
  max-width: 16ch;
}
.t-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.t-card {
  background: #fff;
  border-radius: 16px;
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
}
.t-card img {
  width: 64px; height: 64px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: var(--space-6);
}
.t-card .quote {
  font-size: var(--text-lg);
  line-height: 1.4;
  flex: 1;
}
.t-card .who {
  margin-top: var(--space-6);
  font-size: var(--text-sm);
  font-weight: 600;
}
.t-card .who span {
  display: block;
  color: var(--color-text-muted);
  font-weight: 400;
}

/* ---------- Blog ---------- */
.blog-head {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-12);
  max-width: 16ch;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.blog-card .img-wrap {
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 16 / 10;
  margin-bottom: var(--space-4);
}
.blog-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.blog-card:hover img { transform: scale(1.05); }
.blog-card h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
}
.blog-card .excerpt {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}
.blog-card .cta {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-accent);
}

/* ---------- Team ---------- */
.team-head {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-12);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.team-card {
  text-align: center;
}
.team-card img {
  width: 100%;
  max-width: 240px;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto var(--space-4);
}
.team-card .name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
}
.team-card .role {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ---------- Client marquee (text) ---------- */
.client-marquee {
  text-align: center;
}
.client-marquee .label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: var(--space-10);
}
.cm-track {
  display: inline-flex;
  white-space: nowrap;
  animation: scroll-x 28s linear infinite;
}
.cm-track span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  letter-spacing: 0.02em;
  padding-right: 1.5em;
  color: var(--color-dark);
}
.cm-track span.dot { color: var(--color-accent); }

/* ---------- Pre-footer CTA ---------- */
.prefooter {
  text-align: center;
}
.prefooter h2 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-10);
  max-width: 18ch;
  margin-inline: auto;
}
.prefooter .ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--color-hairline);
  padding-block: var(--space-20) var(--space-12);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: var(--space-16);
}
.footer .brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: -0.03em;
}
.footer .brand img { height: 64px; width: auto; display: block; margin-bottom: var(--space-4); }
.footer .brand-tag { font-family: var(--font-body); font-size: var(--text-sm); color: var(--color-text-muted); max-width: 30ch; }

/* ---------- Owner feature ---------- */
.owner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.owner-photo img {
  width: 100%;
  border-radius: 14px;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  display: block;
}
.owner-copy .eyebrow { margin-bottom: var(--space-4); }
.owner-copy h2 { font-size: var(--text-3xl); margin-bottom: var(--space-6); }
.owner-copy .owner-name { font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); }
.owner-copy .owner-role { font-size: var(--text-sm); color: var(--color-gold-deep); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-top: var(--space-1); }
@media (max-width: 760px) { .owner-grid { grid-template-columns: 1fr; } }
.footer h4 {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}
.footer ul { list-style: none; }
.footer li { margin-bottom: var(--space-2); font-size: var(--text-base); }
.footer a:hover { color: var(--color-accent); }
.footer-bottom {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-hairline);
  padding-top: var(--space-6);
}

/* ---------- Floating contact pill ---------- */
.float-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  background: var(--color-accent);
  color: #fff;
  font-weight: 600;
  font-size: var(--text-sm);
  padding: 1rem 1.6rem;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(92,45,145,0.4);
  transition: transform 0.25s, background 0.25s;
}
.float-cta:hover {
  transform: translateY(-3px);
  background: var(--color-accent-hover);
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid,
  .trusted-grid,
  .dark-grid {
    grid-template-columns: 1fr;
  }
  .work-pair.left-large,
  .work-pair.right-large {
    grid-template-columns: 1fr;
  }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
  .t-grid, .blog-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  .nav {
    /* Full-width bar on mobile so the collapsible menu spans it cleanly */
    width: calc(100% - 24px);
    max-width: 520px;
    padding: 0.5rem 0.6rem 0.5rem 1.1rem;
    gap: 0.75rem;
  }
  .nav-logo img { height: 44px; }
  /* Center the green CTA in the space between the logo and the menu button */
  .nav-right {
    flex: 1;
    justify-content: center;
    position: relative;
    padding-right: 44px; /* reserve room for the absolutely-positioned menu button so the CTA centers cleanly */
  }
  .nav-right .nav-inline-cta { margin: 0 auto; }
  .nav-right .nav-burger {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }
  /* Center the hero gold CTA when the layout stacks on mobile */
  .hero-grid .btn-gold {
    display: flex;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }
  /* Keep the green CTA visible in the collapsed bar */
  .nav-inline-cta {
    display: inline-flex;
    padding: 0.6rem 1.1rem;
    font-size: var(--text-sm);
    white-space: nowrap;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-radius: 20px;
    padding: 0.5rem 0.75rem 0.75rem;
    box-shadow: 0 16px 40px rgba(0,0,0,0.16);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links li a {
    display: block;
    padding: 0.85rem 0.75rem;
    font-size: var(--text-base);
    border-radius: 12px;
  }
  .nav-links li a:hover { background: var(--color-bg); }
  .nav-links li + li { border-top: 1px solid var(--color-hairline); }
  .nav-burger { display: flex; }
  .hero { padding-top: 120px; }
}

@media (max-width: 420px) {
  .nav { gap: 0.55rem; padding: 0.45rem 0.5rem 0.45rem 0.9rem; }
  .nav-logo img { height: 38px; }
  .nav-inline-cta { padding: 0.55rem 0.85rem; font-size: 0.8rem; }
  .nav-burger { padding: 0.5rem 0.4rem; }
}

@media (max-width: 560px) {
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .float-cta { bottom: 16px; right: 16px; padding: 0.85rem 1.2rem; }
  .acc-trigger .num { display: none; }
  .acc-body p { padding-left: 0; }
}

/* ============================================================
   Western HOA — customizations (added)
   ============================================================ */

/* Anchor scroll offset so nav links land right at each section heading.
   Invisible .scroll-anchor spans sit at heading level (inside the section's
   top padding), so clicking a nav link lands the heading ~25px under the
   fixed nav (nav bottom ~87px + gap) without changing the section's padding. */
.scroll-anchor {
  display: block;
  height: 0;
  width: 0;
  margin: 0;
  padding: 0;
  scroll-margin-top: 112px;
  pointer-events: none;
  visibility: hidden;
}
/* Keep the zero-size anchor out of grid/flex flow so it never adds a phantom cell */
.owner-grid > .scroll-anchor,
.contact-grid > .scroll-anchor {
  position: absolute;
  top: 0;
  left: 0;
}
.owner-grid, .contact-grid { position: relative; }
#top {
  scroll-margin-top: 0;
}

/* ---------- Services: forest-green section ---------- */
.services-section {
  background: var(--color-accent);
  color: #fff;
}
.services-section .acc-header h2 { color: #fff; }
.services-section .services-request {
  color: var(--color-gold);
  border-bottom-color: var(--color-gold);
}
.services-section .services-request:hover { color: #fff; border-bottom-color: #fff; }
.services-section .accordion {
  border-top-color: rgba(255, 255, 255, 0.28);
}
.services-section .acc-item {
  border-bottom-color: rgba(255, 255, 255, 0.28);
}
.services-section .acc-trigger .num { color: var(--color-gold); }
.services-section .acc-trigger .title { color: #fff; }
.services-section .acc-trigger .icon { color: var(--color-gold); }
.services-section .acc-body p { color: rgba(255, 255, 255, 0.85); }

/* ---------- Process: forest-green before/during section ---------- */
.process-section {
  background: var(--color-accent);
  color: #fff;
}
.process-head {
  max-width: 60ch;
  margin-bottom: var(--space-16);
}
.process-head .eyebrow { color: var(--color-gold); }
.process-head h2 {
  color: #fff;
  font-size: var(--text-2xl);
  line-height: 1.05;
  margin: var(--space-3) 0 var(--space-6);
}
.process-lede {
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--text-lg);
  line-height: 1.55;
  max-width: 54ch;
}

/* ----- Process transformation timeline ----- */
.process-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.85rem, 1.6vw, 1.5rem);
  align-items: center;
}
.tl-step {
  position: relative;
}
/* connector arrow between steps */
.tl-step + .tl-step::before {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(-1 * clamp(0.85rem, 1.6vw, 1.5rem) / 2);
  transform: translate(-50%, -50%);
  width: 22px;
  height: 22px;
  z-index: 3;
  border-radius: 999px;
  background: var(--color-gold)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316281c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E")
    center / 13px no-repeat;
  box-shadow: 0 0 0 4px var(--color-accent);
}
.tl-shot {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.tl-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 20, 15, 0.32), transparent 42%);
  pointer-events: none;
}
.tl-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.tl-step:hover .tl-shot {
  transform: translateY(-5px);
  border-color: rgba(216, 178, 58, 0.6);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.36);
}
.tl-step:hover .tl-shot img { transform: scale(1.05); }
.tl-tag {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  z-index: 2;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.34rem 0.66rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.tag-before {
  background: rgba(16, 24, 20, 0.72);
  color: rgba(255, 255, 255, 0.92);
}
.tag-during {
  background: var(--color-accent);
  color: #fff;
}
.tag-after {
  background: var(--color-gold);
  color: #16281c;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
}

.process-cta {
  margin-top: var(--space-16);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
  text-align: center;
}
.process-cta p {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xl);
  color: #fff;
  max-width: 22ch;
  line-height: 1.15;
}
.btn-process-cta {
  background: var(--color-gold);
  color: #16281c;
  border: 1.5px solid var(--color-gold);
  text-transform: uppercase;
  font-weight: 700;
}
.btn-process-cta:hover {
  background: #fff;
  color: var(--color-accent);
  border-color: #fff;
  transform: translateY(-1px);
}

@media (max-width: 860px) {
  .process-timeline { grid-template-columns: 1fr 1fr; gap: clamp(1rem, 3vw, 1.4rem); }
  /* only keep arrows between horizontally-adjacent pairs (1->2, 3->4) */
  .tl-step:nth-child(3)::before { display: none; }
}
@media (max-width: 460px) {
  .process-timeline { grid-template-columns: 1fr; max-width: 400px; margin-inline: auto; }
  .tl-step + .tl-step::before { display: none; }
}

/* ---------- Contact / inquiry form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.contact-intro h2 {
  font-size: var(--text-3xl);
  margin: var(--space-3) 0 var(--space-6);
  max-width: 16ch;
}
.contact-lede {
  color: var(--color-text-muted);
  font-size: var(--text-lg);
  max-width: 42ch;
  margin-bottom: var(--space-8);
}
/* ----- Contact action buttons ----- */
.contact-methods { display: flex; flex-direction: column; gap: var(--space-3); align-items: flex-start; }
.contact-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}
.contact-btn svg { width: 20px; height: 20px; flex: none; }
.btn-card {
  background: #fff;
  color: var(--color-accent);
  border: 1.5px solid var(--color-accent);
}
.btn-card:hover { background: var(--color-accent); color: #fff; transform: translateY(-1px); }
.contact-details { margin-top: var(--space-4); }
.contact-line { font-size: var(--text-base); color: var(--color-text-muted); margin-bottom: var(--space-2); }
.contact-line a { color: var(--color-dark); font-weight: 500; }
.contact-line a:hover { color: var(--color-accent); }

/* ----- Inquiry form: optional photo upload ----- */
.file-drop {
  /* override inherited .inquiry-form label styles */
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0;
  padding: 0.9rem 1rem;
  border: 1.5px dashed #cdd3cc;
  border-radius: 12px;
  background: #fbfcfb;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s, color 0.18s;
}
.file-drop:hover {
  border-color: var(--color-accent);
  background: rgba(30, 91, 58, 0.04);
  color: var(--color-dark);
}
.file-drop svg { width: 22px; height: 22px; flex: none; color: var(--color-accent); }
.file-drop-text strong { font-weight: 700; color: var(--color-dark); }
.file-list { list-style: none; margin: 0.6rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.45rem; }
.file-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.65rem;
  border: 1px solid #e2e5e1;
  border-radius: 10px;
  background: #f6f8f6;
  font-size: var(--text-sm);
  color: var(--color-dark);
}
.file-list .file-thumb { width: 34px; height: 34px; border-radius: 7px; object-fit: cover; flex: none; }
.file-list .file-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list .file-remove {
  flex: none;
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.25rem;
  transition: color 0.15s;
}
.file-list .file-remove:hover { color: #b23a3a; }
.file-hint { margin-top: 0.5rem; font-size: var(--text-xs); }
.file-hint.err { color: #b23a3a; }

/* ============================================================
   Inquiry form — premium styling
   ============================================================ */
.inquiry-form {
  position: relative;
  background: #fff;
  border: 1px solid var(--color-hairline);
  border-radius: 22px;
  padding: clamp(1.6rem, 3vw, 2.6rem);
  box-shadow: 0 1px 2px rgba(16, 24, 20, 0.04), 0 30px 60px -24px rgba(16, 40, 28, 0.22);
}
/* subtle gold top accent */
.inquiry-form::before {
  content: "";
  position: absolute;
  top: 0; left: clamp(1.6rem, 3vw, 2.6rem); right: clamp(1.6rem, 3vw, 2.6rem);
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-gold));
}
.form-head { margin-bottom: var(--space-6); }
.form-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-dark);
}
.form-sub { font-size: var(--text-sm); color: var(--color-text-muted); margin-top: 2px; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
.inquiry-form .field { margin-bottom: var(--space-5); }
.inquiry-form .field-row .field { margin-bottom: var(--space-5); }
.inquiry-form label {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.55rem;
}
.inquiry-form .req { color: var(--color-gold-deep, #a5811a); font-weight: 700; }
.inquiry-form .opt { color: var(--color-text-muted); font-weight: 400; text-transform: none; letter-spacing: 0; font-style: italic; }

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid #e2e5e1;
  border-radius: 12px;
  background: #fbfcfb;
  font-family: inherit;
  font-size: var(--text-base);
  color: var(--color-dark);
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
}
.inquiry-form input::placeholder,
.inquiry-form textarea::placeholder { color: #9aa39c; }
.inquiry-form input:hover,
.inquiry-form select:hover,
.inquiry-form textarea:hover { border-color: #cdd3cc; }
.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(30, 91, 58, 0.12);
}
.inquiry-form textarea { resize: vertical; min-height: 120px; line-height: 1.55; }

/* custom select with chevron */
.select-wrap { position: relative; }
.inquiry-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 2.6rem;
  cursor: pointer;
}
.select-chevron {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  color: var(--color-accent);
  pointer-events: none;
}

.char-count { text-align: right; font-size: var(--text-xs); color: #9aa39c; margin-top: 6px; }

.form-submit {
  width: 100%;
  margin-top: var(--space-3);
  justify-content: center;
  gap: 0.5rem;
  font-size: var(--text-base);
  padding-top: 0.95rem;
  padding-bottom: 0.95rem;
  box-shadow: 0 10px 24px -8px rgba(30, 91, 58, 0.5);
}
.form-submit .btn-arrow { width: 18px; height: 18px; transition: transform 0.2s; }
.form-submit:hover .btn-arrow { transform: translateX(3px); }
.form-submit[disabled] { opacity: 0.65; cursor: default; box-shadow: none; }

.form-note { margin-top: var(--space-3); font-size: var(--text-xs); color: #9aa39c; text-align: center; }
.form-status { margin-top: var(--space-3); font-size: var(--text-sm); min-height: 1.2em; text-align: center; }
.form-status.ok { color: var(--color-accent); font-weight: 600; }
.form-status.err { color: #c0392b; font-weight: 600; }
.inquiry-form input.invalid,
.inquiry-form select.invalid,
.inquiry-form textarea.invalid {
  border-color: #c0392b;
  box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.1);
}

@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .field-row { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- Single static hero image ---------- */
.hero-single {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.18);
  background: #ddd;
}
.hero-single img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Footer credit link ---------- */
.footer-bottom a {
  color: var(--color-gold-deep);
  font-weight: 600;
  transition: color 0.2s;
}
.footer-bottom a:hover { color: var(--color-gold); }

/* ---------- Success modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(13, 13, 13, 0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}
.modal-overlay.open { opacity: 1; visibility: visible; }

.modal-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: var(--color-white);
  border-radius: 24px;
  padding: 3rem 2.25rem 2.5rem;
  text-align: center;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.3);
  border-top: 6px solid var(--color-accent);
  transform: translateY(18px) scale(0.97);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
.modal-overlay.open .modal-card { transform: translateY(0) scale(1); }

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  border-radius: 50%;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.modal-close:hover { background: var(--color-bg); color: var(--color-dark); }
.modal-close svg { width: 20px; height: 20px; }

.modal-badge {
  width: 68px;
  height: 68px;
  margin: 0 auto 1.4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30, 91, 58, 0.1);
  color: var(--color-accent);
  border: 2px solid rgba(30, 91, 58, 0.25);
}
.modal-badge svg { width: 34px; height: 34px; }

.modal-eyebrow {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold-deep);
  margin: 0 0 0.5rem;
}
.modal-title {
  font-family: var(--font-display);
  font-size: 1.9rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-dark);
  margin: 0 0 0.75rem;
}
.modal-text {
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text-muted);
  margin: 0 0 1.75rem;
}
.modal-ok {
  width: 100%;
  justify-content: center;
}
@media (max-width: 460px) {
  .modal-card { padding: 2.5rem 1.5rem 2rem; border-radius: 20px; }
  .modal-title { font-size: 1.65rem; }
}
