:root {
  --bg: #f6f2eb;
  --bg-deep: #e7ddd0;
  --surface: rgba(255, 252, 248, 0.78);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --panel: #171513;
  --text: #181512;
  --muted: #675d54;
  --line: rgba(24, 21, 18, 0.08);
  --gold: #b88c56;
  --accent-rgb: 214, 189, 156;
  --shadow: 0 22px 70px rgba(34, 26, 19, 0.14);
  --shadow-tight: 0 14px 34px rgba(34, 26, 19, 0.1);
  --radius-xl: 36px;
  --radius-lg: 24px;
  --max-width: 1260px;
}

body[data-theme="quartz"] {
  --bg: #f7f4ed;
  --bg-deep: #ede4d8;
  --gold: #c29a66;
  --accent-rgb: 221, 201, 173;
}

body[data-theme="granite"] {
  --bg: #f2ece6;
  --bg-deep: #e0d1c1;
  --gold: #a7723a;
  --accent-rgb: 186, 140, 92;
}

body[data-theme="quartzite"] {
  --bg: #eff3ef;
  --bg-deep: #d9e2dc;
  --gold: #7b9d8d;
  --accent-rgb: 143, 171, 157;
}

body[data-theme="porcelain"] {
  --bg: #eef1f3;
  --bg-deep: #d9dfe6;
  --gold: #6f8293;
  --accent-rgb: 131, 145, 158;
}

body[data-theme="stone"] {
  --bg: #f4efe9;
  --bg-deep: #e4dbcf;
  --gold: #8d8b77;
  --accent-rgb: 159, 155, 132;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 0%, rgba(var(--accent-rgb), 0.18), transparent 28%),
    radial-gradient(circle at 12% 10%, rgba(255, 255, 255, 0.82), transparent 18%),
    linear-gradient(180deg, #fcfaf7 0%, var(--bg) 34%, var(--bg-deep) 100%);
  transition:
    background 420ms ease,
    color 240ms ease;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.48;
  background:
    linear-gradient(140deg, rgba(var(--accent-rgb), 0.08), transparent 28%),
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.16) 0,
      rgba(255, 255, 255, 0.16) 1px,
      transparent 1px,
      transparent 24px
    );
  mix-blend-mode: soft-light;
}

body::after {
  content: "";
  position: fixed;
  right: -10vw;
  bottom: 8vh;
  width: min(32vw, 320px);
  height: min(32vw, 320px);
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.18), transparent 68%);
  opacity: 0.82;
  filter: blur(6px);
}

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

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

button,
input {
  font: inherit;
}

.site-shell {
  position: relative;
  overflow: clip;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  padding: 18px 24px 0;
}

.site-header.is-scrolled .nav {
  background: rgba(255, 252, 248, 0.82);
  border-color: var(--line);
  box-shadow: var(--shadow-tight);
}

.nav,
.splash,
.trust-strip,
.section,
.site-footer {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: rgba(255, 252, 248, 0.56);
  backdrop-filter: blur(18px);
  transition:
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(36, 28, 20, 0.18);
}

.brand span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a,
.footer-meta a {
  transition: color 180ms ease;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 999px;
  background: rgba(var(--accent-rgb), 0.78);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 220ms ease;
}

.nav-links a:hover,
.footer-meta a:hover {
  color: var(--text);
}

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

.nav-cta,
.button,
.filter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  transition:
    transform 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    color 220ms ease;
}

.nav-cta {
  padding: 12px 20px;
  background: var(--panel);
  color: #faf5ee;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(16, 16, 16, 0.2);
}

.nav-cta:hover,
.button:hover,
.filter-chip:hover {
  transform: translateY(-2px);
}

.splash {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 84px 0 42px;
}

.splash-inner {
  width: min(100%, 980px);
  text-align: center;
}

.logo-stage {
  display: grid;
  place-items: center;
  margin: 0 auto 26px;
}

.splash-logo {
  width: min(62vw, 420px);
  filter: drop-shadow(0 28px 60px rgba(31, 22, 16, 0.14));
  transition: transform 260ms ease;
}

.splash-kicker,
.eyebrow,
.mini-label,
.trust-strip span,
.contact-card span,
.supplier-meta,
.material-meta,
.concept-card .mini-label {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.splash h1,
.section-heading h2,
.about-card h2,
.contact-copy h2,
.material-card h3,
.supplier-card h3,
.concept-card h3 {
  margin: 14px 0 18px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 0.95;
}

.splash h1 {
  font-size: clamp(3.2rem, 7vw, 6.4rem);
  letter-spacing: -0.045em;
}

.splash-text,
.section-heading p,
.about-card p,
.contact-copy p,
.contact-card p,
.material-card p,
.supplier-card p,
.concept-card p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.74;
}

