/* =============================================
   OLEK — Header & Hero
   ============================================= */

/* ---- Design Tokens ---- */
:root {
  /* Colors */
  --color-bg:             #FDFCFA;
  --color-bg-cream:       #F8F5EF;
  --color-bg-dark:        #2B2820;

  --color-text:           #2A2721;
  --color-text-body:      #6B655A;
  --color-text-light:     #9E9789;
  --color-text-inverse:   #F5F0E8;

  --color-gold:           #82774B;
  --color-gold-hover:     #6E6540;
  --color-gold-light:     #A09255;
  --color-border:         #E5E0D7;
  --color-border-light:   #EDEAD4;

  /* Typography */
  --ff-serif:   'Cormorant Garamond', Georgia, serif;
  --ff-sans:    'Inter', 'Helvetica Neue', Arial, sans-serif;

  --fs-11:      0.6875rem;    /* 11px */
  --fs-12:      0.75rem;      /* 12px */
  --fs-13:      0.8125rem;    /* 13px */
  --fs-14:      0.875rem;     /* 14px */
  --fs-15:      0.9375rem;    /* 15px */
  --fs-16:      1rem;         /* 16px */
  --fs-17:      1.0625rem;    /* 17px */
  --fs-18:      1.125rem;     /* 18px */
  --fs-20:      1.25rem;      /* 20px */
  --fs-24:      1.5rem;       /* 24px */
  --fs-28:      1.75rem;      /* 28px */
  --fs-32:      2rem;         /* 32px */
  --fs-36:      2.25rem;      /* 36px */
  --fs-40:      2.5rem;       /* 40px */
  --fs-44:      2.75rem;      /* 44px */
  --fs-48:      3rem;         /* 48px */
  --fs-60:      3.75rem;      /* 60px */
  --fs-72:      4.5rem;       /* 72px */

  --fw-light:     300;
  --fw-regular:   400;
  --fw-medium:    500;
  --fw-semibold:  600;

  --lh-tight:     1.05;
  --lh-snug:      1.2;
  --lh-normal:    1.6;

  --ls-wide:      0.09em;
  --ls-wider:     0.16em;
  --ls-widest:    0.24em;

  /* Spacing — premium scale */
  --sp-4:    0.25rem;   /* 4px */
  --sp-8:    0.5rem;    /* 8px */
  --sp-12:   0.75rem;   /* 12px */
  --sp-18:   1.125rem;  /* 18px */
  --sp-16:   1rem;      /* 16px */
  --sp-20:   1.25rem;   /* 20px */
  --sp-24:   1.5rem;    /* 24px */
  --sp-28:   1.75rem;   /* 28px */
  --sp-32:   2rem;      /* 32px */
  --sp-40:   2.5rem;    /* 40px */
  --sp-48:   3rem;      /* 48px */
  --sp-56:   3.5rem;    /* 56px */
  --sp-64:   4rem;      /* 64px */
  --sp-80:   5rem;      /* 80px */
  --sp-88:   5.5rem;    /* 88px */
  --sp-96:   6rem;      /* 96px */
  --sp-120:  7.5rem;    /* 120px */

  /* Layout */
  --container-max:   1440px;
  --container-pad:   clamp(var(--sp-20), 4vw, var(--sp-40));
  --header-height:   72px;

  /* Transitions */
  --ease-out:  cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --duration:  0.2s;
}


/* ---- Reset ---- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body {
  font-family: var(--ff-sans);
  font-size: var(--fs-15);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  color: var(--color-text);
  background: var(--color-bg);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

address { font-style: normal; }
ul, ol  { list-style: none; }

[id] {
  scroll-margin-top: 100px;
}

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

.container.container--padded {
  padding-left: var(--sp-48);
}

@media (max-width: 1440px) {
  .container {
    padding-inline: var(--container-pad);
  }

  .container.container--padded {
    padding-left: max(var(--sp-48), var(--container-pad));
  }
}


/* =============================================
   TRUST BAR
   ============================================= */
.trust-bar {
  background: var(--color-bg-dark);
  color: rgba(245, 240, 232, 0.7);
  font-family: var(--ff-sans);
  font-size: var(--fs-11);
  letter-spacing: var(--ls-wide);
  line-height: 1;
}

.trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-16);
  height: 38px;
}

.trust-bar__label {
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--ls-widest);
  color: rgba(245, 240, 232, 0.4);
  font-size: 9px;
}

.trust-bar__sep {
  width: 1px;
  height: 14px;
  background: rgba(245, 240, 232, 0.15);
  flex-shrink: 0;
}

.trust-bar__item {
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  color: rgba(245, 240, 232, 0.6);
}

.trust-bar__item--badge {
  border: 1px solid rgba(245, 240, 232, 0.15);
  padding: 2px 8px;
  font-size: 9px;
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-widest);
}

.trust-bar__logo {
  height: 14px;
  width: auto;
  display: block;
  color: rgba(245, 240, 232, 0.6);
}

.trust-bar__rating {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  color: rgba(245, 240, 232, 0.6);
}

.trust-bar__stars {
  color: var(--color-gold-light);
  font-size: var(--fs-12);
  letter-spacing: 1px;
}

.trust-bar__rating strong {
  font-weight: var(--fw-semibold);
  color: rgba(245, 240, 232, 0.85);
}

.trust-bar__rating small {
  font-size: 9px;
  color: rgba(245, 240, 232, 0.4);
}


/* =============================================
   SITE HEADER
   ============================================= */
.site-header {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: var(--sp-24);
}

/* ---- Logo ---- */
.site-header__logo {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1;
}

.logo-mark {
  font-family: var(--ff-serif);
  font-size: var(--fs-28);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.35em;
  color: var(--color-text);
  text-transform: uppercase;
}

.logo-sub {
  font-family: var(--ff-sans);
  font-size: var(--fs-11);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-widest);
  color: var(--color-text-light);
  text-transform: uppercase;
}

/* ---- Main Nav ---- */
.site-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: var(--sp-32);
}

.site-nav__link {
  font-size: var(--fs-13);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--color-text);
  padding-block: var(--sp-4);
  position: relative;
  transition: color var(--duration) var(--ease-out);
}

.site-nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--color-gold);
  transition: width 0.3s var(--ease-out);
}

.site-nav__link:hover {
  color: var(--color-gold);
}

