﻿/* ==========================================================================
   Rew Construction :: styles.css
   Trade: Luxury / Custom Home, Kitchen & Bath Remodeling, Fine Woodworking
   Fonts: Playfair Display (display) + DM Sans (body)
   Palette: Ink navy + brushed gold + warm ivory (derived from brand logo)
   ========================================================================== */

/* 1. Reset & Box-Sizing
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* 2. CSS Custom Properties (:root)
   ========================================================================== */
:root {
  /* Brand */
  --color-primary: #1e2240;
  --color-primary-dark: #141831;
  --color-secondary: #b9892e;
  --color-accent: #d9b25f;

  /* Text */
  --color-text: #23252e;
  --color-text-muted: #6c6e79;
  --color-text-inverse: #ffffff;
  --color-text-soft: #b8bdd4;

  /* Backgrounds */
  --color-bg: #ffffff;
  --color-bg-alt: #f5f0e5;
  --color-bg-dark: #11152b;
  --color-bg-card: #ffffff;

  /* Borders */
  --color-border: #e6e0d2;
  --color-border-strong: #d2cbb8;
  --color-border-dark: rgba(217, 178, 95, 0.22);

  /* Forms */
  --color-placeholder: #a8a9b3;
  --form-ok-border: #3e7d4e;
  --form-ok-text: #2e6240;
  --form-ok-bg: #f0f7f1;
  --form-err-border: #b04a3a;
  --form-err-text: #94392c;
  --form-err-bg: #fdf2f0;

  /* Buttons */
  --btn-primary-bg: var(--color-secondary);
  --btn-primary-text: #15182e;
  --btn-primary-hover: var(--color-accent);
  --btn-ghost-border: var(--color-secondary);
  --btn-ghost-text: var(--color-secondary);

  /* Fonts */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', 'Segoe UI', sans-serif;

  /* Rhythm */
  --header-h: 78px;
  --shadow-sm: 0 2px 10px rgba(17, 21, 43, 0.07);
  --shadow-md: 0 10px 30px rgba(17, 21, 43, 0.10);
  --shadow-lg: 0 18px 50px rgba(17, 21, 43, 0.16);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* 3. Base Styles
   ========================================================================== */
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
  max-width: 100%;
}

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

a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--color-accent);
}

ul,
ol {
  list-style: none;
}

::selection {
  background: var(--color-secondary);
  color: var(--color-text-inverse);
}

/* 4. Typography
   ========================================================================== */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.16;
  color: var(--color-primary);
  text-wrap: balance;
}

h1 {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.1;
}

h2 {
  font-size: clamp(28px, 3.4vw, 42px);
}

h3 {
  font-size: clamp(20px, 2.2vw, 25px);
}

h4 {
  font-size: 18px;
}

p {
  max-width: 65ch;
  text-wrap: pretty;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 18px;
}

.section-label::before {
  content: "";
  width: 44px;
  height: 1px;
  background: var(--color-secondary);
  flex-shrink: 0;
}

.section-label.centered {
  justify-content: center;
}

.section-label.centered::after {
  content: "";
  width: 44px;
  height: 1px;
  background: var(--color-secondary);
  flex-shrink: 0;
}

.section-heading {
  margin-bottom: 22px;
}

.section-heading em,
h1 em,
h2 em {
  font-style: italic;
  color: var(--color-secondary);
}

.section-subtitle {
  color: var(--color-text-muted);
  font-size: 18px;
  max-width: 58ch;
}

.text-center {
  text-align: center;
}

.prose-gap {
  margin-top: 18px;
}

.feature-list.in-body {
  margin: 26px 0;
}

.detail-cards.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.text-center .section-subtitle,
.text-center p {
  margin-left: auto;
  margin-right: auto;
}

.lead {
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.65;
  color: var(--color-text);
}

.on-dark h2,
.on-dark h3,
.on-dark h4 {
  color: var(--color-text-inverse);
}

.on-dark p {
  color: var(--color-text-soft);
}

/* 5. Layout
   ========================================================================== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
}

.container-narrow {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 28px;
}

.section-pad {
  padding: 110px 0;
}

.section-pad-sm {
  padding: 76px 0;
}

.bg-alt {
  background-color: var(--color-bg-alt);
}

.bg-dark {
  background-color: var(--color-bg-dark);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* 6. Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
  padding: 19px 34px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}

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

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

.btn-ghost {
  background: transparent;
  color: var(--btn-ghost-text);
  border-color: var(--btn-ghost-border);
}

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

.btn-ghost-light {
  background: transparent;
  color: var(--color-text-inverse);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost-light:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn-full {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.6;
  cursor: wait;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-secondary);
}

.text-link svg {
  transition: transform 0.25s var(--ease);
}

.text-link:hover svg {
  transform: translateX(5px);
}

/* 7. Header & Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(20, 24, 49, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border-dark);
  overflow: visible;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.scrolled {
  background: rgba(17, 20, 41, 0.98);
  box-shadow: 0 8px 30px rgba(10, 12, 26, 0.45);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: var(--header-h);
  overflow: visible;
}

/* Oversized logo: fixed slot, image spills below header, shrinks on scroll */
.header-logo {
  display: block;
  position: relative;
  z-index: 1;
  width: 96px;
  height: 56px;
  flex-shrink: 0;
}

