/* ═══════════════════════════════════════════════════════════════════════════
   CLAD — Custom Living Architecture Design
   Style Sheet
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── RESET & BASE ────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --dark:        #1f2a3a;
  --dark-2:      #273241;
  --dark-3:      #2f3a4a;
  --charcoal:    #2e333b;
  --gold:        #d8c39a;
  --gold-light:  #e7d6b5;
  --gold-dark:   #bda276;
  --cta-gold:    #d8c39a;
  --cta-gold-hover: #e7d6b5;
  --cream:       #f5f0e8;
  --off-white:   #faf8f4;
  --white:       #ffffff;
  --text-muted:  #888888;
  --text-light:  #b0b0b0;
  --border:      rgba(255,255,255,0.08);
  --border-dark: rgba(0,0,0,0.12);

  --font-serif:  'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --font-sans:   'Montserrat', 'Futura', 'Avenir Next', 'Segoe UI', sans-serif;

  --container:   1480px;
  --radius:      4px;
  --transition:  0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  background: var(--off-white);
  color: var(--dark);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ─── CONTAINERS ──────────────────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 2.8vw, 3rem);
}

/* ─── TYPOGRAPHY ──────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(3.2rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2.4rem, 4vw, 3.6rem); }
h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); }
h4 { font-size: 1.2rem; font-family: var(--font-sans); font-weight: 500; letter-spacing: 0; }
h5 { font-family: var(--font-sans); }

em { font-style: italic; color: var(--gold); }

.section-label {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #b8943f;
  margin-bottom: 1.2rem;
  display: block;
}

/* Decorative flanking lines give the section eyebrow more presence and depth */
.section-header .section-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
}
.section-header .section-label::before,
.section-header .section-label::after {
  content: '';
  width: 30px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

/* Brighter champagne gold on dark backgrounds so the label still pops there */
#hero .section-label,
.section-header--light .section-label { color: var(--gold); }

.section-header {
  text-align: center;
  max-width: 1040px;
  margin: 0 auto clamp(3.25rem, 5vw, 4.75rem);
}

/* Keep selected showcase headers centered per final art direction */
#services .page-section-intro .section-header,
#why-metrics .section-header,
#process .section-header,
body[data-page="projects"] #projects .section-header,
#testimonials .section-header {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

#services .page-section-intro .section-desc,
#why-metrics .section-desc,
#process .section-desc,
body[data-page="projects"] #projects .section-desc,
#testimonials .section-desc {
  margin-left: auto;
  margin-right: auto;
}

#service-scope .section-desc {
  max-width: none;
  white-space: normal;
}

body[data-page="projects"] #projects .section-desc {
  max-width: 92ch;
}

.section-header h1,
.section-header h2,
.section-header h3 {
  text-wrap: balance;
}

.section-header--light { color: var(--white); }
.section-header--light .section-desc { color: var(--text-light); }

.section-desc {
  margin-top: 1rem;
  color: #555;
  font-size: clamp(1rem, 1.1vw, 1.05rem);
  line-height: 1.8;
  max-width: 70ch;
  margin-left: auto;
  margin-right: auto;
}

