/* ==========================================================================
   KALA SPACE - Modern Architectural Editorial Stylesheet
   ========================================================================== */

:root {
  /* Light Editorial Palette (Warm Limestone) */
  --bg: #F6F4EF;
  --bg-elevated: #EFECE4;
  --surface: #E7E2D8;
  --surface-hover: #DDD6C8;
  --text: #181715;
  --text-muted: #59544C;
  --accent: #8C6A4A;
  --accent-strong: #6E5136;
  --hairline: rgba(24, 23, 21, 0.13);
  --hairline-strong: rgba(24, 23, 21, 0.28);
  --header-bg: rgba(246, 244, 239, 0.88);
  --btn-primary-bg: #181715;
  --btn-primary-text: #F6F4EF;
  --btn-primary-hover: #8C6A4A;
  --card-bg: #FAF9F5;
  --shadow-soft: 0 24px 64px -24px rgba(24, 23, 21, 0.12);

  /* Typography */
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing & Layout */
  --container-max: 1320px;
  --gutter: clamp(1.25rem, 3.5vw, 3rem);
  --section-py: clamp(4.5rem, 9vw, 8.5rem);
  --radius-xs: 2px;
  --radius-sm: 4px;
  --ease-editorial: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Smooth Dark Architectural Mode (Triggered on Work Process section) */
body.is-dark-theme {
  --bg: #161513;
  --bg-elevated: #1E1C19;
  --surface: #25221E;
  --surface-hover: #302C27;
  --text: #F4F1EA;
  --text-muted: #B8B1A6;
  --accent: #C49B74;
  --accent-strong: #D9B48F;
  --hairline: rgba(244, 241, 234, 0.14);
  --hairline-strong: rgba(244, 241, 234, 0.3);
  --header-bg: rgba(22, 21, 19, 0.88);
  --btn-primary-bg: #F4F1EA;
  --btn-primary-text: #161513;
  --btn-primary-hover: #C49B74;
  --card-bg: #1E1C19;
  --shadow-soft: 0 24px 64px -24px rgba(0, 0, 0, 0.55);
}

/* Base Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 0.92rem + 0.18vw, 1.04rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition:
    background-color 0.55s var(--ease-editorial),
    color 0.55s var(--ease-editorial);
}

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

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

button,
input {
  font: inherit;
  color: inherit;
}

/* Focus indicators (WCAG 2.4.7 & 1.4.11) */
:where(a:any-link, button, summary, input, [tabindex="-1"]):focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 3px;
}

.tabular-nums {
  font-variant-numeric: tabular-nums;
}

/* Visually Hidden Utility (Modern Web Guidance) */
.visually-hidden:where(:not(:focus-within, :active)) {
  position: absolute !important;
  clip-path: inset(50%) !important;
  overflow: hidden !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  white-space: nowrap !important;
}

.skip-link:focus-visible {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: var(--text);
  color: var(--bg);
  font-size: 0.875rem;
  font-weight: 500;
}

.container {
  width: min(100% - (var(--gutter) * 2), var(--container-max));
  margin-inline: auto;
}

.section {
  padding-block: var(--section-py);
  position: relative;
}

/* Scroll Progress Hairline */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  transform-origin: 0 50%;
  transform: scaleX(0);
  z-index: 200;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: scroll()) and (animation-range: 0% 100%)) {
    @keyframes scroll-progress-grow {
      from { transform: scaleX(0); }
      to { transform: scaleX(1); }
    }

    .scroll-progress {
      animation: scroll-progress-grow linear both;
      animation-timeline: scroll(root block);
      animation-range: 0% 100%;
    }
  }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-block-size: 44px;
  padding: 0.75rem 1.65rem;
  border: 1px solid transparent;
  border-radius: var(--radius-xs);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background-color 0.3s var(--ease-editorial),
    color 0.3s var(--ease-editorial),
    border-color 0.3s var(--ease-editorial),
    transform 0.25s var(--ease-editorial);
}

.btn-sm {
  min-block-size: 40px;
  padding: 0.6rem 1.25rem;
  font-size: 0.76rem;
}

.btn-lg {
  min-block-size: 52px;
  padding: 0.95rem 2.2rem;
}