.header-logo img {
  position: absolute;
  left: 0;
  top: 2px;
  height: 118px;
  width: auto;
  max-width: none;
  filter: drop-shadow(0 6px 16px rgba(10, 12, 26, 0.5));
  transition: height 0.25s ease-out, filter 0.25s ease-out;
  transform-origin: left top;
}

.site-header.scrolled .header-logo img {
  height: 56px;
  filter: none;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.header-nav > li {
  position: relative;
}

.header-nav a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  padding: 8px 0;
  position: relative;
}

.header-nav > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width 0.25s var(--ease);
}

.header-nav > li > a:hover,
.header-nav > li > a.active {
  color: var(--color-accent);
}

.header-nav > li > a:hover::after,
.header-nav > li > a.active::after {
  width: 100%;
}

.has-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.has-dropdown .caret {
  width: 9px;
  height: 9px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s var(--ease);
}

.dropdown {
  position: absolute;
  top: calc(100% + 16px);
  left: -26px;
  min-width: 280px;
  background: var(--color-primary-dark);
  border: 1px solid var(--color-border-dark);
  padding: 14px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.25s var(--ease);
  box-shadow: var(--shadow-lg);
}

.dropdown::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 0;
  width: 100%;
  height: 16px;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 11px 26px;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.82);
  border-left: 1px solid transparent;
}

.dropdown a:hover {
  color: var(--color-accent);
  border-left-color: var(--color-accent);
  background: rgba(217, 178, 95, 0.06);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-accent);
}

.header-phone svg {
  flex-shrink: 0;
}

.header-phone:hover {
  color: var(--color-text-inverse);
}

.header-phone .phone-label {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--color-border-dark);
  cursor: pointer;
  padding: 0 10px;
}

.mobile-menu-toggle span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--color-accent);
  transition: all 0.3s var(--ease);
}

.mobile-menu-toggle.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.mobile-menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile nav drawer */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--color-bg-dark);
  z-index: 999;
  padding: 40px 28px 48px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}

.mobile-nav.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-nav ul {
  flex: 1;
}

.mobile-nav > ul > li {
  border-bottom: 1px solid rgba(217, 178, 95, 0.14);
}

.mobile-nav > ul > li > a,
.mobile-nav .mobile-sub-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 0;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--color-text-inverse);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.mobile-nav .mobile-sub-toggle .caret {
  width: 11px;
  height: 11px;
  border-right: 1.5px solid var(--color-accent);
  border-bottom: 1.5px solid var(--color-accent);
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease);
  flex-shrink: 0;
  margin-right: 6px;
}

.mobile-nav li.sub-open .mobile-sub-toggle .caret {
  transform: rotate(225deg);
}

.mobile-sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}

li.sub-open .mobile-sub {
  max-height: 420px;
}

.mobile-sub a {
  display: block;
  padding: 12px 0 12px 22px;
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--color-text-soft);
  border-left: 1px solid rgba(217, 178, 95, 0.3);
  margin-bottom: 4px;
}

.mobile-sub a:hover {
  color: var(--color-accent);
}

.mobile-nav-cta {
  margin-top: 34px;
  display: grid;
  gap: 14px;
}

.mobile-nav-cta .mobile-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 700;
  color: var(--color-accent);
  padding: 8px 0;
}

/* 8. Hero
   ========================================================================== */
.hero-section {
  position: relative;
}

.hero-bg {
  position: relative;
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(17, 21, 43, 0.55) 0%,
      rgba(17, 21, 43, 0.38) 38%,
      rgba(17, 21, 43, 0.82) 100%);
}

.hero-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(17, 21, 43, 0.55) 0%, rgba(17, 21, 43, 0) 55%);
}

.hero-section .hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 190px;
  padding-bottom: 96px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 26px;
}

.hero-kicker::before {
  content: "";
  width: 52px;
  height: 1px;
  background: var(--color-accent);
}

.hero-content h1 {
  color: var(--color-text-inverse);
  font-size: clamp(38px, 5.6vw, 68px);
  max-width: 24ch;
  margin-bottom: 26px;
}

.hero-content h1 em {
  color: var(--color-accent);
}

.hero-subtitle {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(19px, 2vw, 24px);
  color: rgba(255, 255, 255, 0.92);
  max-width: 60ch;
  margin-bottom: 18px;
}

.hero-text {
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  max-width: 56ch;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

/* Inner-page hero (services, about, areas, etc.) */
.page-hero .hero-bg {
  min-height: 64vh;
}

.page-hero.tall .hero-bg {
  min-height: 72vh;
}

.page-hero .hero-content {
  padding-top: 170px;
  padding-bottom: 72px;
}

.page-hero .hero-content h1 {
  font-size: clamp(34px, 4.6vw, 56px);
  max-width: 22ch;
}

/* Breadcrumb */
.breadcrumb-bar {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.breadcrumb a {
  color: var(--color-text-muted);
}

.breadcrumb a:hover {
  color: var(--color-secondary);
}

.breadcrumb .crumb-sep {
  color: var(--color-secondary);
}

.breadcrumb .crumb-current {
  color: var(--color-primary);
}

/* 9. Trust Bar
   ========================================================================== */
.trust-bar {
  background: var(--color-bg-dark);
  border-top: 1px solid var(--color-border-dark);
  position: relative;
  z-index: 3;
}

.trust-bar-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  padding: 30px 18px;
  border-left: 1px solid rgba(217, 178, 95, 0.14);
}

.trust-item:first-child {
  border-left: none;
}

.trust-item svg {
  margin-bottom: 6px;
}

.trust-number {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--color-text-inverse);
  line-height: 1.2;
}