.site-nav__link:hover::after {
  width: 100%;
}

/* ---- Nav Dropdowns ---- */
.site-nav__item {
  position: relative;
}

.site-nav__dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  box-shadow: 0 8px 32px rgba(42, 39, 33, 0.08);
  padding: var(--sp-12) 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease-out), visibility 0.25s;
  z-index: 110;
  margin-top: var(--sp-8);
}

.site-nav__dropdown::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}

.site-nav__item:hover .site-nav__dropdown,
.site-nav__item:focus-within .site-nav__dropdown {
  opacity: 1;
  visibility: visible;
}

.site-nav__dropdown li {
  padding: 0;
}

.site-nav__dropdown a {
  display: block;
  padding: 8px 20px;
  font-size: var(--fs-13);
  font-weight: var(--fw-regular);
  color: var(--color-text-body);
  letter-spacing: 0.02em;
  text-transform: none;
  transition: color var(--duration) var(--ease-out), background var(--duration) var(--ease-out);
  white-space: nowrap;
}

.site-nav__dropdown a:hover {
  color: var(--color-gold);
  background: var(--color-bg-cream);
}

/* Dropdown arrow indicator on parent link */
.has-dropdown > .site-nav__link::after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-right: 1.2px solid currentColor;
  border-bottom: 1.2px solid currentColor;
  transform: rotate(45deg);
  margin-left: 5px;
  margin-bottom: 2px;
  transition: transform 0.2s var(--ease-out);
}

.has-dropdown:hover > .site-nav__link::after {
  transform: rotate(-135deg);
}

/* ---- Header actions ---- */
.site-header__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-24);
  flex-shrink: 0;
}

.site-header__phone {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  font-size: var(--fs-14);
  font-weight: var(--fw-medium);
  color: var(--color-text);
  transition: color var(--duration) var(--ease-out);
}

.site-header__phone:hover {
  color: var(--color-gold);
}

.site-header__phone svg {
  flex-shrink: 0;
}


/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-8);
  font-family: var(--ff-sans);
  font-size: var(--fs-13);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  line-height: 1;
  padding: 15px 28px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition:
    background var(--duration) var(--ease-out),
    color var(--duration) var(--ease-out),
    border-color var(--duration) var(--ease-out);
}

/* Primary — dark filled */
.btn--primary {
  background: var(--color-bg-dark);
  color: var(--color-text-inverse);
  border-color: var(--color-bg-dark);
}

.btn--primary:hover {
  background: var(--color-text);
  border-color: var(--color-text);
}

/* Primary with arrow */
.btn--arrow::after {
  content: '\2192';
  font-size: var(--fs-14);
  margin-left: var(--sp-4);
}

/* Outline — dark border on light background */
.btn--outline {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-text);
}

.btn--outline:hover {
  background: var(--color-text);
  color: var(--color-bg);
  border-color: var(--color-text);
}


/* =============================================
   HERO
   ============================================= */
.hero {
  display: grid;
  grid-template-columns: 48fr 52fr;
  background: var(--color-bg-cream);
}

/* ---- Text column ---- */
.hero__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--sp-64) var(--sp-48) var(--sp-48);
  padding-left: max(var(--container-pad), calc((100vw - var(--container-max)) / 2 + var(--container-pad)));
  max-width: none;
}

.hero__tagline {
  font-family: var(--ff-sans);
  font-size: var(--fs-11);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: var(--sp-24);
}

.hero__heading {
  font-family: var(--ff-serif);
  font-size: clamp(var(--fs-36), 4vw, var(--fs-60));
  font-weight: var(--fw-regular);
  line-height: var(--lh-tight);
  letter-spacing: 0.01em;
  color: var(--color-text);
  margin-bottom: var(--sp-24);
}

.hero__body {
  font-size: var(--fs-16);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  color: var(--color-text-body);
  max-width: 480px;
  margin-bottom: var(--sp-40);
}

/* CTA label */
.hero__cta-label {
  font-family: var(--ff-serif);
  font-size: var(--fs-18);
  font-weight: var(--fw-regular);
  font-style: italic;
  color: var(--color-text-body);
  margin-bottom: var(--sp-12);
}

/* CTA pair */
.hero__ctas {
  display: flex;
  align-items: center;
  gap: var(--sp-12);
  flex-wrap: nowrap;
}

/* ---- Proof stats inline ---- */
.hero__proof {
  display: flex;
  align-items: center;
  gap: var(--sp-20);
  padding-top: var(--sp-32);
}

.hero__stat {
  font-family: var(--ff-sans);
  font-size: var(--fs-13);
  color: var(--color-text-body);
  letter-spacing: 0.02em;
}

.hero__stat strong {
  font-family: var(--ff-serif);
  font-size: var(--fs-24);
  font-weight: var(--fw-regular);
  color: var(--color-text);
  letter-spacing: 0.01em;
}

.hero__stat-sep {
  width: 1px;
  height: 24px;
  background: var(--color-border);
  flex-shrink: 0;
}

/* ---- Press logos ---- */
.hero__press {
  padding-top: var(--sp-48);
}

.hero__press-label {
  font-size: var(--fs-11);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: var(--sp-20);
}

.hero__press-logos {
  display: flex;
  align-items: center;
  gap: var(--sp-40);
}

.hero__press-logo {
  height: 36px;
  width: auto;
  opacity: 0.75;
  transition: opacity var(--duration) var(--ease-out);
}

.hero__press-logo:hover {
  opacity: 1;
}

.hero__press-logo--luxe {
  height: 38px;
}

.hero__press-logo--veranda {
  height: 26px;
}

/* ---- Image column ---- */
.hero__media {
  position: relative;
  overflow: hidden;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}


/* =============================================
   STATS
   ============================================= */
.stats {
  background: var(--color-bg);
  padding-block: var(--sp-40);
  border-bottom: 1px solid var(--color-border);
}

.stats__list {
  display: flex;
  align-items: center;
  justify-content: center;
}

.stats__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-12);
  padding-block: var(--sp-12);
  text-align: center;
  position: relative;
}

/* Vertical dividers */
.stats__item + .stats__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 48px;
  background: var(--color-border);
}

.stats__icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  color: var(--color-gold);
  stroke-width: 1.2;
}

.stats__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.stats__value {
  font-family: var(--ff-serif);
  font-size: var(--fs-28);
  font-weight: var(--fw-regular);
  line-height: var(--lh-tight);
  letter-spacing: 0.01em;
  color: var(--color-text);
}