.btn-full {
  width: 100%;
}

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

.btn-primary:hover {
  background-color: var(--btn-primary-hover);
  color: #F6F4EF;
}

.btn-outline {
  background-color: transparent;
  border-color: var(--hairline-strong);
  color: var(--text);
}

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

.btn-light {
  background-color: #F6F4EF;
  color: #181715;
}

.btn-light:hover {
  background-color: #C49B74;
  color: #161513;
}

.btn-outline-light {
  background-color: rgba(24, 23, 21, 0.28);
  border-color: rgba(246, 244, 239, 0.55);
  color: #F6F4EF;
  backdrop-filter: blur(6px);
}

.btn-outline-light:hover {
  background-color: #F6F4EF;
  border-color: #F6F4EF;
  color: #181715;
}

@media (prefers-reduced-motion: no-preference) {
  .btn:active {
    transform: translateY(1px);
  }
}

/* ==========================================================================
   Sticky Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding-block: 1.15rem;
  color: #F6F4EF;
  border-bottom: 1px solid rgba(246, 244, 239, 0.14);
  transition:
    background-color 0.45s var(--ease-editorial),
    color 0.45s var(--ease-editorial),
    border-color 0.45s var(--ease-editorial),
    padding 0.35s var(--ease-editorial),
    backdrop-filter 0.45s var(--ease-editorial);
}

.site-header.is-scrolled {
  padding-block: 0.85rem;
  background-color: var(--header-bg);
  color: var(--text);
  border-bottom-color: var(--hairline);
  backdrop-filter: blur(14px);
}

.site-header:not(.is-scrolled) .btn-primary {
  background-color: #F6F4EF;
  color: #181715;
}

.site-header:not(.is-scrolled) .btn-primary:hover {
  background-color: #C49B74;
  color: #161513;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-mark {
  width: 12px;
  height: 12px;
  border: 1.5px solid currentColor;
  position: relative;
  flex-shrink: 0;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: var(--accent);
}

.primary-nav {
  display: none;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.2vw, 2.25rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  position: relative;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-block: 0.4rem;
  opacity: 0.86;
  transition: opacity 0.25s ease;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-editorial);
}

.nav-list a:hover,
.nav-list a:focus-visible {
  opacity: 1;
}

.nav-list a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-cta {
  display: none;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-block-size: 44px;
  padding: 0.5rem 0.75rem;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: var(--radius-xs);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.menu-toggle-lines {
  display: grid;
  gap: 4px;
  width: 16px;
}

.menu-toggle-lines span {
  display: block;
  height: 1.5px;
  background: currentColor;
}

@media (min-width: 960px) {
  .primary-nav {
    display: block;
  }
  .header-cta {
    display: inline-flex;
  }
  .menu-toggle {
    display: none;
  }
}

/* ==========================================================================
   Hero Full-Viewport
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: #F6F4EF;
  overflow: clip;
  background-color: #161513;
}

.hero-media-frame {
  position: absolute;
  inset: 0;
  overflow: clip;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  transform: scale(1.04);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(22, 21, 19, 0.54) 0%, rgba(22, 21, 19, 0.24) 40%, rgba(22, 21, 19, 0.78) 100%),
    linear-gradient(90deg, rgba(22, 21, 19, 0.45) 0%, rgba(22, 21, 19, 0.12) 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: clamp(7.5rem, 15vh, 10rem);
  padding-bottom: clamp(2rem, 5vh, 3.5rem);
  display: grid;
  gap: clamp(2.5rem, 6vh, 4.5rem);
}

.hero-eyebrow-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  border-top: 1px solid rgba(246, 244, 239, 0.24);
  padding-top: 1rem;
}

.eyebrow {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246, 244, 239, 0.88);
}

.hero-main-grid {
  display: grid;
  gap: 2rem;
  align-items: end;
}

@media (min-width: 900px) {
  .hero-main-grid {
    grid-template-columns: 1.35fr 0.85fr;
    gap: 4rem;
  }
}

.hero-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(3.15rem, 7.6vw, 6.6rem);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.02em;
  color: #F6F4EF;
}

.hero-title em {
  font-style: italic;
  color: #E7D5C1;
}

.hero-lead {
  margin: 0 0 1.75rem;
  font-size: clamp(0.98rem, 0.9rem + 0.35vw, 1.1rem);
  line-height: 1.7;
  color: rgba(246, 244, 239, 0.9);
  max-width: 44ch;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-footer-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(246, 244, 239, 0.2);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(246, 244, 239, 0.75);
}

/* ==========================================================================
   Credibility Strip
   ========================================================================== */
