/* ==========================================================================
   Components (BEM). Shared across all pages.
   ========================================================================== */

/* ---- Icon ---------------------------------------------------------------- */
.icon {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
}

.icon--sm { width: 1em; height: 1em; }
.icon--lg { width: 1.75rem; height: 1.75rem; }

/* ---- Reveal stagger helpers (avoid inline styles) ----------------------- */
[data-reveal-delay="1"] { --reveal-delay: 80ms; }
[data-reveal-delay="2"] { --reveal-delay: 160ms; }
[data-reveal-delay="3"] { --reveal-delay: 240ms; }
[data-reveal-delay="4"] { --reveal-delay: 320ms; }
[data-reveal-delay="5"] { --reveal-delay: 400ms; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--color-graphite);
  --btn-border: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  min-height: 52px;
  padding: 0 var(--space-6);
  border: 1px solid var(--btn-border);
  border-radius: var(--radius-sm);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.2;
  text-align: center;
  transition: background-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
}

@media (min-width: 640px) {
  .btn {
    white-space: nowrap;
  }
}
@media (hover: hover) {
  .btn:hover {
    color: var(--btn-fg);
    transform: translateY(-1px);
  }
}

.btn:active {
  transform: translateY(0);
}

.btn .icon {
  transition: transform var(--dur-base) var(--ease-out);
}
@media (hover: hover) {
  .btn:hover .icon--arrow {
    transform: translateX(4px);
  }
}

.btn--brass {
  --btn-bg: var(--color-brass);
  --btn-fg: var(--color-graphite);
  --btn-border: var(--color-brass);
}
@media (hover: hover) {
  .btn--brass:hover {
    --btn-bg: var(--color-brass-light);
    --btn-border: var(--color-brass-light);
    box-shadow: 0 12px 24px -12px rgba(201, 137, 79, 0.7);
  }
}

.btn--dark {
  --btn-bg: var(--color-graphite);
  --btn-fg: var(--color-text-on-dark);
  --btn-border: var(--color-graphite);
}
@media (hover: hover) {
  .btn--dark:hover {
    --btn-bg: var(--color-graphite-80);
    --btn-border: var(--color-graphite-80);
  }
}

.btn--outline {
  --btn-border: var(--color-graphite);
}
@media (hover: hover) {
  .btn--outline:hover {
    --btn-bg: var(--color-graphite);
    --btn-fg: var(--color-text-on-dark);
  }
}

.btn--outline-light {
  --btn-fg: var(--color-text-on-dark);
  --btn-border: rgba(243, 236, 225, 0.45);
}
@media (hover: hover) {
  .btn--outline-light:hover {
    --btn-bg: var(--color-text-on-dark);
    --btn-fg: var(--color-graphite);
    --btn-border: var(--color-text-on-dark);
  }
}

.btn--whatsapp {
  --btn-bg: #1f7a4d;
  --btn-fg: #ffffff;
  --btn-border: #1f7a4d;
}
@media (hover: hover) {
  .btn--whatsapp:hover {
    --btn-bg: #186540;
    --btn-border: #186540;
  }
}

.btn--sm {
  min-height: 44px;
  padding: 0 var(--space-5);
}

.btn--lg {
  min-height: 58px;
  padding: 0 var(--space-7);
}

.btn--block {
  width: 100%;
}

.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 44px;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-brass-ink);
}

.link-arrow .icon {
  transition: transform var(--dur-base) var(--ease-out);
}
@media (hover: hover) {
  .link-arrow:hover .icon {
    transform: translateX(4px);
  }
}

.section--dark .link-arrow,
.card--overlay .link-arrow {
  color: var(--color-brass);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* On phones, stacked buttons share one width for a tidy column */
@media (max-width: 639px) {
  .btn-group > .btn {
    flex: 1 1 100%;
  }
}

/* ==========================================================================
   Brand (logo lockup)
   ========================================================================== */
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 44px;
  text-decoration: none;
  color: var(--color-graphite);
}
@media (hover: hover) {
  .brand:hover {
    color: var(--color-graphite);
  }
}

.brand__mark {
  width: 48px;
  height: auto;
  color: var(--color-ember);
}

.brand__peak {
  fill: currentColor;
}

.brand__cut {
  fill: none;
  stroke: var(--brand-cut, var(--color-ivory));
  stroke-width: 3.6;
}

.brand__text {
  display: grid;
  line-height: 1;
}

.brand__name {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.brand__sub {
  margin-top: 5px;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--color-brass-ink);
}

.brand--light {
  color: var(--color-text-on-dark);
  --brand-cut: var(--color-graphite);
}
@media (hover: hover) {
  .brand--light:hover {
    color: var(--color-text-on-dark);
  }
}

.brand--light .brand__sub {
  color: var(--color-brass);
}