.stats__value--text {
  font-family: var(--ff-sans);
  font-size: var(--fs-13);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
}

.stats__label {
  font-family: var(--ff-sans);
  font-size: var(--fs-11);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--color-text-body);
  line-height: 1.35;
}


/* =============================================
   SERVICE CARDS
   ============================================= */
.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;
}

.services {
  background: var(--color-bg-cream);
  padding: var(--sp-24) 0 var(--sp-40);
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
}

.service-card--wide {
  grid-column: 1 / -1;
  min-height: 220px;
}

.service-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  min-height: 280px;
  display: flex;
  align-items: flex-start;
}

.service-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.service-card__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      100deg,
      rgba(247, 243, 236, 0.88) 0%,
      rgba(247, 243, 236, 0.65) 30%,
      rgba(247, 243, 236, 0.18) 50%,
      transparent 65%
    );
}

.service-card__content {
  position: relative;
  z-index: 1;
  padding: var(--sp-28) var(--sp-32);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 50%;
}

.service-card__icon {
  width: 26px;
  height: 26px;
  color: var(--color-text);
  stroke-width: 1.2;
  margin-bottom: var(--sp-12);
}

.service-card__title {
  font-family: var(--ff-sans);
  font-size: var(--fs-16);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: var(--sp-8);
}

.service-card__body {
  font-size: var(--fs-14);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  color: var(--color-text-body);
}

/* Small outline button with arrow */
.btn--outline-dark {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-text);
  padding: 11px 22px;
  font-size: var(--fs-12);
  margin-top: var(--sp-20);
}

.btn--outline-dark:hover {
  background: var(--color-text);
  color: var(--color-bg);
  border-color: var(--color-text);
}

.btn--arrow-sm::after {
  content: '\2192';
  font-size: var(--fs-13);
  margin-left: var(--sp-8);
}


/* =============================================
   SHARED — Section Heading
   ============================================= */
.section-heading {
  font-family: var(--ff-sans);
  font-size: var(--fs-13);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  text-align: center;
  color: var(--color-text);
  margin-bottom: var(--sp-48);
  position: relative;
  padding-bottom: var(--sp-18);
}

.section-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 2px;
  background: var(--color-gold);
}


/* =============================================
   TIMELINE
   ============================================= */
.timeline {
  background: var(--color-bg);
  padding: var(--sp-40) 0 var(--sp-48);
}

.timeline__heading {
  font-family: var(--ff-sans);
  font-size: var(--fs-13);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  text-align: center;
  color: var(--color-text);
  margin-bottom: var(--sp-32);
}

.timeline__track {
  display: grid;
  grid-template-columns: repeat(var(--timeline-cols, 6), 1fr);
  gap: 0;
}

.timeline__era {
  text-align: center;
  position: relative;
  padding: 0 var(--sp-12);
  list-style: none;
  padding-top: var(--sp-28);
  border-top: 1px solid var(--color-border);
}

/* Gold dot on timeline with halo ring */
.timeline__era::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--color-gold);
  box-shadow: 0 0 0 4px var(--color-bg), 0 0 0 5px var(--color-border);
}

.timeline__era::marker {
  content: none;
}

.timeline__year {
  display: block;
  font-family: var(--ff-serif);
  font-size: var(--fs-20);
  font-weight: var(--fw-regular);
  letter-spacing: 0.02em;
  color: var(--color-text);
  margin-bottom: var(--sp-12);
  line-height: var(--lh-tight);
}

.timeline__desc {
  font-size: var(--fs-13);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  color: var(--color-text-body);
}


/* =============================================
   SELECTED WORK
   ============================================= */
.work {
  background: var(--color-bg);
  padding: var(--sp-64) 0 var(--sp-80);
  border-top: 1px solid var(--color-border);
}

.work__grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Each article row */
.work__item {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* Reverse layout: text left, image right */
.work__item--reverse .work__img-link,
.work__item--reverse .ba-slider {
  order: 2;
}

.work__item--reverse .work__text {
  order: 1;
}

/* Image */
.work__img-link {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.work__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.work__img-link:hover .work__img {
  transform: scale(1.03);
}

/* Before/After Slider */
.ba-slider {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: col-resize;
}

.ba-slider__before,
.ba-slider__after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-slider__before {
  clip-path: inset(0 0 0 0);
  z-index: 1;
  filter: sepia(0.4) saturate(0.5) brightness(0.75) contrast(0.9);
}

.ba-slider__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #fff;
  z-index: 3;
  pointer-events: none;
  transform: translateX(-50%);
}

.ba-slider__handle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.ba-slider__handle::after {
  content: '\2194';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 16px;
  color: var(--color-text);
  z-index: 1;
}

.ba-slider__input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: col-resize;
  z-index: 4;
  margin: 0;
}

.ba-slider__label {
  position: absolute;
  bottom: var(--sp-12);
  font-family: var(--ff-sans);
  font-size: var(--fs-11);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  color: #fff;
  background: rgba(43, 40, 32, 0.6);
  padding: 4px 10px;
  z-index: 2;
}

.ba-slider__label--before { left: var(--sp-12); transition: opacity 0.2s; }
.ba-slider__label--after { right: var(--sp-12); transition: opacity 0.2s; }

/* Text */
.work__text {
  padding: var(--sp-32) var(--sp-40);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.work__meta {
  font-family: var(--ff-sans);
  font-size: var(--fs-11);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: var(--sp-12);
}

.work__title {
  font-family: var(--ff-serif);
  font-size: clamp(var(--fs-28), 2.4vw, var(--fs-36));
  font-weight: var(--fw-regular);
  line-height: var(--lh-snug);
  letter-spacing: 0.01em;
  color: var(--color-text);
  margin-bottom: var(--sp-18);
}

.work__body {
  font-size: var(--fs-15);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  color: var(--color-text-body);
  margin-bottom: var(--sp-20);
}

.work__link {
  font-family: var(--ff-sans);
  font-size: var(--fs-12);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--color-gold);
  transition: color var(--duration) var(--ease-out);
}

.work__link:hover {
  color: var(--color-gold-hover);
}


/* =============================================
   WARRANTY
   ============================================= */
.warranty {
  background: var(--color-bg-cream);
  padding: var(--sp-40) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.warranty__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-40);
}

