:root {
  --color-bg: #fbfaf7;
  --color-surface: #ffffff;
  --color-ink: #202733;
  --color-muted: #7d8490;
  --color-line: #e6e8eb;
  --color-dark: #211d1b;
  --color-dark-2: #2b2826;
  --color-accent: #42c4df;
  --color-accent-dark: #1baecb;
  --color-stone: #f4f0ea;
  --container: 1200px;
  --space-section: 72px;
  --radius: 6px;
  --shadow-soft: 0 18px 45px rgba(31, 35, 40, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: "IBM Plex Sans Arabic", Tahoma, Arial, sans-serif;
  line-height: 1.7;
  text-align: right;
}

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

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

.container {
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--color-dark);
  color: #aba8a5;
}

.header-inner {
  min-height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand img {
  width: 78px;
  height: 54px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 5vw, 64px);
  min-width: 0;
  max-width: 100%;
  font-size: 18px;
}

.main-nav a {
  transition: color .2s ease;
}

.main-nav a:hover,
.main-nav a:focus,
.main-nav .is-active {
  color: var(--color-accent);
}

.cart-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 6px 16px;
  border: 1px solid var(--color-accent);
  border-radius: 999px;
  color: var(--color-accent);
  font-weight: 700;
}

.cart-count {
  position: absolute;
  top: -12px;
  inset-inline-start: 8px;
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #253040;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
}

.marble-bg {
  background:
    linear-gradient(135deg, rgba(255,255,255,.93), rgba(250,247,241,.92)),
    radial-gradient(ellipse at 18% 20%, rgba(176, 166, 154, .20), transparent 32%),
    linear-gradient(24deg, transparent 48%, rgba(190, 184, 176, .32) 49%, transparent 51%),
    var(--color-stone);
}

.hero {
  --hero-base-x: 50%;
  --hero-base-y: 62%;
  --hero-shift-x: 0px;
  --hero-shift-y: 0px;
  min-height: calc(100vh - 72px);
  min-height: min(620px, calc(100svh - 72px));
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 28px 0 18px;
  background:
    linear-gradient(90deg, rgba(250, 250, 248, .28), rgba(250, 250, 248, .14), rgba(250, 250, 248, .28)),
    url("../img/home-hero-luxury-marble.jpg") center 62% / cover no-repeat;
  background-position:
    center,
    calc(var(--hero-base-x) + var(--hero-shift-x)) calc(var(--hero-base-y) + var(--hero-shift-y));
  transition: background-position .35s ease-out;
}

.hero-inner {
  text-align: center;
  max-width: 880px;
}

.hero-company-name {
  margin: 0 0 4px;
  color: #171f2b;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.35;
  text-shadow: 0 1px 14px rgba(255, 255, 255, .95);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--color-accent);
  font-weight: 800;
  font-size: 18px;
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  display: inline-block;
  width: 42px;
  height: 2px;
  margin-inline: 10px;
  vertical-align: middle;
  background: var(--color-accent);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1 {
  margin-bottom: 14px;
  color: #171f2b;
  font-size: clamp(38px, 7vw, 72px);
  line-height: 1.22;
  letter-spacing: 0;
  text-shadow: 0 2px 18px rgba(255, 255, 255, .9);
}

.hero-copy {
  max-width: 820px;
  margin: 0 auto 18px;
  color: #3e4858;
  font-size: 18px;
  font-weight: 500;
  text-shadow: 0 1px 12px rgba(255, 255, 255, .95);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

@keyframes home-hero-enter {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes home-marquee-enter {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-motion-ready [data-home-hero] .hero-inner > * {
  animation: home-hero-enter .65s cubic-bezier(.2, .65, .25, 1) both;
}

.home-motion-ready [data-home-hero] .hero-inner > :nth-child(1) {
  animation-delay: .05s;
}

.home-motion-ready [data-home-hero] .hero-inner > :nth-child(2) {
  animation-delay: .13s;
}

.home-motion-ready [data-home-hero] .hero-inner > :nth-child(3) {
  animation-delay: .21s;
}

.home-motion-ready [data-home-hero] .hero-inner > :nth-child(4) {
  animation-delay: .31s;
}

.home-motion-ready [data-home-hero] .hero-inner > :nth-child(5) {
  animation-delay: .41s;
}

.home-motion-ready [data-home-hero] .brand-marquee {
  animation: home-marquee-enter .7s .5s cubic-bezier(.2, .65, .25, 1) both;
}

.home-motion-ready [data-home-reveal] {
  opacity: 0;
  translate: 0 26px;
  transition:
    opacity .65s ease,
    translate .65s cubic-bezier(.2, .65, .25, 1);
}

.home-motion-ready [data-home-reveal="right"] {
  translate: -34px 0;
}

.home-motion-ready [data-home-reveal="left"] {
  translate: 34px 0;
}

.home-motion-ready [data-home-reveal].is-visible {
  opacity: 1;
  translate: 0 0;
}

.home-motion-ready [data-home-stagger] > * {
  opacity: 0;
  translate: 0 28px;
  transition:
    opacity .58s ease,
    translate .58s cubic-bezier(.2, .65, .25, 1),
    transform .22s ease,
    border-color .22s ease,
    box-shadow .22s ease;
}

.home-motion-ready [data-home-stagger].is-visible > * {
  opacity: 1;
  translate: 0 0;
  transition-delay:
    calc(var(--home-stagger-index, 0) * 70ms),
    calc(var(--home-stagger-index, 0) * 70ms),
    0ms,
    0ms,
    0ms;
}

[data-home-stagger] .card-media img,
[data-home-stagger] .category-media img,
.about-media[data-home-reveal] img {
  transition: transform .5s cubic-bezier(.2, .65, .25, 1);
}

[data-home-stagger] > article:hover {
  border-color: #d7e0e3;
  box-shadow: 0 16px 36px rgba(31, 39, 51, .1);
  transform: translateY(-5px);
}

[data-home-stagger] > article:hover .card-media img,
[data-home-stagger] > article:hover .category-media img,
.about-media[data-home-reveal]:hover img {
  transform: scale(1.035);
}

.benefit-grid[data-home-stagger] > article:hover {
  border-color: rgba(66, 196, 223, .62);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--color-accent);
  font-weight: 800;
  cursor: pointer;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
}

.btn-outline {
  color: var(--color-accent);
  background: rgba(255,255,255,.75);
}

.brand-marquee {
  width: 100%;
  margin-top: 26px;
  color: #9b9791;
  font-weight: 800;
  overflow: hidden;
}

.brand-marquee p {
  margin-bottom: 12px;
  text-align: center;
  color: #5f646d;
  font-size: 14px;
}

.brand-marquee-window {
  position: relative;
  width: 100%;
  overflow: hidden;
  direction: ltr;
}

.brand-marquee-window::before,
.brand-marquee-window::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 86px;
  pointer-events: none;
}

.brand-marquee-window::before {
  right: 0;
  background: linear-gradient(90deg, transparent, rgba(250,248,244,.94));
}

.brand-marquee-window::after {
  left: 0;
  background: linear-gradient(270deg, transparent, rgba(250,248,244,.94));
}

.brand-marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: brand-scroll 28s linear infinite;
  will-change: transform;
}