/* ─── BUTTONS ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: var(--transition);
  border-radius: var(--radius);
}

.btn-primary {
  background: var(--cta-gold);
  color: var(--dark);
}
.btn-primary:hover { background: var(--cta-gold-hover); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(200,169,110,0.35); }

.btn-outline {
  border: 1.5px solid rgba(255,255,255,0.45);
  color: var(--white);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.btn-full { width: 100%; text-align: center; }

.link-arrow {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #b8943f;
  transition: var(--transition);
}
.link-arrow:hover { letter-spacing: 0.1em; }

/* ─── NAVBAR ──────────────────────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  transform: none;
  z-index: 1000;
  width: 100%;
  max-width: none;
  background: rgba(250,248,244,0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 4px 32px rgba(12, 20, 32, 0.10);
  border-radius: 0;
  border: 1px solid rgba(31,42,58,0.07);
  border-left: none;
  border-right: none;
  transition: box-shadow var(--transition), background var(--transition);
  padding: 0;
}

#navbar.scrolled {
  background: rgba(250,248,244,0.99);
  box-shadow: 0 8px 36px rgba(12, 20, 32, 0.14);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.65rem clamp(1.25rem, 2.8vw, 3rem);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.site-logo {
  display: block;
  width: auto;
  height: auto;
}

.site-logo--nav {
  height: clamp(3rem, 4.4vw, 4rem);
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.15em;
}

.logo-sub {
  font-size: 0.55rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
}
.hero-note {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
  margin-bottom: 1.5rem;
  max-width: 980px;
}


.nav-links {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  justify-content: center;
  justify-self: center;
  margin-left: 0;
}

.nav-links a {
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark);
  padding: 0.5rem 0.85rem;
  transition: color var(--transition);
  position: relative;
}
.nav-links a:hover { color: var(--dark); }
.nav-links a.active { color: var(--dark); }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.2rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
  opacity: 0.8;
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-cta {
  background: var(--cta-gold);
  color: var(--dark) !important;
  font-weight: 700;
  border-radius: 10px;
  padding: 0.95rem 1.45rem;
  margin-left: 0.35rem;
  letter-spacing: 0.06em;
  text-transform: none;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 8px 22px rgba(216,195,154,0.26);
}
.nav-cta:hover { background: var(--cta-gold-hover); transform: translateY(-1px); }
.nav-cta--desktop {
  justify-self: end;
}
.nav-cta--mobile {
  display: none;
}
.nav-links .nav-cta::after { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--dark);
  transition: var(--transition);
}

body[data-page]:not([data-page="home"]) #navbar {
  background: rgba(250,248,244,0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 6px 22px rgba(12, 20, 32, 0.1);
}

@media (max-width: 768px) {
  .nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.9rem;
    padding: 0.75rem 1.1rem;
  }

  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 1002;
  }

  .nav-cta--desktop {
    display: none;
  }

  .nav-links {
    position: fixed;
    top: calc(env(safe-area-inset-top) + 4.8rem);
    right: 0.85rem;
    left: auto;
    bottom: auto;
    width: min(19rem, calc(100vw - 1.7rem));
    max-height: calc(100vh - 6rem);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    background: rgba(31, 42, 58, 0.98);
    gap: 0.4rem;
    padding: 1rem;
    transform: translateY(-0.5rem) scale(0.98);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
    z-index: 999;
    overflow-y: auto;
    justify-self: auto;
    margin-left: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px 0 22px 22px;
    box-shadow: 0 22px 48px rgba(8, 14, 24, 0.28);
  }

  .nav-links.open {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    width: 100%;
    font-size: 0.98rem;
    color: var(--white);
    text-align: left;
    padding: 0.75rem 0.95rem;
    border-radius: 12px;
  }

  .nav-links a:hover,
  .nav-links a.active {
    background: rgba(255, 255, 255, 0.06);
  }

  .nav-links a::after {
    display: none;
  }

  .nav-cta--mobile {
    display: inline-flex;
    margin-top: 0.65rem;
    justify-content: center;
  }

  .nav-links .nav-cta {
    margin-left: 0;
  }

  .site-logo--nav {
    height: 3.2rem;
  }
}

.page-hero {
  position: relative;
  padding: 10.5rem 0 5.75rem;
  color: var(--white);
  background-color: var(--dark);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(14,14,14,0.88) 0%, rgba(14,14,14,0.55) 55%, rgba(14,14,14,0.82) 100%);
}

.page-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 1120px;
}

.page-hero-copy h1 {
  text-wrap: balance;
  max-width: 18ch;
  line-height: 0.98;
  letter-spacing: -0.025em;
}

body[data-page="reviews"] .page-hero-copy h1 {
  max-width: 22ch;
  font-size: clamp(2.8rem, 4.4vw, 4.7rem);
  line-height: 1.02;
}

.hero-title-split {
  max-width: none;
  text-wrap: initial;
  font-size: clamp(2.9rem, 4.8vw, 4.9rem);
  line-height: 1.02;
}

.hero-title-line {
  display: block;
  white-space: normal;
}

body[data-page="process"] .page-hero-copy {
  max-width: 900px;
}

body[data-page="process"] .page-hero-copy h1 {
  font-size: clamp(2.9rem, 5vw, 5.1rem);
  line-height: 1.06;
}

.page-hero-copy p {
  max-width: 760px;
  color: rgba(255,255,255,0.78);
  font-size: 1.05rem;
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.25rem;
}

.page-section-intro {
  padding: 5rem 0 0;
}

.page-section-intro .section-header {
  margin-bottom: 0;
}

.home-quick-links {
  padding: 5rem 0;
}

.home-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.home-quick-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--border-dark);
  padding: 2rem;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.home-quick-card h4 {
  margin-bottom: 0.8rem;
  color: var(--dark);
}

.home-quick-card p {
  color: #555;
  margin-bottom: 1.2rem;
}

.home-quick-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 24px 48px rgba(0,0,0,0.16);
  border-color: var(--gold);
}

.home-quick-card:hover .home-service-thumb {
  transform: scale(1.07);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.2rem, 3.6vw, 5rem);
  align-items: start;
}

.about-title-line {
  display: block;
  white-space: normal;
}

.about-grid > div > h2 {
  max-width: 24ch;
}

.about-grid > div > .section-desc {
  max-width: 72ch;
}

.about-side-media {
  width: 100%;
  min-height: clamp(340px, 44vw, 620px);
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border-dark);
}

.about-side-visual {
  background: transparent;
}

.about-principles-inline {
  margin-top: 1.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border-dark);
  max-width: 58ch;
}

.about-principles-inline h4 {
  margin-bottom: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
}

.about-principles-inline ul {
  display: grid;
  gap: 0.55rem;
}

.about-principles-inline li {
  font-size: 1rem;
  color: #4c4c4c;
}

.about-side-panel h4 {
  color: var(--off-white);
  margin-bottom: 1rem;
}

.about-side-panel ul {
  display: grid;
  gap: 0.7rem;
}

.about-side-panel li {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.86);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.blog-card {
  border: 1px solid var(--border-dark);
  background: var(--white);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
}

.blog-thumb {
  height: 160px;
  background-size: cover;
  background-position: center;
  margin: -1.6rem -1.6rem 1rem;
  border-bottom: 1px solid var(--border-dark);
}

.blog-meta {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.9rem;
}

.blog-card h4 {
  margin-bottom: 0.7rem;
}

.blog-card p {
  color: #555;
  margin-bottom: 0.9rem;
}

.blog-article-shell {
  padding: 5.5rem 0 6rem;
}

.blog-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(280px, 0.9fr);
  gap: 2rem;
  align-items: start;
}

.blog-article-main {
  min-width: 0;
}

.article-meta-row {
  margin-bottom: 1.6rem;
}

.article-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  font-size: 0.78rem;
  color: #737b87;
  margin-bottom: 1rem;
}

.article-breadcrumbs a:hover {
  color: var(--gold-dark);
}

.article-kicker {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.7rem;
}

.article-lead {
  font-size: 1.08rem;
  color: #4f5560;
  max-width: 72ch;
}

.answer-box,
.article-toc {
  margin-bottom: 1.5rem;
}

.article-toc ol {
  padding-left: 1.2rem;
}

.article-toc li {
  margin-bottom: 0.7rem;
  color: #4f5560;
}

.article-toc a {
  color: var(--dark);
}

.article-toc a:hover {
  color: var(--gold-dark);
}

.article-card {
  border: 1px solid var(--border-dark);
  background: var(--white);
  padding: 1.6rem;
}

.key-takeaways {
  margin-bottom: 1.7rem;
}

.key-takeaways h2,
.article-cta-panel h2,
.aside-card h3 {
  margin-bottom: 0.85rem;
}

.key-takeaways ul,
.aside-card ul,
.article-prose ul {
  list-style: disc;
  padding-left: 1.2rem;
}

.key-takeaways li,
.aside-card li,
.article-prose li {
  margin-bottom: 0.6rem;
  color: #4f5560;
}

.article-prose {
  display: grid;
  gap: 1rem;
}

.article-prose h2 {
  margin-top: 1.2rem;
  font-size: clamp(2rem, 3vw, 2.6rem);
}

.article-prose h3 {
  margin-top: 0.6rem;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}

.article-prose p,
.article-cta-panel p,
.aside-card p {
  color: #555;
}

.article-prose a,
.aside-card a,
.article-lead a {
  color: var(--gold-dark);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.article-prose a:hover,
.aside-card a:hover,
.article-lead a:hover {
  color: var(--gold);
}

.in-content-callout {
  margin: 0.8rem 0;
}

.related-articles-card {
  margin-top: 2rem;
}

.related-articles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.related-article-link {
  border: 1px solid var(--border-dark);
  padding: 1rem;
  background: #fcfbf8;
  display: grid;
  gap: 0.45rem;
}

.related-article-link strong {
  font-size: 0.98rem;
  font-weight: 600;
}

.related-article-link span {
  color: #555;
  font-size: 0.92rem;
}

.related-article-link:hover {
  border-color: var(--gold-dark);
}

.article-cta-panel {
  margin-top: 2rem;
}

.article-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 1.2rem;
}

.blog-article-aside {
  display: grid;
  gap: 1rem;
  position: sticky;
  top: 6.5rem;
}

.aside-links {
  list-style: none;
  padding-left: 0;
}

.aside-links li {
  margin-bottom: 0.75rem;
}

.aside-links a {
  color: var(--dark);
  font-weight: 500;
}

.aside-links a:hover {
  color: var(--gold-dark);
}

.faq-list {
  display: grid;
  gap: 0.9rem;
}

.faq-toolbar {
  margin-bottom: 1.5rem;
}

.faq-search {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--border-dark);
  padding: 0.9rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--dark);
}

.faq-search:focus {
  outline: 1px solid var(--gold);
  border-color: var(--gold);
}

.faq-group {
  margin-bottom: 2rem;
}

.faq-group-title {
  margin-bottom: 0.9rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border-dark);
  padding: 1.1rem 1.2rem;
}

.faq-item summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item p {
  margin-top: 0.8rem;
  color: #555;
}

.trust-strip {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-strip-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem 2rem;
  justify-content: center;
  padding: 1rem 2rem;
}

.trust-pill {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
}

.home-services,
.home-why,
.home-case,
.home-faq,
#checklist,
#service-scope,
#why-metrics,
#timeline-by-type,
#review-sources,
#review-themes,
#contact-next-steps,
#about-timeline {
  padding: 6.75rem 0;
}

.home-why .section-header {
  max-width: 980px;
}

.home-service-thumb {
  height: 130px;
  background-size: cover;
  background-position: center;
  margin: -2rem -2rem 1rem;
  border-bottom: 1px solid var(--border-dark);
  transition: transform 0.45s ease;
}

.page-hero-note {
  margin-top: 1rem;
  max-width: none;
  font-size: clamp(0.68rem, 0.78vw, 0.78rem);
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
  white-space: normal;
}

.why-grid,
.scope-grid,
.timeline-grid,
.theme-grid,
.next-steps-grid,
.team-grid {
  display: grid;
  gap: 1.2rem;
}

.why-grid { grid-template-columns: repeat(4, 1fr); }
.scope-grid { grid-template-columns: repeat(3, 1fr); }
.timeline-grid { grid-template-columns: repeat(4, 1fr); }
.theme-grid { grid-template-columns: repeat(3, 1fr); }
.next-steps-grid { grid-template-columns: repeat(4, 1fr); }
.team-grid { grid-template-columns: repeat(3, 1fr); }

.team-card {
  background: var(--white);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  overflow: hidden;
  padding-bottom: 1.6rem;
}

.team-photo {
  width: 100%;
  height: 220px;
  background-size: cover;
  background-position: center;
  margin-bottom: 1.2rem;
}

.team-card h4 {
  padding: 0 1.4rem;
  margin-bottom: 0.25rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.team-role {
  display: block;
  padding: 0 1.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.7rem;
}

.team-card p {
  padding: 0 1.4rem;
  color: #555;
  font-size: 0.9rem;
  line-height: 1.6;
}



.why-card,
.scope-card,
.timeline-card,
.theme-card,
.next-step-card,
.case-card,
.faq-quick,
.source-card,
.timeline-band {
  background: var(--white);
  border: 1px solid var(--border-dark);
  padding: 1.6rem;
}

.why-card h4,
.scope-card h4,
.timeline-card h4,
.theme-card h4,
.next-step-card h4 {
  margin-bottom: 0.6rem;
}

.why-card p,
.scope-card p,
.timeline-card p,
.theme-card p,
.next-step-card p {
  color: #555;
  font-size: 0.92rem;
}

.scope-price {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.case-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.2rem, 2.5vw, 2.4rem);
}

.case-card {
  padding: clamp(1.8rem, 2.5vw, 2.8rem);
}

.case-image {
  min-height: clamp(360px, 42vw, 560px);
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border-dark);
}

.case-card ul {
  margin: 1rem 0 1.2rem;
  display: grid;
  gap: 0.5rem;
}

.case-card li {
  font-size: 0.9rem;
  color: #4f4f4f;
}

.faq-quick-list {
  display: grid;
  gap: 0.8rem;
}

.faq-quick summary {
  font-weight: 600;
  cursor: pointer;
}

.faq-quick p {
  margin-top: 0.6rem;
  color: #555;
}

.checklist-wrap {
  background: var(--dark);
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.checklist-copy {
  padding: 2.3rem;
  color: var(--white);
}

.checklist-copy h2 { color: var(--white); margin-bottom: 1rem; }
.checklist-copy p { color: rgba(255,255,255,0.65); margin-bottom: 1rem; }

.checklist-list {
  display: grid;
  gap: 0.6rem;
}

.checklist-list li {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.82);
}

.checklist-form {
  background: var(--dark-3);
  border-left: 1px solid var(--border);
  padding: 2.3rem;
}

.checklist-form .form-group { margin-bottom: 1rem; }

.checklist-cta {
  background: var(--dark-3);
  border-left: 1px solid var(--border);
  padding: 2.3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.checklist-cta h3 { color: var(--white); margin-bottom: 0.8rem; }
.checklist-cta p { color: rgba(255,255,255,0.65); margin-bottom: 1.5rem; }

.checklist-cta-phone {
  display: block;
  margin-top: 1rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
}

.checklist-cta-phone:hover { color: var(--gold); }

.source-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.source-card span {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.75rem;
  color: var(--gold-dark);
}

.timeline-band-grid {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1fr;
  gap: 1px;
  background: var(--border-dark);
}

.timeline-band {
  background: var(--white);
  border: none;
}

.timeline-band h5 {
  font-size: 0.82rem;
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.project-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.filter-btn {
  border: 1px solid var(--border-dark);
  padding: 0.55rem 1.1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #3a3a3a;
  background: var(--white);
}

.filter-btn.is-active,
.filter-btn:hover {
  border-color: var(--gold);
  color: #b8943f;
}
.filter-btn.is-active {
  background: rgba(184, 148, 63, 0.08);
}

.project-card.is-hidden {
  display: none;
}

.project-micro {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.7rem;
}

.mobile-sticky-cta {
  display: none;
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: max(0.8rem, env(safe-area-inset-bottom));
  z-index: 1200;
  background: var(--gold);
  color: var(--dark);
  padding: 0.8rem 1rem;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
}

/* ─── HERO ────────────────────────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 92vh;
  height: auto;
  display: flex;
  align-items: center;
  background:
    linear-gradient(to bottom, rgba(20,28,44,0.66) 0%, rgba(20,28,44,0.54) 100%),
    url('assets/images/hero-build.jpg') center / cover no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(200,169,110,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 2.8vw, 3rem);
  padding-top: 6rem;
  color: var(--white);
  max-width: 1160px;
}

.hero-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 1.8rem;
  line-height: 1.1;
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  max-width: 780px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.hero-badges {
  display: flex;
  align-items: center;
  gap: 0;
}

.badge {
  display: flex;
  flex-direction: column;
  padding: 0 2rem;
}
.badge:first-child { padding-left: 0; }

.badge-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
}
.badge-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
}

.badge-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
}

/* ── Hero stats (count-up) ───────────────────────────────────────────────── */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 1.6rem;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 132px;
  padding: 1.5rem 1.1rem;
  background: rgba(18,26,40,0.46);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  backdrop-filter: blur(4px);
}
.hero-stat-num {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 3vw, 2.7rem);
  font-weight: 600;
  letter-spacing: 0;
  color: var(--gold);
  line-height: 1;
}
.hero-stat-icon { color: var(--gold); line-height: 0; margin-bottom: 0.2rem; }
.hero-stat-label {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.82);
  margin-top: 0.55rem;
  line-height: 1.35;
}
.hero-stat-sub {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-top: 0.45rem;
}
.hero-serving {
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  max-width: none;
  margin: 0 auto;
  white-space: nowrap;
}
@media (max-width: 860px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-serving { white-space: normal; font-size: 0.84rem; }
}
@media (max-width: 480px) {
  .hero-stats { gap: 0.6rem; }
  .hero-stat { min-height: 108px; padding: 1.1rem 0.6rem; }
  .hero-stat-label { font-size: 0.82rem; }
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 3rem;
  right: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}
.hero-scroll-indicator span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  writing-mode: vertical-rl;
}
.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 1; }
}

/* ─── INTRO ───────────────────────────────────────────────────────────────── */
#intro {
  padding: 0 0 8rem;
  background: var(--off-white);
}

.intro-photo-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: 280px;
  overflow: hidden;
}

.intro-photo-strip-img {
  background-size: cover;
  background-position: center;
  transition: transform 0.7s cubic-bezier(0.4,0,0.2,1);
  overflow: hidden;
}
.intro-photo-strip-img:hover {
  transform: scale(1.04);
  z-index: 1;
}

.intro-grid {
  padding-top: 5rem;
}

.intro-grid {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 6rem;
  align-items: start;
}

