:root {
  --ink: #171512;
  --charcoal: #26231f;
  --stone: #f3f1ec;
  --paper: #fbfaf7;
  --brick: #8f392d;
  --moss: #566348;
  --warm: #c99b62;
  --muted: rgba(23, 21, 18, 0.68);
  --line: rgba(23, 21, 18, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 980px;
  color: #fff;
  font-size: clamp(3rem, 7vw, 6.6rem);
}

h2 {
  max-width: 980px;
  font-size: clamp(2rem, 4.4vw, 4.6rem);
}

h3 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.16;
}

.page-pad {
  padding-right: clamp(18px, 5vw, 76px);
  padding-left: clamp(18px, 5vw, 76px);
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 64px);
  color: #fff;
  background: rgba(23, 21, 18, 0.94);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 900;
}

.brand-text strong,
.brand-text small {
  display: block;
}

.brand-text strong {
  font-size: 1rem;
  line-height: 1.1;
}

.brand-text small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nav-links a:hover {
  color: #fff;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(780px, calc(100vh - 70px));
  overflow: hidden;
  align-items: end;
  background: var(--charcoal);
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 50%;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(15, 14, 12, 0.82) 0%, rgba(15, 14, 12, 0.54) 43%, rgba(15, 14, 12, 0.12) 100%),
    linear-gradient(0deg, rgba(15, 14, 12, 0.76), rgba(15, 14, 12, 0.02) 52%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  padding-top: clamp(72px, 12vw, 150px);
  padding-bottom: clamp(46px, 8vw, 86px);
}

.hero-content p:not(.eyebrow) {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.02rem, 1.7vw, 1.28rem);
  font-weight: 600;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--brick);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.contact-section .eyebrow {
  color: var(--warm);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid currentColor;
  border-radius: 4px;
  font-weight: 900;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: #fff;
  border-color: var(--brick);
  background: var(--brick);
}

.button.ghost {
  color: inherit;
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.08);
}

.hero .button.ghost {
  color: #fff;
  border-color: var(--brick);
  background: rgba(163, 58, 45, 0.88);
}

.button.ghost.dark {
  color: var(--ink);
  border-color: var(--line);
  background: #fff;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: clamp(30px, 5vw, 76px);
  padding-top: 64px;
  padding-bottom: 66px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.intro-list {
  display: grid;
  gap: 12px;
}

.intro-list p {
  margin: 0;
  padding: 18px 20px;
  border-left: 4px solid var(--moss);
  background: var(--stone);
  font-weight: 800;
}

.section,
.split {
  padding-top: clamp(62px, 8vw, 98px);
  padding-bottom: clamp(62px, 8vw, 98px);
}

.section-heading {
  max-width: 990px;
  margin-bottom: 34px;
}

.section-note {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-weight: 700;
}

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

.product-grid.premium-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(23, 21, 18, 0.08);
}

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

.product-card.featured img {
  height: 340px;
}

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

.card-kicker {
  margin: 0 0 8px;
  color: var(--brick);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.product-card p:not(.card-kicker),
.copy-block p,
.contact-panel p,
.footer p {
  color: var(--muted);
}

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: stretch;
  background: var(--charcoal);
  color: #fff;
}

.stonework-section {
  padding-top: clamp(70px, 8vw, 106px);
  padding-bottom: clamp(70px, 8vw, 106px);
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stonework-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  gap: 18px;
  align-items: stretch;
}

.stonework-feature > img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  border-radius: 8px;
}

.stonework-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(26px, 4vw, 44px);
  color: #fff;
  border-radius: 8px;
  background: var(--charcoal);
}

.stonework-panel h3 {
  max-width: 620px;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.2vw, 3.3rem);
  line-height: 1;
}

.stonework-panel p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
  font-weight: 650;
}

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

.services-grid article {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--stone);
}

.services-grid p,
.stonework-copy p {
  color: var(--muted);
  font-weight: 650;
}

.stonework-detail {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.14fr);
  gap: 18px;
  align-items: stretch;
  margin-top: 18px;
}

.stonework-copy {
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(23, 21, 18, 0.06);
}

.stonework-copy h3 {
  max-width: 720px;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
}

.stonework-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.stonework-images img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  border-radius: 8px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.service-tags span {
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: rgba(23, 21, 18, 0.78);
  font-size: 0.82rem;
  font-weight: 850;
}

.assortment-section {
  padding-top: clamp(70px, 8vw, 106px);
  padding-bottom: clamp(70px, 8vw, 106px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.assortment-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 18px;
  align-items: stretch;
}

.assortment-hero {
  overflow: hidden;
  border-radius: 8px;
  background: var(--charcoal);
  color: #fff;
}

.assortment-hero img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.assortment-hero div {
  padding: clamp(24px, 4vw, 42px);
}

.assortment-hero h3 {
  max-width: 620px;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.2vw, 3.4rem);
  line-height: 1;
}

.assortment-hero p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.74);
  font-weight: 650;
}