.brand-marquee-set {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: clamp(26px, 5vw, 64px);
  padding-inline: clamp(13px, 2.5vw, 32px);
}

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

.brand-marquee span {
  flex: 0 0 auto;
  color: #aaa5a0;
  font-size: 18px;
  white-space: nowrap;
  opacity: .82;
}

.brand-marquee img {
  flex: 0 0 auto;
  width: auto;
  max-width: 150px;
  height: 46px;
  object-fit: contain;
  opacity: .95;
}

@keyframes brand-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-25%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero,
  [data-home-stagger] .card-media img,
  [data-home-stagger] .category-media img,
  .about-media[data-home-reveal] img {
    transition: none;
  }

  .home-motion-ready [data-home-hero] .hero-inner > *,
  .home-motion-ready [data-home-hero] .brand-marquee {
    animation: none;
  }

  .home-motion-ready [data-home-reveal],
  .home-motion-ready [data-home-stagger] > * {
    opacity: 1;
    translate: 0 0;
    transition: none;
  }

  .brand-marquee-track {
    animation: none;
  }
}

.section {
  padding: var(--space-section) 0;
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 10px;
  font-size: clamp(28px, 4vw, 42px);
}

.section-heading p {
  color: var(--color-muted);
}

.why-section {
  background: #fff;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.benefit-grid article {
  min-height: 150px;
  padding: 26px 20px;
  border: 1px solid var(--color-line);
  background: #fff;
  text-align: center;
}

.benefit-grid span {
  color: var(--color-accent);
  font-size: 28px;
}

.benefit-grid h3 {
  margin: 8px 0;
  color: var(--color-accent-dark);
}