.credibility-strip {
  border-bottom: 1px solid var(--hairline);
  background-color: var(--bg-elevated);
  transition: background-color 0.75s var(--ease-editorial), border-color 0.75s var(--ease-editorial);
}

.credibility-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.credibility-item {
  display: grid;
  gap: 0.3rem;
  padding: clamp(1.6rem, 3vw, 2.5rem) clamp(1rem, 2vw, 2rem);
  border-bottom: 1px solid var(--hairline);
}

@media (min-width: 860px) {
  .credibility-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .credibility-item {
    border-bottom: 0;
    border-right: 1px solid var(--hairline);
    padding-inline: 1.75rem;
  }
  .credibility-item:first-child {
    padding-left: 0;
  }
  .credibility-item:last-child {
    border-right: 0;
    padding-right: 0;
  }
}

.credibility-num {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 500;
  line-height: 1.05;
  color: var(--text);
}

.credibility-label {
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent-strong);
  margin-top: 0.2rem;
}

.credibility-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Shared Editorial Section Headers
   ========================================================================== */
.section-header {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.split-header {
  display: grid;
  gap: 1.5rem;
  align-items: end;
}

@media (min-width: 860px) {
  .split-header {
    grid-template-columns: 1.3fr 0.85fr;
    gap: 3rem;
  }
}

.section-kicker {
  margin: 0 0 0.9rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.section-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2.15rem, 4.2vw, 3.65rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--text);
}

.section-intro {
  margin: 0;
  color: var(--text-muted);
  max-width: 48ch;
  line-height: 1.72;
}

/* ==========================================================================
   Portfolio Showcase
   ========================================================================== */
.portfolio-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 2rem;
  padding-bottom: 1.5rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--hairline);
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-block-size: 42px;
  padding: 0.5rem 1.15rem;
  background: transparent;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  cursor: pointer;
  transition:
    background-color 0.3s var(--ease-editorial),
    color 0.3s var(--ease-editorial),
    border-color 0.3s var(--ease-editorial);
}

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

.filter-btn.is-active {
  background-color: var(--text);
  border-color: var(--text);
  color: var(--bg);
}

.filter-count {
  font-size: 0.72rem;
  opacity: 0.72;
}

.portfolio-status {
  margin: 0;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 3.5vw, 3rem) clamp(1.5rem, 2.5vw, 2.25rem);
}

@media (min-width: 780px) {
  .portfolio-grid {
    grid-template-columns: repeat(12, 1fr);
  }
  .project-card {
    grid-column: span 6;
  }
  .portfolio-grid:not(.is-filtered) .project-card:nth-child(1) {
    grid-column: span 7;
  }
  .portfolio-grid:not(.is-filtered) .project-card:nth-child(2) {
    grid-column: span 5;
  }
  .portfolio-grid:not(.is-filtered) .project-card:nth-child(3) {
    grid-column: span 5;
  }
  .portfolio-grid:not(.is-filtered) .project-card:nth-child(4) {
    grid-column: span 7;
  }
  .portfolio-grid:not(.is-filtered) .project-card:nth-child(5),
  .portfolio-grid:not(.is-filtered) .project-card:nth-child(6) {
    grid-column: span 6;
  }
}

.project-card[hidden] {
  display: none;
}

.project-trigger {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
}

.project-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--surface);
  border-radius: var(--radius-xs);
}

@media (min-width: 780px) {
  .portfolio-grid:not(.is-filtered) .project-card.is-featured .project-media {
    aspect-ratio: 16 / 10;
  }
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.85s var(--ease-editorial);
}

.project-trigger:hover .project-media img,
.project-trigger:focus-visible .project-media img {
  transform: scale(1.045);
}