.trust-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(184, 189, 212, 0.85);
}

/* 10. Sections
   ========================================================================== */

/* --- 10a. Split feature (about/intro) --- */
.split-section .grid-2 {
  align-items: center;
}

.split-media {
  position: relative;
}

.split-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Stretch variant: image column matches the height of the parallel text column.
   The image is absolutely positioned so its own (often portrait) height never
   drives the row — the text column sets the height and the image fills it. */
.split-section .grid-2--stretch {
  align-items: stretch;
}

.grid-2--stretch .split-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-media::after {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--color-secondary);
  z-index: -1;
}

.split-media.frame-left::after {
  inset: 18px 18px -18px -18px;
}

.split-media .media-tag {
  position: absolute;
  left: -1px;
  bottom: -1px;
  background: var(--color-primary);
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 15px;
  font-style: italic;
  padding: 16px 26px;
  line-height: 1.45;
  max-width: 78%;
}

.split-media .media-tag strong {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.66);
  margin-top: 6px;
}

.split-body p {
  margin-bottom: 18px;
}

.split-body p:last-of-type {
  margin-bottom: 0;
}

.split-body .btn,
.split-body .text-link {
  margin-top: 30px;
}

.statement-line {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(19px, 1.9vw, 23px);
  color: var(--color-primary);
  border-left: 2px solid var(--color-secondary);
  padding-left: 22px;
  margin: 26px 0;
  max-width: 50ch;
}

/* --- 10b. Services bento --- */
.services-section {
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 290px;
  gap: 18px;
  margin-top: 56px;
}

.service-card {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: var(--color-bg-dark);
}

.service-card.large {
  grid-column: span 2;
  grid-row: span 2;
}

.service-card.wide {
  grid-column: span 3;
}

.service-card.wide p {
  display: block;
}

.service-card .card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s var(--ease);
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(185deg, rgba(17, 21, 43, 0.06) 30%, rgba(17, 21, 43, 0.88) 88%);
  transition: background 0.4s var(--ease);
}

.service-card:hover .card-bg {
  transform: scale(1.05);
}

.service-card-content {
  position: relative;
  z-index: 2;
  padding: 30px 32px;
  width: 100%;
}

.service-index {
  font-family: var(--font-display);
  font-size: 14px;
  font-style: italic;
  color: var(--color-accent);
  display: block;
  margin-bottom: 8px;
}

.service-card h3 {
  color: var(--color-text-inverse);
  margin-bottom: 8px;
}

.service-card.large h3 {
  font-size: clamp(24px, 2.6vw, 34px);
}

.service-card p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  max-width: 46ch;
  margin-bottom: 14px;
  display: none;
}

.service-card.large p {
  display: block;
}

.service-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.service-card .card-link::after {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--color-accent);
  transition: width 0.3s var(--ease);
}

.service-card:hover .card-link::after {
  width: 44px;
}

.service-card .full-link {
  position: absolute;
  inset: 0;
  z-index: 3;
}

/* --- 10c. Text marquee divider --- */
.text-marquee {
  overflow: hidden;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 26px 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: scroll-marquee 36s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-track span {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 40px);
  font-style: italic;
  font-weight: 600;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(185, 137, 46, 0.55);
  padding-right: 26px;
}

.marquee-track span i {
  font-style: normal;
  color: var(--color-secondary);
  -webkit-text-stroke: 0;
  padding: 0 22px 0 0;
  font-size: 0.6em;
  vertical-align: middle;
}

@keyframes scroll-marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* --- 10d. Feature band (North Idaho living) --- */
.feature-band {
  position: relative;
  background: var(--color-bg-dark);
}

.feature-band-media {
  position: absolute;
  inset: 0 45% 0 0;
  background-size: cover;
  background-position: center;
}

.feature-band-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 21, 43, 0.08) 55%, rgba(17, 21, 43, 0.96) 100%);
}

.feature-band-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.feature-band-body {
  grid-column: 2;
  padding: 110px 0;
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 30px;
  margin: 34px 0;
}

.feature-list li {
  position: relative;
  padding-left: 26px;
  color: var(--color-text-soft);
  font-size: 15.5px;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 12px;
  height: 1px;
  background: var(--color-accent);
}

/* --- 10e. Stats counter band --- */
.stats-section {
  background: var(--color-bg-dark);
  border-top: 1px solid var(--color-border-dark);
  border-bottom: 1px solid var(--color-border-dark);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  text-align: center;
  padding: 72px 26px;
  border-left: 1px solid rgba(217, 178, 95, 0.14);
}

.stat-item:first-child {
  border-left: none;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(44px, 4.6vw, 64px);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 14px;
}

.stat-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(184, 189, 212, 0.9);
  display: block;
  max-width: 22ch;
  margin: 0 auto;
}

/* --- 10f. Why choose (editorial numbered list) --- */
.why-choose-section .grid-2 {
  align-items: start;
  gap: 80px;
}

.why-intro {
  position: sticky;
  top: 130px;
}

.why-intro p {
  margin-bottom: 16px;
}

.why-intro .btn {
  margin-top: 14px;
}

.why-list {
  counter-reset: why;
}

.why-item {
  counter-increment: why;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 22px;
  padding: 30px 0;
  border-top: 1px solid var(--color-border-strong);
}

.why-item:last-child {
  border-bottom: 1px solid var(--color-border-strong);
}