/* ==========================================================================
   Site header & navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  /* Solid background on purpose: backdrop-filter would become the containing
     block for the position:fixed mobile menu and clip it to the header. */
  background: var(--color-ivory);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-base) ease, box-shadow var(--dur-base) ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: 0 6px 24px -18px rgba(28, 24, 20, 0.45);
}

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

.site-header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.site-header__cta {
  display: none;
}

@media (min-width: 480px) {
  .site-header__cta {
    display: inline-flex;
  }
}

/* Click-to-call: 44px icon button on phones/tablets, full number on desktop.
   The number stays in the DOM (visually hidden) so it is the link's accessible name. */
.site-header__phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.site-header__phone .icon {
  width: 1.25rem;
  height: 1.25rem;
}

.site-header__phone-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@media (min-width: 1280px) {
  .site-header__phone {
    padding-inline: var(--space-3);
    border-radius: var(--radius-sm);
  }

  .site-header__phone .icon {
    width: 1rem;
    height: 1rem;
  }

  .site-header__phone-text {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
  }
}

/* Toggle (mobile) */
.site-nav__toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-right: calc(var(--space-2) * -1);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-graphite);
  border-radius: var(--radius-sm);
}

.site-nav__toggle-bars,
.site-nav__toggle-bars::before,
.site-nav__toggle-bars::after {
  display: block;
  width: 24px;
  height: 1.5px;
  background: currentColor;
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-fast) ease;
}

.site-nav__toggle-bars {
  position: relative;
}

.site-nav__toggle-bars::before,
.site-nav__toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.site-nav__toggle-bars::before { top: -7px; }
.site-nav__toggle-bars::after { top: 7px; }

.site-nav__toggle[aria-expanded="true"] .site-nav__toggle-bars {
  background: transparent;
}

.site-nav__toggle[aria-expanded="true"] .site-nav__toggle-bars::before {
  transform: translateY(7px) rotate(45deg);
}

.site-nav__toggle[aria-expanded="true"] .site-nav__toggle-bars::after {
  transform: translateY(-7px) rotate(-45deg);
}

/* Panel (mobile: full-screen sheet below header) */
.site-nav__panel {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: var(--z-menu);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-8);
  padding: var(--space-8) var(--gutter) var(--space-7);
  background: var(--color-graphite);
  background-image: var(--gradient-glow);
  color: var(--color-text-on-dark);
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out),
    visibility 0s linear var(--dur-base);
}

.site-nav__panel.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), visibility 0s;
}

.site-nav__list {
  display: grid;
  gap: var(--space-1);
}

.site-nav__link {
  display: flex;
  align-items: center;
  min-height: 52px;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 500;
  text-decoration: none;
  color: var(--color-text-on-dark);
  border-bottom: 1px solid var(--color-graphite-80);
}
.site-nav__link[aria-current="page"] {
  color: var(--color-brass);
}

@media (hover: hover) {
  .site-nav__link:hover {
    color: var(--color-brass);
  }
}

.site-nav__panel-footer {
  display: grid;
  gap: var(--space-4);
}

.site-nav__contact {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  font-size: var(--text-sm);
  color: var(--color-text-on-dark-muted);
}

.site-nav__contact a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 44px;
  text-decoration: none;
}

@media (min-width: 1024px) {
  .site-nav__toggle {
    display: none;
  }

  .site-nav__panel {
    position: static;
    inset: auto;
    display: block;
    padding: 0;
    background: none;
    color: inherit;
    overflow: visible;
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .site-nav__panel-footer {
    display: none;
  }

  .site-nav__list {
    display: flex;
    align-items: center;
    gap: clamp(var(--space-3), 1.6vw, var(--space-6));
  }

  .site-nav__link {
    position: relative;
    min-height: 44px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    color: var(--color-graphite);
    border-bottom: 0;
  }

  .site-nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 8px;
    height: 1.5px;
    background: var(--color-brass);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--dur-base) var(--ease-out);
  }
.site-nav__link[aria-current="page"] {
    color: var(--color-brass-ink);
  }

@media (hover: hover) {
  .site-nav__link:hover {
      color: var(--color-brass-ink);
    }
}
.site-nav__link[aria-current="page"]::after {
    transform: scaleX(1);
  }

@media (hover: hover) {
  .site-nav__link:hover::after {
      transform: scaleX(1);
    }
}
}

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */
.page-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: clamp(360px, 52vh, 540px);
  padding-block: var(--space-11) var(--space-9);
  background: var(--color-graphite);
  color: var(--color-text-on-dark);
  overflow: hidden;
}

.page-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--gradient-page-hero), var(--gradient-glow);
}

.page-hero__content {
  display: grid;
  gap: var(--space-4);
  max-width: 52rem;
}

.page-hero__title {
  font-size: var(--text-4xl);
}