.benefit-grid p,
.card-body p {
  color: var(--color-muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card,
.project-card,
.category-card {
  background: #fff;
  border: 1px solid #f0f1f2;
  box-shadow: 0 1px 0 rgba(0,0,0,.02);
}

.card-media {
  display: block;
  aspect-ratio: 1 / .88;
  overflow: hidden;
  background: #eee;
}

.card-media img,
.texture-placeholder,
.tile-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.texture-placeholder {
  display: block;
  background:
    linear-gradient(135deg, rgba(255,255,255,.88), rgba(244,244,242,.78)),
    linear-gradient(32deg, transparent 45%, rgba(172,168,160,.42) 46%, transparent 49%),
    linear-gradient(148deg, transparent 56%, rgba(206,200,190,.40) 57%, transparent 60%),
    #f8f8f6;
}

.tile-placeholder {
  display: block;
  background:
    radial-gradient(circle at 22% 24%, #ded3bd 0 10%, transparent 11%),
    radial-gradient(circle at 72% 24%, #ded3bd 0 10%, transparent 11%),
    radial-gradient(circle at 22% 74%, #ded3bd 0 10%, transparent 11%),
    radial-gradient(circle at 72% 74%, #ded3bd 0 10%, transparent 11%),
    linear-gradient(90deg, transparent 49%, #cfc5b2 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, #cfc5b2 50%, transparent 51%),
    #e9dfca;
  background-size: 120px 120px;
}

.card-body {
  padding: 18px;
}

.card-body h2,
.card-body h3 {
  margin-bottom: 6px;
  font-size: 20px;
}

.card-body > a,
.card-body .text-link {
  display: inline-flex;
  gap: 8px;
  margin-top: 8px;
  color: var(--color-accent-dark);
  font-weight: 800;
}

.project-card .card-body h2,
.project-card .card-body h3 {
  margin-bottom: 8px;
  color: var(--color-ink);
  font-size: 21px;
  line-height: 1.45;
}

.project-media {
  aspect-ratio: 1.55 / 1;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 34px;
  border: 1px dashed var(--color-line);
  background: rgba(255,255,255,.72);
  color: var(--color-muted);
  text-align: center;
}

.about-section {
  background: #fff;
  position: relative;
  overflow: hidden;
}

.about-section::before,
.about-section::after {
  content: "";
  position: absolute;
  width: 78px;
  height: 78px;
  border: 4px solid rgba(66, 196, 223, .12);
  transform: rotate(12deg);
  pointer-events: none;
}

.about-section::before {
  top: 28px;
  left: -24px;
}

.about-section::after {
  bottom: -34px;
  right: 22px;
}

.about-heading {
  margin-bottom: 38px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(280px, 430px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(48px, 9vw, 118px);
}

.about-media {
  border-radius: 4px;
  overflow: hidden;
}

.about-media img {
  width: 100%;
  aspect-ratio: 1.42 / 1;
  object-fit: cover;
}

.about-copy {
  max-width: 650px;
}

.about-copy .eyebrow {
  margin-bottom: 18px;
  font-size: 24px;
}

.about-copy .eyebrow::after {
  display: none;
}

.about-copy p:not(.eyebrow) {
  margin-bottom: 8px;
  color: #667080;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.95;
}

.about-copy .btn {
  margin-top: 34px;
}

.about-page-hero {
  min-height: 310px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(rgba(255, 255, 255, .7), rgba(255, 255, 255, .7)),
    url("../img/hero-marble.jpg") center 48% / cover no-repeat;
  border-bottom: 2px solid var(--color-accent);
}

.about-page-hero-content {
  padding-block: 58px;
}

.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: #626a75;
  font-size: 15px;
}

.page-breadcrumb a:hover,
.page-breadcrumb a:focus {
  color: var(--color-accent-dark);
}

.about-page-hero h1 {
  margin-bottom: 8px;
  font-size: clamp(36px, 5vw, 54px);
  line-height: 1.25;
}

.about-page-hero-content > p {
  max-width: 650px;
  margin-bottom: 0;
  color: #5f6875;
  font-size: 17px;
}

.about-story-section {
  padding: 76px 0 0;
  background: #fff;
}

.about-page-story {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .85fr);
  align-items: center;
  gap: clamp(44px, 8vw, 104px);
}

.about-page-image {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: 4px;
  box-shadow: var(--shadow-soft);
}

.about-page-image img {
  width: 100%;
  aspect-ratio: 1.42 / 1;
  object-fit: cover;
}

.about-page-copy {
  grid-column: 1;
  grid-row: 1;
}

.about-kicker {
  margin-bottom: 8px;
  color: #707884;
  font-size: 14px;
  font-weight: 700;
}

.about-page-copy h2,
.about-page-heading h2 {
  margin-bottom: 18px;
  color: var(--color-accent-dark);
  font-size: clamp(26px, 3.2vw, 38px);
}

.about-page-copy > p:not(.about-kicker) {
  margin-bottom: 12px;
  color: #67707d;
  font-size: 17px;
  line-height: 2;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 58px;
  transform: translateY(50%);
}

.about-stats > div {
  min-height: 126px;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 20px;
  border: 1px solid #dcecf0;
  background: #fff;
  text-align: center;
  box-shadow: 0 10px 28px rgba(31, 39, 49, .05);
}

.about-stats strong {
  color: var(--color-accent-dark);
  font-size: 31px;
  line-height: 1.2;
}

.about-stats span {
  margin-top: 8px;
  color: #414955;
  font-weight: 600;
}

.about-values-section {
  padding: 132px 0 78px;
  background: #f8f8f7;
}

.about-page-heading {
  margin-bottom: 34px;
}

.about-page-heading h2 {
  margin-bottom: 0;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.about-values article {
  min-height: 190px;
  padding: 28px;
  border: 1px solid #eef0f1;
  background: #fff;
}

.about-value-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
}

.about-values h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.about-values p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.about-process-section {
  padding: 76px 0;
  background: #fff;
}

.about-process {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin: 0 0 62px;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.about-process::before {
  content: "";
  position: absolute;
  top: 22px;
  right: 8%;
  left: 8%;
  height: 1px;
  background: #d7e7ea;
}

.about-process li {
  position: relative;
  text-align: center;
}

.about-process li > span {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-weight: 800;
}

.about-process h3 {
  margin-bottom: 7px;
  font-size: 19px;
}

.about-process p {
  margin: 0 auto;
  max-width: 230px;
  color: var(--color-muted);
  font-size: 14px;
}

.about-cta {
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 42px 52px;
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(20, 19, 18, .9), rgba(20, 19, 18, .9)),
    url("../img/hero-marble.jpg") center / cover no-repeat;
  color: #fff;
}

.about-cta p {
  margin-bottom: 8px;
  color: #d1cdca;
}

.about-cta h2 {
  margin-bottom: 0;
  font-size: clamp(25px, 3vw, 36px);
}

.about-cta-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 12px;
}

.about-cta-outline {
  border-color: rgba(255, 255, 255, .68);
  color: #fff;
  background: transparent;
}

.contact-page-hero {
  min-height: 310px;
  display: flex;
  align-items: center;
  border-bottom: 2px solid var(--color-accent);
  background:
    linear-gradient(rgba(255, 255, 255, .64), rgba(255, 255, 255, .64)),
    url("../img/hero-marble.jpg") center 48% / cover no-repeat;
}

.contact-page-hero-content {
  padding-block: 58px;
}

.contact-page-hero h1 {
  margin-bottom: 8px;
  font-size: clamp(36px, 5vw, 54px);
  line-height: 1.25;
}

.contact-page-hero-content > p {
  max-width: 700px;
  margin-bottom: 0;
  color: #5f6875;
  font-size: 17px;
}

.contact-page-section {
  padding: 56px 0 76px;
  background: #f8f7f3;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 54px;
}

.contact-methods > a,
.contact-methods > div {
  min-height: 150px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 22px 16px;
  border: 1px solid #edf0f1;
  background: #fff;
  text-align: center;
  transition: border-color .2s ease, transform .2s ease;
}

.contact-methods > a:hover,
.contact-methods > a:focus {
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.contact-methods > * > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-weight: 800;
}

.contact-methods strong {
  margin-bottom: 5px;
  color: var(--color-ink);
  font-size: 17px;
}

.contact-methods small {
  max-width: 100%;
  overflow-wrap: anywhere;
  color: var(--color-muted);
}

.contact-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  align-items: stretch;
  gap: 28px;
}

.contact-form-panel {
  padding: 30px;
  border: 1px solid #dfe7e9;
  background: #fff;
}

.contact-form-panel > header {
  margin-bottom: 24px;
}

.contact-form-panel > header p {
  margin-bottom: 4px;
  color: var(--color-muted);
  font-size: 14px;
}

.contact-form-panel > header h2 {
  margin-bottom: 4px;
  font-size: 28px;
}

.contact-form-panel > header span {
  color: var(--color-muted);
  font-size: 14px;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-field {
  min-width: 0;
}

.contact-field-wide,
.contact-whatsapp-button {
  grid-column: 1 / -1;
}

.contact-field label {
  display: block;
  margin-bottom: 7px;
  color: #3e4651;
  font-size: 14px;
  font-weight: 700;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #dce1e4;
  border-radius: 3px;
  background: #faf9f6;
  color: var(--color-ink);
  padding: 10px 12px;
  font: inherit;
  outline: none;
}

.contact-field textarea {
  min-height: 124px;
  resize: vertical;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(66, 196, 223, .12);
}

.contact-whatsapp-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 3px;
  background: #32724f;
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.contact-whatsapp-button:hover,
.contact-whatsapp-button:focus {
  background: #285f41;
}

.showroom-card {
  display: grid;
  grid-template-rows: minmax(280px, 1fr) auto;
  border: 1px solid #e3e5e6;
  background: #fff;
}

.showroom-card iframe,
.showroom-card > img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.showroom-card iframe {
  border: 0;
  filter: saturate(.65);
}

.showroom-card > div {
  padding: 22px;
  text-align: center;
}

.showroom-card h2 {
  margin-bottom: 5px;
  font-size: 23px;
}

.showroom-card p {
  margin-bottom: 14px;
  color: var(--color-muted);
}

.showroom-card a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: 1px solid var(--color-accent);
  border-radius: 3px;
  color: var(--color-accent-dark);
  font-weight: 700;
}

.contact-hours {
  margin-top: 38px;
  padding: 30px;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  background: #fff;
}

.contact-hours h2 {
  margin-bottom: 18px;
  font-size: 27px;
}

.contact-hours dl {
  margin: 0;
}

.contact-hours dl > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 11px 0;
  border-bottom: 1px solid #f0f1f2;
}

.contact-hours dt {
  font-weight: 700;
}

.contact-hours dd {
  margin: 0;
}

.contact-hours > p {
  margin: 18px 0 0;
  color: var(--color-muted);
  font-size: 14px;
}

.projects-section {
  background: #f7f3ee;
}

.categories-section {
  background: #fff;
}

.category-groups-section {
  background: #fff;
}

.category-group {
  padding: 58px 0 64px;
  border-bottom: 1px solid var(--color-line);
}

.category-group:nth-child(even) {
  background: #f8f8f7;
}

.category-group-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.category-group-heading h2 {
  margin-bottom: 6px;
  font-size: clamp(28px, 4vw, 40px);
}

.category-group-heading p {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--color-muted);
}

.category-group-heading > a {
  flex: 0 0 auto;
  color: var(--color-accent-dark);
  font-weight: 800;
}

.category-group-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(270px, 31.5%);
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: inline mandatory;
  scrollbar-width: thin;
  scrollbar-color: #b8c0c8 transparent;
}

.category-group-track .category-card {
  min-width: 0;
  scroll-snap-align: start;
}

.category-group-track .category-body {
  min-height: 230px;
}

.category-group-track .category-body h3 {
  margin-bottom: 8px;
  font-size: 22px;
}

.category-group-empty {
  width: min(100%, 620px);
  padding: 30px;
  border: 1px dashed #ccd2d8;
  color: var(--color-muted);
  text-align: center;
}

.home-categories-section {
  background: #f7f3ee;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.category-card {
  display: grid;
  min-height: 100%;
}

.category-media {
  display: block;
  aspect-ratio: 1.45 / 1;
  overflow: hidden;
  background: #f3f3f3;
}

.category-media img,
.category-media .texture-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-body {
  display: grid;
  gap: 22px;
  padding: 22px;
}

.category-body h2 {
  margin-bottom: 8px;
  font-size: 24px;
  line-height: 1.35;
}

.category-body p {
  color: var(--color-muted);
}

.category-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--color-line);
  padding-top: 16px;
}

.category-meta span {
  color: var(--color-muted);
  font-size: 14px;
}