.why-item::before {
  content: "0" counter(why);
  font-family: var(--font-display);
  font-size: 30px;
  font-style: italic;
  font-weight: 600;
  color: transparent;
  -webkit-text-stroke: 1px var(--color-secondary);
  line-height: 1;
  padding-top: 4px;
}

.why-item h3 {
  margin-bottom: 8px;
}

.why-item p {
  color: var(--color-text-muted);
  font-size: 16px;
}

/* --- 10g. Approach / philosophy --- */
.approach-section {
  position: relative;
  overflow: hidden;
}

.approach-lines {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.4;
  max-width: 24ch;
}

.approach-lines em {
  color: var(--color-secondary);
}

.approach-body p {
  margin-bottom: 16px;
}

.ghost-word {
  position: absolute;
  right: -30px;
  bottom: 10px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(90px, 13vw, 190px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(185, 137, 46, 0.16);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

/* --- 10h. Process steps --- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 34px;
  margin-top: 64px;
  position: relative;
}

.process-steps::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-border-strong);
}

.process-step {
  position: relative;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 43px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-secondary);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.process-section.on-white .step-number {
  background: var(--color-bg);
}

.process-step h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 15px;
  color: var(--color-text-muted);
}

/* --- 10i. Gallery --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  margin-top: 56px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: none;
  padding: 0;
  background: var(--color-bg-dark);
  display: block;
  width: 100%;
  grid-column: span 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  transition: transform 0.6s var(--ease), opacity 0.4s var(--ease);
}

.gallery-item.wide {
  grid-column: span 4;
}

.gallery-item.wide img {
  aspect-ratio: 2.06 / 1;
}

/* Recent Work gallery (service pages): square 1:1 tiles */
.gallery-grid.cols-3 .gallery-item.wide img {
  aspect-ratio: 1 / 1;
}

.gallery-item:hover img {
  transform: scale(1.05);
  opacity: 0.85;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(17, 21, 43, 0.35);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  font-size: 22px;
  font-weight: 300;
}

.gallery-cta {
  text-align: center;
  margin-top: 50px;
}

/* Gallery page: filters + uniform grid */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 44px 0 10px;
}

.filter-btn {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 12px 22px;
  background: transparent;
  border: 1px solid var(--color-border-strong);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--color-secondary);
  color: var(--color-secondary);
}

.gallery-grid.full .gallery-item {
  display: block;
}

.gallery-grid.full .gallery-item.hidden {
  display: none;
}

/* Lightbox */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(13, 16, 33, 0.96);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 60px 80px;
}

.gallery-lightbox.open {
  display: flex;
}

.gallery-lightbox img {
  max-width: 100%;
  max-height: calc(100vh - 140px);
  width: auto;
  height: auto;
  border: 1px solid var(--color-border-dark);
}

.lightbox-btn {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: transparent;
  border: 1px solid rgba(217, 178, 95, 0.5);
  color: var(--color-accent);
  font-size: 24px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

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

.lightbox-close {
  top: 26px;
  right: 26px;
}

.lightbox-prev {
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-caption {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--color-text-soft);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* --- 10j. Areas --- */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 56px;
}

.area-card {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--color-bg-dark);
}

.area-card .card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s var(--ease);
}

.area-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(185deg, rgba(17, 21, 43, 0.1) 35%, rgba(17, 21, 43, 0.9) 92%);
}

.area-card:hover .card-bg {
  transform: scale(1.05);
}

.area-card-content {
  position: relative;
  z-index: 2;
  padding: 26px 28px;
}

.area-card h3 {
  color: var(--color-text-inverse);
  margin-bottom: 4px;
}

.area-card span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.area-card .full-link {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.areas-note {
  margin-top: 36px;
  margin-left: auto;
  margin-right: auto;
  max-width: 620px;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 15.5px;
}

/* --- 10k. Scope / checklist --- */
.scope-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px 34px;
  margin-top: 48px;
}

.scope-list.two-col {
  grid-template-columns: repeat(2, 1fr);
}

.scope-list li {
  position: relative;
  padding: 14px 0 14px 34px;
  border-bottom: 1px solid var(--color-border);
  font-size: 15.5px;
}

.scope-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 22px;
  width: 14px;
  height: 7px;
  border-left: 1.5px solid var(--color-secondary);
  border-bottom: 1.5px solid var(--color-secondary);
  transform: rotate(-45deg);
}

/* --- 10l. Trend / detail cards --- */
.detail-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 56px;
}

.detail-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-top: 2px solid var(--color-secondary);
  padding: 34px 30px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.detail-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.bg-alt .detail-card {
  border: 1px solid var(--color-border);
  border-top: 2px solid var(--color-secondary);
}

.detail-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.detail-card p {
  font-size: 15px;
  color: var(--color-text-muted);
}

.detail-card .card-num {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--color-secondary);
  margin-bottom: 14px;
}

/* --- 10m. Dark quote band --- */
.quote-band {
  background: var(--color-bg-dark);
  position: relative;
  overflow: hidden;
}

.quote-band blockquote {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 600;
  font-style: italic;
  color: var(--color-text-inverse);
  line-height: 1.4;
  max-width: 30ch;
  margin: 0 auto;
  text-align: center;
}

.quote-band blockquote em {
  color: var(--color-accent);
}

.quote-band .quote-source {
  display: block;
  text-align: center;
  margin-top: 26px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(184, 189, 212, 0.8);
}

/* --- 10n. Related services --- */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 50px;
}