.intro-label-col { padding-top: 0.3rem; }

.intro-content-col h2 { margin-bottom: 1.5rem; color: var(--dark); }
.intro-content-col p { color: #4a4a4a; font-size: 1.05rem; margin-bottom: 1rem; }
.intro-content-col .link-arrow { margin-top: 0.5rem; display: inline-block; }

/* ─── SERVICES / EXPANDABLE FLOW ─────────────────────────────────────────── */
#services {
  background: var(--off-white);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.service-flow-wrap {
  padding: 6rem 0 6.5rem;
}

.service-flow-main {
  display: grid;
  grid-template-columns: repeat(2, minmax(300px, 460px));
  justify-content: center;
  gap: 1.2rem;
  margin-top: 2.5rem;
}

.flow-main-btn {
  border: 1px solid rgba(31, 42, 58, 0.18);
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem 1.5rem;
  text-align: center;
  aspect-ratio: 1 / 1;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  transition: var(--transition);
  position: relative;
}

.flow-main-icon {
  width: 108px;
  height: 108px;
  border-radius: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  background: linear-gradient(145deg, #f7f9fc 0%, #e8edf4 100%);
  border: 1px solid rgba(31,42,58,0.14);
  box-shadow: 0 12px 22px rgba(17, 29, 43, 0.16), inset 0 1px 0 rgba(255,255,255,0.8);
  margin-bottom: 0.55rem;
}

.flow-main-icon svg {
  width: 54px;
  height: 54px;
  stroke-width: 1.8;
}

.flow-main-icon img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  display: block;
}

.flow-main-btn::after {
  content: '+';
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50%;
  color: var(--dark);
  background: rgba(31,42,58,0.08);
}

.flow-main-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(31,42,58,0.3);
  box-shadow: 0 10px 24px rgba(18, 28, 40, 0.09);
}

.flow-main-btn.is-active {
  background: var(--dark);
  border-color: var(--gold);
  box-shadow: 0 16px 34px rgba(18, 28, 40, 0.18);
}

.flow-main-btn.is-active .flow-main-icon {
  color: var(--gold);
  background: linear-gradient(145deg, #324158 0%, #243247 100%);
  border-color: rgba(216,195,154,0.5);
  box-shadow: 0 14px 26px rgba(10, 16, 26, 0.45), inset 0 1px 0 rgba(255,255,255,0.05);
}

.flow-main-btn.is-active::after {
  content: '\2013';
  color: var(--gold);
  background: rgba(216,195,154,0.15);
}

.flow-main-title {
  font-size: clamp(1.55rem, 1.9vw, 1.95rem);
  line-height: 1.2;
  color: var(--dark);
  font-weight: 700;
  max-width: 15ch;
}

.flow-main-meta {
  font-size: 0.88rem;
  line-height: 1.5;
  color: #5a6472;
  max-width: 28ch;
}

.flow-main-btn.is-active .flow-main-title {
  color: var(--white);
}

.flow-main-btn.is-active .flow-main-meta {
  color: rgba(255,255,255,0.72);
}

.service-flow-panels {
  margin-top: 1.1rem;
  display: none;
}

.service-flow-panels.is-open {
  display: block;
}

.flow-panel {
  display: none;
  background: var(--white);
  border: 1px solid rgba(31, 42, 58, 0.16);
  border-radius: 14px;
  padding: 1.3rem;
}

.flow-panel.is-active {
  display: block;
  animation: flowPanelIn 240ms ease;
}

@keyframes flowPanelIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.flow-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
}

.flow-mini-card {
  border: 1px solid rgba(31, 42, 58, 0.14);
  border-radius: 10px;
  padding: 1rem;
  background: var(--off-white);
  display: grid;
  grid-template-columns: 92px 1fr;
  column-gap: 0.95rem;
  align-items: start;
  cursor: pointer;
  transition: var(--transition);
  min-width: 0;
}

.flow-mini-card:hover {
  transform: translateY(-2px);
  border-color: rgba(31, 42, 58, 0.26);
  box-shadow: 0 8px 18px rgba(20, 30, 42, 0.08);
}

.flow-mini-card.is-active {
  border-color: rgba(216, 195, 154, 0.9);
  box-shadow: 0 10px 24px rgba(20, 30, 42, 0.12);
  background: #f9f4ea;
}

.flow-mini-head {
  display: contents;
}

.flow-mini-icon {
  width: 92px;
  height: 92px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  flex-shrink: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  grid-column: 1;
  grid-row: 1 / span 2;
  overflow: hidden;
}

.flow-mini-icon svg {
  width: 44px;
  height: 44px;
}

.flow-mini-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.34);
  transform-origin: center;
  mix-blend-mode: multiply;
  display: block;
}

.flow-mini-card h4 {
  font-size: 0.98rem;
  margin-bottom: 0;
  color: var(--dark);
  grid-column: 2;
  align-self: end;
  min-width: 0;
  overflow-wrap: anywhere;
}

.flow-mini-card p {
  font-size: 0.84rem;
  line-height: 1.55;
  color: #4e5968;
  grid-column: 2;
  margin-top: 0.28rem;
  min-width: 0;
  overflow-wrap: anywhere;
}

.flow-panel-cta {
  margin-top: 1rem;
}

.flow-detail {
  margin-top: 1rem;
  border: 1px solid rgba(31, 42, 58, 0.13);
  border-radius: 18px;
  background: var(--off-white);
  padding: 1.25rem;
}

.flow-detail-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.flow-detail-right {
  margin-top: 0.35rem;
}

.flow-detail-left h3 {
  font-size: 1.55rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.flow-detail-left p {
  color: #4b3d31;
  line-height: 1.6;
  margin-bottom: 0.8rem;
}

.flow-detail-bullets {
  display: grid;
  gap: 0.55rem;
}

.flow-detail-bullets li {
  color: #44372b;
  position: relative;
  padding-left: 1rem;
}

.flow-detail-bullets li::before {
  content: '';
  width: 8px;
  height: 1px;
  background: #f07e2a;
  position: absolute;
  left: 0;
  top: 0.78em;
}

.flow-detail-right h4 {
  font-size: 1.35rem;
  margin-bottom: 0.7rem;
  color: var(--dark);
}

.flow-timeline {
  display: grid;
  gap: 0.55rem;
  background:
    repeating-linear-gradient(
      to right,
      rgba(93, 112, 136, 0.08) 0,
      rgba(93, 112, 136, 0.08) 1px,
      transparent 1px,
      transparent calc(25% - 1px)
    );
  border-radius: 12px;
  padding: 0.75rem;
}

.flow-timeline-item {
  --step-color: #1f8f99;
  --step-bg: #d9f1f3;
  --step-shift: 0%;
  --step-width: 74%;
  margin-left: var(--step-shift);
  width: var(--step-width);
  background: var(--step-bg);
  border: 1px solid rgba(31, 42, 58, 0.14);
  border-left: 6px solid var(--step-color);
  border-radius: 999px;
  padding: 0.55rem 0.8rem 0.62rem;
  box-shadow: 0 7px 14px rgba(27, 43, 60, 0.08);
}

.flow-timeline-item:nth-child(1) {
  --step-color: #17838d;
  --step-bg: #d4eff1;
  --step-shift: 0%;
  --step-width: 78%;
}

.flow-timeline-item:nth-child(2) {
  --step-color: #a14f95;
  --step-bg: #efd8ea;
  --step-shift: 9%;
  --step-width: 74%;
}

.flow-timeline-item:nth-child(3) {
  --step-color: #4f67c4;
  --step-bg: #dde4fa;
  --step-shift: 18%;
  --step-width: 70%;
}

.flow-timeline-item:nth-child(4) {
  --step-color: #2d9f59;
  --step-bg: #d7f0e0;
  --step-shift: 26%;
  --step-width: 66%;
}

.flow-step-badges {
  display: flex;
  gap: 0.45rem;
  margin-bottom: 0.3rem;
  align-items: center;
}

.flow-badge {
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 7px;
}

.flow-badge--step {
  background: rgba(255, 255, 255, 0.7);
  color: var(--step-color);
}

.flow-badge--duration {
  background: rgba(255, 255, 255, 0.52);
  color: var(--step-color);
}

.flow-timeline-item h5 {
  font-size: 0.95rem;
  margin-bottom: 0.18rem;
  color: #1d2c3e;
}

.flow-timeline-item p {
  color: #33495f;
  font-size: 0.83rem;
  line-height: 1.45;
}

.flow-gantt-wrap {
  overflow-x: auto;
  border: 1px solid rgba(31, 42, 58, 0.13);
  border-radius: 12px;
  background: var(--white);
  padding: 0.7rem;
}

.flow-gantt-grid {
  min-width: 0;
}

.flow-gantt-head,
.flow-gantt-step-row,
.flow-gantt-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(320px, 1.4fr);
  column-gap: 10px;
  align-items: center;
}

.flow-gantt-head {
  margin-bottom: 0.32rem;
}

.flow-gantt-col-title,
.flow-gantt-week {
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
}

.flow-gantt-col-title {
  padding: 0.1rem 0.35rem;
}

.flow-gantt-week {
  text-align: left;
  padding: 0.08rem 0 0.08rem 0.1rem;
  letter-spacing: 0.02em;
}

.flow-gantt-week-track {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 4px;
  align-items: center;
}

.flow-gantt-week-track .flow-gantt-week {
  text-align: center;
}

.flow-gantt-group + .flow-gantt-group {
  margin-top: 0.22rem;
}

.flow-gantt-group:nth-of-type(1) {
  --step-color: #17838d;
  --step-soft: rgba(23, 131, 141, 0.12);
}

.flow-gantt-group:nth-of-type(2) {
  --step-color: #a14f95;
  --step-soft: rgba(161, 79, 149, 0.12);
}

.flow-gantt-group:nth-of-type(3) {
  --step-color: #4f67c4;
  --step-soft: rgba(79, 103, 196, 0.12);
}

.flow-gantt-group:nth-of-type(4) {
  --step-color: #2d9f59;
  --step-soft: rgba(45, 159, 89, 0.12);
}

.flow-gantt-group:nth-of-type(5) {
  --step-color: #cf7a2e;
  --step-soft: rgba(207, 122, 46, 0.12);
}

.flow-gantt-step-row {
  border-top: 1px solid rgba(31, 42, 58, 0.12);
  margin-top: 0.15rem;
}

.flow-gantt-step-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
  background: var(--step-soft);
  border-left: 4px solid var(--step-color);
  border-radius: 8px;
  padding: 0.28rem 0.4rem 0.2rem;
}

.flow-gantt-cell {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(31, 42, 58, 0.08);
  background: transparent;
}

.flow-gantt-cell--ghost {
  border-color: transparent;
  background: transparent;
}

.flow-gantt-row {
  min-height: 1.35rem;
}

.flow-gantt-task {
  font-size: 0.82rem;
  color: #1f2126;
  padding: 0.08rem 0.35rem;
  line-height: 1.28;
}