.splash-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 34px 0 24px;
}

.button {
  min-height: 54px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-weight: 700;
}

.button-primary {
  background: linear-gradient(135deg, var(--panel), #0f0f0f);
  color: #fdf6ee;
  box-shadow: 0 18px 40px rgba(16, 16, 16, 0.22);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.58);
  border-color: var(--line);
  backdrop-filter: blur(14px);
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
  color: var(--muted);
  font-weight: 700;
}

.scroll-cue::after {
  content: "";
  width: 10px;
  height: 10px;
  margin-left: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.trust-strip article,
.finder-panel,
.material-card,
.supplier-card,
.concept-card,
.about-card,
.contact-card,
.map-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-tight);
  transition:
    transform 260ms ease,
    box-shadow 260ms ease,
    border-color 260ms ease,
    background 260ms ease;
}

.material-card:hover,
.supplier-card:hover,
.concept-card:hover,
.project-card:hover,
.about-card:hover,
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(var(--accent-rgb), 0.2);
}

.trust-strip article {
  padding: 24px;
}

.trust-strip strong {
  display: block;
  margin-top: 10px;
  font-size: 1.1rem;
}

.section {
  padding: 112px 0 0;
}

.section-heading {
  max-width: 820px;
}

.section-heading.narrow {
  max-width: 720px;
}

.section-heading h2,
.contact-copy h2 {
  font-size: clamp(2.8rem, 5.4vw, 4.8rem);
}

.finder-panel,
.supplier-grid,
.google-layout,
.project-grid,
.concept-grid,
.about-layout,
.contact-layout {
  margin-top: 38px;
}

.finder-panel {
  padding: 24px;
}

.finder-toolbar {
  display: grid;
  gap: 20px;
}

.finder-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.finder-summary p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
}

#material-count {
  color: var(--text);
}

.search-field {
  display: grid;
  gap: 8px;
}

.search-field span {
  color: var(--muted);
  font-weight: 700;
}

.search-field input {
  width: 100%;
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
  outline: none;
}

.search-field input:focus {
  border-color: rgba(var(--accent-rgb), 0.35);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.12);
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-chip {
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.56);
  color: var(--muted);
  font-weight: 700;
  cursor: pointer;
}

.filter-chip.is-active {
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.24), rgba(255, 255, 255, 0.9));
  border-color: rgba(var(--accent-rgb), 0.34);
  color: var(--text);
}

.material-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.material-card {
  display: grid;
  gap: 18px;
  padding: 20px;
}

.material-card-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.material-preview {
  position: relative;
  min-height: 170px;
  border-radius: 18px;
  overflow: hidden;
  background: #ede6db;
  box-shadow: inset 0 0 0 1px rgba(24, 21, 18, 0.05);
}

.material-preview::before,
.material-preview::after {
  content: "";
  position: absolute;
  inset: 0;
}