.related-card {
  position: relative;
  border: 1px solid var(--color-border);
  padding: 30px;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  background: var(--color-bg-card);
}

.related-card:hover {
  border-color: var(--color-secondary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.related-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.related-card p {
  font-size: 14.5px;
  color: var(--color-text-muted);
  margin-bottom: 18px;
}

.related-card .full-link {
  position: absolute;
  inset: 0;
}

/* --- 10o. CTA strip --- */
.cta-strip {
  background: var(--color-bg-dark);
  position: relative;
  overflow: hidden;
}

.cta-strip::before {
  content: "";
  position: absolute;
  top: -90px;
  right: -70px;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(217, 178, 95, 0.16);
  transform: rotate(45deg);
  pointer-events: none;
}

.cta-strip::after {
  content: "";
  position: absolute;
  top: -50px;
  right: -30px;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(217, 178, 95, 0.09);
  transform: rotate(45deg);
  pointer-events: none;
}

.cta-strip-inner {
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta-strip h2 {
  color: var(--color-text-inverse);
  font-size: clamp(30px, 4vw, 50px);
  max-width: 24ch;
  margin: 0 auto 18px;
}

.cta-strip h2 em {
  color: var(--color-accent);
}

.cta-strip p {
  color: var(--color-text-soft);
  max-width: 56ch;
  margin: 0 auto 36px;
}

.cta-phone {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 34px;
  letter-spacing: 0.01em;
}

.cta-phone:hover {
  color: var(--color-text-inverse);
}

.cta-phone-label {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(184, 189, 212, 0.8);
  margin-bottom: 10px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* --- 10p. FAQ --- */
.faq-list {
  margin-top: 50px;
  border-top: 1px solid var(--color-border-strong);
}

.faq-item {
  border-bottom: 1px solid var(--color-border-strong);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 4px;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 600;
  color: var(--color-primary);
  cursor: pointer;
  list-style: none;
  transition: color 0.2s var(--ease);
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question:hover {
  color: var(--color-secondary);
}

.faq-question::after {
  content: "+";
  font-family: var(--font-body);
  font-size: 26px;
  font-weight: 300;
  color: var(--color-secondary);
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border-strong);
  transition: all 0.3s var(--ease);
}

.faq-item[open] .faq-question::after {
  content: "\00d7";
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: var(--btn-primary-text);
}

.faq-answer {
  padding: 0 56px 28px 4px;
}

.faq-answer p {
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* --- 10q. Values / beliefs list --- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 56px;
}

.value-item {
  border: 1px solid var(--color-border);
  background: var(--color-bg-card);
  padding: 32px 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.value-item:hover {
  transform: translateY(-5px);
  border-color: var(--color-secondary);
  box-shadow: 0 14px 34px rgba(30, 34, 64, 0.12);
}

.value-item .value-num {
  transition: color 0.3s ease;
}

.value-item:hover .value-num {
  color: var(--color-primary);
}

.value-item .value-num {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  color: var(--color-secondary);
  margin-bottom: 12px;
}

.value-item h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.value-item p {
  font-size: 15px;
  color: var(--color-text-muted);
}

/* --- 10r. Experience tags --- */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

.tag-cloud li {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 13px 22px;
  border: 1px solid var(--color-border-strong);
  color: var(--color-text);
  background: var(--color-bg-card);
}

.on-dark .tag-cloud li {
  border-color: rgba(217, 178, 95, 0.3);
  color: var(--color-text-soft);
  background: transparent;
}

.tag-cloud.centered {
  justify-content: center;
}

.detail-card ul {
  margin-top: 14px;
}

.detail-card ul li {
  position: relative;
  padding: 6px 0 6px 20px;
  font-size: 14.5px;
  color: var(--color-text-muted);
}

.detail-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  background: var(--color-secondary);
  transform: rotate(45deg);
}

/* 11. Contact Section (every page, pre-footer)
   ========================================================================== */
.contact-section {
  background: var(--color-bg-alt);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 60px;
  margin-top: 56px;
  align-items: start;
}

.contact-form-wrap {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-top: 2px solid var(--color-secondary);
  padding: 48px;
  box-shadow: var(--shadow-sm);
}

.contact-info-cards {
  display: grid;
  gap: 14px;
}

.contact-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  align-items: center;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  padding: 24px 26px;
}

.contact-card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-secondary);
  color: var(--color-secondary);
}

.contact-card h4 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.contact-card a,
.contact-card p {
  font-size: 16.5px;
  font-weight: 500;
  color: var(--color-primary);
  line-height: 1.45;
}

.contact-card a:hover {
  color: var(--color-secondary);
}

/* 12. Footer
   ========================================================================== */
.site-footer {
  background: var(--color-bg-dark);
  color: var(--color-text-soft);
  border-top: 1px solid var(--color-border-dark);
}

.site-footer .footer-inner {
  padding-top: 86px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 50px;
  padding-bottom: 64px;
}

.footer-logo img {
  width: 150px;
  height: auto;
  margin-bottom: 22px;
}

.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 30ch;
  margin-bottom: 18px;
}

.footer-col p {
  font-size: 14.5px;
  max-width: 36ch;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 22px;
}

.footer-nav li {
  margin-bottom: 11px;
}

.footer-nav a {
  font-size: 14.5px;
  color: var(--color-text-soft);
}

.footer-nav a:hover {
  color: var(--color-accent);
}

.footer-contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 14.5px;
}