.project-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.38rem 0.78rem;
  background: rgba(24, 23, 21, 0.72);
  color: #F6F4EF;
  backdrop-filter: blur(8px);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius-xs);
}

.project-meta {
  display: grid;
  gap: 0.4rem;
  padding-top: 1.15rem;
}

.project-meta-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.project-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.2vw, 1.95rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--text);
}

.project-year {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.project-specs {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.project-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-strong);
  transition: gap 0.3s var(--ease-editorial);
}

.project-cta-link::after {
  content: "\2192";
}

.project-trigger:hover .project-cta-link {
  gap: 0.85rem;
}

/* ==========================================================================
   Services Overview
   ========================================================================== */
.services-section {
  border-top: 1px solid var(--hairline);
}

.services-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--hairline);
}

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

.service-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: clamp(2rem, 3.5vw, 3rem) clamp(1.25rem, 2.5vw, 2.25rem);
  border-bottom: 1px solid var(--hairline);
  transition: background-color 0.4s var(--ease-editorial);
}

.service-card:hover {
  background-color: var(--bg-elevated);
}

@media (min-width: 960px) {
  .service-card {
    border-right: 1px solid var(--hairline);
  }
  .service-card:last-child {
    border-right: 0;
  }
}

.service-index {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  line-height: 1;
  color: var(--accent-strong);
}

.service-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 2.2vw, 2.05rem);
  font-weight: 500;
  line-height: 1.15;
}

.service-desc {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.service-deliverables {
  list-style: none;
  margin: 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--hairline);
  display: grid;
  gap: 0.65rem;
  font-size: 0.86rem;
  color: var(--text);
}

.service-deliverables li {
  position: relative;
  padding-left: 1.1rem;
}

.service-deliverables li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 1px;
  background-color: var(--accent);
}

/* ==========================================================================
   Interactive Material Palette Preview
   ========================================================================== */
.materials-section {
  background-color: var(--bg-elevated);
  border-top: 1px solid var(--hairline);
  transition: background-color 0.75s var(--ease-editorial);
}

.material-showcase {
  display: grid;
  gap: 2rem;
  align-items: stretch;
}

@media (min-width: 960px) {
  .material-showcase {
    grid-template-columns: 0.9fr 1.3fr;
    gap: 3rem;
  }
}

.material-selector {
  display: grid;
  gap: 0.75rem;
  align-content: start;
}

.material-tab {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  width: 100%;
  min-block-size: 76px;
  padding: 1rem 1.2rem;
  background-color: transparent;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-xs);
  text-align: left;
  cursor: pointer;
  transition:
    background-color 0.35s var(--ease-editorial),
    border-color 0.35s var(--ease-editorial),
    transform 0.3s var(--ease-editorial);
}

.material-tab:hover {
  background-color: var(--bg);
  border-color: var(--hairline-strong);
}

.material-tab.is-active {
  background-color: var(--card-bg);
  border-color: var(--accent);
  box-shadow: var(--shadow-soft);
}

.material-swatch {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-xs);
  flex-shrink: 0;
  border: 1px solid rgba(24, 23, 21, 0.14);
}