.flow-gantt-track {
  position: relative;
  min-height: 1.15rem;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  border-radius: 999px;
  background:
    repeating-linear-gradient(
      to right,
      rgba(31, 42, 58, 0.07) 0,
      rgba(31, 42, 58, 0.07) 1px,
      transparent 1px,
      transparent calc(8.333% - 1px)
    );
}

.flow-gantt-track--empty {
  background: transparent;
}

.flow-gantt-bar {
  grid-row: 1;
  grid-column: var(--gantt-start) / var(--gantt-end);
  width: 100%;
  height: 0.95rem;
  border-radius: 999px;
  background: var(--step-color);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.22);
}

.flow-gantt-row .flow-gantt-track {
  overflow: hidden;
}

/* ─── WHY CLAD ────────────────────────────────────────────────────────────── */
#why-clad {
  padding: 8rem 0;
  background: var(--dark-2);
}

.compare-table {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.compare-header {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 1.5rem 2rem;
  background: var(--dark-3);
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.compare-col { display: flex; flex-direction: column; }

.compare-col--clad .compare-header {
  background: rgba(200,169,110,0.12);
  color: var(--gold);
}

.compare-item {
  padding: 1.4rem 2rem;
  border-bottom: 1px solid var(--border);
  background: var(--dark);
  flex: 1;
}
.compare-item:last-child { border-bottom: none; }
.compare-item strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.3rem;
}
.compare-item span {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.compare-item--highlight-bad {
  background: rgba(255,100,100,0.05);
  border-top: 1px solid rgba(255,100,100,0.1);
}
.compare-item--highlight-bad strong { color: rgba(255,150,150,0.7); }

.compare-item--highlight-good {
  background: rgba(200,169,110,0.1);
  border-top: 1px solid rgba(200,169,110,0.2);
}
.compare-item--highlight-good strong { color: var(--gold); }

.compare-divider {
  width: 108px;
  background: var(--dark-3);
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
}

.compare-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-logo--compare {
  width: 68px;
  height: auto;
  transform: none;
}

/* ─── WHY UNIQHAUS comparison: stat-forward (6+ vs 1) ─────────────────────── */
.vs-stats {
  display: grid;
  grid-template-columns: 1fr 120px 1fr;
  align-items: center;
  text-align: center;
  margin-bottom: 3rem;
}
.vs-num { font-family: var(--font-serif); font-size: clamp(3.6rem, 8vw, 6.5rem); line-height: 1; }
.vs-neg .vs-num { color: #e07a72; }
.vs-pos .vs-num { color: var(--gold); }
.vs-lbl { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-top: 0.6rem; }
.vs-mid { font-family: var(--font-serif); font-style: italic; font-size: 2rem; color: rgba(255,255,255,0.4); }

.vs-table { display: flex; flex-direction: column; gap: 0.7rem; }
.vs-heads, .vs-row { display: grid; grid-template-columns: 1fr 70px 1fr; align-items: stretch; gap: 0 1rem; }
.vs-row { transition: opacity 0.35s ease; }
.vs-link { position: relative; display: grid; place-items: center; }
.vs-link::before { content: ''; position: absolute; left: 6%; right: 6%; top: 50%; height: 2px; background: rgba(255,255,255,0.12); transition: background 0.35s ease; }
.vs-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.2); position: relative; z-index: 1; transition: background 0.35s ease, box-shadow 0.35s ease; }
.vs-head { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.55); padding-bottom: 0.2rem; }
.vs-pos-head { color: var(--gold); }
.vs-cell {
  display: flex; gap: 0.85rem; align-items: flex-start;
  padding: 1rem 1.2rem; border-radius: 10px;
  border: 1px solid var(--border); background: var(--dark);
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), border-color 0.35s ease, background 0.35s ease;
}
.vs-cell .vs-ic { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 0.78rem; font-weight: 700; margin-top: 0.1rem; }
.vs-cell strong { display: block; font-size: 0.92rem; font-weight: 600; }
.vs-cell span { display: block; font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; margin-top: 0.2rem; }
.vs-cell.vs-neg { filter: saturate(0.6); }
.vs-cell.vs-neg .vs-ic { background: rgba(224,122,114,0.15); color: #e07a72; }
.vs-cell.vs-neg strong { color: rgba(255,255,255,0.72); }
.vs-cell.vs-pos .vs-ic { background: rgba(216,195,154,0.16); color: var(--gold); }
.vs-cell.vs-pos strong { color: #fff; }
.vs-cell.vs-star { border-color: var(--gold); background: rgba(216,195,154,0.08); box-shadow: 0 0 0 1px rgba(216,195,154,0.2); }
.vs-cell.vs-neg.vs-star { border-color: rgba(224,122,114,0.4); background: rgba(224,122,114,0.07); box-shadow: none; }

/* Hover pairing (variant C): hovered row highlights its pair + connector, others dim */
.vs-row.is-active .vs-cell.vs-neg { border-color: rgba(224,122,114,0.5); background: rgba(224,122,114,0.1); transform: translateX(6px); filter: none; }
.vs-row.is-active .vs-cell.vs-pos { border-color: var(--gold); background: rgba(216,195,154,0.12); transform: translateX(-6px); }
.vs-row.is-active .vs-link::before { background: linear-gradient(90deg, #e07a72, var(--gold)); }
.vs-row.is-active .vs-dot { background: var(--gold); box-shadow: 0 0 0 6px rgba(216,195,154,0.15); }
.vs-table.is-dimmed .vs-row:not(.is-active) { opacity: 0.4; }

@media (max-width: 820px) {
  .vs-stats { grid-template-columns: 1fr; gap: 1.2rem; }
  .vs-mid { padding: 0.4rem 0; }
  .vs-heads, .vs-row { grid-template-columns: 1fr; }
  .vs-head, .vs-link { display: none; }
}

/* ─── PROCESS ─────────────────────────────────────────────────────────────── */
#process {
  padding: 8rem 0;
  background: var(--cream);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 3rem;
}

.process-step {
  display: flex;
  gap: 1.5rem;
  padding: 2.5rem;
  border-bottom: 1px solid var(--border-dark);
  border-right: 1px solid var(--border-dark);
  background: var(--white);
  transition: background var(--transition);
}
.process-step:hover { background: var(--off-white); }
.process-step:nth-child(even) { border-right: none; }
.process-step:nth-last-child(-n+2) { border-bottom: none; }

.step-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  min-width: 50px;
}

.step-content h4 {
  color: var(--dark);
  margin-bottom: 0.6rem;
}
.step-content p {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.7;
}

.process-cta { text-align: center; }

/* ─── PROJECTS ────────────────────────────────────────────────────────────── */
#projects {
  padding: 8.5rem 0;
  background: var(--off-white);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: auto;
  gap: 2rem;
}

.projects-grid--board {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: repeat(6, clamp(6.4rem, 9vw, 8.8rem));
  gap: 0.9rem;
  align-items: stretch;
}

.projects-grid--board .project-card {
  aspect-ratio: auto;
  height: 100%;
  min-height: 0;
  border-radius: 18px;
}

.projects-grid--board .project-info h3 {
  font-size: clamp(0.9rem, 1.3vw, 1.15rem);
}

.board-slot-01 { grid-column: 1; grid-row: 1; }
.board-slot-20 { grid-column: 2; grid-row: 1; }
.board-slot-02 { grid-column: 3; grid-row: 1; }
.board-slot-03 { grid-column: 4; grid-row: 1; }
.board-slot-04 { grid-column: 5; grid-row: 1; }
.board-slot-05 { grid-column: 6; grid-row: 1; }
.board-slot-06 { grid-column: 6; grid-row: 2; }
.board-slot-07 { grid-column: 6; grid-row: 3; }
.board-slot-08 { grid-column: 6; grid-row: 4; }
.board-slot-09 { grid-column: 6; grid-row: 5; }
.board-slot-10 { grid-column: 6; grid-row: 6; }
.board-slot-11 { grid-column: 5; grid-row: 6; }
.board-slot-12 { grid-column: 4; grid-row: 6; }
.board-slot-13 { grid-column: 3; grid-row: 6; }
.board-slot-14 { grid-column: 2; grid-row: 6; }
.board-slot-15 { grid-column: 1; grid-row: 6; }
.board-slot-16 { grid-column: 1; grid-row: 5; }
.board-slot-17 { grid-column: 1; grid-row: 4; }
.board-slot-18 { grid-column: 1; grid-row: 3; }
.board-slot-19 { grid-column: 1; grid-row: 2; }

.portfolio-board-brand {
  grid-column: 2 / span 4;
  grid-row: 2 / span 4;
  display: grid;
  place-items: center;
  padding: 2rem;
  border-radius: 28px;
  border: 1px solid rgba(31, 42, 58, 0.14);
  background:
    radial-gradient(circle at 20% 20%, rgba(216, 195, 154, 0.16), transparent 34%),
    radial-gradient(circle at 80% 82%, rgba(133, 161, 190, 0.14), transparent 32%),
    linear-gradient(135deg, #f2efe8 0%, #ece7dc 100%);
  position: relative;
  overflow: hidden;
  perspective: 1600px;
}

.portfolio-board-brand::before {
  content: '';
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(31, 42, 58, 0.08);
  border-radius: 22px;
}

.portfolio-board-brand-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
}

.portfolio-board-brand.is-flipped .portfolio-board-brand-inner {
  transform: rotateY(180deg);
}

.portfolio-board-logo {
  width: clamp(8rem, 14vw, 11.5rem);
  height: auto;
  display: block;
}

.portfolio-board-copy {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #253346;
}

.portfolio-board-default {
  position: absolute;
  inset: 0;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 1rem;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.portfolio-board-hover {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(calc(100% - 2rem), 26rem);
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.65rem;
  padding: 0;
  color: #1f2a3a;
  transform: translate(-50%, -50%) rotateY(180deg);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.portfolio-hover-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b8943f;
}

.portfolio-hover-title {
  font-size: clamp(1.3rem, 1.9vw, 1.9rem);
  font-weight: 600;
  color: #1f2a3a;
  margin: 0;
  text-align: center;
}

.portfolio-hover-sheet {
  width: 100%;
  background: rgba(255, 255, 255, 0.86);
  border: 2px solid #1f2a3a;
  border-radius: 18px;
  padding: 0.9rem 1rem 0.95rem;
  box-shadow: 0 12px 30px rgba(31, 42, 58, 0.1);
}

.portfolio-hover-sheet-head {
  background: #f5a623;
  border: 2px solid #1f2a3a;
  border-radius: 14px;
  padding: 0.75rem 0.85rem 0.8rem;
  text-align: center;
  margin-bottom: 0.7rem;
}

.portfolio-hover-sheet-head p {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1f2a3a;
}

.portfolio-hover-sheet-head h4 {
  margin: 0.45rem 0 0;
  font-size: clamp(1.25rem, 1.8vw, 1.8rem);
  color: #1f2a3a;
}

.portfolio-hover-sheet-type {
  margin: 0 0 0.7rem;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #253346;
}

.portfolio-hover-specs {
  display: grid;
  gap: 0.32rem;
  margin: 0;
}

.portfolio-hover-specs div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: baseline;
}

.portfolio-hover-specs dt,
.portfolio-hover-specs dd {
  margin: 0;
  font-size: 0.84rem;
  color: #1f2a3a;
}

.portfolio-hover-specs dt {
  font-weight: 500;
}

.portfolio-hover-specs dd {
  font-weight: 800;
}

.portfolio-hover-note,
.portfolio-hover-date {
  text-align: center;
  color: #253346;
  margin: 0;
}

.portfolio-hover-note {
  margin-top: 0.8rem;
  font-size: 0.86rem;
  font-weight: 600;
}

.portfolio-hover-date {
  margin-top: 0.2rem;
  font-size: 0.8rem;
  font-weight: 700;
}

.event-hero::before {
  background: linear-gradient(120deg, rgba(17, 28, 43, 0.72), rgba(36, 26, 18, 0.48));
}

.event-overview,
.event-calendar-section {
  padding: 5.5rem 0;
}

.event-overview {
  background: linear-gradient(180deg, #f5efe3 0%, #fbf8f1 100%);
}

.event-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
  gap: 1.5rem;
}

.event-overview-card {
  padding: 2rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(31, 42, 58, 0.1);
  box-shadow: 0 16px 35px rgba(31, 42, 58, 0.08);
}

.event-overview-card h2,
.event-upcoming h3 {
  margin: 0;
}

.event-overview-card p:last-child {
  margin-bottom: 0;
}

.event-overview-card--accent {
  background: linear-gradient(145deg, #1f2a3a 0%, #253346 100%);
  color: #f8f3e8;
}

.event-overview-card--accent .section-label {
  color: rgba(248, 243, 232, 0.68);
}

.event-legend {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.event-legend li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 600;
}

.event-legend-dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 999px;
  flex: 0 0 auto;
}

.event-legend-dot--consultation {
  background: #c98b2f;
}

.event-legend-dot--site {
  background: #3e6c80;
}

.event-legend-dot--workshop {
  background: #9f5b4b;
}

.event-legend-dot--showcase {
  background: #67815d;
}

.event-calendar-section {
  background:
    radial-gradient(circle at top left, rgba(201, 139, 47, 0.12), transparent 28%),
    linear-gradient(180deg, #fbf8f1 0%, #f0eadf 100%);
}

.event-calendar-shell {
  display: grid;
  gap: 1.5rem;
}

.event-calendar-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
}

.event-calendar-toolbar h2 {
  margin: 0.3rem 0 0;
}

.event-calendar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.event-month-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(7rem, 1fr);
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  scrollbar-width: thin;
}