.footer-contact svg {
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--color-secondary);
}

.footer-contact a {
  color: var(--color-text-soft);
}

.footer-contact a:hover {
  color: var(--color-accent);
}

.footer-license {
  display: block;
  margin-top: 22px;
  padding: 13px 18px;
  border: 1px solid rgba(217, 178, 95, 0.3);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
  border-top: 1px solid rgba(217, 178, 95, 0.14);
  padding: 26px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: rgba(184, 189, 212, 0.66);
}

.footer-bottom a {
  color: rgba(184, 189, 212, 0.85);
}

.footer-bottom a:hover {
  color: var(--color-accent);
}

/* 13. Forms
   ========================================================================== */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.form-group {
  margin-bottom: 26px;
}

.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 9px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-text);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-border-strong);
  padding: 11px 2px;
  border-radius: 0;
  transition: border-color 0.25s var(--ease);
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7'%3E%3Cpath d='M1 1l4.5 4.5L10 1' fill='none' stroke='%23b9892e' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  cursor: pointer;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-placeholder);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-bottom-color: var(--color-secondary);
}

.form-group textarea {
  resize: vertical;
  min-height: 96px;
}

.form-success,
.form-error {
  margin-top: 22px;
  padding: 18px 22px;
  font-size: 15px;
}

.form-success {
  border: 1px solid var(--form-ok-border);
  color: var(--form-ok-text);
  background: var(--form-ok-bg);
}

.form-error {
  border: 1px solid var(--form-err-border);
  color: var(--form-err-text);
  background: var(--form-err-bg);
}

.form-error a {
  font-weight: 700;
}

/* 14. GMB Map + 404
   ========================================================================== */
.gmb-map-section iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
  filter: grayscale(0.2);
}

.error-404-section {
  padding: 220px 0 130px;
  text-align: center;
}

.error-404-content {
  max-width: 760px;
  margin: 0 auto;
}

.error-404-content h1 {
  margin: 10px 0 20px;
}

.error-404-content p {
  color: var(--color-text-muted);
  margin: 0 auto 36px;
}

.error-404-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* 15. Animations & Responsive
   ========================================================================== */