.page-hero__lead {
  max-width: 40rem;
  font-size: var(--text-lg);
  color: var(--color-text-on-dark-muted);
}

/* Breadcrumbs */
.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-on-dark-muted);
}

.breadcrumbs__item + .breadcrumbs__item::before {
  content: "/";
  margin-right: var(--space-2);
  color: var(--color-brass);
}

.breadcrumbs a {
  text-decoration: none;
}
@media (hover: hover) {
  .breadcrumbs a:hover {
    color: var(--color-brass-light);
  }
}

/* ==========================================================================
   Trust bar
   ========================================================================== */
.trust-bar {
  background: var(--color-graphite-90);
  color: var(--color-text-on-dark);
  border-top: 1px solid var(--color-graphite-80);
}

.trust-bar__list {
  display: grid;
  grid-template-columns: 1fr;
}

.trust-bar__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-5) var(--space-4);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
}

.trust-bar__item + .trust-bar__item {
  border-top: 1px solid var(--color-graphite-80);
}

.trust-bar__item .icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--color-brass);
}

@media (min-width: 768px) {
  .trust-bar__list {
    grid-template-columns: repeat(3, 1fr);
  }

  .trust-bar__item + .trust-bar__item {
    border-top: 0;
    border-left: 1px solid var(--color-graphite-80);
  }

  .trust-bar__item {
    padding-block: var(--space-6);
  }
}

/* ==========================================================================
   Cards
   ========================================================================== */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
@media (hover: hover) {
  .card:hover {
    box-shadow: var(--shadow-md);
  }
}

.card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--color-stone-light);
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease-out);
}
.card:focus-within .card__media img {
  transform: scale(1.04);
}

@media (hover: hover) {
  .card:hover .card__media img {
    transform: scale(1.04);
  }
}

.card__body {
  display: grid;
  gap: var(--space-3);
  padding: var(--space-5);
  flex: 1;
  align-content: start;
}

.card__meta {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-brass-ink);
}

.card__title {
  font-size: var(--text-xl);
}

.card__title a {
  text-decoration: none;
}

/* Whole-card click target via stretched link */
.card__title a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.card__text {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

/* Overlay card: text sits on the image */
.card--overlay {
  border: 0;
  background: var(--color-graphite);
  color: var(--color-text-on-dark);
  min-height: 340px;
}

.card--overlay .card__media {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
}

.card--overlay .card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-image-fade);
}

.card--overlay .card__body {
  position: relative;
  flex: none;
  margin-top: auto;
  padding: var(--space-6);
}

.card--overlay .card__text {
  color: var(--color-text-on-dark-muted);
}

.card--overlay .card__meta {
  color: var(--color-brass);
}

/* ---- Services grid (home) ---------------------------------------------- */
.services-grid {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid > :first-child {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-5);
  }

  .services-grid > :first-child {
    grid-column: span 3;
  }

  .services-grid > :nth-child(2) {
    grid-column: span 3;
  }

  .services-grid > :nth-child(n + 3) {
    grid-column: span 2;
  }

  .services-grid > :nth-child(-n + 2) {
    min-height: 460px;
  }
}

/* ---- Materials grid ---------------------------------------------------- */
.materials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: var(--space-4);
}

@media (min-width: 1280px) {
  .materials-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.material-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 3 / 4;
  width: 100%;
  padding: var(--space-5);
  border-radius: var(--radius-md);
  overflow: hidden;
  isolation: isolate;
  color: var(--color-text-on-dark);
  text-decoration: none;
  background: var(--color-graphite);
}
@media (hover: hover) {
  .material-card:hover {
    color: var(--color-text-on-dark);
  }
}

.material-card__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.material-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1200ms var(--ease-out);
}

.material-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(20, 16, 12, 0.1) 30%, rgba(20, 16, 12, 0.88) 100%);
  pointer-events: none;
}

.material-card__name,
.material-card__tag {
  position: relative;
}

.material-card__index {
  z-index: 1;
}
.material-card:focus-visible .material-card__media img {
  transform: scale(1.06);
}

@media (hover: hover) {
  .material-card:hover .material-card__media img {
    transform: scale(1.06);
  }
}

.material-card__index {
  position: absolute;
  top: var(--space-5);
  left: var(--space-5);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--color-brass);
}

.material-card__name {
  font-size: var(--text-2xl);
}

.material-card__tag {
  margin-top: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-on-dark-muted);
}

/* ==========================================================================
   Process timeline
   ========================================================================== */
.process {
  counter-reset: step;
  display: grid;
  gap: 0;
}

.process__step {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--space-4);
  padding-bottom: var(--space-7);
}

/* Vertical connector (mobile) */
.process__step::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 56px;
  bottom: 0;
  width: 1px;
  background: linear-gradient(var(--color-brass), rgba(201, 137, 79, 0.15));
}

.process__step:last-child::before {
  display: none;
}