.event-month-pill {
  border: 1px solid rgba(31, 42, 58, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: #526274;
  padding: 0.8rem 1rem;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.event-month-pill:hover,
.event-month-pill:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(31, 42, 58, 0.26);
}

.event-month-pill.is-active {
  background: #1f2a3a;
  color: #f8f3e8;
  border-color: #1f2a3a;
}

.event-calendar-btn {
  border: 1px solid rgba(31, 42, 58, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: #1f2a3a;
  padding: 0.85rem 1.2rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.event-calendar-btn:hover,
.event-calendar-btn:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(31, 42, 58, 0.3);
  box-shadow: 0 10px 22px rgba(31, 42, 58, 0.08);
}

.event-calendar-btn:disabled {
  opacity: 0.45;
  cursor: default;
  transform: none;
  box-shadow: none;
}

.event-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.9rem;
}

.event-calendar-weekday,
.event-calendar-day {
  border-radius: 22px;
}

.event-calendar-weekday {
  padding: 0.85rem 1rem;
  background: rgba(31, 42, 58, 0.92);
  color: #f8f3e8;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
}

.event-calendar-day {
  min-height: 10.5rem;
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(31, 42, 58, 0.08);
  box-shadow: 0 16px 30px rgba(31, 42, 58, 0.06);
  display: grid;
  align-content: start;
  gap: 0.55rem;
}

.event-calendar-day.is-outside {
  opacity: 0.4;
}

.event-calendar-day.is-today {
  border-color: rgba(201, 139, 47, 0.7);
  box-shadow: 0 18px 32px rgba(201, 139, 47, 0.12);
}

.event-calendar-day.has-events {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(245, 239, 227, 0.95));
}

.event-calendar-daynum {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1f2a3a;
}

.event-day-events {
  display: grid;
  gap: 0.5rem;
}

.event-chip {
  border: 0;
  border-radius: 16px;
  padding: 0.65rem 0.7rem;
  color: #fff;
  box-shadow: 0 12px 22px rgba(31, 42, 58, 0.12);
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.event-chip:hover,
.event-chip:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(31, 42, 58, 0.18);
}

.event-chip--consultation {
  background: linear-gradient(135deg, #c98b2f 0%, #e3b166 100%);
}

.event-chip--site {
  background: linear-gradient(135deg, #3e6c80 0%, #5f93aa 100%);
}

.event-chip--workshop {
  background: linear-gradient(135deg, #9f5b4b 0%, #c47d69 100%);
}

.event-chip--showcase {
  background: linear-gradient(135deg, #67815d 0%, #8aa27f 100%);
}

.event-chip-time {
  display: block;
  margin-bottom: 0.18rem;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.event-chip-title {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
}

.event-chip-location {
  display: block;
  margin-top: 0.22rem;
  font-size: 0.72rem;
  line-height: 1.35;
  opacity: 0.92;
}

.event-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 1650;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.event-detail-modal[hidden] {
  display: none;
}

.event-detail-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 18, 28, 0.72);
  backdrop-filter: blur(3px);
}

.event-detail-dialog {
  position: relative;
  width: min(760px, 100%);
  max-height: calc(100dvh - 2.4rem);
  overflow-y: auto;
  background: linear-gradient(180deg, #fffdfa 0%, #f8f3e8 100%);
  border: 1px solid rgba(31, 42, 58, 0.12);
  border-radius: 22px;
  box-shadow: 0 28px 60px rgba(8, 14, 24, 0.32);
  -webkit-overflow-scrolling: touch;
}

.event-detail-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(31, 42, 58, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #1f2a3a;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.event-detail-body {
  padding: 2rem;
}

.event-detail-label {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a6242;
}

.event-detail-body h3 {
  margin: 0;
}

.event-detail-date {
  margin: 0.45rem 0 1rem;
  color: #526274;
  font-weight: 600;
}

.event-detail-summary {
  margin: 0 0 1.2rem;
  color: #263246;
}

.event-detail-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.event-detail-meta-item,
.event-detail-notes {
  border: 1px solid rgba(31, 42, 58, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
}

.event-detail-meta-item {
  padding: 0.95rem 1rem;
}

.event-detail-meta-label {
  display: block;
  margin-bottom: 0.22rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7a6242;
}

.event-detail-meta-value {
  color: #1f2a3a;
  font-weight: 700;
  line-height: 1.45;
}

.event-detail-notes {
  margin-top: 1rem;
  padding: 1.1rem 1rem;
}

.event-detail-notes h4 {
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
}

.event-detail-notes p {
  margin: 0;
  color: #324255;
  line-height: 1.6;
}

@media (max-width: 1080px) {
  .event-overview-grid {
    grid-template-columns: 1fr;
  }

  .event-calendar-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 860px) {
  .event-calendar-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .event-calendar-toolbar {
    align-items: flex-start;
  }

  .event-calendar-day {
    min-height: 6rem;
    padding: 0.55rem;
    gap: 0.35rem;
  }

  .event-calendar-weekday {
    padding: 0.65rem 0.4rem;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
  }
}

@media (max-width: 560px) {
  .event-overview,
  .event-calendar-section {
    padding: 4rem 0;
  }

  .event-calendar-day {
    min-height: 4.6rem;
    padding: 0.35rem;
    border-radius: 16px;
    gap: 0.18rem;
  }

  .event-calendar-weekday {
    padding: 0.45rem 0.2rem;
    border-radius: 14px;
    font-size: 0.62rem;
    letter-spacing: 0.04em;
  }

  .event-calendar-daynum {
    font-size: 0.72rem;
  }

  .event-calendar-day.has-events {
    border-color: rgba(201, 139, 47, 0.5);
    background: rgba(255, 249, 240, 0.98);
    cursor: pointer;
  }

  .event-calendar-day[data-event-id]:active {
    transform: scale(0.98);
  }

  .event-day-events {
    display: flex;
    flex-wrap: wrap;
    gap: 0.18rem;
    margin-top: auto;
  }

  .event-chip {
    width: 0.52rem;
    height: 0.52rem;
    min-width: 0;
    border-radius: 999px;
    padding: 0;
    box-shadow: none;
  }

  .event-chip:hover,
  .event-chip:focus-visible {
    transform: none;
    box-shadow: none;
  }

  .event-chip-time,
  .event-chip-title {
    display: none;
  }

  .event-chip-location {
    display: none;
  }

  .event-detail-body {
    padding: 1.25rem;
  }

  .event-detail-modal {
    align-items: start;
    padding: 0.9rem;
  }

  .event-detail-dialog {
    max-height: calc(100dvh - 1.8rem);
    border-radius: 20px;
  }

  .event-detail-meta {
    grid-template-columns: 1fr;
  }
}

.projects-grid--board .project-card.is-hidden {
  display: none;
}

@media (max-width: 1200px) {
  .projects-grid--board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: 1.3rem;
    overflow: hidden;
  }

  .projects-grid--board .project-card,
  .projects-grid--board .portfolio-board-brand {
    grid-column: auto !important;
    grid-row: auto !important;
  }

  .projects-grid--board .project-card {
    aspect-ratio: 4 / 3;
  }

  .portfolio-board-brand {
    grid-column: 1 / -1 !important;
    min-height: 17rem;
  }

  .portfolio-board-hover {
    max-width: 100%;
  }
}

@media (max-width: 1024px) {
  .projects-grid--board {
    grid-template-columns: 1fr;
  }

  .projects-grid--board .project-card {
    aspect-ratio: 16 / 10;
  }

  .portfolio-board-brand {
    min-height: 14rem;
  }

  .project-filters {
    gap: 0.55rem;
  }

  .filter-btn {
    flex: 1 1 calc(50% - 0.55rem);
    min-width: 0;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .flow-mini-grid {
    grid-template-columns: 1fr;
  }

  .flow-mini-card {
    grid-template-columns: 74px minmax(0, 1fr);
    column-gap: 0.8rem;
  }

  .portfolio-hover-sheet {
    padding: 1rem;
  }

  .portfolio-hover-sheet-head h4 {
    font-size: 1.6rem;
  }

  .portfolio-hover-specs dt,
  .portfolio-hover-specs dd {
    font-size: 0.88rem;
  }

  .portfolio-board-copy {
    font-size: 0.8rem;
    letter-spacing: 0.14em;
  }
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(31, 42, 58, 0.12);
}

.project-card--large { grid-column: span 1; grid-row: span 1; }

.project-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.project-card:hover .project-img { transform: scale(1.06); }

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.02) 0%, rgba(0,0,0,0.01) 40%, rgba(0,0,0,0.02) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.2rem 1.4rem;
  transition: background var(--transition);
}
.project-card:hover .project-overlay,
.project-card:focus-visible .project-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.26) 46%, rgba(0,0,0,0.04) 100%);
}