.warranty__content {
  display: flex;
  align-items: center;
  gap: var(--sp-28);
}

.warranty__seal {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}

.warranty__label {
  font-family: var(--ff-sans);
  font-size: var(--fs-11);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: var(--sp-4);
}

.warranty__heading {
  font-family: var(--ff-serif);
  font-size: clamp(var(--fs-28), 2.4vw, var(--fs-36));
  font-weight: var(--fw-regular);
  line-height: var(--lh-snug);
  letter-spacing: 0.01em;
  color: var(--color-text);
  margin-bottom: var(--sp-8);
}

.warranty__body {
  font-size: var(--fs-15);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  color: var(--color-text-body);
  max-width: 440px;
}


/* =============================================
   TESTIMONIALS — Modern Carousel
   ============================================= */
.testimonials {
  background: var(--color-bg);
  padding: var(--sp-88) 0 var(--sp-64);
}

/* Grid on desktop, horizontal scroll on mobile */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-24);
}

.testimonials__card {
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  padding: var(--sp-32) var(--sp-28);
  display: flex;
  flex-direction: column;
}

/* Dots */
.testimonials__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-8);
  padding-top: var(--sp-24);
}

.testimonials__dot {
  width: 28px;
  height: 3px;
  border-radius: 2px;
  border: none;
  background: var(--color-border);
  padding: 0;
  cursor: pointer;
  transition: background 0.3s var(--ease-out);
}

.testimonials__dot--active {
  background: var(--color-gold);
  width: 40px;
}

/* Stars */
.testimonial__stars {
  font-size: var(--fs-16);
  letter-spacing: 3px;
  color: var(--color-gold);
  margin-bottom: var(--sp-16);
}

/* Quote text */
.testimonial__text {
  font-family: var(--ff-serif);
  font-size: var(--fs-16);
  font-weight: var(--fw-regular);
  line-height: 1.6;
  color: var(--color-text);
  font-style: italic;
  flex: 1;
  margin-bottom: var(--sp-24);
}

/* Author */
.testimonial__author {
  display: flex;
  align-items: center;
  gap: var(--sp-12);
  border-top: 1px solid var(--color-border);
  padding-top: var(--sp-16);
}

.testimonial__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--color-bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-serif);
  font-size: var(--fs-14);
  font-weight: var(--fw-medium);
  letter-spacing: 0.03em;
  color: var(--color-text-inverse);
}

.testimonial__name {
  font-family: var(--ff-sans);
  font-size: var(--fs-14);
  font-weight: var(--fw-semibold);
  font-style: normal;
  color: var(--color-text);
  display: block;
  line-height: var(--lh-tight);
  text-align: left;
}

.testimonial__role {
  font-size: var(--fs-12);
  color: var(--color-text-light);
  line-height: var(--lh-snug);
  text-align: left;
}

/* Google badge */
.testimonials__badge {
  text-align: center;
  font-family: var(--ff-sans);
  font-size: var(--fs-13);
  color: var(--color-text-light);
  padding-top: var(--sp-20);
  letter-spacing: 0.02em;
}

.testimonials__badge strong {
  color: var(--color-text);
  font-weight: var(--fw-semibold);
}

.testimonials__badge-stars {
  color: var(--color-gold);
  letter-spacing: 2px;
  font-size: var(--fs-14);
  margin-right: var(--sp-4);
}


/* =============================================
   PROCESS (HOW IT WORKS)
   ============================================= */
.process {
  background: var(--color-bg);
  padding: var(--sp-88) 0;
  border-top: 1px solid var(--color-border);
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-24);
  position: relative;
}

.process__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-16);
  padding: 0 var(--sp-12);
  position: relative;
}

/* Dashed line connector between steps */
.process__step + .process__step::before {
  content: '';
  position: absolute;
  top: 24px;
  left: calc(-50% + 24px);
  width: calc(100% - 48px);
  height: 0;
  border-top: 1px dashed var(--color-border);
}

.process__icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--color-gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(200, 185, 110, 0.06);
}

.process__icon {
  width: 22px;
  height: 22px;
  color: var(--color-gold);
}

.process__text {
  flex: 1;
  min-width: 0;
  text-align: center;
}

.process__num {
  display: block;
  font-family: var(--ff-sans);
  font-size: var(--fs-12);
  font-weight: var(--fw-medium);
  color: var(--color-text-light);
  margin-bottom: var(--sp-4);
}

.process__title {
  font-family: var(--ff-sans);
  font-size: var(--fs-13);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: var(--sp-4);
}

.process__desc {
  font-size: var(--fs-13);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  color: var(--color-text-body);
}


/* =============================================
   OUR PROMISE (dark band)
   ============================================= */
.promise {
  background: var(--color-bg-dark);
  color: var(--color-text-inverse);
  padding: var(--sp-96) 0;
}

.promise__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-80);
  align-items: center;
}

.promise__label {
  font-family: var(--ff-sans);
  font-size: var(--fs-11);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-bottom: var(--sp-16);
}

.promise__heading {
  font-family: var(--ff-serif);
  font-size: clamp(var(--fs-32), 3vw, var(--fs-48));
  font-weight: var(--fw-regular);
  line-height: var(--lh-snug);
  letter-spacing: 0.01em;
  margin-bottom: var(--sp-16);
}

.promise__body {
  font-size: var(--fs-15);
  line-height: var(--lh-normal);
  color: var(--color-text-light);
  max-width: 420px;
  margin-bottom: var(--sp-32);
}

.promise__steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-12);
  margin-bottom: var(--sp-32);
}

.promise__steps li {
  font-family: var(--ff-sans);
  font-size: var(--fs-14);
  font-weight: var(--fw-regular);
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  gap: var(--sp-16);
}

.promise__steps span {
  font-family: var(--ff-serif);
  font-size: var(--fs-18);
  font-weight: var(--fw-regular);
  color: var(--color-gold-light);
  min-width: 28px;
}

/* Primary on dark backgrounds — inverted */
.btn--primary-light {
  background: var(--color-text-inverse);
  color: var(--color-bg-dark);
  border-color: var(--color-text-inverse);
}

.btn--primary-light:hover {
  background: rgba(245, 240, 232, 0.85);
}

.btn--outline-light {
  background: transparent;
  color: var(--color-text-inverse);
  border-color: rgba(245, 240, 232, 0.4);
}