.process__num {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--color-brass);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-style: italic;
  color: var(--color-brass-ink);
  background: var(--color-bg);
}

.section--dark .process__num {
  color: var(--color-brass);
  background: var(--color-graphite);
}

.process__title {
  font-size: var(--text-xl);
  margin-top: var(--space-3);
}

.process__text {
  margin-top: var(--space-2);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.section--dark .process__text {
  color: var(--color-text-on-dark-muted);
}

@media (min-width: 1024px) {
  .process {
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-5);
  }

  .process__step {
    grid-template-columns: 1fr;
    padding-bottom: 0;
  }

  /* Horizontal connector (desktop) */
  .process__step::before {
    left: 64px;
    right: calc(var(--space-5) * -1);
    top: 28px;
    bottom: auto;
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, var(--color-brass), rgba(201, 137, 79, 0.2));
  }

  .process__title {
    margin-top: var(--space-2);
  }
}

/* ==========================================================================
   Featured projects (asymmetric)
   ========================================================================== */
.featured {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 160px;
  gap: var(--space-3);
}

.featured__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--color-graphite);
  color: var(--color-text-on-dark);
  text-decoration: none;
  grid-row: span 2;
}

.featured__item--1 {
  grid-column: 1 / -1;
}

.featured__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1200ms var(--ease-out);
}

.featured__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-image-fade);
  opacity: 0.9;
  transition: opacity var(--dur-base) ease;
}

.featured__caption {
  position: absolute;
  left: var(--space-4);
  right: var(--space-4);
  bottom: var(--space-4);
  z-index: 1;
  display: grid;
  gap: 2px;
}

.featured__cat {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-brass);
}

.featured__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  line-height: 1.2;
}
.featured__item:focus-visible img {
  transform: scale(1.05);
}

@media (hover: hover) {
  .featured__item:hover img {
    transform: scale(1.05);
  }
}
@media (hover: hover) {
  .featured__item:hover {
    color: var(--color-text-on-dark);
  }
}

@media (min-width: 1024px) {
  .featured {
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: clamp(120px, 12vw, 180px);
    gap: var(--space-4);
  }

  .featured__item--1 { grid-column: 1 / span 7; grid-row: 1 / span 3; }
  .featured__item--2 { grid-column: 8 / span 5; grid-row: 1 / span 2; }
  .featured__item--3 { grid-column: 8 / span 5; grid-row: 3 / span 3; }
  .featured__item--4 { grid-column: 1 / span 3; grid-row: 4 / span 2; }
  .featured__item--5 { grid-column: 4 / span 4; grid-row: 4 / span 2; }

  .featured__caption {
    left: var(--space-6);
    bottom: var(--space-5);
  }

  .featured__item--1 .featured__title {
    font-size: var(--text-2xl);
  }
}

/* ==========================================================================
   Pillars (Why us)
   ========================================================================== */
.pillars {
  display: grid;
  gap: var(--space-6) var(--space-7);
}

@media (min-width: 640px) {
  .pillars {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pillar {
  display: grid;
  gap: var(--space-3);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-graphite-80);
}

.pillar__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--color-brass);
}

.pillar__title {
  font-size: var(--text-2xl);
}

.pillar__text {
  color: var(--color-text-on-dark-muted);
  font-size: var(--text-sm);
}

/* ==========================================================================
   Video facade (click-to-play, avoids loading 6MB until requested)
   ========================================================================== */
.video-facade {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #000;
  aspect-ratio: 4 / 5;
}

.video-facade__poster,
.video-facade video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-facade__btn {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  width: 100%;
  border: 0;
  padding: var(--space-5);
  background: linear-gradient(180deg, rgba(20, 16, 12, 0.15), rgba(20, 16, 12, 0.65));
  color: var(--color-text-on-dark);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
}

.video-facade__icon {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--color-brass);
  color: var(--color-graphite);
  box-shadow: 0 0 0 10px rgba(201, 137, 79, 0.25);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}

.video-facade__icon .icon {
  width: 30px;
  height: 30px;
  margin-left: 4px;
}
@media (hover: hover) {
  .video-facade__btn:hover .video-facade__icon {
    transform: scale(1.06);
    box-shadow: 0 0 0 16px rgba(201, 137, 79, 0.2);
  }
}

.video-facade__caption {
  position: absolute;
  left: var(--space-5);
  bottom: var(--space-5);
  right: var(--space-5);
  font-size: var(--text-sm);
  color: var(--color-text-on-dark);
  pointer-events: none;
}