.fade-in-up {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  .fade-in-up {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .marquee-track {
    animation: none;
  }
}

@media (min-width: 1025px) {
  .header-logo {
    width: 104px;
    height: 58px;
  }

  .header-logo img {
    height: 128px;
  }

  .site-header.scrolled .header-logo img {
    height: 58px;
  }
}

@media (max-width: 1180px) {
  .header-nav {
    gap: 24px;
  }

  .header-phone .phone-label {
    display: none;
  }
}

@media (max-width: 1024px) {
  .section-pad {
    padding: 76px 0;
  }

  .section-pad-sm {
    padding: 60px 0;
  }

  .header-nav,
  .header-cta .header-phone {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .grid-2,
  .why-choose-section .grid-2 {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  /* Single column: image returns to natural flow so it doesn't collapse */
  .grid-2--stretch .split-media img {
    position: static;
    height: auto;
  }

  .why-intro {
    position: static;
  }

  .hero-bg {
    min-height: 88vh;
  }

  .hero-section .hero-content {
    padding-top: 160px;
    padding-bottom: 72px;
  }

  .trust-bar-inner {
    grid-template-columns: repeat(3, 1fr);
  }

  .trust-item {
    border-top: 1px solid rgba(217, 178, 95, 0.14);
  }

  .trust-item:nth-child(3n + 1) {
    border-left: none;
  }

  .trust-item:nth-child(-n + 3) {
    border-top: none;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 250px;
  }

  .service-card.large,
  .service-card.wide {
    grid-column: span 2;
  }

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

  .stat-item {
    padding: 50px 22px;
    border-top: 1px solid rgba(217, 178, 95, 0.14);
  }

  .stat-item:nth-child(odd) {
    border-left: none;
  }

  .stat-item:nth-child(-n + 2) {
    border-top: none;
  }

  .feature-band-media {
    position: relative;
    inset: auto;
    height: 380px;
  }

  .feature-band-media::after {
    background: linear-gradient(180deg, rgba(17, 21, 43, 0) 60%, rgba(17, 21, 43, 0.96) 100%);
  }

  .feature-band-inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .feature-band-body {
    grid-column: 1;
    padding: 64px 0 80px;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .process-steps::before {
    top: 0;
    bottom: 0;
    left: 21px;
    right: auto;
    width: 1px;
    height: auto;
  }

  .process-step {
    display: grid;
    grid-template-columns: 43px 1fr;
    gap: 24px;
    padding-bottom: 38px;
  }

  .process-step .step-number {
    margin-bottom: 0;
  }

  .gallery-item,
  .gallery-item.wide {
    grid-column: span 6;
  }

  .gallery-grid.cols-3 .gallery-item.wide {
    grid-column: span 4;
  }

  .areas-grid,
  .detail-cards,
  .detail-cards.cols-2,
  .related-grid,
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .scope-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 44px;
  }
}

@media (max-width: 768px) {
  /* Decorative outline word sits at right:-30px and pokes past the viewport;
     iOS Safari doesn't reliably clip it, causing horizontal scroll. It's purely
     cosmetic, so drop it on phones. */
  .ghost-word {
    display: none;
  }

  .section-pad {
    padding: 56px 0;
  }

  .section-pad-sm {
    padding: 48px 0;
  }

  body {
    font-size: 16px;
  }

  .container,
  .container-narrow {
    padding: 0 20px;
  }

  .hero-content h1 {
    font-size: clamp(33px, 9vw, 40px);
  }

  .hero-actions .btn {
    width: 100%;
  }

  .trust-bar-inner {
    grid-template-columns: 1fr 1fr;
  }

  .trust-item {
    border-left: 1px solid rgba(217, 178, 95, 0.14);
    border-top: 1px solid rgba(217, 178, 95, 0.14);
    padding: 22px 12px;
  }

  .trust-item:nth-child(3n + 1) {
    border-left: 1px solid rgba(217, 178, 95, 0.14);
  }

  .trust-item:nth-child(odd) {
    border-left: none;
  }

  .trust-item:nth-child(-n + 2) {
    border-top: none;
  }

  .trust-item:nth-child(-n + 3) {
    border-top: 1px solid rgba(217, 178, 95, 0.14);
  }

  .trust-item:nth-child(-n + 2) {
    border-top: none;
  }

  .trust-item:last-child:nth-child(odd) {
    grid-column: span 2;
    border-left: none;
  }

  .services-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 230px;
  }

  .service-card.large,
  .service-card.wide {
    grid-column: span 1;
  }

  .service-card.large {
    grid-row: span 2;
  }

  .service-card.wide p {
    display: none;
  }

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

  .stat-item {
    border-left: none;
    padding: 38px 20px;
  }

  .stat-item:nth-child(-n + 2) {
    border-top: 1px solid rgba(217, 178, 95, 0.14);
  }

  .stat-item:first-child {
    border-top: none;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    gap: 10px;
  }

  .gallery-item {
    grid-column: span 6;
  }

  .gallery-item.wide,
  .gallery-grid.cols-3 .gallery-item.wide {
    grid-column: span 12;
  }

  .areas-grid,
  .detail-cards,
  .detail-cards.cols-2,
  .related-grid,
  .values-grid,
  .scope-list,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-section .hero-content {
    padding-top: 172px;
    padding-bottom: 60px;
  }

  .scope-list {
    gap: 0;
  }

  .contact-form-wrap {
    padding: 32px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 48px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .why-item {
    grid-template-columns: 52px 1fr;
    gap: 16px;
  }

  .split-media::after {
    inset: 12px -12px -12px 12px;
  }

  .split-media.frame-left::after {
    inset: 12px 12px -12px -12px;
  }

  .gallery-lightbox {
    padding: 76px 16px;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .gmb-map-section iframe {
    height: 300px;
  }

  .error-404-section {
    padding: 170px 0 90px;
  }
}

@media (max-width: 560px) {
  .hero-text {
    display: none;
  }

  .hero-kicker {
    font-size: 11px;
    letter-spacing: 0.18em;
  }

  .hero-kicker::before {
    width: 26px;
  }

  .hero-content h1 {
    font-size: clamp(30px, 8.4vw, 38px);
  }
}

/* Titles: italic emphasis without gold accent — inherit the heading's own color */
h1 em, h2 em, h3 em, h4 em, h5 em, h6 em,
.section-heading em,
.hero-content h1 em,
.cta-strip h2 em {
  color: inherit;
}

/* ==========================================================================
   Blog — listing post meta + long-form article body
   ========================================================================== */

/* Post meta line (blog listing cards + article header) */
.post-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--color-secondary);
}
.post-meta .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-border-strong);
}
.related-card .post-meta { margin-top: -0.25rem; }

/* Article header meta sits on the dark hero */
.page-hero .post-meta { justify-content: center; color: var(--color-accent); }
.page-hero .post-meta .dot { background: rgba(217, 178, 95, 0.5); }

/* Long-form article body */
.article-body {
  max-width: 760px;
  margin: 0 auto;
}
.article-body .article-lead {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 1.6rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--color-primary);
  margin: 0 0 2rem;
  padding-left: 1.25rem;
  border-left: 3px solid var(--color-secondary);
}
.article-body p {
  margin: 0 0 1.35rem;
  font-size: 1.06rem;
  line-height: 1.85;
  color: var(--color-text);
}
.article-body h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.2;
  color: var(--color-primary);
  margin: 2.75rem 0 1.1rem;
}
.article-body h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-primary);
  margin: 2rem 0 0.75rem;
}
.article-body ul {
  margin: 0 0 1.5rem;
  padding-left: 1.4rem;
  list-style: disc;
}
.article-body li {
  margin-bottom: 0.55rem;
  font-size: 1.06rem;
  line-height: 1.7;
  color: var(--color-text);
}
.article-body li::marker { color: var(--color-secondary); }
.article-body strong { color: var(--color-primary); font-weight: 700; }
.article-body a { color: var(--color-secondary); text-underline-offset: 2px; }
.article-body > *:last-child { margin-bottom: 0; }
.article-body .table-wrap {
  margin: 0 0 1.35rem;
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: 8px;
}
.article-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.02rem;
}
.article-body th,
.article-body td {
  padding: 0.85rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}