.material-preview.family-quartz {
  background:
    linear-gradient(130deg, #f7f4ef 0%, #ece5da 28%, #f9f7f3 54%, #dfd4c5 100%);
}

.material-preview.family-quartz::before {
  background:
    linear-gradient(115deg, transparent 0 18%, rgba(186, 162, 132, 0.24) 18.6%, transparent 20.5%, transparent 45%, rgba(205, 178, 144, 0.18) 45.4%, transparent 47.4%, transparent 100%);
}

.material-preview.family-granite {
  background:
    radial-gradient(circle at 14% 32%, rgba(255, 255, 255, 0.44) 0 2px, transparent 3px),
    radial-gradient(circle at 42% 20%, rgba(56, 52, 48, 0.42) 0 3px, transparent 4px),
    radial-gradient(circle at 68% 62%, rgba(255, 255, 255, 0.26) 0 2px, transparent 3px),
    linear-gradient(135deg, #59524b, #2b2623 62%, #70685f);
}

.material-preview.family-quartzite {
  background:
    linear-gradient(145deg, #f4f7f1 0%, #dce8df 28%, #edf3ef 52%, #b0c7bb 100%);
}

.material-preview.family-quartzite::before {
  background:
    linear-gradient(110deg, transparent 0 10%, rgba(121, 151, 132, 0.3) 10.4%, transparent 13%, transparent 34%, rgba(90, 131, 112, 0.24) 34.6%, transparent 37%, transparent 100%),
    linear-gradient(160deg, transparent 0 46%, rgba(255, 255, 255, 0.36) 46.3%, transparent 48.2%, transparent 100%);
}

.material-preview.family-porcelain {
  background:
    linear-gradient(135deg, #f8fafb 0%, #dde4ea 32%, #f4f7f9 58%, #c9d3db 100%);
}

.material-preview.family-porcelain::before {
  background:
    linear-gradient(115deg, transparent 0 18%, rgba(113, 131, 147, 0.22) 18.5%, transparent 20.4%, transparent 42%, rgba(155, 169, 182, 0.16) 42.6%, transparent 44.6%, transparent 100%);
}

.material-preview.family-stone {
  background:
    linear-gradient(135deg, #ede7dd 0%, #d7d1c4 30%, #f4efe6 58%, #bdb7aa 100%);
}

.material-preview.family-stone::before {
  background:
    linear-gradient(112deg, transparent 0 24%, rgba(141, 138, 121, 0.22) 24.6%, transparent 27%, transparent 60%, rgba(165, 160, 142, 0.18) 60.4%, transparent 62.2%, transparent 100%);
}

.material-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.material-card h3 {
  font-size: clamp(1.65rem, 2vw, 2.1rem);
  margin: 0;
}

.material-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.material-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.material-pill,
.supplier-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.material-pill.highlight {
  background: rgba(var(--accent-rgb), 0.18);
  border-color: rgba(var(--accent-rgb), 0.3);
  color: var(--text);
}

.material-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.supplier-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(var(--accent-rgb), 0.14);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 700;
}

.material-empty {
  grid-column: 1 / -1;
  padding: 28px;
  border: 1px dashed rgba(var(--accent-rgb), 0.34);
  border-radius: var(--radius-lg);
  color: var(--muted);
  text-align: center;
}

.supplier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.google-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}

.google-card,
.project-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-tight);
}

.google-card {
  padding: 28px;
}

.google-card-dark {
  background: linear-gradient(160deg, rgba(20, 20, 20, 0.96), rgba(46, 38, 30, 0.9));
  color: #faf5ee;
}

.google-card-dark p,
.google-card-dark h3 {
  color: inherit;
}

.google-card h3,
.review-quote-card blockquote,
.project-card h3 {
  margin: 14px 0 16px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 0.95;
}

.google-card h3,
.project-card h3 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.google-card p,
.project-card p {
  color: var(--muted);
  line-height: 1.74;
}

.google-card-dark .mini-label {
  color: rgba(255, 240, 220, 0.78);
}

.google-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.google-actions-center {
  justify-content: center;
  margin-top: 26px;
}

.review-quote-card blockquote {
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: var(--text);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.project-card {
  overflow: hidden;
}

.project-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.project-card div {
  padding: 22px;
}

.supplier-card {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.supplier-card h3 {
  font-size: clamp(1.8rem, 2vw, 2.2rem);
  margin: 0;
}

.supplier-card p {
  margin: 0;
}

.supplier-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.supplier-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.supplier-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--panel);
  color: #faf5ee;
  font-size: 0.88rem;
  font-weight: 700;
}

.supplier-button.secondary {
  background: rgba(255, 255, 255, 0.56);
  color: var(--text);
  border: 1px solid var(--line);
}

.mobile-dock {
  display: none;
}

.concept-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.concept-card {
  padding: 26px;
}

.concept-media {
  display: block;
  width: 100%;
  height: 132px;
  border-radius: 16px;
  margin-bottom: 18px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(24, 21, 18, 0.06);
}

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

.about-layout,
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.about-card,
.contact-card {
  padding: 28px;
}

.about-card-dark {
  background: linear-gradient(160deg, rgba(20, 20, 20, 0.96), rgba(46, 38, 30, 0.9));
  color: #faf5ee;
}

.about-card-dark p,
.about-card-dark h2 {
  color: inherit;
}

.about-card h2 {
  font-size: clamp(2.2rem, 3vw, 3.2rem);
}

.contact-stack {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.map-card {
  overflow: hidden;
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 640px;
  border: 0;
  filter: saturate(0.86) contrast(1.05);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 80px 0 42px;
}

.footer-brand {
  margin-bottom: 18px;
}

.site-footer p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

.trust-strip,
.section {
  transition:
    transform 620ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 420ms ease,
    filter 420ms ease;
}

.trust-strip.is-stage-active,
.section.is-stage-active {
  transform: translateY(0) scale(1);
  opacity: 1;
  filter: none;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  color: var(--muted);
  font-weight: 600;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

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

@media (max-width: 1120px) {
  .trust-strip,
  .material-results,
  .supplier-grid,
  .google-layout,
  .project-grid,
  .concept-grid,
  .about-layout,
  .contact-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-meta {
    align-items: flex-start;
  }
}

@media (max-width: 820px) {
  .site-header {
    padding: max(14px, env(safe-area-inset-top)) 14px 0;
  }

  .nav,
  .splash,
  .trust-strip,
  .section,
  .site-footer {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .nav {
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 12px;
    padding: 14px;
    border-radius: 28px;
    background: rgba(255, 252, 248, 0.74);
    box-shadow: 0 18px 40px rgba(34, 26, 19, 0.12);
  }

  .brand {
    width: 100%;
    justify-content: center;
  }

  .nav-links {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin-inline: -2px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid rgba(24, 21, 18, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.56);
    scroll-snap-align: start;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .trust-strip,
  .material-results,
  .supplier-grid,
  .google-layout,
  .project-grid,
  .concept-grid,
  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 72px 0 0;
  }

  .section-heading,
  .section-heading.narrow {
    max-width: none;
  }

  .finder-panel,
  .supplier-grid,
  .google-layout,
  .project-grid,
  .concept-grid,
  .about-layout,
  .contact-layout {
    margin-top: 24px;
  }

  .splash {
    min-height: auto;
    padding: 54px 0 18px;
  }

  .splash-logo {
    width: min(84vw, 360px);
  }

  .splash h1 {
    font-size: clamp(2.8rem, 13vw, 4.8rem);
  }

  .splash-text,
  .section-heading p,
  .about-card p,
  .contact-copy p,
  .contact-card p,
  .material-card p,
  .supplier-card p,
  .concept-card p {
    font-size: 1rem;
    line-height: 1.72;
  }

  .splash-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .button,
  .supplier-button {
    width: 100%;
    min-height: 56px;
  }

  .trust-strip {
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    transform: translateY(10px) scale(0.992);
    opacity: 0.94;
    filter: saturate(0.94);
  }

  .section {
    transform: translateY(16px) scale(0.992);
    opacity: 0.94;
    filter: saturate(0.94);
  }

  .section.is-stage-active,
  .trust-strip.is-stage-active {
    transform: translateY(0) scale(1);
    opacity: 1;
    filter: none;
  }

  .trust-strip article,
  .finder-panel,
  .material-card,
  .supplier-card,
  .concept-card,
  .about-card,
  .contact-card,
  .map-card,
  .google-card,
  .project-card {
    border-radius: 28px;
  }

  .finder-panel {
    padding: 20px;
  }

  .filter-group {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    margin-inline: -2px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .filter-group::-webkit-scrollbar {
    display: none;
  }

  .filter-chip {
    flex: 0 0 auto;
    min-width: max-content;
    scroll-snap-align: start;
  }

  .finder-summary {
    flex-direction: column;
  }

  .material-card-header {
    flex-direction: column;
  }

  .material-badges {
    justify-content: flex-start;
  }

  .material-results,
  .supplier-grid,
  .google-layout,
  .project-grid,
  .concept-grid,
  .about-layout,
  .contact-layout {
    gap: 14px;
  }

  .section-heading,
  .finder-panel,
  .supplier-grid,
  .google-layout,
  .project-grid,
  .concept-grid,
  .about-layout,
  .contact-layout,
  .trust-strip {
    transition:
      transform 700ms cubic-bezier(0.22, 1, 0.36, 1),
      opacity 360ms ease;
    will-change: transform;
  }

  .section:not(.is-stage-active) .section-heading,
  .section:not(.is-stage-active) .finder-panel,
  .section:not(.is-stage-active) .supplier-grid,
  .section:not(.is-stage-active) .google-layout,
  .section:not(.is-stage-active) .project-grid,
  .section:not(.is-stage-active) .concept-grid,
  .section:not(.is-stage-active) .about-layout,
  .section:not(.is-stage-active) .contact-layout {
    transform: translateY(10px);
  }

  .material-card,
  .supplier-card,
  .concept-card,
  .about-card,
  .contact-card,
  .google-card {
    padding: 22px 20px;
  }

  .project-card img {
    height: 210px;
  }

  .map-card iframe {
    min-height: 360px;
  }

  .site-footer {
    padding: 52px 0 calc(110px + env(safe-area-inset-bottom));
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .mobile-dock {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    z-index: 90;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 10px;
    padding: 10px;
    border: 1px solid rgba(24, 21, 18, 0.08);
    border-radius: 24px;
    background: rgba(255, 252, 248, 0.86);
    backdrop-filter: blur(20px);
    box-shadow: 0 18px 44px rgba(34, 26, 19, 0.16);
  }

  .mobile-dock-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.68);
    color: var(--text);
    font-weight: 800;
    letter-spacing: 0.01em;
    border: 1px solid rgba(24, 21, 18, 0.08);
  }

  .mobile-dock-button.primary {
    background: linear-gradient(135deg, var(--panel), #0f0f0f);
    color: #fdf6ee;
    box-shadow: 0 14px 28px rgba(16, 16, 16, 0.18);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