.video-facade.is-playing .video-facade__caption {
  display: none;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials {
  display: grid;
  gap: var(--space-5);
}

@media (min-width: 1024px) {
  .testimonials {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  padding: var(--space-7) var(--space-6);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.testimonial__icon {
  width: 36px;
  height: 36px;
  color: var(--color-brass);
}

.testimonial__stars {
  color: var(--color-brass-ink);
  letter-spacing: 0.2em;
  font-size: var(--text-sm);
}

.testimonial__quote {
  flex: 1;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  line-height: 1.4;
}

.testimonial__author {
  display: grid;
  gap: 2px;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
  font-size: var(--text-sm);
}

.testimonial__name {
  font-weight: 700;
  font-style: normal;
}

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

.placeholder-note {
  display: inline-block;
  margin-top: var(--space-5);
  padding: var(--space-2) var(--space-3);
  border: 1px dashed var(--color-brass-ink);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  color: var(--color-brass-ink);
}

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  position: relative;
  isolation: isolate;
  padding-block: clamp(5rem, 3rem + 8vw, 9rem);
  background: var(--color-graphite);
  color: var(--color-text-on-dark);
  text-align: center;
  overflow: hidden;
}

.cta-band__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.cta-band__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.4);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(70% 90% at 50% 50%, rgba(20, 16, 12, 0.72) 0%, rgba(20, 16, 12, 0.94) 100%);
}

.cta-band__inner {
  display: grid;
  justify-items: center;
  gap: var(--space-5);
}

.cta-band__title {
  font-size: var(--text-4xl);
  max-width: 16ch;
}

.cta-band__text {
  max-width: 36rem;
  font-size: var(--text-lg);
  color: var(--color-text-on-dark-muted);
}

.cta-band .btn-group {
  justify-content: center;
  margin-top: var(--space-3);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--color-graphite);
  color: var(--color-text-on-dark-muted);
  font-size: var(--text-sm);
  padding-top: var(--space-10);
  border-top: 1px solid var(--color-graphite-80);
}

.site-footer a {
  text-decoration: none;
}
@media (hover: hover) {
  .site-footer a:hover {
    color: var(--color-brass-light);
  }
}

.site-footer__grid {
  display: grid;
  gap: var(--space-8);
  padding-bottom: var(--space-9);
}

@media (min-width: 640px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .site-footer__grid {
    grid-template-columns: 1.4fr 0.8fr 1fr 1.3fr 1.4fr;
    gap: var(--space-7);
  }
}

.site-footer__brand {
  display: grid;
  gap: var(--space-5);
  align-content: start;
}

.site-footer__heading {
  margin-bottom: var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-text-on-dark);
}

.site-footer__list {
  display: grid;
  gap: 0;
}

.site-footer__list a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 44px;
}

.site-footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.site-footer__contact .icon {
  margin-top: 13px;
  color: var(--color-brass);
}

.site-footer__contact a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  word-break: break-word;
}

.site-footer__contact small {
  display: block;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-on-dark-muted);
}

.site-footer__contact .site-footer__phone {
  display: grid;
  align-content: center;
  padding-block: var(--space-1);
}

.site-footer address {
  font-style: normal;
}

.site-footer__heading--spaced {
  margin-top: var(--space-7);
}

/* Business hours as a definition list (footer) */
.hours-list {
  display: grid;
  gap: var(--space-1);
  margin: 0;
}

.hours-list > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0 var(--space-4);
  padding-block: var(--space-1);
  border-bottom: 1px solid var(--color-graphite-80);
}

.hours-list dt {
  font-weight: 400;
}

.hours-list dd {
  margin: 0;
  font-weight: 600;
  color: var(--color-text-on-dark);
}


.site-footer__areas-note {
  margin-top: var(--space-3);
  font-size: var(--text-xs);
}

.site-footer__areas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.site-footer__areas li {
  padding: var(--space-1) var(--space-3);
  border: 1px solid var(--color-graphite-80);
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
}

.social {
  display: flex;
  gap: var(--space-2);
}

.social__link {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-graphite-80);
  border-radius: 50%;
  color: var(--color-text-on-dark);
  transition: border-color var(--dur-fast) ease, color var(--dur-fast) ease, background-color var(--dur-fast) ease;
}
@media (hover: hover) {
  .social__link:hover {
    border-color: var(--color-brass);
    background: var(--color-brass);
    color: var(--color-graphite) !important;
  }
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3);
  padding-block: var(--space-6);
  /* leave room so the floating WhatsApp button never covers footer text on mobile */
  padding-bottom: calc(var(--space-6) + 72px);
  border-top: 1px solid var(--color-graphite-80);
  font-size: var(--text-xs);
}

/* ==========================================================================
   Floating WhatsApp button
   ========================================================================== */
/* "I'm not a robot" reCAPTCHA (injected by Netlify on the live site).
   Google's widget is a fixed 304 × 78 px; reserve the space to avoid layout shift
   and scale it down where the form card is narrower than the widget. */
.recaptcha {
  width: 304px;
  min-height: 78px;
}

.recaptcha:empty {
  min-height: 0; /* local preview / no reCAPTCHA: no blank gap */
}