.category-meta a {
  color: var(--color-accent-dark);
  font-weight: 800;
  white-space: nowrap;
}

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

.home-category-grid .category-body {
  min-height: 210px;
}

.home-category-grid .category-meta {
  justify-content: flex-start;
}

.section-action {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.page-hero {
  padding: 86px 0;
}

.page-hero h1 {
  font-size: clamp(34px, 5vw, 54px);
}

.category-products-hero {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .88), rgba(255, 255, 255, .58)),
    var(--category-hero-image) center / cover no-repeat;
}

.categories-index-hero {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(16, 21, 27, .25), rgba(16, 21, 27, .68) 62%, rgba(16, 21, 27, .86)),
    url("../img/categories-hero.jpg") center 58% / cover no-repeat;
}

.categories-index-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(6, 10, 14, .22), transparent 55%);
  pointer-events: none;
}

.categories-index-hero-content {
  position: relative;
  z-index: 1;
}

.categories-index-hero-content h1 {
  max-width: 680px;
  margin-bottom: 14px;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .22);
}

.categories-index-hero-content > p {
  max-width: 680px;
  color: rgba(255, 255, 255, .9);
  font-size: 18px;
}

.categories-index-hero-content > p:first-child {
  margin-bottom: 10px;
  color: #72d8ec;
  font-size: 14px;
  font-weight: 700;
}

.category-products-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(22, 27, 34, .08), transparent 45%);
  pointer-events: none;
}

.category-hero-content {
  position: relative;
  z-index: 1;
}

.category-hero-content > p {
  max-width: 680px;
  color: #4f5968;
  font-size: 17px;
}

.category-hero-content > p:first-child {
  margin-bottom: 10px;
  color: var(--color-accent-dark);
  font-size: 14px;
  font-weight: 700;
}

.category-hero-content h1 {
  max-width: 760px;
  margin-bottom: 12px;
  color: #1e2632;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.detail-media {
  aspect-ratio: 1 / .85;
  background: #f3f3f3;
}

.product-gallery {
  display: grid;
  gap: 16px;
}

.product-gallery-main {
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
}

.product-gallery-main img,
.product-gallery-main .texture-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(76px, 1fr));
  gap: 10px;
}

.product-gallery-thumb {
  display: block;
  aspect-ratio: 1 / .78;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius);
  background: #f3f3f3;
  overflow: hidden;
  cursor: pointer;
}

.product-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-gallery-thumb:hover,
.product-gallery-thumb:focus,
.product-gallery-thumb.is-active {
  border-color: var(--color-accent);
}

.site-messages {
  position: fixed;
  top: 86px;
  inset-inline: 16px;
  z-index: 30;
  display: grid;
  justify-content: center;
  pointer-events: none;
}

.site-message {
  margin: 0;
  padding: 12px 20px;
  border: 1px solid #b9e8d2;
  border-radius: var(--radius);
  background: #edfff6;
  color: #17633e;
  box-shadow: var(--shadow-soft);
  font-weight: 700;
}

.product-detail-section {
  background: #fff;
}

.product-purchase h1 {
  margin-bottom: 8px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.35;
}

.breadcrumbs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--color-muted);
  font-size: 14px;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus {
  color: var(--color-accent-dark);
}

.product-brand {
  color: var(--color-accent-dark);
  font-weight: 700;
}

.product-description {
  color: #667080;
  font-size: 17px;
}

.product-card h3 {
  overflow-wrap: anywhere;
}

.product-card h2 {
  overflow-wrap: anywhere;
}

.category-products-section {
  background: #fff;
}

.category-products-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.product-filters {
  position: sticky;
  top: 92px;
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: #fff;
}

.filter-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 16px;
  border-bottom: 1px solid var(--color-line);
}

.filter-title h2 {
  margin: 0;
  font-size: 20px;
}

.filter-title span {
  min-width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--color-accent);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.filter-group {
  border-bottom: 1px solid var(--color-line);
}

.filter-group summary {
  position: relative;
  padding: 16px 38px 16px 16px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.filter-group summary::-webkit-details-marker {
  display: none;
}

.filter-group summary::before {
  content: "+";
  position: absolute;
  inset-inline-start: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-ink);
  font-size: 18px;
}

.filter-group[open] summary::before {
  content: "−";
}

.price-range {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 12px 16px;
}

.price-range label {
  position: relative;
}

.price-range label span {
  position: absolute;
  top: 50%;
  inset-inline-start: 12px;
  transform: translateY(-50%);
  color: var(--color-muted);
  pointer-events: none;
}

.price-range input {
  width: 100%;
  min-height: 44px;
  padding: 8px 42px 8px 8px;
  border: 1px solid #d8dce1;
  border-radius: var(--radius);
  font: inherit;
}

.filter-options {
  display: grid;
  gap: 10px;
  max-height: 230px;
  overflow-y: auto;
  padding: 0 16px 18px;
}

.filter-options label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
}

.filter-option-name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.filter-option-name input {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  accent-color: var(--color-accent-dark);
}

.filter-options small {
  color: var(--color-muted);
}

.filter-actions {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.filter-actions .btn {
  width: 100%;
  min-height: 42px;
  padding: 8px 14px;
  font: inherit;
}

.results-heading {
  display: flex;
  align-items: center;
  min-height: 48px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--color-line);
}

.results-heading p {
  margin: 0;
  color: var(--color-muted);
}

.filtered-products-grid {
  grid-template-columns: repeat(3, 1fr);
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 34px;
}

.pagination a {
  padding: 8px 16px;
  border: 1px solid var(--color-accent);
  border-radius: var(--radius);
  color: var(--color-accent-dark);
  font-weight: 800;
}

.pagination span {
  color: var(--color-muted);
}

.purchase-form {
  display: grid;
  gap: 22px;
  margin-top: 28px;
}

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

.field-group label,
.project-area-field > span {
  font-weight: 800;
}

.field-group select,
.project-area-field input,
.room-calculator input {
  width: 100%;
  min-height: 48px;
  padding: 8px 14px;
  border: 1px solid #cdd2d8;
  border-radius: var(--radius);
  background: #fff;
  color: var(--color-ink);
  font: inherit;
}

.variation-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  border-block: 1px solid var(--color-line);
}

.variation-summary div {
  padding: 16px;
}

.variation-summary div + div {
  border-inline-start: 1px solid var(--color-line);
}

.variation-summary dt {
  color: var(--color-muted);
  font-size: 14px;
}

.variation-summary dd {
  margin: 4px 0 0;
}

.project-calculator {
  padding: 22px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: #f7f8f9;
  box-shadow: 0 8px 24px rgba(31, 35, 40, .05);
}

.calculator-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}

.calculator-heading .eyebrow {
  margin-bottom: 4px;
  font-size: 16px;
}

.calculator-heading .eyebrow::before,
.calculator-heading .eyebrow::after {
  display: none;
}

.calculator-heading h2 {
  margin-bottom: 18px;
  font-size: 22px;
}

.calculator-toggle {
  padding: 7px 10px;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--color-accent-dark);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.room-calculator {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--color-line);
}

.room-calculator[hidden] {
  display: none;
}

.room-calculator label {
  display: grid;
  gap: 6px;
}

.room-calculator .btn {
  grid-column: 1 / -1;
  justify-self: start;
  min-height: 42px;
}

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