.swatch-teak {
  background: linear-gradient(135deg, #9C724A 0%, #6F4E2E 52%, #8A613B 100%);
}
.swatch-travertine {
  background: linear-gradient(135deg, #E8DFCE 0%, #D2C5AE 50%, #E2D8C5 100%);
}
.swatch-microcement {
  background: linear-gradient(135deg, #CFCAC0 0%, #B8B2A6 55%, #D7D2C8 100%);
}
.swatch-brass {
  background: linear-gradient(135deg, #C7A46B 0%, #8E6E3B 50%, #DFC089 100%);
}

.material-tab-text {
  display: grid;
  gap: 0.2rem;
}

.material-tab-name {
  font-family: var(--font-serif);
  font-size: 1.38rem;
  font-weight: 500;
  line-height: 1.15;
  color: var(--text);
}

.material-tab-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.material-stage {
  display: grid;
  background-color: var(--card-bg);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-xs);
  overflow: hidden;
  transition: background-color 0.75s var(--ease-editorial), border-color 0.75s var(--ease-editorial);
}

@media (min-width: 680px) {
  .material-stage {
    grid-template-columns: 1fr 1fr;
  }
}

.material-stage-media {
  position: relative;
  min-height: 280px;
  background-color: var(--surface);
  overflow: hidden;
}

.material-stage-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.35s ease, transform 0.65s var(--ease-editorial);
}

.material-stage-media img.is-swapping {
  opacity: 0.35;
  transform: scale(1.03);
}

.material-code {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  padding: 0.35rem 0.75rem;
  background: rgba(22, 21, 19, 0.76);
  color: #F4F1EA;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

.material-stage-info {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
}

.material-origin {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.material-heading {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 2.6vw, 2.4rem);
  font-weight: 500;
  line-height: 1.1;
}

.material-desc {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.material-specs {
  margin: 0.65rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--hairline);
  display: grid;
  gap: 0.9rem;
}

.material-specs dt {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.material-specs dd {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text);
}

/* ==========================================================================
   Dark-Mode Work Process & Craftsmanship
   ========================================================================== */
.process-section {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.process-layout {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}

@media (min-width: 960px) {
  .process-layout {
    grid-template-columns: 0.9fr 1.1fr;
  }
  .process-visual-col {
    position: sticky;
    top: 6.5rem;
  }
}

.process-photo-frame {
  aspect-ratio: 4 / 3;
  overflow: clip;
  border-radius: var(--radius-xs);
  border: 1px solid var(--hairline);
  background-color: var(--surface);
}

.process-photo-frame img {
  width: 100%;
  height: 118%;
  object-fit: cover;
}

.craftsmanship-note {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hairline);
}

.craft-kicker {
  margin: 0 0 0.65rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.craft-quote {
  margin: 0 0 0.85rem;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  font-style: italic;
  line-height: 1.4;
  color: var(--text);
}

.craft-caption {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.process-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--hairline);
}

.process-step {
  padding-block: clamp(1.75rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--hairline);
  display: grid;
  gap: 0.75rem;
}

.process-step-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.process-num {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  line-height: 1;
  color: var(--accent);
}

.process-duration {
  padding: 0.28rem 0.7rem;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.process-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 2.5vw, 2.2rem);
  font-weight: 400;
  line-height: 1.15;
}

.process-desc {
  margin: 0;
  color: var(--text-muted);
  max-width: 56ch;
}

.process-output {
  margin: 0.25rem 0 0;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--accent-strong);
}

/* ==========================================================================
   Interactive Project Estimator
   ========================================================================== */
.estimator-card {
  display: grid;
  gap: 2.5rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  background-color: var(--card-bg);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  contain: layout style;
}

@media (min-width: 1024px) {
  .estimator-card {
    grid-template-columns: 1.35fr 0.9fr;
    gap: 3.25rem;
    align-items: start;
  }
}

.estimator-controls {
  display: grid;
  gap: 2.25rem;
}

.estimator-fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

.estimator-legend {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 1rem;
  padding: 0;
}

.legend-num {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--accent-strong);
}

.option-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

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

.option-tile {
  position: relative;
  cursor: pointer;
}

.option-tile input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}

.option-box {
  display: grid;
  gap: 0.2rem;
  min-block-size: 72px;
  padding: 0.95rem 1.1rem;
  background-color: var(--bg);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-xs);
  transition:
    border-color 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

.option-tile:hover .option-box {
  border-color: var(--hairline-strong);
}

.option-tile input:focus-visible + .option-box {
  outline: 2px solid var(--accent-strong);
  outline-offset: 2px;
}

.option-tile input:checked + .option-box {
  background-color: var(--surface);
  border-color: var(--accent-strong);
  box-shadow: inset 3px 0 0 var(--accent-strong);
}

.option-title {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text);
}

.option-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.slider-header .estimator-legend {
  margin-bottom: 0;
}

.slider-value {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
  color: var(--accent-strong);
}

.range-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: var(--surface);
  outline: none;
  cursor: pointer;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--text);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 1px var(--text);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.range-slider::-webkit-slider-thumb:hover {
  background: var(--accent-strong);
  transform: scale(1.08);
}

.range-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--text);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 1px var(--text);
  cursor: pointer;
}