.project-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.project-info h3 {
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  color: var(--white);
  margin-bottom: 0;
  font-weight: 500;
  text-shadow: 0 2px 18px rgba(0,0,0,0.5);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.project-card:hover .project-info h3,
.project-card:focus-visible .project-info h3 {
  opacity: 1;
  transform: translateY(0);
}

.project-info p,
.project-micro,
.project-link {
  display: none;
}

.project-link {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  transform: translateY(8px);
  transition: var(--transition);
}
.project-card:hover .project-link { opacity: 1; transform: translateY(0); }

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 1600;
  display: grid;
  place-items: center;
  padding: 1.2rem;
}

.project-modal[hidden] { display: none; }

.project-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 18, 28, 0.7);
  backdrop-filter: blur(2px);
}

.project-modal-dialog {
  position: relative;
  width: min(920px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--white);
  border: 1px solid var(--border-dark);
  border-radius: 14px;
  box-shadow: 0 26px 60px rgba(8, 14, 24, 0.35);
}

.project-modal-close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(31, 42, 58, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--dark);
  font-size: 1rem;
  cursor: pointer;
  z-index: 2;
}

.project-modal-hero {
  height: 320px;
  background-size: cover;
  background-position: center;
}

.project-modal-body { padding: 1.4rem 1.5rem 1.6rem; }

.project-modal-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.4rem;
}

.project-modal-location {
  color: #596273;
  font-size: 0.88rem;
  margin-bottom: 0.9rem;
}

.project-modal-summary {
  color: #263246;
  margin-bottom: 1.1rem;
}

.project-modal-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.project-meta-item {
  border: 1px solid rgba(31, 42, 58, 0.14);
  border-radius: 10px;
  background: #f7f9fc;
  padding: 0.75rem;
}

.project-meta-label {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #637085;
  margin-bottom: 0.2rem;
}

.project-meta-value {
  color: #1e2a3a;
  font-weight: 600;
  font-size: 0.9rem;
}

.project-modal-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.project-gallery-item {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  border: 1px solid rgba(31, 42, 58, 0.14);
  cursor: zoom-in;
}

.project-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1800;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.project-lightbox[hidden] { display: none; }

.project-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 12, 20, 0.88);
}

.project-lightbox-dialog {
  position: relative;
  width: min(1100px, 100%);
  max-height: 92vh;
  display: grid;
  place-items: center;
}

.project-lightbox-image {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  background: #111a27;
}

.project-lightbox-close {
  position: absolute;
  top: -8px;
  right: -2px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  background: rgba(22, 33, 48, 0.75);
  color: #fff;
  cursor: pointer;
  z-index: 2;
}

.project-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(22, 33, 48, 0.75);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.project-lightbox-nav--prev { left: 0.6rem; }
.project-lightbox-nav--next { right: 0.6rem; }

.project-lightbox-count {
  position: absolute;
  bottom: -0.9rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: #fff;
  background: rgba(22, 33, 48, 0.75);
}

/* ─── COMMITMENT ──────────────────────────────────────────────────────────── */
#commitment {
  background: var(--dark);
  padding: 7rem 0;
  text-align: center;
  border-top: 1px solid rgba(200,169,110,0.2);
  border-bottom: 1px solid rgba(200,169,110,0.2);
}

.commitment-inner { max-width: 980px; }
.commitment-inner .section-label { justify-content: center; display: flex; }

blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 300;
  font-style: italic;
  color: var(--white);
  line-height: 1.38;
  margin: 1.5rem 0;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  text-wrap: pretty;
}

cite {
  font-size: 0.82rem;
  font-style: normal;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
}

#timeline-by-type .section-header {
  max-width: 860px;
}

#timeline-by-type .section-desc {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── TESTIMONIALS ────────────────────────────────────────────────────────── */
#testimonials {
  padding: 8rem 0;
  background: var(--off-white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 2.5rem;
  transition: var(--transition);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-family: var(--font-serif);
  font-size: 4rem;
  color: var(--gold);
  opacity: 0.2;
  line-height: 1;
}
.testimonial-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

.stars {
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  margin-bottom: 1.2rem;
}

.testimonial-card p {
  font-size: 0.92rem;
  color: #555;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border-dark);
}
.testimonial-author strong {
  font-size: 0.88rem;
  color: var(--dark);
  font-weight: 600;
}
.testimonial-author span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ─── CONTACT ─────────────────────────────────────────────────────────────── */
#contact {
  padding: 8rem 0;
  background: var(--dark-2);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
  align-items: start;
}

.contact-info { color: var(--white); }
.contact-info h2 { color: var(--white); margin-bottom: 1.2rem; }
.contact-info p { color: rgba(255,255,255,0.6); font-size: 1rem; margin-bottom: 2.5rem; line-height: 1.75; }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.contact-detail strong {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.contact-detail span,
.contact-detail a {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  transition: color var(--transition);
}
.contact-detail a:hover { color: var(--gold); }

/* ─── FORM ────────────────────────────────────────────────────────────────── */
.contact-form {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem;
}

/* Houzz Pro embedded form: cap width so the white canvas does not leave
   large empty space in the wide grid column; center it as a clean card */
.contact-form--houzz {
  padding: 0;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  overflow: hidden;
  background: transparent;
  border: none;
}
.contact-form--houzz iframe { border-radius: var(--radius); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}

.form-group label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  padding: 0.85rem 1rem;
  transition: border-color var(--transition), background var(--transition);
  outline: none;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.25); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(200,169,110,0.05);
}

.form-group select { cursor: pointer; }
.form-group select option { background: var(--dark-3); color: var(--white); }
.form-group textarea { resize: vertical; min-height: 130px; }

/* ─── FOOTER ──────────────────────────────────────────────────────────────── */
#footer {
  background: var(--cream);
  border-top: 1px solid var(--border-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.15fr;
  gap: clamp(2rem, 4vw, 4.5rem);
  padding: clamp(4.25rem, 5vw, 5.5rem) 2rem;
}

.footer-brand {
  max-width: 26rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  margin-bottom: 0.3rem;
}

.site-logo--footer {
  height: 4.3rem;
}

.footer-tagline {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #b8943f;
  margin-bottom: 0.85rem;
}

.footer-desc {
  font-size: 0.92rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 1.8rem;
  max-width: 31ch;
}

.social-links {
  display: flex;
  gap: 1rem;
}
.social-links a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #777;
  transition: var(--transition);
}
.social-links a svg { width: 15px; height: 15px; }
.social-links a:hover { border-color: var(--gold); color: var(--gold); }

.footer-col h5 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #b8943f;
  margin-bottom: 1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col li,
.footer-col a {
  font-size: 0.9rem;
  font-weight: 500;
  color: #3a3a3a;
  line-height: 1.75;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid var(--border-dark);
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}
.footer-bottom-links a {
  font-size: 0.78rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-bottom-links a:hover { color: var(--gold); }

/* ─── GALLERY STRIP ──────────────────────────────────────────────────────── */
#gallery-strip {
  overflow: hidden;
}

.gallery-strip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  height: 500px;
  gap: 4px;
}

.gs-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gs-img {
  background-size: cover;
  background-position: center;
  flex: 1;
  transition: transform 0.7s cubic-bezier(0.4,0,0.2,1);
  overflow: hidden;
}
.gs-img--tall {
  grid-row: span 1;
  height: 100%;
}
.gallery-strip-grid > .gs-img { height: 100%; }
.gs-img:hover { transform: scale(1.03); }

