:root {
  color-scheme: light;
  --navy: #0c2a46;
  --navy-deep: #082238;
  --steel: #60758c;
  --cream: #f4eddd;
  --paper: #fbf8f1;
  --ink: #162536;
  --muted: #637181;
  --line: #d8d0c0;
  --white: #ffffff;
  --gold: #b9883b;
  --focus: #b9883b;
  --shadow: 0 24px 70px rgba(8, 34, 56, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 5vw, 64px);
  background: var(--navy);
  border-bottom: 1px solid rgba(244, 237, 221, 0.16);
}

.brand,
nav,
.hero-actions,
footer {
  display: flex;
  align-items: center;
}

.brand {
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: clamp(220px, 28vw, 320px);
  height: auto;
  object-fit: contain;
}

nav {
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

nav a {
  padding: 10px 12px;
  color: rgba(244, 237, 221, 0.76);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

nav a:hover {
  color: var(--cream);
}

.hero {
  position: relative;
  min-height: calc(100vh - 112px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: clamp(64px, 8vw, 112px) clamp(20px, 5vw, 64px);
  background: var(--navy);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--steel);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: rgba(244, 237, 221, 0.82);
}

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

h1 {
  max-width: 12ch;
  margin: 0;
  color: var(--cream);
  font-size: clamp(3.2rem, 7.5vw, 7rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.lede {
  max-width: 650px;
  margin: 28px 0 0;
  color: rgba(251, 248, 241, 0.86);
  font-size: clamp(1.08rem, 1.8vw, 1.32rem);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border: 1px solid var(--navy);
  border-radius: 4px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: var(--navy);
  color: var(--cream);
}

.button.primary:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
}

.button.primary:disabled {
  cursor: wait;
  opacity: 0.72;
}

.hero .button.primary {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--navy);
}

.hero .button.primary:hover {
  background: var(--white);
  border-color: var(--white);
}

.button.secondary {
  background: rgba(251, 248, 241, 0.1);
  border-color: rgba(244, 237, 221, 0.72);
  color: var(--cream);
}

.button.secondary:hover {
  background: rgba(251, 248, 241, 0.2);
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 34, 56, 0.86), rgba(8, 34, 56, 0.58) 42%, rgba(8, 34, 56, 0.18)),
    linear-gradient(0deg, rgba(8, 34, 56, 0.18), rgba(8, 34, 56, 0.18));
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.95fr);
  gap: clamp(40px, 7vw, 112px);
  padding: clamp(60px, 7vw, 84px) clamp(20px, 5vw, 64px);
  background: var(--navy);
  color: var(--cream);
}

.about .eyebrow,
.about p {
  color: #d6dfdf;
}

h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

.about-intro {
  max-width: 620px;
}

.about-intro p:not(.eyebrow) {
  max-width: 560px;
  margin: 28px 0 0;
  color: #d6dfdf;
  font-size: clamp(1rem, 1.45vw, 1.12rem);
  line-height: 1.7;
}

.about-copy {
  align-self: center;
  max-width: 720px;
}

.process-kicker {
  margin: 0 0 14px;
  color: var(--cream);
  font-size: clamp(1.18rem, 1.8vw, 1.55rem);
  font-weight: 760;
  line-height: 1.1;
}

.about-copy ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  counter-reset: service;
  list-style: none;
}

.about-copy li {
  position: relative;
  display: grid;
  gap: 7px;
  min-height: 104px;
  padding: 20px 24px 20px 88px;
  background:
    linear-gradient(90deg, rgba(251, 248, 241, 0.12), rgba(251, 248, 241, 0.055));
  border: 1px solid rgba(244, 237, 221, 0.14);
  color: var(--cream);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.about-copy li::before {
  counter-increment: service;
  content: "0" counter(service);
  position: absolute;
  top: 22px;
  left: 24px;
  color: var(--gold);
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1;
}

.about-copy li::after {
  content: "";
  position: absolute;
  top: 22px;
  bottom: 22px;
  left: 68px;
  width: 1px;
  background: rgba(244, 237, 221, 0.2);
}

.about-copy li span {
  color: var(--white);
  font-size: clamp(1rem, 1.45vw, 1.14rem);
  font-weight: 760;
  line-height: 1.25;
}

.about-copy li small {
  max-width: 54ch;
  color: rgba(244, 237, 221, 0.78);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.48;
}

.register {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 76px);
  padding: 76px clamp(20px, 5vw, 64px) 88px;
}

.register-intro {
  max-width: 560px;
}

.register-intro h2 {
  color: var(--navy);
}

.register-intro p {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.services-preview,
.content-band,
.split-band,
.stone-guide {
  padding: clamp(60px, 7vw, 92px) clamp(20px, 5vw, 64px);
}

.services-preview,
.stone-guide {
  background: var(--paper);
}

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

.section-heading h1,
.section-heading h2 {
  color: var(--navy);
}

.section-heading p:not(.eyebrow) {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.6vw, 1.22rem);
  line-height: 1.7;
}

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

.service-link,
.feature-grid article {
  display: grid;
  gap: 12px;
  min-height: 170px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 16px 42px rgba(8, 34, 56, 0.07);
}