.slider-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 0.65rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.estimator-summary {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background-color: var(--bg-elevated);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-xs);
  display: grid;
  gap: 1.5rem;
}

.summary-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.summary-selection {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.summary-metrics {
  display: grid;
  gap: 1.25rem;
  padding-block: 1.35rem;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.metric-block {
  display: grid;
  gap: 0.3rem;
}

.metric-label {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.metric-value {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 2.8vw, 2.45rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--text);
}

.summary-includes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.summary-includes li {
  position: relative;
  padding-left: 1.25rem;
}

.summary-includes li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--accent-strong);
  font-weight: 600;
}

.summary-disclaimer {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* ==========================================================================
   Testimonials & FAQ Accordion
   ========================================================================== */
.trust-section {
  border-top: 1px solid var(--hairline);
}

.testimonials-block {
  margin-bottom: clamp(4.5rem, 8vw, 7rem);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

.testimonial-card {
  margin: 0;
  padding: clamp(1.6rem, 3vw, 2.25rem);
  background-color: var(--bg-elevated);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-xs);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

.testimonial-card blockquote {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.28rem;
  line-height: 1.5;
  color: var(--text);
}

.testimonial-card figcaption {
  display: grid;
  gap: 0.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--hairline);
}

.client-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.client-project {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* FAQ Layout */
.faq-layout {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 960px) {
  .faq-layout {
    grid-template-columns: 0.82fr 1.18fr;
    gap: 4.5rem;
  }
}

.faq-intro {
  display: grid;
  gap: 1.25rem;
  justify-items: start;
}

/* Modern <details> / <summary> Accordion (Modern Web Guidance) */
.faq-accordion {
  border-top: 1px solid var(--hairline);
}

.faq-accordion details {
  border-bottom: 1px solid var(--hairline);
}

.faq-accordion summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-block-size: 56px;
  padding-block: 1.3rem;
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text);
  cursor: pointer;
  transition: color 0.25s ease;
}

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

.faq-accordion summary:hover {
  color: var(--accent-strong);
}

/* Custom marker directly before label text for easy vertical scanning */
.faq-accordion summary::before {
  content: "";
  inline-size: 1rem;
  block-size: 1rem;
  flex-shrink: 0;
  background-color: var(--accent-strong);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 2v12M2 8h12' stroke='black' stroke-width='1.5' stroke-linecap='square'/%3E%3C/svg%3E") no-repeat center / contain;
  rotate: 0deg;
}

.faq-accordion details[open] > summary::before {
  rotate: 45deg;
}

@media (prefers-reduced-motion: no-preference) {
  .faq-accordion summary::before {
    transition: rotate 0.25s var(--ease-editorial);
  }
}

.faq-accordion details::details-content {
  interpolate-size: allow-keywords;
  overflow: clip;
  contain: layout;
}

.faq-accordion details:not([open])::details-content {
  block-size: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .faq-accordion details::details-content {
    transition-property: block-size, content-visibility, display;
    transition-duration: 0.35s;
    transition-timing-function: var(--ease-editorial);
    transition-behavior: allow-discrete;
  }
}

.faq-answer {
  padding: 0 0 1.5rem 2rem;
}

.faq-answer p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.72;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: #161513;
  color: #F4F1EA;
  padding-top: clamp(4rem, 8vw, 6.5rem);
  padding-bottom: 2.5rem;
  border-top: 1px solid rgba(244, 241, 234, 0.12);
}

.site-footer .section-kicker {
  color: #C49B74;
}

.site-footer .btn-primary {
  background-color: #F4F1EA;
  color: #161513;
}

.site-footer .btn-primary:hover {
  background-color: #C49B74;
  color: #161513;
}

.footer-cta-band {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
  border-bottom: 1px solid rgba(244, 241, 234, 0.14);
}

.footer-headline {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 4.5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.06;
  max-width: 18ch;
  color: #F4F1EA;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-block: clamp(3rem, 5vw, 4rem);
  border-bottom: 1px solid rgba(244, 241, 234, 0.14);
}

@media (min-width: 860px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1.1fr 0.9fr 0.7fr;
    gap: 3rem;
  }
}