.waste-option {
  display: flex;
  align-items: start;
  gap: 10px;
  margin-top: 14px;
  cursor: pointer;
}

.waste-option input {
  width: 18px;
  height: 18px;
  margin-top: 5px;
  accent-color: var(--color-accent-dark);
}

.calculation-result {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2px 20px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--color-line);
}

.calculation-result strong {
  font-size: 21px;
}

.calculation-result small {
  grid-column: 1 / -1;
  color: var(--color-muted);
}

.purchase-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.purchase-total span {
  color: var(--color-muted);
}

.purchase-total strong {
  color: var(--color-ink);
  font-size: 28px;
}

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

.quantity-control {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  min-height: 50px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.quantity-control button {
  border: 0;
  background: #fff;
  color: var(--color-accent-dark);
  font-size: 22px;
  cursor: pointer;
}

.quantity-control input {
  min-width: 0;
  border: 0;
  border-inline: 1px solid var(--color-line);
  text-align: center;
  font: inherit;
  font-weight: 700;
  appearance: textfield;
}

.quantity-control input::-webkit-inner-spin-button {
  appearance: none;
}

.add-cart-button {
  border: 0;
  font: inherit;
}

.availability-note {
  margin-top: 24px;
  padding: 18px;
  border: 1px solid var(--color-line);
  background: #f7f8f9;
}

.product-specifications {
  background: #f7f3ee;
}

.product-description-section {
  border-top: 1px solid var(--color-line);
  background: #fff;
}

.product-description-layout {
  display: grid;
  grid-template-columns: minmax(200px, .45fr) minmax(0, 1.55fr);
  gap: clamp(36px, 8vw, 100px);
  align-items: start;
}

.product-description-layout .eyebrow {
  margin-bottom: 6px;
  font-size: 16px;
}

.product-description-layout .eyebrow::before,
.product-description-layout .eyebrow::after {
  display: none;
}

.product-description-layout h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 40px);
}

.product-description-copy {
  max-width: 760px;
  color: #5f6876;
  font-size: 18px;
  line-height: 2;
}

.product-description-copy p:last-child {
  margin-bottom: 0;
}

.specifications-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  border-top: 1px solid #ddd8d1;
  border-inline-start: 1px solid #ddd8d1;
}

.specifications-grid div {
  min-height: 100px;
  padding: 18px;
  border-bottom: 1px solid #ddd8d1;
  border-inline-end: 1px solid #ddd8d1;
  background: rgba(255, 255, 255, .62);
}

.specifications-grid dt {
  color: var(--color-muted);
  font-size: 14px;
}

.specifications-grid dd {
  margin: 6px 0 0;
  font-weight: 800;
}

.related-products-section {
  border-top: 1px solid var(--color-line);
  background: #f5f2ec;
}

.related-products-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 30px;
}

.related-products-heading .eyebrow {
  margin-bottom: 5px;
  font-size: 15px;
}

.related-products-heading .eyebrow::before,
.related-products-heading .eyebrow::after {
  display: none;
}

.related-products-heading h2 {
  margin-bottom: 0;
  font-size: 34px;
}

.related-products-heading > a {
  color: var(--color-accent-dark);
  font-weight: 800;
}

.related-products-grid .product-card {
  min-width: 0;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.related-products-grid .product-card:hover {
  border-color: #d9dfe2;
  box-shadow: 0 14px 32px rgba(31, 39, 51, .08);
  transform: translateY(-3px);
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 30px;
  align-items: start;
}

.cart-lines {
  display: grid;
  gap: 14px;
}

.cart-line {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--color-line);
  background: #fff;
}

.cart-line-media {
  aspect-ratio: 1 / .8;
  overflow: hidden;
  background: #f2f2f2;
}

.cart-line-media img,
.cart-line-media .texture-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-line h2 {
  margin-bottom: 4px;
  font-size: 20px;
}

.cart-line p {
  margin-bottom: 6px;
  color: var(--color-muted);
}

.cart-line small {
  display: block;
  margin-bottom: 4px;
  color: var(--color-muted);
}

.cart-summary {
  display: grid;
  gap: 10px;
  padding: 24px;
  border: 1px solid var(--color-line);
  background: #fff;
}

.cart-summary strong {
  font-size: 30px;
}

.cart-summary p {
  color: var(--color-muted);
  font-size: 14px;
}

.project-detail-hero {
  padding-bottom: 68px;
}

.project-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--color-muted);
}

.project-meta span {
  padding: 4px 12px;
  border: 1px solid var(--color-line);
  background: rgba(255, 255, 255, .64);
  border-radius: 999px;
}

.project-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  gap: 48px;
  align-items: start;
}

.project-detail-media {
  overflow: hidden;
  border-radius: var(--radius);
  background: #eee;
}

.project-detail-media img,
.project-detail-media .tile-placeholder {
  width: 100%;
  aspect-ratio: 1.45 / 1;
  object-fit: cover;
}

.project-detail-copy {
  color: #667080;
  font-size: 18px;
  line-height: 1.9;
}

.project-detail-copy h2 {
  margin-bottom: 16px;
  color: var(--color-ink);
  font-size: clamp(26px, 4vw, 38px);
}

.project-gallery-section {
  background: #f7f3ee;
}

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

.project-gallery figure {
  margin: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #ece8e2;
}

.project-gallery img {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
}

.project-gallery figcaption {
  padding: 10px 14px;
  color: var(--color-muted);
  font-size: 14px;
}

.site-footer {
  padding-top: 72px;
  background:
    linear-gradient(rgba(33,29,27,.96), rgba(33,29,27,.96)),
    var(--color-dark);
  color: #d9d6d2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .7fr 1fr;
  gap: 72px;
  padding-bottom: 58px;
}

.site-footer h2 {
  color: var(--color-accent);
  font-size: 28px;
}

.site-footer p,
.site-footer dd,
.site-footer a,
.site-footer dt {
  color: #c7c4c0;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li + li {
  margin-top: 10px;
}

.contact-list {
  margin: 0 0 20px;
}

.contact-list div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 8px;
}

.contact-list dd {
  margin: 0;
}

.newsletter {
  display: flex;
  gap: 10px;
}

.newsletter input {
  min-width: 0;
  flex: 1;
  min-height: 42px;
  border: 1px solid var(--color-accent);
  border-radius: var(--radius);
  background: transparent;
  color: #fff;
  padding: 8px 14px;
}

.newsletter button {
  border: 0;
  border-radius: var(--radius);
  background: var(--color-accent);
  color: #fff;
  padding: 8px 18px;
  font-weight: 800;
}

.social-links {
  display: flex;
  gap: 14px;
  margin-top: 22px;
}

.social-links a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: #777b80;
  color: var(--color-accent);
  transform: rotate(45deg);
}

.social-links a::first-letter {
  transform: rotate(-45deg);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 28px 16px;
  text-align: center;
  color: #c7c4c0;
}