.article-body thead th {
  font-family: var(--font-body);
  font-weight: 700;
  color: #fff;
  background: var(--color-primary);
}
.article-body tbody tr:nth-child(even) { background: var(--color-bg-alt); }
.article-body tbody tr:last-child td { border-bottom: 0; }
.article-body tbody td:first-child { font-weight: 500; color: var(--color-primary); }
.article-body .table-note {
  margin: -0.4rem 0 1.35rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

/* ==========================================================================
   16. Pricing page
   ========================================================================== */

/* Sticky jump nav */
.price-jump {
  background: var(--color-bg-dark);
  border-bottom: 1px solid var(--color-border-dark);
  position: sticky;
  top: var(--header-h);
  z-index: 40;
}
.price-jump-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 40px;
  padding: 18px 28px;
}
.price-jump a {
  color: var(--color-text-soft);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 6px 2px;
  position: relative;
  transition: color 0.3s var(--ease);
}
.price-jump a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--color-secondary);
  transition: width 0.3s var(--ease);
}
.price-jump a:hover { color: #fff; }
.price-jump a:hover::after { width: 100%; }

/* Investment level intro line */
.invest-lead {
  text-align: center;
  text-wrap: balance;
  max-width: none;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(20px, 2vw, 26px);
  color: var(--color-secondary);
  margin: 6px auto 44px;
}

/* Comparison cards */
.invest-compare {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}
.invest-col {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 42px 32px 36px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.invest-col:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(17, 21, 43, 0.16);
}
.invest-col--featured {
  border-color: var(--color-secondary);
  box-shadow: 0 24px 60px rgba(30, 34, 64, 0.22);
}
.invest-flag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
  color: #fff;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 100px;
  white-space: nowrap;
}
.invest-tier {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.invest-amt {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(23px, 2.4vw, 30px);
  font-weight: 600;
  color: var(--color-primary);
  margin: 16px 0 14px;
  line-height: 1.15;
}
.invest-col--featured .invest-amt { color: var(--color-secondary); }
.invest-for {
  flex: 1;
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: 26px;
}
.invest-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  text-decoration: none;
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.invest-link:hover { color: var(--color-secondary); gap: 12px; }

/* Tier detail panels */
.tier-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  padding-bottom: 30px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--color-border);
}
.tier-panel-title {
  position: relative;
  max-width: 640px;
}
.tier-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
  color: #fff;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.tier-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 12px;
}
.tier-panel-head h3 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.1;
  margin: 0;
}
.tier-panel-desc {
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin: 14px 0 0;
}
.tier-panel-price {
  flex-shrink: 0;
  text-align: right;
}
.tier-panel-price .tier-amt {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 600;
  color: var(--color-secondary);
  white-space: nowrap;
  line-height: 1.1;
}
.tier-amt-label {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-top: 8px;
}

/* Spec grid */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.spec-block {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 26px 26px 28px;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.spec-block:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
}
.bg-alt .spec-block { background: #fbf8f1; }
.spec-block--wide { grid-column: 1 / -1; }
.spec-block h4 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}
.spec-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.spec-list li {
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-text);
  padding: 5px 0;
}
.spec-list--2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}
.spec-list--check li {
  padding-left: 24px;
  position: relative;
}
.spec-list--check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--color-secondary);
  border-bottom: 2px solid var(--color-secondary);
  transform: rotate(-45deg);
}
.spec-eg {
  font-size: 13px;
  font-style: italic;
  color: var(--color-text-muted);
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px dashed var(--color-border);
}

/* Included in every project band */
.included-band { background: var(--color-bg-dark); }
.included-grid {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px 30px;
  max-width: 960px;
  margin: 44px auto 0;
}
.included-grid li {
  position: relative;
  padding-left: 32px;
  font-size: 16px;
  color: var(--color-text-soft);
  line-height: 1.5;
}
.included-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 9px;
  border-left: 2px solid var(--color-secondary);
  border-bottom: 2px solid var(--color-secondary);
  transform: rotate(-45deg);
}
.included-note {
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(17px, 1.7vw, 20px);
  color: var(--color-accent);
  margin: 40px auto 0;
  max-width: 720px;
}

/* Bathroom serving line */
.serving-line {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 16px;
}

/* Custom woodworking pricing */
.wood-price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
  margin-top: 44px;
}
.wood-price-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 38px 28px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.wood-price-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 46px rgba(17, 21, 43, 0.15);
}
.wood-price-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 14px;
}
.wood-price {
  display: block;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-secondary);
}

/* Pricing page responsive */

/* Tablet: two columns, featured tier as a full-width banner on top */
@media (max-width: 900px) {
  .invest-compare {
    grid-template-columns: 1fr 1fr;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
  }
  .invest-col--featured {
    grid-column: 1 / -1;
    order: -1;
  }
  .tier-panel-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .tier-panel-price { text-align: left; }
}

/* Tablet: flow spec cards into two vertical columns so rows never leave an
   empty cell, and collapse the cramped in-card checklists to one column */
@media (min-width: 561px) and (max-width: 1024px) {
  .spec-grid {
    display: block;
    column-count: 2;
    column-gap: 20px;
  }
  .spec-block {
    break-inside: avoid;
    margin-bottom: 20px;
  }
  .spec-block--wide {
    column-span: all;
  }
  .spec-block:not(.spec-block--wide) .spec-list--2col {
    grid-template-columns: 1fr;
  }
}

/* Mobile: single column stack, featured first */
@media (max-width: 560px) {
  .invest-compare {
    grid-template-columns: 1fr;
    max-width: 460px;
  }
  .invest-col--featured { grid-column: auto; }
  .price-jump-inner { gap: 6px 22px; }
  .price-jump a { font-size: 11px; letter-spacing: 0.05em; }
  .spec-list--2col { grid-template-columns: 1fr; }
}

/* Anchor scroll offset for the fixed header */
html { scroll-padding-top: 92px; }