.service-link:hover {
  border-color: rgba(185, 136, 59, 0.55);
  transform: translateY(-2px);
}

.service-link span,
.feature-grid h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.08rem;
  font-weight: 780;
  line-height: 1.25;
}

.service-link small,
.feature-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.95fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
  padding: clamp(64px, 8vw, 110px) clamp(20px, 5vw, 64px);
  background: var(--paper);
}

.page-hero-copy {
  max-width: 720px;
}

.page-hero h1,
.stone-guide h1 {
  max-width: 11ch;
  color: var(--navy);
  font-size: clamp(3rem, 6.5vw, 6.5rem);
}

.page-hero-copy p:not(.eyebrow) {
  max-width: 640px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.06rem, 1.7vw, 1.28rem);
  line-height: 1.7;
}

.page-hero-media {
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

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

.button.secondary.on-light {
  background: transparent;
  border-color: rgba(12, 42, 70, 0.28);
  color: var(--navy);
}

.button.secondary.on-light:hover {
  background: rgba(12, 42, 70, 0.06);
}

.split-band {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 88px);
  background: var(--navy);
  color: var(--cream);
}

.split-band h2 {
  color: var(--cream);
}

.split-band .eyebrow {
  color: #d6dfdf;
}

.copy-stack {
  display: grid;
  gap: 18px;
  align-self: center;
}

.copy-stack p {
  margin: 0;
  color: #d6dfdf;
  font-size: 1.02rem;
  line-height: 1.75;
}

.text-link {
  color: var(--cream);
  font-weight: 800;
  text-decoration-color: rgba(244, 237, 221, 0.38);
  text-underline-offset: 5px;
}

.stone-slab-showcase {
  position: relative;
  min-height: 430px;
}

.stone-slab {
  position: absolute;
  display: block;
  width: 78%;
  height: 48%;
  border: 1px solid rgba(12, 42, 70, 0.16);
  box-shadow: 0 24px 60px rgba(8, 34, 56, 0.16);
}

.stone-slab.marble {
  top: 0;
  right: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(217, 211, 201, 0.66)),
    repeating-linear-gradient(118deg, transparent 0 34px, rgba(96, 117, 140, 0.25) 36px 39px, transparent 42px 76px);
}

.stone-slab.granite {
  top: 26%;
  left: 0;
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.45) 0 2px, transparent 3px),
    radial-gradient(circle at 70% 62%, rgba(255, 255, 255, 0.32) 0 2px, transparent 4px),
    linear-gradient(135deg, #33383d, #777062);
}

.stone-slab.quartzite {
  right: 7%;
  bottom: 0;
  background:
    linear-gradient(140deg, rgba(244, 237, 221, 0.92), rgba(185, 136, 59, 0.2)),
    repeating-linear-gradient(150deg, transparent 0 28px, rgba(12, 42, 70, 0.2) 31px 34px, transparent 38px 72px);
}

.stone-explorer {
  display: grid;
  gap: 22px;
  margin-top: 38px;
}

.stone-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.stone-tab {
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid rgba(12, 42, 70, 0.2);
  border-radius: 4px;
  background: var(--white);
  color: var(--navy);
  font: inherit;
  font-weight: 720;
  cursor: pointer;
}

.stone-tab.is-active,
.stone-tab:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--cream);
}

.stone-display {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: stretch;
  min-height: 500px;
  padding: clamp(22px, 4vw, 36px);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.stone-preview {
  min-height: 360px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #ece7dc;
}

.stone-sample {
  width: min(78%, 420px);
  aspect-ratio: 0.72;
  border: 1px solid rgba(8, 34, 56, 0.14);
  box-shadow: 0 28px 70px rgba(8, 34, 56, 0.18);
  transform: rotate(-5deg);
  transition: background 260ms ease, transform 260ms ease;
}

.stone-display[data-current-stone="marble"] .stone-sample {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(218, 214, 207, 0.72)),
    repeating-linear-gradient(118deg, transparent 0 36px, rgba(96, 117, 140, 0.28) 38px 42px, transparent 46px 82px);
}

.stone-display[data-current-stone="granite"] .stone-sample {
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 255, 255, 0.5) 0 2px, transparent 4px),
    radial-gradient(circle at 68% 44%, rgba(255, 255, 255, 0.36) 0 2px, transparent 5px),
    radial-gradient(circle at 38% 78%, rgba(8, 34, 56, 0.35) 0 3px, transparent 5px),
    linear-gradient(135deg, #30363a, #807967);
}

.stone-display[data-current-stone="quartzite"] .stone-sample {
  background:
    linear-gradient(140deg, rgba(244, 237, 221, 0.95), rgba(185, 136, 59, 0.22)),
    repeating-linear-gradient(150deg, transparent 0 30px, rgba(12, 42, 70, 0.22) 34px 38px, transparent 42px 78px);
}

.stone-display[data-current-stone="porcelain"] .stone-sample {
  background:
    linear-gradient(135deg, rgba(251, 248, 241, 0.96), rgba(210, 214, 211, 0.72)),
    linear-gradient(90deg, transparent, rgba(12, 42, 70, 0.08), transparent);
}