@media (max-width: 900px) {
  .header-inner {
    grid-template-columns: auto auto;
  }

  .hero {
    min-height: calc(100vh - 112px);
    min-height: min(620px, calc(100svh - 112px));
  }

  .main-nav {
    width: 100%;
    order: 3;
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 12px;
    gap: 22px;
    font-size: 16px;
  }

  .benefit-grid,
  .card-grid,
  .category-grid,
  .footer-grid,
  .about-grid,
  .about-page-story,
  .detail-grid,
  .project-detail-grid,
  .project-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .about-stats,
  .about-process {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-values {
    grid-template-columns: 1fr;
  }

  .contact-methods {
    grid-template-columns: 1fr 1fr;
  }

  .contact-main-grid {
    grid-template-columns: 1fr;
  }

  .showroom-card {
    grid-template-rows: 320px auto;
  }

  .about-process::before {
    display: none;
  }

  .about-cta {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .cart-layout {
    grid-template-columns: 1fr;
  }

  .product-description-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .category-products-layout {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 22px;
  }

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

  .footer-grid,
  .about-grid,
  .detail-grid {
    gap: 34px;
  }
}

@media (max-width: 640px) {
  :root {
    --space-section: 52px;
  }

  .header-inner {
    min-height: 66px;
    gap: 12px;
  }

  .brand img {
    width: 64px;
    height: 46px;
  }

  .cart-pill {
    padding-inline: 12px;
    font-size: 14px;
  }

  .hero {
    --hero-base-x: 58%;
    --hero-base-y: 50%;
    min-height: calc(100vh - 112px);
    min-height: min(560px, calc(100svh - 112px));
    padding: 22px 0 14px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-company-name {
    font-size: 23px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .categories-index-hero {
    min-height: 360px;
    background:
      linear-gradient(rgba(16, 21, 27, .7), rgba(16, 21, 27, .76)),
      url("../img/categories-hero.jpg") 62% center / cover no-repeat;
  }

  .categories-index-hero-content > p {
    font-size: 16px;
  }

  .category-group {
    padding: 44px 0 48px;
  }

  .category-group-heading {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }

  .category-group-track {
    grid-auto-columns: minmax(260px, 86%);
  }

  .benefit-grid,
  .card-grid,
  .category-grid,
  .footer-grid,
  .about-grid,
  .about-page-story,
  .detail-grid,
  .project-detail-grid,
  .project-gallery {
    grid-template-columns: 1fr;
  }

  .related-products-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 22px;
  }

  .related-products-heading h2 {
    font-size: 28px;
  }

  .related-products-grid {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(310px, 86vw);
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-padding-inline: 1px;
    scroll-snap-type: inline mandatory;
    scrollbar-width: thin;
  }

  .related-products-grid .product-card {
    scroll-snap-align: start;
  }

  .about-page-image,
  .about-page-copy {
    grid-column: 1;
    grid-row: auto;
  }

  .about-page-image {
    order: 2;
  }

  .about-page-copy {
    order: 1;
  }

  .about-stats {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 40px;
    transform: translateY(36px);
  }

  .about-stats > div {
    min-height: 112px;
    padding: 14px 10px;
  }

  .about-stats strong {
    font-size: 26px;
  }

  .about-stats span {
    font-size: 13px;
  }

  .about-values-section {
    padding-top: 104px;
  }

  .contact-page-section {
    padding-top: 40px;
  }

  .contact-methods {
    gap: 10px;
    margin-bottom: 38px;
  }

  .contact-methods > a,
  .contact-methods > div {
    min-height: 138px;
    padding: 16px 10px;
  }

  .contact-methods strong {
    font-size: 15px;
  }

  .contact-methods small {
    font-size: 12px;
  }

  .contact-form-panel {
    padding: 22px 16px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-field-wide,
  .contact-whatsapp-button {
    grid-column: 1;
  }

  .showroom-card {
    grid-template-rows: 260px auto;
  }

  .contact-hours {
    padding: 24px 18px;
  }

  .contact-hours dl > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .about-process {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-cta {
    padding: 32px 24px;
  }

  .about-cta-actions {
    width: 100%;
    flex-direction: column;
  }

  .variation-summary,
  .specifications-grid {
    grid-template-columns: 1fr;
  }

  .variation-summary div + div {
    border-inline-start: 0;
    border-top: 1px solid var(--color-line);
  }

  .calculator-heading {
    display: grid;
  }

  .purchase-actions {
    grid-template-columns: 1fr;
  }

  .cart-line {
    grid-template-columns: 100px 1fr;
  }

  .category-products-layout,
  .filtered-products-grid {
    grid-template-columns: 1fr;
  }

  .product-filters {
    position: static;
  }

  .newsletter {
    flex-direction: column;
  }
}

/* Blog */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.blog-index-hero,
.blog-article-header {
  border-bottom: 2px solid var(--color-accent);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .78), rgba(250, 248, 244, .68)),
    url("../img/hero-marble.jpg") center 46% / cover no-repeat;
}

.blog-index-hero {
  min-height: 330px;
  display: flex;
  align-items: center;
}

.blog-index-hero-content {
  padding-block: 64px;
}

.page-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 18px;
  color: #616873;
  font-size: 14px;
}

.page-breadcrumbs a:hover,
.page-breadcrumbs a:focus {
  color: var(--color-accent-dark);
}

.blog-index-hero h1 {
  max-width: 760px;
  margin-bottom: 12px;
  font-size: 44px;
  line-height: 1.25;
}

.blog-index-hero-content > p {
  max-width: 720px;
  margin-bottom: 0;
  color: #555d68;
  font-size: 17px;
}

.blog-list-section {
  min-height: 520px;
  padding: 26px 0 78px;
  background:
    linear-gradient(104deg, transparent 72%, rgba(66, 196, 223, .08) 72.1%, transparent 72.4%),
    #f8f6f0;
}

.blog-category-tabs {
  display: flex;
  width: 100%;
  gap: 10px;
  margin-bottom: 30px;
  overflow-x: auto;
  padding: 2px 0 8px;
  scrollbar-width: thin;
}

.blog-category-tabs a {
  flex: 0 0 auto;
  min-width: 92px;
  padding: 8px 20px;
  border: 1px solid #ebe6dc;
  border-radius: 999px;
  background: #eee9df;
  color: #6e737b;
  text-align: center;
  font-size: 14px;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.blog-category-tabs a:hover,
.blog-category-tabs a:focus,
.blog-category-tabs a.is-active {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: #fff;
}

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

.blog-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dfe2e5;
  border-radius: var(--radius);
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.blog-card:hover {
  border-color: #c9d4d8;
  box-shadow: 0 14px 32px rgba(31, 39, 51, .08);
  transform: translateY(-3px);
}

.blog-card-image {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e9e8e4;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.025);
}

.blog-card-image > span,
.blog-article-category {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 15px;
  border-radius: 999px;
  background: #f1ecdf;
  color: #555b62;
  font-size: 12px;
  font-weight: 600;
}

.blog-card-image > span {
  position: absolute;
  top: 13px;
  inset-inline-end: 13px;
}

.blog-card-body {
  padding: 18px 18px 20px;
}

.blog-card-meta,
.blog-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  color: #8a9098;
  font-size: 12px;
}

.blog-card h2,
.blog-card h3 {
  margin: 10px 0 8px;
  font-size: 19px;
  line-height: 1.5;
}

.blog-card h2 a,
.blog-card h3 a {
  display: block;
}

.blog-card h2 a:hover,
.blog-card h2 a:focus,
.blog-card h3 a:hover,
.blog-card h3 a:focus {
  color: var(--color-accent-dark);
}

.blog-card-body > p {
  min-height: 76px;
  margin-bottom: 12px;
  color: #737a84;
  font-size: 14px;
  line-height: 1.8;
}

.blog-read-more {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: var(--color-accent-dark);
  font-size: 14px;
  font-weight: 700;
}

.blog-read-more:hover,
.blog-read-more:focus {
  color: #087d95;
}

.blog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 38px;
  color: #656d78;
}