.btn--outline-light:hover {
  background: rgba(245, 240, 232, 0.1);
  border-color: rgba(245, 240, 232, 0.7);
}

/* Featured quote */
.promise__quote {
  border-left: 2px solid var(--color-gold);
  padding-left: var(--sp-32);
}

.promise__quote p {
  font-family: var(--ff-serif);
  font-size: clamp(var(--fs-20), 2vw, var(--fs-28));
  font-weight: var(--fw-light);
  font-style: italic;
  line-height: 1.5;
  color: var(--color-text-inverse);
  margin-bottom: var(--sp-24);
}

.promise__quote footer {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.promise__quote cite {
  font-family: var(--ff-sans);
  font-size: var(--fs-14);
  font-weight: var(--fw-semibold);
  font-style: normal;
  color: var(--color-text-inverse);
}

.promise__quote footer span {
  font-size: var(--fs-12);
  color: var(--color-text-light);
}


/* =============================================
   FAQ
   ============================================= */
.faq {
  background: var(--color-bg);
  padding: var(--sp-88) 0;
  border-top: 1px solid var(--color-border);
}

.faq__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 var(--sp-48);
}

.faq__item {
  border-bottom: 1px solid var(--color-border);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-20) 0;
  cursor: pointer;
  font-family: var(--ff-sans);
  font-size: var(--fs-16);
  font-weight: var(--fw-medium);
  color: var(--color-text);
  list-style: none;
  gap: var(--sp-16);
}

/* Remove default marker */
.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::marker {
  content: '';
}

/* Plus icon */
.faq__question::after {
  content: '+';
  font-size: var(--fs-20);
  font-weight: var(--fw-light);
  color: var(--color-text-light);
  flex-shrink: 0;
  transition: transform var(--duration) var(--ease-out);
}

.faq__item[open] .faq__question::after {
  transform: rotate(45deg);
}

.faq__answer {
  font-size: var(--fs-14);
  line-height: var(--lh-normal);
  color: var(--color-text-body);
  padding-bottom: var(--sp-20);
  max-width: 520px;
}


/* =============================================
   CTA / CONTACT
   ============================================= */
.cta {
  background: var(--color-bg-cream);
  border-top: 1px solid var(--color-border);
}

.cta__inner {
  display: grid;
  grid-template-columns: 28fr 32fr 40fr;
  max-width: var(--container-max);
  margin-inline: auto;
}

.cta__image {
  overflow: hidden;
}

.cta__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta__text {
  padding: var(--sp-40) var(--sp-32);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cta__label {
  font-family: var(--ff-sans);
  font-size: var(--fs-11);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: var(--sp-12);
}

.cta__heading {
  font-family: var(--ff-serif);
  font-size: clamp(var(--fs-28), 2.4vw, var(--fs-40));
  font-weight: var(--fw-regular);
  line-height: var(--lh-snug);
  letter-spacing: 0.01em;
  color: var(--color-text);
  margin-bottom: var(--sp-16);
}

.cta__body {
  font-size: var(--fs-14);
  line-height: var(--lh-normal);
  color: var(--color-text-body);
  margin-bottom: var(--sp-28);
  max-width: 360px;
}

.cta__contact {
  display: flex;
  gap: var(--sp-32);
}

.cta__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-8);
  font-size: var(--fs-13);
  color: var(--color-text);
  line-height: var(--lh-snug);
}

.cta__contact-item svg {
  flex-shrink: 0;
  color: var(--color-gold);
  margin-top: 2px;
}

.cta__contact-item strong {
  font-weight: var(--fw-semibold);
  display: block;
}

.cta__contact-item small {
  font-size: var(--fs-11);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--color-text-light);
}

/* Form */
.cta__form {
  padding: var(--sp-40);
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  gap: var(--sp-16);
  justify-content: center;
}

.cta__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
}

.cta__input,
.cta__select,
.cta__textarea {
  font-family: var(--ff-sans);
  font-size: var(--fs-14);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  padding: 12px 14px;
  background: var(--color-bg);
  outline: none;
  transition: border-color var(--duration) var(--ease-out);
  width: 100%;
}

.cta__input::placeholder,
.cta__textarea::placeholder {
  color: var(--color-text-light);
}

.cta__input:focus,
.cta__select:focus,
.cta__textarea:focus {
  border-color: var(--color-gold);
}

.cta__textarea {
  resize: vertical;
  min-height: 80px;
}

.cta__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239E9789' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.cta__checkbox {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  font-size: var(--fs-13);
  color: var(--color-text-body);
  cursor: pointer;
}

.cta__checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--color-gold);
}

.cta__checkbox a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cta__upload {
  border: 1.5px dashed var(--color-border);
  padding: var(--sp-24);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.25s var(--ease-out), background 0.25s var(--ease-out);
  position: relative;
}

.cta__upload:hover,
.cta__upload--dragover {
  border-color: var(--color-gold);
  background: rgba(130, 119, 75, 0.04);
}

.cta__upload-icon {
  color: var(--color-text-light);
  margin-bottom: var(--sp-8);
  transition: color 0.25s var(--ease-out);
}

.cta__upload:hover .cta__upload-icon,
.cta__upload--dragover .cta__upload-icon {
  color: var(--color-gold);
}

.cta__upload-text {
  font-family: var(--ff-sans);
  font-size: var(--fs-13);
  color: var(--color-text-body);
  line-height: var(--lh-normal);
}

.cta__upload-text strong {
  color: var(--color-gold);
  font-weight: var(--fw-semibold);
}

.cta__upload-hint {
  font-size: var(--fs-11);
  color: var(--color-text-light);
  margin-top: var(--sp-4);
}

.cta__upload input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.cta__upload-files {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-8);
  margin-top: var(--sp-12);
  justify-content: center;
}

.cta__upload-file {
  font-family: var(--ff-sans);
  font-size: var(--fs-11);
  color: var(--color-text-body);
  background: var(--color-bg-cream);
  border: 1px solid var(--color-border);
  padding: 4px 10px;
  border-radius: 2px;
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.cta__upload-remove {
  background: none;
  border: none;
  color: var(--color-text-light);
  cursor: pointer;
  font-size: var(--fs-14);
  line-height: 1;
  padding: 0 2px;
}

.cta__upload-remove:hover {
  color: var(--color-text);
}

.cta__submit {
  width: 100%;
  padding: 16px 28px;
  font-size: var(--fs-13);
}


/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--color-bg);
  padding: var(--sp-40) 0 var(--sp-24);
  border-top: 1px solid var(--color-border);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1.1fr 1fr 1fr 1.3fr;
  gap: var(--sp-32);
  padding-bottom: var(--sp-28);
  border-bottom: 1px solid var(--color-border);
}