.footer-tagline {
  margin: 1rem 0 0.65rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-style: italic;
  color: #E7D5C1;
}

.footer-desc,
.footer-address,
.footer-info,
.footer-note {
  margin: 0;
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #B8B1A6;
}

.footer-area {
  display: block;
  margin-top: 0.6rem;
  color: #F4F1EA;
  font-size: 0.84rem;
}

.footer-note {
  margin-top: 0.55rem;
  font-size: 0.82rem;
}

.footer-heading {
  margin: 0 0 1rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #C49B74;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.footer-links a {
  font-size: 0.88rem;
  color: #B8B1A6;
  transition: color 0.25s ease;
}

.footer-links a:hover {
  color: #F4F1EA;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem 2rem;
  padding-top: 1.75rem;
  font-size: 0.8rem;
  color: #9A9388;
}

.footer-copy,
.footer-credit {
  margin: 0;
}

.footer-credit {
  color: #C49B74;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   Native <dialog> Modals & Top-Layer Animations (Modern Web Guidance)
   ========================================================================== */
dialog:modal {
  overscroll-behavior: contain;
}

dialog::backdrop {
  overflow: hidden;
  overscroll-behavior: contain;
  background-color: rgba(16, 15, 13, 0);
  backdrop-filter: blur(0px);
  transition-property: background-color, backdrop-filter, display, overlay;
  transition-duration: 0.35s;
  transition-timing-function: var(--ease-editorial);
  transition-behavior: allow-discrete;
}

dialog {
  padding: 0;
  border: 0;
  background: transparent;
  color: #181715;
  opacity: 0;
  transition-property: opacity, transform, display, overlay;
  transition-duration: 0.35s;
  transition-timing-function: var(--ease-editorial);
  transition-behavior: allow-discrete;
}

/* Project Modal Layout */
.project-dialog {
  width: min(100% - 2rem, 1020px);
  max-height: min(92svh, 880px);
  margin: auto;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background-color: #F6F4EF;
  border: 1px solid rgba(24, 23, 21, 0.14);
  box-shadow: 0 32px 96px rgba(0, 0, 0, 0.42);
}

@media (prefers-reduced-motion: no-preference) {
  .project-dialog {
    transform: translateY(18px) scale(0.98);
  }
}

.project-dialog[open] {
  display: flex;
  flex-direction: column;
}

:is(.project-dialog[open]):where(:not([data-closing])) {
  opacity: 1;

  @starting-style {
    opacity: 0;
  }

  @media (prefers-reduced-motion: no-preference) {
    transform: translateY(0) scale(1);

    @starting-style {
      transform: translateY(18px) scale(0.98);
    }
  }

  &::backdrop {
    background-color: rgba(16, 15, 13, 0.68);
    backdrop-filter: blur(6px);

    @starting-style {
      background-color: rgba(16, 15, 13, 0);
      backdrop-filter: blur(0px);
    }
  }
}

/* Mobile Navigation Drawer */
.mobile-drawer {
  width: min(100%, 400px);
  height: 100dvh;
  max-height: 100dvh;
  margin: 0 0 0 auto;
  background-color: #161513;
  color: #F4F1EA;
  border-left: 1px solid rgba(244, 241, 234, 0.14);
}

@media (prefers-reduced-motion: no-preference) {
  .mobile-drawer {
    transform: translateX(100%);
  }
}

.mobile-drawer[open] {
  display: flex;
}

:is(.mobile-drawer[open]):where(:not([data-closing])) {
  opacity: 1;

  @starting-style {
    opacity: 0;
  }

  @media (prefers-reduced-motion: no-preference) {
    transform: translateX(0);

    @starting-style {
      transform: translateX(100%);
    }
  }

  &::backdrop {
    background-color: rgba(10, 9, 8, 0.64);
    backdrop-filter: blur(4px);

    @starting-style {
      background-color: rgba(10, 9, 8, 0);
      backdrop-filter: blur(0px);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  dialog,
  dialog::backdrop {
    transition-duration: 0.12s;
  }
}

/* Mobile Drawer Inner */
.mobile-drawer-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  padding: 1.5rem 1.75rem 2rem;
  overflow-y: auto;
}

.mobile-drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(244, 241, 234, 0.14);
}

.mobile-drawer-brand {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.mobile-drawer-nav ul {
  list-style: none;
  margin: 2rem 0;
  padding: 0;
  display: grid;
}

.mobile-drawer-nav a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-block: 0.95rem;
  border-bottom: 1px solid rgba(244, 241, 234, 0.1);
  font-family: var(--font-serif);
  font-size: 1.85rem;
  color: #F4F1EA;
}

.mobile-drawer-nav a span {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: #C49B74;
}

.mobile-drawer-footer {
  display: grid;
  gap: 0.75rem;
  padding-top: 1.25rem;
}

.drawer-meta {
  margin: 0;
  font-size: 0.82rem;
  color: #B8B1A6;
}

.mobile-drawer-footer .btn-primary {
  margin-top: 0.5rem;
  background-color: #F4F1EA;
  color: #161513;
}

/* Project Modal Inner */
.dialog-shell {
  display: flex;
  flex-direction: column;
  max-height: inherit;
  overflow: hidden;
}

.dialog-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(24, 23, 21, 0.12);
  background-color: #EFECE4;
  flex-shrink: 0;
}