.blog-pagination a {
  padding: 7px 18px;
  border: 1px solid var(--color-accent-dark);
  border-radius: var(--radius);
  color: var(--color-accent-dark);
  font-weight: 700;
}

.blog-empty {
  padding: 72px 20px;
  border: 1px solid #e4e0d7;
  background: rgba(255, 255, 255, .72);
  text-align: center;
}

.blog-empty h2 {
  margin-bottom: 8px;
  font-size: 24px;
}

.blog-empty p {
  color: var(--color-muted);
}

.blog-article-header {
  padding: 62px 0 92px;
}

.blog-article-heading {
  max-width: 960px;
}

.blog-article-heading h1 {
  max-width: 900px;
  margin: 18px 0;
  font-size: 48px;
  line-height: 1.3;
}

.blog-article-excerpt {
  max-width: 790px;
  margin-bottom: 22px;
  color: #565f6a;
  font-size: 20px;
  line-height: 1.85;
}

.blog-article-meta {
  align-items: center;
  gap: 10px 0;
  font-size: 14px;
}

.blog-article-meta > span {
  display: inline-flex;
  align-items: center;
}

.blog-article-meta > span + span::before {
  width: 4px;
  height: 4px;
  margin-inline: 14px;
  border-radius: 50%;
  background: var(--color-accent-dark);
  content: "";
}

.blog-meta-author {
  color: #343b45;
  font-weight: 700;
}

.blog-reading-progress {
  position: fixed;
  z-index: 120;
  top: 0;
  inset-inline: 0;
  height: 3px;
  pointer-events: none;
}

.blog-reading-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--color-accent);
  box-shadow: 0 0 12px rgba(66, 196, 223, .38);
  transform: scaleX(0);
  transform-origin: right center;
}

.blog-lead-media-wrap {
  position: relative;
  z-index: 2;
  margin-top: -46px;
}

.blog-article-layout {
  max-width: 1210px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 238px;
  gap: 0 64px;
  align-items: start;
  padding-block: 56px 82px;
}

.blog-article-figure {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(203, 209, 214, .75);
  border-radius: 8px;
  background: #dddcd8;
  box-shadow: 0 28px 64px rgba(31, 39, 51, .16);
}

.blog-article-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8.7;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2, .65, .25, 1);
}

.blog-article-figure:hover img {
  transform: scale(1.012);
}

.blog-article-figure figcaption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 50px 24px 16px;
  background: linear-gradient(to top, rgba(20, 23, 27, .7), transparent);
  color: rgba(255, 255, 255, .92);
  font-size: 13px;
}

.blog-article-aside {
  grid-column: 2;
  grid-row: 1;
}

.blog-toc {
  position: sticky;
  top: 104px;
  padding-inline-start: 20px;
  border-inline-start: 1px solid #dfe4e7;
}

.blog-toc-eyebrow {
  color: var(--color-accent-dark);
  font-size: 12px;
  font-weight: 700;
}

.blog-toc h2 {
  margin: 5px 0 18px;
  font-size: 20px;
}

.blog-toc ol {
  display: grid;
  gap: 3px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-toc a {
  position: relative;
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr);
  gap: 8px;
  padding: 9px 0;
  color: #727983;
  font-size: 13px;
  line-height: 1.65;
  transition: color .2s ease, transform .2s ease;
}

.blog-toc a::before {
  position: absolute;
  top: 0;
  bottom: 0;
  inset-inline-start: -21px;
  width: 2px;
  background: var(--color-accent);
  content: "";
  opacity: 0;
  transform: scaleY(.25);
  transition: opacity .2s ease, transform .2s ease;
}

.blog-toc a > span {
  color: #a0a6ad;
  font-size: 11px;
  font-weight: 700;
}

.blog-toc a:hover,
.blog-toc a:focus,
.blog-toc a.is-active {
  color: var(--color-ink);
  transform: translateX(-3px);
}

.blog-toc a.is-active::before {
  opacity: 1;
  transform: scaleY(1);
}

.blog-toc a.is-active > span {
  color: var(--color-accent-dark);
}

.blog-toc-time {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #e7e9eb;
  color: #777e87;
}

.blog-toc-time > span {
  color: var(--color-ink);
  font-size: 24px;
  font-weight: 700;
}

.blog-article-content {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  color: #353c46;
  font-size: 18px;
  line-height: 2.1;
}

.blog-article-content p {
  margin: 0 0 25px;
}

.blog-content-section {
  position: relative;
  max-width: 790px;
  margin: 0 0 64px auto;
  scroll-margin-top: 112px;
}

.blog-content-section + .blog-content-section {
  padding-top: 10px;
}

.blog-content-section.has-image {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .68fr);
  gap: 36px;
  align-items: start;
}

.blog-content-section.has-image .blog-section-copy {
  grid-column: 1;
}

.blog-content-section.has-image .blog-section-figure {
  grid-column: 2;
}

.blog-content-section.has-image.is-even {
  grid-template-columns: minmax(260px, .68fr) minmax(0, 1fr);
}

.blog-content-section.has-image.is-even .blog-section-copy {
  grid-column: 2;
  grid-row: 1;
}

.blog-content-section.has-image.is-even .blog-section-figure {
  grid-column: 1;
  grid-row: 1;
}

.blog-section-number {
  display: inline-block;
  margin-bottom: 7px;
  color: var(--color-accent-dark);
  font-size: 12px;
  font-weight: 800;
}

.blog-content-section h2 {
  position: relative;
  margin: 0 0 17px;
  padding-bottom: 13px;
  font-size: 30px;
  line-height: 1.45;
}

.blog-content-section h2::after {
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 42px;
  height: 2px;
  background: var(--color-accent);
  content: "";
}

.blog-content-section figure {
  margin: 4px 0 28px;
  overflow: hidden;
  border: 1px solid #e0e4e7;
  border-radius: 8px;
  background: #e7e6e2;
  box-shadow: 0 16px 34px rgba(31, 39, 51, .1);
}

.blog-content-section figure img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.2, .65, .25, 1);
}

.blog-content-section figure:hover img {
  transform: scale(1.025);
}

.blog-section-figure {
  max-width: 340px;
}

.blog-section-figure figcaption {
  padding: 10px 13px;
  border-top: 1px solid #e4e6e8;
  background: #fff;
  color: #777e87;
  font-size: 12px;
  line-height: 1.65;
}

.blog-content-section:first-child .blog-section-copy > p:first-of-type::first-letter {
  color: var(--color-accent-dark);
  font-size: 34px;
  font-weight: 700;
}

.blog-article-footer {
  grid-column: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 2px;
  padding: 24px 0;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  color: #777e87;
  font-size: 13px;
}