@media (max-width: 420px) {
  .recaptcha {
    transform: scale(0.84);
    transform-origin: left top;
    margin-bottom: -12px;
  }
}

@media (max-width: 359px) {
  .recaptcha {
    transform: scale(0.76);
    margin-bottom: -19px;
  }
}

/* Developer credit in the footer bottom bar */
.site-footer__credit a {
  color: var(--color-text-on-dark);
  font-weight: 600;
}

/* Social profile not live yet: visible but not interactive */
.social__link--pending,
.social__link.social__link--pending:hover {
  cursor: default;
  opacity: 0.75;
  background: transparent;
  border-color: var(--color-graphite-80);
  color: var(--color-text-on-dark) !important;
}

.whatsapp-fab {
  position: fixed;
  right: max(var(--space-4), env(safe-area-inset-right));
  bottom: max(var(--space-4), env(safe-area-inset-bottom));
  z-index: var(--z-whatsapp);
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  height: 56px;
  min-width: 56px;
  padding: 0 var(--space-4);
  border-radius: var(--radius-pill);
  background: #1f7a4d;
  color: #fff;
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 700;
  box-shadow: 0 14px 30px -10px rgba(16, 60, 38, 0.6);
  animation: fab-in 600ms var(--ease-out) 1.2s both;
  transition: background-color var(--dur-fast) ease, transform var(--dur-base) var(--ease-out),
    opacity var(--dur-base) ease;
}
@media (hover: hover) {
  .whatsapp-fab:hover {
    background: #186540;
    color: #fff;
    transform: translateY(-2px);
  }
}

.whatsapp-fab .icon {
  width: 28px;
  height: 28px;
}

.whatsapp-fab__label {
  display: none;
}

/* Slide away while the mobile menu is open */
/* Hidden while the mobile menu is open, or while it would overlap key UI
   (form submit row, footer links). See initFabAvoidance() in main.js. */
.is-locked .whatsapp-fab,
.whatsapp-fab.is-tucked {
  animation: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(24px);
  transition: opacity var(--dur-base) ease, transform var(--dur-base) var(--ease-out), visibility 0s linear var(--dur-base);
}

@media (min-width: 1024px) {
  .whatsapp-fab {
    right: var(--space-6);
    bottom: var(--space-6);
    padding: 0 var(--space-5) 0 var(--space-4);
  }

  .whatsapp-fab__label {
    display: inline;
  }
}

@keyframes fab-in {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-fab {
    animation: none;
  }
}

/* ==========================================================================
   Filters (chips) — used by gallery and blog
   ========================================================================== */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-7);
}

.filters__btn {
  min-height: 44px;
  padding: 0 var(--space-5);
  border: 1px solid var(--color-stone);
  border-radius: var(--radius-pill);
  background: transparent;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-graphite);
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
@media (hover: hover) {
  .filters__btn:hover {
    border-color: var(--color-graphite);
  }
}

.filters__btn[aria-pressed="true"] {
  background: var(--color-graphite);
  border-color: var(--color-graphite);
  color: var(--color-text-on-dark);
}

.filters__count {
  margin-left: var(--space-1);
  opacity: 0.8;
}

/* ==========================================================================
   Gallery grid & lightbox
   ========================================================================== */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}

@media (min-width: 640px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
  }
}

@media (min-width: 1024px) {
  .gallery {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery__item.is-hidden {
  display: none;
}

.gallery__btn {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-stone-light);
  aspect-ratio: 4 / 5;
  text-align: left;
  color: var(--color-text-on-dark);
}

.gallery__btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease-out);
}

.gallery__btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-image-fade);
  opacity: 0.85;
}

.gallery__caption {
  position: absolute;
  left: var(--space-3);
  right: var(--space-3);
  bottom: var(--space-3);
  z-index: 1;
  display: grid;
  gap: 2px;
}

.gallery__cat {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-brass);
}

.gallery__title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  line-height: 1.2;
}

@media (min-width: 640px) {
  .gallery__caption {
    left: var(--space-4);
    right: var(--space-4);
    bottom: var(--space-4);
  }

  .gallery__title {
    font-size: var(--text-lg);
  }
}

.gallery__zoom {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  z-index: 1;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(247, 242, 234, 0.92);
  color: var(--color-graphite);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity var(--dur-base) ease, transform var(--dur-base) var(--ease-out);
}
.gallery__btn:focus-visible img {
  transform: scale(1.05);
}

@media (hover: hover) {
  .gallery__btn:hover img {
    transform: scale(1.05);
  }
}
.gallery__btn:focus-visible .gallery__zoom {
  opacity: 1;
  transform: none;
}

@media (hover: hover) {
  .gallery__btn:hover .gallery__zoom {
    opacity: 1;
    transform: none;
  }
}