.dialog-category {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6E5136;
}

.icon-close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-inline-size: 40px;
  min-block-size: 40px;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0.78;
  transition: opacity 0.2s ease, transform 0.25s var(--ease-editorial);
}

.icon-close-btn:hover {
  opacity: 1;
}

.dialog-scroll-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.dialog-hero-figure {
  margin: 0;
  flex: 0 0 auto;
  width: 100%;
  height: clamp(220px, 38vh, 400px);
  overflow: hidden;
  border-radius: var(--radius-xs);
  background-color: #E7E2D8;
}

.dialog-hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dialog-content-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 780px) {
  .dialog-content-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
    align-items: start;
  }
}

.dialog-title {
  margin: 0 0 0.9rem;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.4vw, 2.85rem);
  font-weight: 500;
  line-height: 1.08;
  color: #181715;
}

.dialog-description {
  margin: 0 0 1.5rem;
  color: #59544C;
  font-size: 0.96rem;
  line-height: 1.72;
}

.dialog-subhead {
  margin: 0 0 0.85rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6E5136;
}

.dialog-highlight-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: #181715;
}

.dialog-highlight-list li {
  position: relative;
  padding-left: 1.15rem;
}

.dialog-highlight-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 1px;
  background-color: #8C6A4A;
}

.dialog-specs-card {
  padding: 1.5rem;
  background-color: #EFECE4;
  border: 1px solid rgba(24, 23, 21, 0.12);
  border-radius: var(--radius-xs);
  display: grid;
  gap: 1.35rem;
}

.dialog-specs-list {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.dialog-specs-list dt {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #59544C;
  margin-bottom: 0.18rem;
}

.dialog-specs-list dd {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: #181715;
}

.dialog-specs-card .btn-primary {
  background-color: #181715;
  color: #F6F4EF;
}

.dialog-specs-card .btn-primary:hover {
  background-color: #8C6A4A;
  color: #F6F4EF;
}

/* ==========================================================================
   Scroll-Driven Reveal & Subtle Parallax (Modern Web Guidance)
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes editorial-reveal {
      from {
        opacity: 0;
        transform: translateY(28px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes subtle-parallax-y {
      from {
        transform: translateY(-9%);
      }
      to {
        transform: translateY(0%);
      }
    }

    .reveal {
      animation: editorial-reveal linear both;
      animation-timeline: view();
      animation-range: entry 4% entry 34%;
    }

    .parallax-img {
      animation: subtle-parallax-y linear both;
      animation-timeline: view();
      animation-range: cover 0% cover 100%;
    }
  }
}

/* IntersectionObserver Fallback when Scroll-Driven Animations are unsupported */
.js-reveal-fallback .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s var(--ease-editorial),
    transform 0.7s var(--ease-editorial);
}

.js-reveal-fallback .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .js-reveal-fallback .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Coarse Pointer Touch Targets */
@media (pointer: coarse) {
  .filter-btn,
  .nav-list a,
  .icon-close-btn {
    min-block-size: 44px;
    min-inline-size: 44px;
  }
}