.blog-article-footer > div,
.blog-share-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.blog-share-link,
.blog-share-button {
  border: 0;
  background: transparent;
  color: #24724a;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.blog-share-button {
  color: var(--color-accent-dark);
}

.blog-motion-ready .blog-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .65s ease, transform .65s cubic-bezier(.2, .65, .25, 1);
}

.blog-motion-ready .blog-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.related-posts {
  padding: 60px 0 78px;
  background: #f4f1ea;
}

.related-posts-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 24px;
}

.related-posts-heading span,
.related-posts-heading > a {
  color: var(--color-accent-dark);
  font-weight: 700;
}

.related-posts-heading h2 {
  margin: 4px 0 0;
  font-size: 30px;
}

@media (max-width: 900px) {
  .blog-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-index-hero h1,
  .blog-article-heading h1 {
    font-size: 38px;
  }

  .blog-article-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .blog-article-aside {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    margin-bottom: 42px;
  }

  .blog-toc {
    position: static;
    padding: 0;
    border: 0;
  }

  .blog-toc h2 {
    margin-bottom: 12px;
  }

  .blog-toc ol {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 2px 0 10px;
    scroll-padding-inline: 1px;
    scroll-snap-type: inline mandatory;
    scrollbar-width: thin;
  }

  .blog-toc li {
    flex: 0 0 min(280px, 72vw);
    scroll-snap-align: start;
  }

  .blog-toc a {
    min-height: 62px;
    height: 100%;
    padding: 11px 13px;
    border: 1px solid #e0e4e7;
    border-radius: 6px;
    background: #fff;
  }

  .blog-toc a::before {
    top: auto;
    bottom: -1px;
    inset-inline: 12px;
    width: auto;
    height: 2px;
    transform: scaleX(.25);
  }

  .blog-toc a:hover,
  .blog-toc a:focus,
  .blog-toc a.is-active {
    border-color: rgba(66, 196, 223, .75);
    transform: none;
  }

  .blog-toc a.is-active::before {
    transform: scaleX(1);
  }

  .blog-toc-time {
    display: none;
  }

  .blog-article-content {
    grid-column: 1;
    grid-row: 2;
  }

  .blog-article-footer {
    grid-column: 1;
    grid-row: 3;
  }

  .blog-content-section {
    margin-inline: auto;
  }

  .blog-content-section.has-image {
    max-width: 820px;
  }
}

@media (max-width: 640px) {
  .blog-index-hero {
    min-height: 290px;
  }

  .blog-index-hero-content {
    padding-block: 46px;
  }

  .blog-index-hero h1,
  .blog-article-heading h1 {
    overflow-wrap: anywhere;
    font-size: 29px;
    line-height: 1.38;
  }

  .blog-index-hero-content > p,
  .blog-article-excerpt,
  .blog-article-content {
    font-size: 16px;
  }

  .blog-article-excerpt {
    margin-bottom: 18px;
    line-height: 1.8;
  }

  .blog-content-section h2 {
    font-size: 24px;
    overflow-wrap: anywhere;
  }

  .blog-list-section {
    padding-bottom: 56px;
  }

  .blog-card-grid {
    grid-template-columns: 1fr;
  }

  .blog-card-body > p {
    min-height: 0;
  }

  .blog-article-header {
    padding: 32px 0 64px;
  }

  .blog-article-header .page-breadcrumbs {
    gap: 5px;
    margin-bottom: 14px;
    font-size: 12px;
  }

  .blog-article-heading h1 {
    margin-block: 14px;
  }

  .blog-article-category {
    min-height: 30px;
    padding-inline: 13px;
  }

  .blog-article-layout {
    padding-block: 34px 52px;
  }

  .blog-lead-media-wrap {
    width: 100%;
    margin-top: -34px;
    padding-inline: 12px;
  }

  .blog-article-figure {
    border-radius: 6px;
    box-shadow: 0 18px 36px rgba(31, 39, 51, .14);
  }

  .blog-article-figure img {
    aspect-ratio: 4 / 3;
  }

  .blog-article-figure figcaption {
    position: static;
    padding: 9px 12px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    background: #30353b;
    font-size: 11px;
    line-height: 1.6;
  }

  .blog-article-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
    font-size: 12px;
  }

  .blog-article-meta > span {
    min-width: 0;
  }

  .blog-article-meta > span + span::before {
    display: none;
  }

  .blog-meta-author {
    grid-column: 1 / -1;
  }

  .blog-meta-item {
    padding-top: 8px;
    border-top: 1px solid rgba(84, 91, 99, .13);
  }

  .blog-article-aside {
    margin-bottom: 34px;
  }

  .blog-toc-eyebrow {
    font-size: 11px;
  }

  .blog-toc h2 {
    font-size: 18px;
  }

  .blog-toc li {
    flex-basis: min(245px, 78vw);
  }

  .blog-toc a {
    min-height: 58px;
    font-size: 12px;
  }

  .blog-article-content {
    line-height: 2;
  }

  .blog-article-content p {
    margin-bottom: 21px;
  }

  .blog-content-section,
  .blog-content-section.has-image,
  .blog-content-section.has-image.is-even {
    display: block;
    margin-bottom: 48px;
    padding-top: 0;
    scroll-margin-top: 88px;
  }

  .blog-section-number {
    margin-bottom: 5px;
  }

  .blog-content-section.has-image .blog-section-figure,
  .blog-content-section.has-image.is-even .blog-section-figure {
    max-width: 100%;
    margin: 22px 0 0;
    border-radius: 6px;
    box-shadow: 0 12px 26px rgba(31, 39, 51, .09);
  }

  .blog-content-section figure img {
    aspect-ratio: 16 / 11;
  }

  .blog-section-figure figcaption {
    padding: 8px 11px;
    font-size: 11px;
  }

  .blog-article-footer,
  .related-posts-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .blog-article-footer {
    gap: 20px;
    padding-block: 20px;
  }

  .blog-article-footer > div,
  .blog-share-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .blog-share-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .blog-share-actions > span {
    grid-column: 1 / -1;
  }

  .blog-share-link,
  .blog-share-button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid currentColor;
    border-radius: 6px;
  }

  .related-posts {
    padding: 46px 0 58px;
  }

  .related-posts-heading {
    gap: 10px;
  }

  .related-posts-heading h2 {
    font-size: 25px;
  }

  .related-posts .blog-card-grid {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(310px, 86vw);
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-padding-inline: 1px;
    scroll-snap-type: inline mandatory;
    scrollbar-width: thin;
  }

  .related-posts .blog-card {
    scroll-snap-align: start;
  }
}

@media (max-width: 380px) {
  .blog-article-heading h1 {
    font-size: 27px;
  }

  .blog-article-meta {
    grid-template-columns: 1fr;
  }

  .blog-meta-author {
    grid-column: 1;
  }

  .blog-lead-media-wrap {
    padding-inline: 8px;
  }

  .blog-article-figure img {
    aspect-ratio: 1 / 1;
  }

  .blog-share-actions {
    grid-template-columns: 1fr;
  }

  .blog-share-actions > span {
    grid-column: 1;
  }

  .related-posts .blog-card-grid {
    grid-auto-columns: 88vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  .blog-article-figure img,
  .blog-content-section figure img,
  .blog-card-image img,
  .blog-toc a {
    transition: none;
  }

  .blog-motion-ready .blog-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