.gallery__status {
  margin-top: var(--space-5);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* Lightbox (native <dialog>: focus trap + Esc handled by the browser) */
.lightbox {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(14, 11, 8, 0.96);
  color: var(--color-text-on-dark);
}

.lightbox::backdrop {
  background: rgba(14, 11, 8, 0.9);
}

.lightbox[open] {
  display: grid;
  grid-template-rows: auto 1fr auto;
  animation: lightbox-in var(--dur-base) var(--ease-out);
}

@keyframes lightbox-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--space-4);
}

.lightbox__counter {
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  color: var(--color-text-on-dark-muted);
}

.lightbox__stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 0 var(--space-4);
}

.lightbox__figure {
  display: grid;
  justify-items: center;
  gap: var(--space-4);
  max-height: 100%;
  min-height: 0;
}

.lightbox__img {
  max-width: min(100%, 1000px);
  max-height: calc(100vh - 220px);
  max-height: calc(100dvh - 220px);
  width: auto;
  height: auto;
  min-width: min(100%, 360px);
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.lightbox__caption {
  text-align: center;
  font-family: var(--font-display);
  font-size: var(--text-lg);
}

.lightbox__caption small {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-brass);
}

.lightbox__btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(243, 236, 225, 0.25);
  border-radius: 50%;
  background: rgba(28, 24, 20, 0.6);
  color: var(--color-text-on-dark);
  transition: background-color var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
@media (hover: hover) {
  .lightbox__btn:hover {
    background: var(--color-brass);
    border-color: var(--color-brass);
    color: var(--color-graphite);
  }
}

.lightbox__btn:focus-visible {
  outline-color: var(--color-brass-light);
}

.lightbox__nav {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  padding: var(--space-4);
}

@media (min-width: 1024px) {
  .lightbox__nav {
    position: absolute;
    inset: 50% var(--space-6) auto;
    justify-content: space-between;
    padding: 0;
    transform: translateY(-50%);
    pointer-events: none;
  }

  .lightbox__nav .lightbox__btn {
    pointer-events: auto;
    width: 56px;
    height: 56px;
  }
}

/* ==========================================================================
   Forms
   ========================================================================== */
.form {
  display: grid;
  /* minmax(0, …): fixed-width widgets (e.g. reCAPTCHA) must not widen the form on small phones */
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-5);
}

.form__row {
  display: grid;
  gap: var(--space-5);
}

@media (min-width: 768px) {
  .form__row--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.field {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-2);
  align-content: start;
  min-width: 0;
}

.field__label {
  font-size: var(--text-sm);
  font-weight: 600;
}

.field__req {
  color: var(--color-error);
  margin-left: 2px;
}

.field__hint {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.field__input,
.field__select,
.field__textarea {
  width: 100%;
  min-height: 52px;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-stone);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  font-size: var(--text-base);
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}

.field__textarea {
  min-height: 140px;
  resize: vertical;
}

.field__select {
  appearance: none;
  padding-right: var(--space-8);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c1814' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}
@media (hover: hover) {
  .field__input:hover,
  .field__select:hover,
  .field__textarea:hover {
    border-color: var(--color-stone-dark);
  }
}

.field__input:focus,
.field__select:focus,
.field__textarea:focus {
  outline: none;
  border-color: var(--color-graphite);
  box-shadow: 0 0 0 3px rgba(201, 137, 79, 0.45);
}

.field.is-invalid .field__input,
.field.is-invalid .field__select,
.field.is-invalid .field__textarea,
.field.is-invalid .file-drop {
  border-color: var(--color-error);
}

.field__error {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-error);
}

.field__error:empty {
  display: none;
}

.field__error::before {
  content: "!";
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-error);
  color: #fff;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* File upload */
.file-drop {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5);
  border: 1px dashed var(--color-stone);
  border-radius: var(--radius-md);
  background: var(--color-white);
  transition: border-color var(--dur-fast) ease, background-color var(--dur-fast) ease;
}
.file-drop.is-dragover {
  border-color: var(--color-brass-ink);
  background: #fbf6ef;
}

@media (hover: hover) {
  .file-drop:hover {
    border-color: var(--color-brass-ink);
    background: #fbf6ef;
  }
}

.file-drop:focus-within {
  border-color: var(--color-graphite);
  box-shadow: 0 0 0 3px rgba(201, 137, 79, 0.45);
}

.file-drop__input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-drop__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-ivory-deep);
  color: var(--color-brass-ink);
  flex-shrink: 0;
}

.file-drop__text {
  font-size: var(--text-sm);
}

.file-drop__text strong {
  color: var(--color-brass-ink);
}

.file-drop__name {
  display: block;
  margin-top: 2px;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  word-break: break-all;
}

/* Checkbox */
.check {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  cursor: pointer;
}

.check__input {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  accent-color: var(--color-brass-ink);
  cursor: pointer;
}