.assortment-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.assortment-cards article {
  min-height: 240px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--stone);
}

.assortment-cards p {
  color: var(--muted);
  font-weight: 650;
}

.showcase-copy {
  align-self: center;
  padding-top: clamp(64px, 8vw, 108px);
  padding-bottom: clamp(64px, 8vw, 108px);
}

.showcase-copy p:not(.eyebrow) {
  max-width: 610px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
  font-weight: 650;
}

.showcase-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}

.showcase-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: start;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.copy-block p {
  max-width: 720px;
  font-weight: 600;
}

.material-board {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--stone);
}

.material-board img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.material-points {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.material-points p {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  margin: 0;
}

.material-points strong {
  color: var(--ink);
}

.material-points span {
  color: var(--muted);
  font-weight: 650;
}

.technology-section {
  border-top: 1px solid var(--line);
}

.layout-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 18px;
  align-items: stretch;
}

.layout-feature img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  border-radius: 8px;
}

.layout-list {
  display: grid;
  gap: 14px;
}

.layout-list p {
  margin: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(23, 21, 18, 0.06);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -10px 0 24px;
}

.filter-button {
  min-height: 42px;
  padding: 10px 14px;
  color: rgba(23, 21, 18, 0.78);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
  cursor: pointer;
}

.filter-button.active,
.filter-button:hover {
  color: #fff;
  border-color: var(--charcoal);
  background: var(--charcoal);
}

.gallery figure[hidden] {
  display: none;
}

.gallery figure {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  margin: 0;
  border-radius: 8px;
  background: var(--stone);
}

.gallery figure.wide {
  grid-column: span 2;
}

.gallery img {
  width: 100%;
  height: 100%;
  min-height: 310px;
  object-fit: cover;
}

.gallery figcaption {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  padding: 8px 10px;
  color: #fff;
  border-radius: 4px;
  background: rgba(23, 21, 18, 0.74);
  font-size: 0.78rem;
  font-weight: 850;
}

.contact-section {
  padding-top: clamp(70px, 8vw, 104px);
  padding-bottom: clamp(70px, 8vw, 104px);
  background: var(--charcoal);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.72fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: start;
  max-width: 1380px;
  color: #fff;
}

.contact-panel p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 650;
}

.contact-panel ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.contact-panel li {
  padding-left: 18px;
  border-left: 4px solid var(--warm);
  color: rgba(255, 255, 255, 0.88);
  font-weight: 800;
}

.contact-actions {
  margin-top: 30px;
}

.request-form {
  display: grid;
  gap: 14px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.request-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  font-weight: 900;
}

.request-form input,
.request-form select,
.request-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.18);
  font: inherit;
}

.request-form input::placeholder,
.request-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

.request-form select option {
  color: var(--ink);
}

.request-form textarea {
  min-height: 128px;
  resize: vertical;
}

.form-submit {
  margin-top: 4px;
  cursor: pointer;
}

.hidden-field {
  display: none;
}

.footer {
  display: grid;
  gap: 6px;
  padding: 26px clamp(18px, 5vw, 76px);
  color: rgba(255, 255, 255, 0.76);
  background: var(--ink);
}

.footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.thanks-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  background:
    linear-gradient(90deg, rgba(23, 21, 18, 0.84), rgba(23, 21, 18, 0.46)),
    url("assets/selected/stone-lamp-brick.jpg") center / cover;
}

.thanks-card {
  max-width: 920px;
  padding: clamp(28px, 6vw, 64px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(251, 250, 247, 0.94);
}

.thanks-card h1 {
  color: var(--ink);
  font-size: clamp(2.4rem, 6vw, 5.8rem);
}

.thanks-card p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.04rem;
  font-weight: 700;
}

@media (max-width: 1040px) {
  .nav-links {
    display: none;
  }

  .intro,
  .product-grid,
  .product-grid.premium-grid,
  .showcase,
  .split,
  .layout-feature,
  .stonework-feature,
  .services-grid,
  .stonework-detail,
  .assortment-layout,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .showcase-images {
    min-height: 420px;
  }

  .assortment-cards {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 1240px) and (min-width: 1041px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .site-header {
    align-items: flex-start;
  }

  .brand-text small {
    max-width: 160px;
  }

  .hero {
    min-height: 680px;
  }

  .hero-shade {
    background: linear-gradient(0deg, rgba(15, 14, 12, 0.88), rgba(15, 14, 12, 0.24));
  }

  .actions,
  .contact-panel ul,
  .showcase-images,
  .stonework-images,
  .form-row,
  .gallery {
    grid-template-columns: 1fr;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .product-card img,
  .product-card.featured img,
  .material-board img,
  .layout-feature img,
  .stonework-feature > img,
  .stonework-images img,
  .assortment-hero img,
  .gallery img {
    height: auto;
    min-height: 0;
  }

  .gallery figure,
  .gallery figure.wide {
    grid-column: span 1;
    min-height: 0;
  }

  .material-points p {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