.stone-display[data-current-stone="engineered"] .stone-sample {
  background:
    radial-gradient(circle at 20% 22%, rgba(12, 42, 70, 0.16) 0 1px, transparent 2px),
    radial-gradient(circle at 66% 70%, rgba(12, 42, 70, 0.12) 0 1px, transparent 3px),
    linear-gradient(135deg, #e8e3d8, #c9c8c1);
}

.stone-detail {
  align-self: center;
}

.stone-detail h2 {
  color: var(--navy);
}

.stone-detail p:not(.eyebrow) {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

.stone-detail dl {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
}

.stone-detail div {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.stone-detail dt {
  color: var(--navy);
  font-weight: 800;
}

.stone-detail dd {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.interest-form {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 4vw, 34px);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(8, 34, 56, 0.08);
}

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

label {
  display: grid;
  gap: 8px;
}

label span {
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid #c9d0d4;
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(185, 136, 59, 0.26);
  border-color: var(--focus);
}

.hidden-field {
  position: absolute;
  left: -9999px;
}

.cf-turnstile {
  min-height: 70px;
}

.form-submit {
  justify-self: start;
}

.form-status {
  position: relative;
  max-width: 560px;
  min-height: 0;
  margin: 0;
  padding: 14px 16px 14px 46px;
  border: 1px solid #d6dfdf;
  border-radius: 6px;
  background: #f8faf9;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.45;
  box-shadow: 0 14px 34px rgba(8, 34, 56, 0.08);
  animation: status-enter 240ms ease both;
}

.form-status[hidden] {
  display: none;
}

.form-status::before {
  position: absolute;
  top: 15px;
  left: 16px;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 0.78rem;
  font-weight: 900;
  content: "";
}

.form-status.is-pending::before {
  background: transparent;
  border: 2px solid rgba(13, 47, 76, 0.18);
  border-top-color: var(--gold);
  animation: status-spin 800ms linear infinite;
}

.form-status.is-success {
  border-color: #bed8cd;
  background: #f4fbf7;
}

.form-status.is-success::before {
  content: "✓";
}

.form-status.is-error {
  border-color: #e5b7aa;
  background: #fff7f4;
  color: #7a2e22;
}

.form-status.is-error::before {
  background: #c95f45;
  color: var(--white);
  content: "!";
}

@keyframes status-enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

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

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

footer {
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(20px, 5vw, 64px);
  background: var(--navy-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #d6dfdf;
}

footer a {
  font-weight: 800;
  text-decoration: none;
}

.business-ids {
  display: block;
  margin-top: 4px;
  color: rgba(214, 223, 223, 0.64);
  font-size: 0.86rem;
  font-weight: 500;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

footer .footer-secondary {
  color: rgba(214, 223, 223, 0.72);
  font-weight: 500;
}

footer a:hover {
  color: var(--white);
}

.policy {
  padding: clamp(64px, 8vw, 104px) clamp(20px, 5vw, 64px);
}

.policy > .eyebrow,
.policy > h1,
.policy-lede,
.policy-panel {
  max-width: 820px;
  margin-right: auto;
  margin-left: auto;
}

.policy > h1 {
  max-width: 820px;
  color: var(--navy);
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  line-height: 0.95;
}

.policy-lede {
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
  line-height: 1.7;
}

.policy-panel {
  display: grid;
  gap: 12px;
  margin-top: 42px;
  padding: clamp(24px, 4vw, 42px);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(8, 34, 56, 0.08);
}

.policy-panel h2 {
  margin-top: 18px;
  color: var(--navy);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.15;
}

.policy-panel h2:first-child {
  margin-top: 0;
}

.policy-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.policy-panel a {
  color: var(--navy);
  font-weight: 800;
}

@media (max-width: 900px) {
  .hero,
  .about,
  .register,
  .page-hero,
  .split-band,
  .stone-display {
    grid-template-columns: 1fr;
  }

  .service-link-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: calc(100vh - 190px);
  }

  h1 {
    max-width: 10ch;
  }

  .hero-media img {
    object-position: 64% center;
  }

  .page-hero-media,
  .stone-slab-showcase,
  .stone-preview {
    min-height: 320px;
  }
}

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

  .footer-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .brand img {
    width: min(100%, 300px);
  }

  nav {
    width: 100%;
    justify-content: flex-start;
  }

  nav a {
    padding: 8px 10px 8px 0;
  }

  h1 {
    font-size: clamp(2.8rem, 17vw, 4.5rem);
  }

  .page-hero h1,
  .stone-guide h1 {
    font-size: clamp(2.5rem, 14vw, 4rem);
  }

  .service-link,
  .feature-grid article,
  .stone-display {
    padding: 20px;
  }

  .stone-tab {
    flex: 1 1 150px;
  }

  .about-copy li {
    padding: 22px 20px 22px 78px;
  }

  .about-copy li::before {
    left: 20px;
  }

  .about-copy li::after {
    left: 60px;
  }

  .button,
  .form-submit {
    width: 100%;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }
}