/* Honeypot: off-screen, not display:none (some bots skip hidden fields) */
.form__hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__footer {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 640px) {
  .form__footer {
    grid-template-columns: auto 1fr;
    align-items: center;
  }
}

.form__privacy {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* Submit loading spinner */
.btn__spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

.is-loading .btn__spinner {
  display: inline-block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Status messages */
.alert {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-4);
  padding: var(--space-5);
  border-radius: var(--radius-md);
  border: 1px solid;
  font-size: var(--text-sm);
}

.alert:focus {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
}

.alert__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
}

.alert__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  margin-bottom: var(--space-1);
}

.alert--success {
  background: #eef5ef;
  border-color: #b8d4c0;
  color: #1f4730;
}

.alert--success .alert__icon {
  background: var(--color-success);
}

.alert--error {
  background: #fbefec;
  border-color: #e6bdb3;
  color: #6d2214;
}

.alert--error .alert__icon {
  background: var(--color-error);
}

/* ==========================================================================
   Blog cards, states, prose
   ========================================================================== */
.post-grid {
  display: grid;
  gap: var(--space-6) var(--space-5);
}

@media (min-width: 640px) {
  .post-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .post-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.post-card .card__media {
  aspect-ratio: 16 / 10;
}

.post-card__date {
  margin-top: auto;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.state {
  display: grid;
  justify-items: center;
  gap: var(--space-4);
  padding: var(--space-10) var(--space-5);
  text-align: center;
  border: 1px dashed var(--color-stone);
  border-radius: var(--radius-md);
}

.state__title {
  font-size: var(--text-2xl);
}

.state__text {
  max-width: 32rem;
  color: var(--color-text-muted);
}

/* Skeleton loading cards */
.skeleton {
  border-radius: var(--radius-md);
  background: linear-gradient(90deg, var(--color-ivory-deep) 25%, #f4ede2 50%, var(--color-ivory-deep) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s ease-in-out infinite;
}

.skeleton--card {
  height: 380px;
}

.skeleton--line {
  height: 1.2em;
  margin-bottom: var(--space-3);
}

.skeleton--title {
  height: 3.2em;
  width: 80%;
  margin-bottom: var(--space-5);
}

.skeleton--image {
  aspect-ratio: 16 / 9;
  margin-block: var(--space-7);
}

@keyframes shimmer {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .skeleton {
    animation: none;
  }
}

/* Long-form article content */
.prose {
  font-size: var(--text-lg);
  line-height: 1.75;
}

.prose > * + * {
  margin-top: var(--space-5);
}

.prose h2 {
  margin-top: var(--space-9);
  font-size: var(--text-2xl);
}

.prose h3 {
  margin-top: var(--space-7);
  font-size: var(--text-xl);
}

.prose h2 + *,
.prose h3 + * {
  margin-top: var(--space-3);
}

.prose ul,
.prose ol {
  padding-left: 1.4em;
}

.prose li + li {
  margin-top: var(--space-2);
}

.prose li::marker {
  color: var(--color-brass-ink);
}

.prose a {
  color: var(--color-brass-ink);
  text-decoration: underline;
}

.prose blockquote {
  padding: var(--space-2) 0 var(--space-2) var(--space-6);
  border-left: 2px solid var(--color-brass);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-style: italic;
}

.prose img {
  border-radius: var(--radius-md);
}

.prose hr {
  border: 0;
  height: 1px;
  background: var(--color-border);
  margin-block: var(--space-8);
}

.prose .table-wrap,
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.prose table,
.data-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: var(--text-sm);
  background: var(--color-white);
}

.prose th,
.prose td,
.data-table th,
.data-table td {
  padding: var(--space-3) var(--space-4);
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}

.prose th,
.data-table thead th {
  background: var(--color-graphite);
  color: var(--color-text-on-dark);
  font-weight: 600;
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.data-table tbody th {
  font-weight: 700;
}

.prose tr:last-child td,
.data-table tr:last-child td,
.data-table tr:last-child th {
  border-bottom: 0;
}

/* ==========================================================================
   FAQ (details/summary)
   ========================================================================== */
.faq {
  border-top: 1px solid var(--color-border);
}

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

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 64px;
  padding-block: var(--space-4);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  cursor: pointer;
  list-style: none;
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__q .icon {
  color: var(--color-brass-ink);
  transition: transform var(--dur-base) var(--ease-out);
}

.faq__item[open] .faq__q .icon {
  transform: rotate(45deg);
}

.faq__a {
  padding-bottom: var(--space-5);
  max-width: 52rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   Map facade
   ========================================================================== */
.map {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 16 / 10;
  background: var(--color-graphite-90);
  color: var(--color-text-on-dark);
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}



.location__map {
  display: grid;
  gap: var(--space-3);
}

.contact-card__address {
  font-style: normal;
}