/* Brand column */
.site-footer__brand {
  padding-right: var(--sp-24);
}

.site-footer__logo {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1;
  margin-bottom: var(--sp-12);
}

.site-footer__tagline {
  font-size: var(--fs-13);
  line-height: var(--lh-normal);
  color: var(--color-text-body);
  margin-bottom: var(--sp-16);
}

.site-footer__copy {
  font-size: var(--fs-11);
  color: var(--color-text-light);
}

/* Nav columns */
.site-footer__heading {
  font-family: var(--ff-sans);
  font-size: var(--fs-12);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: var(--sp-12);
}

.site-footer__nav ul {
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
}

.site-footer__nav a {
  font-size: var(--fs-14);
  color: var(--color-text-body);
  transition: color var(--duration) var(--ease-out);
}

.site-footer__nav a:hover {
  color: var(--color-gold);
}

/* Contact column */
.site-footer__contact address {
  font-style: normal;
  font-size: var(--fs-14);
  color: var(--color-text-body);
  line-height: var(--lh-normal);
}

.site-footer__contact address p {
  margin-bottom: var(--sp-8);
}

.site-footer__contact address a {
  color: var(--color-text-body);
  transition: color var(--duration) var(--ease-out);
}

.site-footer__contact address a:hover {
  color: var(--color-gold);
}

.site-footer__socials {
  display: flex;
  gap: var(--sp-12);
  margin-top: var(--sp-16);
}

.site-footer__socials a {
  color: var(--color-text-body);
  transition: color var(--duration) var(--ease-out);
}

.site-footer__socials a:hover {
  color: var(--color-gold);
}

/* Bottom bar */
.site-footer__bottom {
  display: flex;
  justify-content: flex-end;
  gap: var(--sp-24);
  padding-top: var(--sp-20);
}

.site-footer__bottom a {
  font-size: var(--fs-12);
  color: var(--color-text-light);
  transition: color var(--duration) var(--ease-out);
}

.site-footer__bottom a:hover {
  color: var(--color-text);
}


/* =============================================
   HERO OUTLINE BUTTON VARIANT
   ============================================= */
.btn--outline-hero {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-text);
}

.btn--outline-hero:hover {
  background: var(--color-text);
  color: var(--color-bg);
  border-color: var(--color-text);
}


/* =============================================
   HAMBURGER MENU
   ============================================= */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 201;
  order: 3;
}

.hamburger__line {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--color-text);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: right center;
}

.hamburger__line:nth-child(2) { transform: scaleX(0.7); }
.hamburger__line:nth-child(3) { transform: scaleX(0.85); }

.hamburger--active .hamburger__line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg) scaleX(1);
}

.hamburger--active .hamburger__line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger--active .hamburger__line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg) scaleX(1);
}

body.nav-open {
  overflow: hidden;
}