/* ─── ANIMATIONS / SCROLL REVEAL ─────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── RESPONSIVE ──────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .compare-divider { width: 80px; }
  .site-logo--compare { width: 52px; }
  .flow-mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .intro-grid { grid-template-columns: 1fr; gap: 2rem; }
  .intro-label-col { display: none; }
  .service-flow-main { grid-template-columns: minmax(280px, 560px); }
  .projects-grid { grid-template-columns: 1fr 1fr; gap: 1.3rem; }
  .project-card { aspect-ratio: 4 / 3; }
  .project-modal-gallery { grid-template-columns: 1fr 1fr; }
  .project-lightbox-nav--prev { left: 0.25rem; }
  .project-lightbox-nav--next { right: 0.25rem; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .compare-table { grid-template-columns: 1fr; }
  .compare-divider { display: none; }
  .compare-col--traditional { display: none; }
  .home-quick-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-title-line { white-space: normal; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-article-layout { grid-template-columns: 1fr; }
  .blog-article-aside { position: static; }
  .related-articles-grid { grid-template-columns: 1fr; }
  .why-grid,
  .scope-grid,
  .timeline-grid,
  .theme-grid,
  .next-steps-grid,
  .source-row,
  .case-grid,
  .checklist-wrap,
  .timeline-band-grid { grid-template-columns: 1fr; }
  #hero .hero-content h1,
  .page-hero-copy h1 { white-space: normal; }
  .hero-title-line { white-space: normal; }
  .page-hero-note { white-space: normal; }
  #service-scope .section-desc { white-space: normal; }
}

@media (max-width: 768px) {
  body {
    padding-bottom: calc(6.5rem + env(safe-area-inset-bottom));
  }

  #hero {
    min-height: auto;
    height: auto;
    padding: 7rem 0 2.5rem;
    align-items: flex-end;
  }

  .hero-content {
    padding-top: 0;
    padding-bottom: 0;
  }

  .hero-sub {
    max-width: none;
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
  }

  .hero-note {
    max-width: none;
    white-space: normal;
    line-height: 1.6;
    margin-bottom: 1.2rem;
  }

  .hero-actions {
    margin-bottom: 2rem;
  }

  .hero-actions .btn,
  .page-hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  .hero-badges { flex-wrap: wrap; gap: 1.5rem; }
  .badge-divider { display: none; }
  .badge { padding: 0; }

  .trust-strip-inner {
    gap: 0.8rem;
    justify-content: stretch;
    padding: 1rem 0;
  }

  .trust-pill {
    width: 100%;
    font-size: 0.64rem;
    letter-spacing: 0.11em;
    line-height: 1.5;
  }

  .flow-main-btn {
    aspect-ratio: auto;
    min-height: 220px;
    justify-content: flex-start;
    padding-top: 1.2rem;
  }
  .flow-main-icon {
    width: 88px;
    height: 88px;
    border-radius: 22px;
  }
  .flow-main-icon svg {
    width: 44px;
    height: 44px;
  }
  .flow-main-icon img {
    width: 58px;
    height: 58px;
  }
  .flow-mini-grid { grid-template-columns: 1fr; }
  .flow-mini-card {
    grid-template-columns: 74px 1fr;
    column-gap: 0.8rem;
  }
  .flow-mini-icon {
    width: 74px;
    height: 74px;
    border-radius: 0;
  }
  .flow-mini-icon svg {
    width: 34px;
    height: 34px;
  }
  .flow-mini-icon img {
    width: 100%;
    height: 100%;
    transform: scale(1.3);
  }
  .flow-detail-inner {
    grid-template-columns: 1fr;
  }
  .flow-timeline-item {
    --step-shift: 0%;
    --step-width: 100%;
    margin-left: 0;
    width: 100%;
    border-radius: 16px;
  }

  .process-steps { grid-template-columns: 1fr; }
  .process-step { border-right: none; }
  .process-step:nth-last-child(-n+2) { border-bottom: 1px solid var(--border-dark); }
  .process-step:last-child { border-bottom: none; }

  .testimonials-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-card--large { grid-column: span 1; grid-row: span 1; }
  .project-card { aspect-ratio: 16 / 10; }
  .project-info h3 { opacity: 1; transform: none; }
  .project-overlay { background: linear-gradient(to top, rgba(0,0,0,0.42) 0%, rgba(0,0,0,0.16) 50%, rgba(0,0,0,0.03) 100%); }
  .project-modal { padding: 0.7rem; }
  .project-modal-hero { height: 220px; }
  .project-modal-meta,
  .project-modal-gallery { grid-template-columns: 1fr; }
  .project-lightbox { padding: 0.45rem; }
  .project-lightbox-image { max-height: 78vh; }
  .project-lightbox-nav { width: 38px; height: 38px; font-size: 1.55rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .site-logo--footer { height: 3.45rem; }
  .contact-form { padding: 2rem 1.5rem; }
  .hero-scroll-indicator { display: none; }
  .intro-photo-strip { grid-template-columns: repeat(3, 1fr); height: 200px; }
  .intro-photo-strip-img:nth-child(4),
  .intro-photo-strip-img:nth-child(5) { display: none; }
  .gallery-strip-grid { grid-template-columns: 1fr 1fr; height: 400px; }
  .page-hero { padding: 8.5rem 0 4rem; }
  .page-hero-actions { flex-direction: column; }
  .mobile-sticky-cta { display: block; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  body {
    padding-bottom: calc(7rem + env(safe-area-inset-bottom));
  }
  #intro, #process, #projects, #testimonials, #contact { padding: 5rem 0; }
  #why-clad, #commitment { padding: 5rem 0; }
  .section-header { margin-bottom: 3rem; }
  #hero {
    padding: 6.6rem 0 2rem;
  }
  .hero-content h1 {
    font-size: clamp(2.8rem, 15vw, 4.2rem);
    margin-bottom: 1rem;
  }
  .hero-label {
    margin-bottom: 0.9rem;
  }
  .hero-sub {
    font-size: 0.95rem;
    margin-bottom: 1.1rem;
  }
  .hero-note {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
  }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; }
  .hero-badges {
    gap: 1rem;
  }
  .badge-num {
    font-size: 1.7rem;
  }
  .badge-label {
    font-size: 0.64rem;
  }
  .trust-strip-inner {
    padding: 0.9rem 0;
  }
  .page-hero {
    padding: 7.5rem 0 3rem;
  }
  .page-hero-copy p,
  .section-desc {
    font-size: 0.95rem;
    line-height: 1.7;
  }
  .blog-article-shell {
    padding: 4.25rem 0 5rem;
  }
  .article-card {
    padding: 1.25rem;
  }
  .article-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .mobile-sticky-cta {
    left: 0.9rem;
    right: 0.9rem;
    padding: 0.9rem 1rem;
    font-size: 0.68rem;
  }
  .letter { font-size: 3.5rem; }
  .service-flow-wrap { padding: 4rem 0 4.8rem; }
}

/* ── Centered page headers (heroes) ──────────────────────────────────────── */
#hero .hero-content,
.page-hero-copy {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
#hero .hero-sub,
.page-hero-copy h1,
.page-hero-copy p {
  margin-left: auto;
  margin-right: auto;
}
#hero .hero-actions,
#hero .hero-badges,
.page-hero-actions {
  justify-content: center;
  align-items: center;
}

/* About page hero: force the headline onto two lines (manual <br>) */
body[data-page="about"] .page-hero-copy h1 {
  max-width: none;
  text-wrap: initial;
}

/* Hide the descriptive sub-paragraph in hero sections (kept in HTML) */
#hero .hero-sub,
.page-hero-copy p:not(.section-label):not(.page-hero-note) { display: none; }

/* Inner-page hero removed visually, but kept in the DOM for SEO + screen readers
   via the standard visually-hidden (sr-only) technique — NOT display:none, so the
   <h1> still carries full ranking weight while staying invisible on screen. */
body:not([data-page="home"]) { padding-top: 6.5rem; }
.page-hero {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0 !important;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  background-image: none !important;
}
.page-hero::before { display: none; }
/* Heroes are now out of flow, so each inner page's first content section sets the
   top gap. Normalize it so every page starts at the same distance below the nav. */
.page-hero + section { padding-top: 3.25rem !important; }

/* Hide these top section headers visually but keep them in the DOM for SEO +
   screen readers (same sr-only technique as the page heroes). */
#service-blocks > .container > .section-header,
#projects > .container > .section-header,
#why-clad .section-header--light,
#blog-articles > .container > .section-header {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0 !important;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Featured case block: the whole card is the link (hover lift + image zoom) */
a.case-grid { text-decoration: none; color: inherit; cursor: pointer; }
.case-grid { transition: transform 0.4s ease; }
.case-card { transition: box-shadow 0.4s ease, border-color 0.4s ease; }
.case-image { transition: transform 0.5s ease, box-shadow 0.4s ease; }
.case-grid:hover { transform: translateY(-6px); }
.case-grid:hover .case-card { box-shadow: 0 22px 45px rgba(0,0,0,0.12); border-color: var(--gold); }
.case-grid:hover .case-image { transform: scale(1.03); box-shadow: 0 22px 45px rgba(0,0,0,0.16); }

/* FAQ accordion: change the question color on hover for clear interactivity */
.faq-item summary,
.faq-quick summary { transition: color 0.25s ease; }
.faq-item summary:hover,
.faq-quick summary:hover,
.faq-item[open] summary,
.faq-quick details[open] summary { color: #b8943f; }
.faq-item:hover { border-color: var(--gold); }

/* Blog cards: whole card is the link, with hover pop-up + thumbnail zoom */
a.blog-card { text-decoration: none; color: inherit; cursor: pointer; }
.blog-card { overflow: hidden; transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease; }
.blog-thumb { transition: transform 0.45s ease; }
.blog-card:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 24px 48px rgba(0,0,0,0.16); border-color: var(--gold); }
.blog-card:hover .blog-thumb { transform: scale(1.07); }
.blog-card:hover .link-arrow { letter-spacing: 0.1em; }

/* Back-to-top floating button (injected by script.js on every page) */
.scroll-top-btn {
  position: fixed;
  bottom: 1.6rem;
  right: 1.6rem;
  z-index: 1200;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0,0,0,0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.25s ease;
}
.scroll-top-btn.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top-btn:hover { background: #b8943f; }
@media (max-width: 768px) {
  .scroll-top-btn { bottom: 5.2rem; right: 1rem; width: 42px; height: 42px; }
}

/* Right-side nav group: phone number left of the CTA button */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  justify-self: end;
}
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--dark);
  white-space: nowrap;
  transition: color var(--transition);
}
.nav-phone svg { flex: none; }
.nav-phone:hover { color: #b8943f; }
@media (max-width: 1024px) {
  .nav-phone { display: none; }
}

/* Services page: 8 service cards in a 4-column grid (homepage keeps 3) */
body[data-page="services"] .home-quick-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { body[data-page="services"] .home-quick-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { body[data-page="services"] .home-quick-grid { grid-template-columns: 1fr; } }

/* Services page: 3D flip service cards (front = image+title, back = desc+CTA) */
.home-quick-card:has(.svc-flip) {
  perspective: 1100px;
  min-height: 330px;
  padding: 0;
  border: none;
  background: transparent;
  overflow: visible;
  box-shadow: none;
}
.svc-flip {
  position: relative;
  width: 100%;
  min-height: 330px;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.home-quick-card:has(.svc-flip):hover .svc-flip { transform: none; }
.home-quick-card:has(.svc-flip) .svc-back { display: none; }
.home-quick-card:has(.svc-flip):hover .home-service-thumb { transform: scale(1.06); }
.svc-face {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
}
.svc-front { color: #fff; }
.svc-front .home-service-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  border: none;
  border-radius: 0;
  z-index: 0;
}
.svc-front::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(18,26,40,0.92), rgba(18,26,40,0.35) 60%);
}
.svc-front h4 { position: relative; z-index: 2; color: #fff; font-size: 1.3rem; margin: 0; }
.svc-m-desc { display: none; }
.svc-back {
  transform: rotateY(180deg);
  background: var(--dark);
  color: #fff;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.svc-back h4 { color: #fff; font-size: 1.3rem; margin: 0 0 0.5rem; }
.svc-back p { color: rgba(255,255,255,0.82); font-size: 0.9rem; line-height: 1.55; margin: 0 0 1.1rem; }
.svc-pill {
  display: inline-block;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 0.55rem 1.1rem;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
/* Mobile: no hover -> show a static overlay card (image + title + description) */
@media (max-width: 768px) {
  .svc-flip { transform: none !important; }
  .svc-back { display: none; }
  .svc-front .svc-m-desc {
    display: block;
    position: relative;
    z-index: 2;
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0.4rem 0 0;
  }
}

/* ===== Service cards: focus (hover 1 ô -> nổi lên, các ô khác nhỏ + mờ; KHÔNG lật) ===== */
.home-quick-card:has(.svc-flip) {
  transition: transform 0.45s cubic-bezier(0.16,1,0.3,1), box-shadow 0.45s ease, opacity 0.45s ease, filter 0.45s ease;
}
.home-quick-grid:hover .home-quick-card:has(.svc-flip) {
  transform: scale(0.92);
  opacity: 0.5;
  filter: saturate(0.65);
}
.home-quick-grid .home-quick-card:has(.svc-flip):hover {
  transform: translateY(-6px) scale(1.04);
  opacity: 1;
  filter: none;
  box-shadow: 0 24px 48px -22px rgba(0,0,0,0.45);
  z-index: 3;
}
@media (max-width: 768px) {
  .home-quick-grid:hover .home-quick-card:has(.svc-flip),
  .home-quick-grid .home-quick-card:has(.svc-flip):hover {
    transform: none; opacity: 1; filter: none;
  }
}

/* ===== Homepage project marquee (dự án chạy ngang) ===== */
.proj-marquee {
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.proj-track {
  display: flex;
  width: max-content;
  animation: scrollx 70s linear infinite;
  will-change: transform;
}
.proj-marquee:hover .proj-track { animation-play-state: paused; }
.proj-marquee .project-card {
  flex: 0 0 auto;
  width: 340px;
  height: 300px;
  margin: 0 1.3rem 0 0;
  aspect-ratio: auto;
  opacity: 1 !important;
  transform: none !important;
}
@keyframes scrollx { to { transform: translateX(-50%); } }
@media (max-width: 560px) {
  .proj-marquee .project-card { width: 260px; height: 220px; margin-right: 1rem; }
}

/* Logo: consistent raised 3D for ALL logos. Crisp stepped extrusion gives the
   "lifted off the paper" feel; the cast shadow is kept tight so the fine
   "design build connect" text stays sharp on both nav and footer. */
.site-logo {
  filter:
    drop-shadow(-0.5px -0.5px 0 rgba(255, 255, 255, 0.8))
    drop-shadow(1px 1px 0 rgba(0, 0, 0, 0.30))
    drop-shadow(2px 2px 0 rgba(0, 0, 0, 0.20))
    drop-shadow(2.5px 3px 2.5px rgba(0, 0, 0, 0.32));
  transition: filter 0.3s ease;
}
.nav-logo:hover .site-logo,
.footer-logo:hover .site-logo {
  filter:
    drop-shadow(-0.5px -0.5px 0 rgba(255, 255, 255, 0.8))
    drop-shadow(1px 1px 0 rgba(0, 0, 0, 0.30))
    drop-shadow(2px 2px 0 rgba(0, 0, 0, 0.22))
    drop-shadow(3px 3px 0 rgba(0, 0, 0, 0.15))
    drop-shadow(5px 6px 5px rgba(0, 0, 0, 0.38));
}

/* ─── SERVICE DETAIL MODAL (Services page) ───────────────────────────────── */
.svc-modal {
  position: fixed; inset: 0; z-index: 9700;
  display: flex; align-items: flex-start; justify-content: center;
  padding: 4vh 1.5rem; overflow: auto;
}
.svc-modal[hidden] { display: none; }
.svc-modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(18,26,40,0.72); backdrop-filter: blur(4px);
  animation: svcFade 0.3s ease;
}
.svc-modal-dialog {
  position: relative; z-index: 1; max-width: 880px; width: 100%; margin: auto;
  background: var(--off-white); border: 1px solid var(--border-dark);
  border-radius: var(--radius); overflow: hidden;
  animation: svcPop 0.42s cubic-bezier(0.16,1,0.3,1);
}
@keyframes svcFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes svcPop { from { opacity: 0; transform: translateY(24px) scale(0.98); } to { opacity: 1; transform: none; } }
.svc-modal-hero { height: 240px; background-size: cover; background-position: center; }
.svc-modal-body { padding: 2.6rem; }
.svc-modal-body .section-label { color: var(--gold-em); margin-bottom: 0.5rem; }
.svc-modal h2 { font-size: clamp(1.9rem, 3vw, 2.4rem); color: var(--dark); margin: 0; }
.svc-modal-tagline {
  font-family: var(--font-serif); font-style: italic; font-size: 1.3rem;
  color: var(--gold-em); margin-top: 0.4rem;
}
.svc-modal-overview { color: #555; margin: 1.1rem 0 2rem; max-width: 740px; line-height: 1.75; }
.svc-modal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.2rem; margin-bottom: 1.8rem; }
.svc-modal-col h4 {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--dark); margin-bottom: 1rem;
}
.svc-modal-list { list-style: none; display: grid; gap: 0.7rem; }
.svc-modal-list li { position: relative; padding-left: 1.6rem; font-size: 0.92rem; color: #444; line-height: 1.5; }
.svc-modal-list--check li::before {
  content: '\2713'; position: absolute; left: 0; top: 0;
  color: var(--gold-em); font-weight: 700; font-size: 0.85rem;
}
.svc-modal-list--arrow li::before {
  content: '\2192'; position: absolute; left: 0; top: 0;
  color: var(--gold-em); font-weight: 700;
}
.svc-modal-meta {
  display: flex; flex-wrap: wrap; gap: 0.7rem;
  border-top: 1px solid var(--border-dark); padding-top: 1.6rem; margin-bottom: 1.8rem;
}
.svc-modal-meta span {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em;
  color: #3a3a3a; background: rgba(184,148,63,0.1); border: 1px solid rgba(184,148,63,0.25);
  padding: 0.5rem 0.9rem; border-radius: 40px;
}
.svc-modal-close {
  position: fixed; top: 1.1rem; right: 1.1rem; z-index: 3;
  width: 44px; height: 44px; border-radius: 50%; border: none;
  background: rgba(255,255,255,0.92); color: var(--dark); font-size: 1.6rem; line-height: 1;
  cursor: pointer; transition: background 0.25s ease, transform 0.25s ease, color 0.25s ease;
}
.svc-modal-close:hover { background: var(--gold-em); color: #fff; transform: rotate(90deg); }
@media (max-width: 720px) {
  .svc-modal-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .svc-modal-hero { height: 180px; }
  .svc-modal-body { padding: 1.8rem; }
}

/* ─── FOOTER BOTTOM BAR ───────────────────────────────────────────────────── */
.footer-bottom {
  border-top: 1px solid var(--border-dark);
  margin-top: 2.6rem;
}
.footer-bottom-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0.8rem; padding: 1.4rem 0;
}
.footer-bottom p { font-size: 0.8rem; color: #6a6a6a; margin: 0; font-weight: 500; }
.footer-bottom-links { display: flex; gap: 1.6rem; }
.footer-bottom-links a { color: #6a6a6a; font-weight: 600; transition: color 0.25s ease; }
.footer-bottom-links a:hover { color: var(--gold-em); }
@media (max-width: 560px) { .footer-bottom-inner { flex-direction: column; text-align: center; } }

/* ─── LEGAL PAGES (Privacy / Terms) ───────────────────────────────────────── */
.legal { padding: 3.25rem 0 6rem; }
.legal-container { max-width: 820px; }
.legal h1 { font-size: clamp(2.2rem, 4vw, 3rem); margin: 0.4rem 0; }
.legal-updated { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 2.5rem; }
.legal h2 { font-size: 1.5rem; margin: 2.4rem 0 0.8rem; color: var(--dark); }
.legal h3 { font-size: 1.05rem; font-family: var(--font-sans); font-weight: 700; margin: 1.4rem 0 0.5rem; color: var(--dark); }
.legal p, .legal li { color: #4a4a4a; line-height: 1.8; font-size: 0.96rem; }
.legal ul { margin: 0.6rem 0 0.8rem 1.2rem; display: grid; gap: 0.45rem; }
.legal a { color: var(--gold-em); font-weight: 600; }

/* ─── SERVICES: icon cards (small icon + title + desc) with focus ─────────── */
.svc-icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.svc-icon-card {
  display: flex; gap: 1.1rem; align-items: flex-start;
  padding: 1.5rem 1.5rem;
  background: var(--dark);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  text-decoration: none; color: inherit; cursor: pointer;
  transition: transform 0.45s cubic-bezier(0.16,1,0.3,1), box-shadow 0.45s ease, opacity 0.45s ease, filter 0.45s ease, border-color 0.45s ease, background 0.35s ease;
}
.svc-icon-tile {
  flex: none; width: 52px; height: 52px; border-radius: 12px;
  background: rgba(216,195,154,0.14); color: var(--gold-light);
  display: grid; place-items: center;
  transition: background 0.35s ease, color 0.35s ease;
}
.svc-icon-tile svg { width: 26px; height: 26px; }
.svc-icon-text h4 { margin: 0 0 0.25rem; color: #fff; font-size: 1.1rem; }
.svc-icon-text p { margin: 0; color: rgba(255,255,255,0.6); font-size: 0.88rem; line-height: 1.5; }
/* Focus: hover one -> others shrink + dim */
.svc-icon-grid:hover .svc-icon-card { transform: scale(0.98); opacity: 0.45; filter: saturate(0.7); }
.svc-icon-grid .svc-icon-card:hover {
  transform: translateY(-4px) scale(1.02); opacity: 1; filter: none;
  border-color: var(--gold); background: var(--dark-2);
  box-shadow: 0 22px 44px -22px rgba(0,0,0,0.55); z-index: 2;
}
.svc-icon-card:hover .svc-icon-tile { background: var(--gold-em); color: #fff; }
@media (max-width: 1024px) { .svc-icon-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) {
  .svc-icon-grid { grid-template-columns: 1fr; }
  .svc-icon-grid:hover .svc-icon-card,
  .svc-icon-grid .svc-icon-card:hover { transform: none; opacity: 1; filter: none; }
}

/* ─── SERVICE & LOCATION PAGES ────────────────────────────────────────────── */
.svc-page-hero { background: var(--dark); color: #fff; padding: 7.5rem 0 3.5rem; text-align: center; }
.svc-page-hero .section-label { color: var(--gold); }
.svc-page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4vw, 3.2rem); margin: 0.5rem 0 0.6rem; }
.svc-page-hero .tagline { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.2rem, 2vw, 1.6rem); color: var(--gold-light); margin: 0 auto; max-width: 760px; }
.svc-page-hero .svc-page-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1.8rem; }
.svc-page-body { padding: 3.5rem 0 4.5rem; }
.svc-page-body .container { max-width: 880px; }
.svc-page-lead { font-size: 1.1rem; line-height: 1.85; color: #444; margin-bottom: 2.4rem; }
.svc-page-related { background: var(--cream); padding: 3.5rem 0; border-top: 1px solid var(--border-dark); }
.svc-page-related h2 { font-size: 1.6rem; margin-bottom: 1.4rem; }
.chip-links { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.chip-links a {
  font-size: 0.82rem; font-weight: 600; color: #3a3a3a;
  background: var(--white); border: 1px solid var(--border-dark);
  padding: 0.55rem 1rem; border-radius: 40px; transition: all 0.25s ease;
}
.chip-links a:hover { border-color: var(--gold); color: var(--gold-em); transform: translateY(-2px); }
.svc-page-cta { text-align: center; padding: 4rem 0; background: var(--dark); color: #fff; }
.svc-page-cta h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 0.8rem; }
.svc-page-cta p { color: rgba(255,255,255,0.7); max-width: 600px; margin: 0 auto 1.6rem; }
.svc-faq { margin-top: 2.6rem; }
.svc-faq h2 { font-size: 1.6rem; margin-bottom: 1rem; }
.svc-faq details { border-bottom: 1px solid var(--border-dark); padding: 1.1rem 0; }
.svc-faq summary { font-family: var(--font-serif); font-size: 1.25rem; color: var(--dark); cursor: pointer; list-style: none; }
.svc-faq summary::-webkit-details-marker { display: none; }
.svc-faq summary:hover, .svc-faq details[open] summary { color: var(--gold-em); }
.svc-faq details p { margin-top: 0.7rem; color: #555; }
.loc-services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem 1.4rem; margin: 1.4rem 0 0; }
.loc-services-grid a { color: var(--gold-em); font-weight: 600; padding: 0.5rem 0; border-bottom: 1px solid var(--border-dark); }
@media (max-width: 620px) { .loc-services-grid { grid-template-columns: 1fr; } }