/* ---- Mobile Menu Animations ---- */
@media (max-width: 768px) {
  .site-nav {
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .site-nav--open {
    opacity: 1;
  }

  /* Stagger nav items */
  .site-nav--open .site-nav__item {
    opacity: 0;
    transform: translateY(20px);
    animation: menuItemIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .site-nav--open .site-nav__item:nth-child(1) { animation-delay: 0.05s; }
  .site-nav--open .site-nav__item:nth-child(2) { animation-delay: 0.1s; }
  .site-nav--open .site-nav__item:nth-child(3) { animation-delay: 0.15s; }
  .site-nav--open .site-nav__item:nth-child(4) { animation-delay: 0.2s; }
  .site-nav--open .site-nav__item:nth-child(5) { animation-delay: 0.25s; }
}

@keyframes menuItemIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* =============================================
   SCROLL REVEAL
   ============================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children in grids */
[data-reveal].revealed .stats__item,
[data-reveal].revealed .service-card,
[data-reveal].revealed .timeline__era,
[data-reveal].revealed .work__item,
[data-reveal].revealed .testimonials__slide,
[data-reveal].revealed .process__step,
[data-reveal].revealed .faq__item {
  animation: revealChild 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

[data-reveal].revealed .stats__item:nth-child(1),
[data-reveal].revealed .service-card:nth-child(1),
[data-reveal].revealed .timeline__era:nth-child(1),
[data-reveal].revealed .work__item:nth-child(1),
[data-reveal].revealed .testimonial:nth-child(1),
[data-reveal].revealed .process__step:nth-child(1),
[data-reveal].revealed .faq__item:nth-child(1) { animation-delay: 0s; }

[data-reveal].revealed .stats__item:nth-child(2),
[data-reveal].revealed .service-card:nth-child(2),
[data-reveal].revealed .timeline__era:nth-child(2),
[data-reveal].revealed .work__item:nth-child(2),
[data-reveal].revealed .testimonial:nth-child(2),
[data-reveal].revealed .process__step:nth-child(2),
[data-reveal].revealed .faq__item:nth-child(2) { animation-delay: 0.08s; }

[data-reveal].revealed .stats__item:nth-child(3),
[data-reveal].revealed .service-card:nth-child(3),
[data-reveal].revealed .timeline__era:nth-child(3),
[data-reveal].revealed .work__item:nth-child(3),
[data-reveal].revealed .testimonial:nth-child(3),
[data-reveal].revealed .process__step:nth-child(3),
[data-reveal].revealed .faq__item:nth-child(3) { animation-delay: 0.16s; }

[data-reveal].revealed .stats__item:nth-child(4),
[data-reveal].revealed .timeline__era:nth-child(4),
[data-reveal].revealed .work__item:nth-child(4),
[data-reveal].revealed .process__step:nth-child(4),
[data-reveal].revealed .faq__item:nth-child(4) { animation-delay: 0.24s; }

[data-reveal].revealed .stats__item:nth-child(5),
[data-reveal].revealed .timeline__era:nth-child(5),
[data-reveal].revealed .work__item:nth-child(5),
[data-reveal].revealed .faq__item:nth-child(5) { animation-delay: 0.32s; }

[data-reveal].revealed .timeline__era:nth-child(6),
[data-reveal].revealed .faq__item:nth-child(6) { animation-delay: 0.4s; }

@keyframes revealChild {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  [data-reveal].revealed .stats__item,
  [data-reveal].revealed .service-card,
  [data-reveal].revealed .timeline__era,
  [data-reveal].revealed .work__item,
  [data-reveal].revealed .testimonials__slide,
  [data-reveal].revealed .process__step,
  [data-reveal].revealed .faq__item {
    animation: none;
  }

  .hero-enter {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .hero__media {
    clip-path: none;
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}


/* =============================================
   MICRO-INTERACTIONS
   ============================================= */
/* Service card lift */
.service-card {
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(42, 39, 33, 0.1);
}

/* Testimonial slide transitions are in the testimonials section */

/* FAQ question highlight */
.faq__question {
  transition: color var(--duration) var(--ease-out);
}

.faq__question:hover {
  color: var(--color-gold);
}

/* ---- Link underline draw ---- */
.work__link,
.site-nav__link,
.site-footer__nav a {
  position: relative;
}

.work__link::after,
.site-footer__nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.work__link:hover::after,
.site-footer__nav a:hover::after {
  transform: scaleX(1);
}

/* ---- Button press ---- */
.btn {
  transition: background var(--duration) var(--ease-out),
              color var(--duration) var(--ease-out),
              border-color var(--duration) var(--ease-out),
              transform 0.15s var(--ease-out),
              box-shadow var(--duration) var(--ease-out);
}

.btn:active {
  transform: scale(0.97);
}

/* ---- Work image zoom ---- */
.work__img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.work__img-link:hover .work__img {
  transform: scale(1.04);
}

/* ---- Smooth image load ---- */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
}

img[loading="lazy"].loaded,
img[loading="lazy"][complete] {
  opacity: 1;
}

/* ---- Header logo hover ---- */
.site-header__logo {
  transition: opacity 0.25s var(--ease-out);
}

.site-header__logo:hover {
  opacity: 0.7;
}

/* ---- Gold line reveal for scroll sections ---- */
.section-heading {
  position: relative;
  display: inline-block;
}

.section-heading::after {
  content: '';
  display: block;
  width: 48px;
  height: 2px;
  background: var(--color-gold);
  margin-top: var(--sp-12);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].revealed .section-heading::after {
  transform: scaleX(1);
}

/* Warranty seal spin on hover */
.warranty__seal {
  transition: transform 0.6s var(--ease-out);
}

.warranty__inner:hover .warranty__seal {
  transform: rotate(8deg) scale(1.05);
}

/* Button press effect */
.btn:active {
  transform: scale(0.97);
}

/* Header scroll shadow — toggled by JS */
.site-header {
  transition: box-shadow 0.3s var(--ease-out);
}

.site-header--scrolled {
  box-shadow: 0 1px 12px rgba(42, 39, 33, 0.06);
}


/* =============================================
   HERO ENTRANCE ANIMATION
   ============================================= */
.hero-enter {
  opacity: 0;
  transform: translateY(24px);
  animation: heroFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-enter--1 { animation-delay: 0.1s; }
.hero-enter--2 { animation-delay: 0.25s; }
.hero-enter--3 { animation-delay: 0.4s; }
.hero-enter--4 { animation-delay: 0.55s; }
.hero-enter--5 { animation-delay: 0.7s; }
.hero-enter--6 { animation-delay: 0.85s; }

@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero image reveal */
.hero__media {
  clip-path: inset(0 100% 0 0);
  animation: heroImageReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

@keyframes heroImageReveal {
  to {
    clip-path: inset(0 0 0 0);
  }
}


/* =============================================
   WARRANTY SEAL GLOW
   ============================================= */
.warranty__inner:hover .warranty__seal {
  filter: drop-shadow(0 0 12px rgba(166, 150, 80, 0.35));
}


/* =============================================
   CTA FORM FOCUS GLOW
   ============================================= */
.cta__input:focus,
.cta__select:focus,
.cta__textarea:focus {
  box-shadow: 0 0 0 3px rgba(130, 119, 75, 0.12);
}


/* =============================================
   FOOTER GOLD ACCENT
   ============================================= */
.site-footer {
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 2px;
  background: var(--color-gold);
}


/* =============================================
   WORK IMAGE OVERLAY
   ============================================= */
.work__img-link::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(42, 39, 33, 0.15) 0%, transparent 40%);
  pointer-events: none;
}

.work__img-link {
  position: relative;
}


/* =============================================
   RESPONSIVE
   ============================================= */

/* Narrow desktop */
@media (max-width: 1100px) {
  .site-nav__list {
    gap: var(--sp-20);
  }

  .site-header__phone-label {
    display: none;
  }

  .hero__text {
    padding-right: var(--sp-40);
  }

  .stats__item {
    gap: var(--sp-12);
  }

  .stats__icon {
    width: 28px;
    height: 28px;
  }
}

/* Tablet */
@media (max-width: 768px) {
  .site-header__inner {
    height: 60px;
  }

  /* Hide CTA button on tablet, keep phone icon */
  .site-header__actions .btn {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .site-nav {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(253, 252, 250, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .site-nav--open {
    display: flex;
  }

  .site-nav--open .site-nav__list {
    flex-direction: column;
    gap: var(--sp-20);
    text-align: center;
    padding: var(--sp-40) var(--sp-20);
  }

  .site-nav--open .site-nav__link {
    font-size: var(--fs-18);
    letter-spacing: var(--ls-wider);
  }

  /* Mobile dropdowns: always visible, inline */
  .site-nav--open .site-nav__dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: 0;
    border: none;
    box-shadow: none;
    padding: var(--sp-8) 0 0;
    margin-top: 0;
    background: transparent;
  }

  .site-nav--open .site-nav__dropdown a {
    font-size: var(--fs-14);
    padding: 6px 0;
    color: var(--color-text-light);
  }

  .site-nav--open .has-dropdown > .site-nav__link::after {
    display: none;
  }

  /* Hero */
  .hero {
    grid-template-columns: 1fr;
  }

  .hero__text {
    max-width: none;
    padding: var(--sp-32) var(--container-pad) var(--sp-32);
    margin-left: 0;
    order: 1;
  }

  .hero__media {
    order: 0;
    aspect-ratio: 4 / 3;
  }

  .hero__heading {
    font-size: var(--fs-32);
  }

  .hero__body {
    margin-bottom: var(--sp-28);
  }

  .hero__press {
    padding-top: var(--sp-32);
  }

  .hero__press-logos {
    gap: var(--sp-28);
  }

  .hero__press-logo {
    height: 28px;
  }

  .hero__press-logo--veranda {
    height: 20px;
  }

  /* Stats */
  .stats {
    padding-block: var(--sp-32);
  }

  .stats__list {
    flex-wrap: wrap;
    gap: var(--sp-24);
    justify-content: flex-start;
  }

  .stats__item {
    flex: 0 0 calc(50% - var(--sp-12));
    justify-content: flex-start;
  }

  .stats__item + .stats__item::before {
    display: none;
  }

  /* Services */
  .services__grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 220px;
  }

  /* Timeline */
  .timeline__track {
    grid-template-columns: repeat(3, 1fr);
    row-gap: var(--sp-32);
  }

  .timeline__era {
    border-top: none;
    padding-top: 0;
  }

  /* Work */
  .work {
    padding: var(--sp-48) 0 var(--sp-56);
  }

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

  .work__item--reverse .work__img-link,
  .work__item--reverse .ba-slider {
    order: 0;
  }

  .work__item--reverse .work__text {
    order: 0;
  }

  .work__img-link {
    aspect-ratio: 16 / 10;
  }

  .work__text {
    padding: var(--sp-24) var(--container-pad) var(--sp-32);
  }

  .work__title {
    font-size: var(--fs-24);
  }

  /* Testimonials */
  .testimonials {
    padding: var(--sp-56) 0 var(--sp-40);
  }

  .testimonials__grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: var(--sp-16);
    padding-bottom: var(--sp-4);
    scrollbar-width: none;
  }

  .testimonials__grid::-webkit-scrollbar { display: none; }

  .testimonials__card {
    min-width: 85vw;
    scroll-snap-align: center;
    flex-shrink: 0;
  }

  .testimonials__dots {
    display: flex;
  }

  /* Promise */
  .promise {
    padding: var(--sp-56) 0;
  }

  .promise__inner {
    grid-template-columns: 1fr;
    gap: var(--sp-40);
  }

  .container--padded {
    padding-left: 0;
  }

  .promise__heading {
    font-size: var(--fs-32);
  }

  .promise__quote {
    padding-left: var(--sp-24);
  }

  .promise__quote p {
    font-size: var(--fs-20);
  }

  /* FAQ */
  .faq {
    padding: var(--sp-56) 0;
  }

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

  /* CTA */
  .cta__inner {
    grid-template-columns: 1fr;
  }

  .cta__image {
    aspect-ratio: 16 / 7;
  }

  .cta__text {
    padding: var(--sp-32) var(--container-pad) var(--sp-24);
  }

  .cta__contact {
    flex-direction: column;
    gap: var(--sp-16);
  }

  .cta__form {
    padding: var(--sp-24) var(--container-pad) var(--sp-32);
    border-top: 1px solid var(--color-border);
  }

  .cta__form-row {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-28);
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }

  .site-footer__bottom {
    justify-content: center;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .trust-bar {
    display: none;
  }

  .hero__text {
    padding: var(--sp-28) var(--sp-20) var(--sp-28);
  }

  .hero__heading {
    font-size: var(--fs-28);
  }

  .hero__body {
    font-size: var(--fs-14);
    margin-bottom: var(--sp-24);
  }

  .hero__ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__ctas .btn,
  .cta__submit {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
  }

  /* Ensure header CTA stays hidden */
  .site-header__actions .btn {
    display: none !important;
  }

  .hero__proof {
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--sp-16);
    padding-top: var(--sp-24);
  }

  .hero__stat {
    font-size: var(--fs-12);
  }

  .hero__stat strong {
    font-size: var(--fs-20);
  }

  .hero__stat-sep {
    width: 1px;
    height: 20px;
  }

  .hero__press {
    padding-top: var(--sp-24);
  }

  /* Services */
  .services {
    padding: var(--sp-16) 0 var(--sp-32);
  }

  .service-card {
    min-height: 200px;
  }

  .service-card__content {
    padding: var(--sp-20);
    max-width: 70%;
  }

  .service-card__title {
    font-size: var(--fs-14);
  }

  /* Timeline */
  .timeline {
    padding: var(--sp-32) 0 var(--sp-40);
  }

  .timeline__track {
    grid-template-columns: repeat(2, 1fr);
    row-gap: var(--sp-28);
  }

  .timeline__year {
    font-size: var(--fs-17);
  }

  .timeline__desc {
    font-size: var(--fs-12);
  }

  /* Work */
  .work {
    padding: var(--sp-40) 0;
  }

  .section-heading {
    margin-bottom: var(--sp-32);
  }

  .work__text {
    padding: var(--sp-20) var(--sp-20) var(--sp-28);
  }

  .work__title {
    font-size: var(--fs-20);
  }

  .work__body {
    font-size: var(--fs-14);
  }

  .work__meta {
    font-size: 10px;
  }

  /* Testimonials */
  .testimonials {
    padding: var(--sp-48) 0 var(--sp-32);
  }

  .testimonials__card {
    padding: var(--sp-24) var(--sp-20);
  }

  /* Promise */
  .promise {
    padding: var(--sp-48) 0;
  }

  .promise__heading {
    font-size: var(--fs-28);
  }

  .promise__quote p {
    font-size: var(--fs-18);
  }

  /* FAQ */
  .faq {
    padding: var(--sp-48) 0;
  }

  .faq__item + .faq__item {
    margin-top: var(--sp-4);
  }

  .faq__question {
    font-size: var(--fs-15);
    padding: var(--sp-16) 0;
    min-height: 48px;
  }

  /* CTA */
  .cta__heading {
    font-size: var(--fs-24);
  }

  .cta__submit {
    font-size: var(--fs-12);
  }

  /* Footer */
  .site-footer {
    padding: var(--sp-32) 0 var(--sp-20);
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-24);
  }

  .site-footer__brand {
    grid-column: auto;
  }

  .site-footer__nav ul {
    gap: var(--sp-4);
  }

  .site-footer__heading {
    margin-bottom: var(--sp-8);
  }
}
