:root {
  --ink: #07141f;
  --ink-2: #102433;
  --text: #1f2d38;
  --muted: #697985;
  --paper: #fbfcf8;
  --surface: #ffffff;
  --mist: #eef4f1;
  --line: rgba(16, 36, 51, 0.12);
  --brand: #113f67;
  --teal: #0a8f77;
  --copper: #b9763f;
  --clay: #d8c5a5;
  --shadow-soft: 0 18px 50px rgba(7, 20, 31, 0.08);
  --shadow-lift: 0 28px 80px rgba(7, 20, 31, 0.14);
  --radius: 8px;
  --container: min(1160px, calc(100% - 32px));
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
  /* Removed overflow-x: hidden here to prevent WebKit height calculation bugs */
  height: 100%; /* Changed from min-height for better body inheritance */
  overscroll-behavior-y: none;
}

body {
  margin: 0;
  padding: 0;
  position: relative; /* Added to contain absolute children properly */
  background:
    linear-gradient(180deg, rgba(238, 244, 241, 0.85), rgba(251, 252, 248, 0) 420px),
    var(--paper);
  color: var(--text);
  font-family: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  text-rendering: geometricPrecision;
  overflow-x: hidden; /* Kept here to stop horizontal scrolling */
  min-height: 100vh; /* Ensures body covers the full viewport without forcing scroll */
  overscroll-behavior-y: none;
}

main {
  display: block;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: var(--container);
  margin-inline: auto;
  max-width: 100%;
}

.narrow {
  max-width: 820px;
}

.skip-link,
.sr-only {
  position: absolute;
  top: 0; /* Fixes phantom vertical space if placed at the end of the DOM */
  left: 0; /* Fixes phantom vertical space */
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.skip-link:focus {
  z-index: 100;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  margin: 0;
  clip: auto;
  background: var(--surface);
  border: 2px solid var(--teal);
  border-radius: var(--radius);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 252, 248, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  display: grid;
  grid-template-columns: minmax(300px, auto) 1fr auto;
  min-height: 72px;
  align-items: center;
  gap: 18px;
}

.nav-wrap > * {
  min-width: 0;
}

.brand {
  display: inline-flex;
  color: var(--ink);
  font-family: "Sora", "Plus Jakarta Sans", sans-serif;
  font-size: clamp(0.78rem, 1vw, 0.94rem);
  font-weight: 800;
  line-height: 1.15;
  max-width: none;
  white-space: nowrap;
  min-width: 0;
}

.brand span {
  min-width: 0;
}

.site-nav {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 12px 34px rgba(7, 20, 31, 0.06);
}

.site-nav a,
.nav-cta {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 800;
}

.site-nav a {
  padding: 9px 16px;
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--ink);
  color: #ffffff;
}

.nav-cta {
  padding: 10px 18px;
  background: var(--teal);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(10, 143, 119, 0.24);
}

.nav-cta:hover {
  background: #067761;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.breadcrumbs {
  padding-block: 10px 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.breadcrumbs a {
  color: var(--brand);
  font-weight: 800;
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: #9aa8b0;
}

.hero,
.page-hero {
  position: relative;
  padding-block: clamp(44px, 7vw, 82px);
  overflow: hidden;
}

.hero {
  padding-top: clamp(8px, 2vw, 22px);
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(120deg, rgba(17, 63, 103, 0.08), transparent 45%),
    radial-gradient(circle at 88% 18%, rgba(10, 143, 119, 0.16), transparent 28%);
}

.hero-grid,
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: center;
}

.hero-grid {
  align-items: start;
}

.hero-copy {
  padding-top: 6px;
}

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

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

h1,
h2,
h3 {
  font-family: "Sora", "Plus Jakarta Sans", sans-serif;
}

h1 {
  max-width: 820px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.9rem, 4.6vw, 3.65rem);
  line-height: 1.06;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.35rem, 3vw, 2.15rem);
  line-height: 1.14;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.25;
}

.lede {
  max-width: 660px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.7vw, 1.08rem);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button.primary {
  background: var(--ink);
  color: #ffffff;
  box-shadow: 0 18px 36px rgba(7, 20, 31, 0.18);
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

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

.supply-panel,
.feature,
.facts,
.product-card,
.contact-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.hero-visual {
  position: relative;
  padding: clamp(20px, 4vw, 34px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(238, 244, 241, 0.88)),
    var(--surface);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(17, 63, 103, 0.12);
  border-radius: var(--radius);
  pointer-events: none;
}

.vector-card {
  position: relative;
  max-width: 100%;
  min-height: 260px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(238, 244, 241, 0.88)),
    var(--surface);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.vector-card svg {
  width: 100%;
  height: auto;
  display: block;
}

.vector-card .soft-grid {
  stroke: rgba(17, 63, 103, 0.11);
}

.vector-card .line-brand {
  stroke: var(--brand);
}

.vector-card .line-teal {
  stroke: var(--teal);
}

.vector-card .fill-brand {
  fill: var(--brand);
}

.vector-card .fill-teal {
  fill: var(--teal);
}

.vector-card .fill-copper {
  fill: var(--copper);
}

.vector-card .fill-clay {
  fill: var(--clay);
}

.vector-caption {
  display: inline-flex;
  margin-top: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
}

.sample-board {
  position: relative;
  max-width: 100%;
  display: grid;
  grid-template-columns: 1fr 0.84fr;
  grid-template-rows: 132px 98px;
  gap: 12px;
  margin-bottom: 22px;
}

.sample {
  display: block;
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32), 0 20px 42px rgba(7, 20, 31, 0.16);
}

.sample-carbon {
  grid-row: span 2;
  background:
    radial-gradient(circle at 26% 24%, rgba(255, 255, 255, 0.15), transparent 11%),
    radial-gradient(circle at 60% 62%, rgba(255, 255, 255, 0.1), transparent 12%),
    linear-gradient(135deg, #06090c, #1e2b31 58%, #050607);
}

.sample-earth {
  background: linear-gradient(135deg, #d7c29b, #a87045);
}

.sample-mineral {
  background: linear-gradient(135deg, #113f67, #0a8f77);
}

.visual-label {
  margin: 0 0 10px;
  color: var(--ink);
  font-family: "Sora", sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
}

.material-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  margin: 0 0 18px;
  list-style: none;
}

.material-list li {
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(251, 252, 248, 0.82);
  color: var(--ink-2);
  font-size: 0.86rem;
  font-weight: 800;
}

.supply-panel dl,
.facts dl,
.contact-list {
  margin: 0;
}

.supply-panel div,
.facts div,
.contact-list div {
  padding-block: 15px;
  border-top: 1px solid var(--line);
}

dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-weight: 900;
}

.section {
  padding-block: clamp(44px, 7vw, 78px);
}

.muted {
  background: linear-gradient(180deg, rgba(238, 244, 241, 0.78), rgba(238, 244, 241, 0.48));
}

.section-head {
  max-width: 780px;
  margin-bottom: 34px;
}

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

.feature,
.product-card {
  padding: clamp(22px, 3vw, 30px);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.feature:hover,
.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(10, 143, 119, 0.34);
  box-shadow: var(--shadow-lift);
}

.feature p,
.product-card p,
.prose p {
  color: var(--muted);
}

.icon,
.product-code {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #ffffff;
  font-family: "Sora", sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
}

.icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.split,
.content-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
  gap: clamp(26px, 5vw, 60px);
  align-items: start;
}

.compact-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.compact-list a,
.product-card a,
.contact-list a {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  color: var(--teal);
  font-weight: 900;
}

.compact-list a {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(7, 20, 31, 0.06);
}

.product-card a::after,
.compact-list a::after {
  content: ">";
  margin-left: 10px;
}

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

.sitelink-grid a {
  display: grid;
  gap: 8px;
  min-height: 142px;
  align-content: start;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.sitelink-grid a:hover {
  transform: translateY(-5px);
  border-color: rgba(10, 143, 119, 0.34);
  box-shadow: var(--shadow-lift);
}

.sitelink-grid span {
  color: var(--ink);
  font-family: "Sora", sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
}

.sitelink-grid small {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.prose {
  font-size: 1.06rem;
}

.prose h2,
.facts h2,
.contact-card h2,
.contact-form h2 {
  margin-bottom: 18px;
  font-size: clamp(1.45rem, 3vw, 2.05rem);
}

.facts,
.contact-card,
.contact-form {
  padding: clamp(22px, 3vw, 32px);
}

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

.product-card {
  position: relative;
  overflow: hidden;
  scroll-margin-top: 96px;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--brand), var(--teal), var(--copper));
}

.product-card p {
  min-height: 104px;
}

.contact-form {
  display: grid;
  gap: 11px;
}

label {
  color: var(--ink);
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--text);
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
.button:focus-visible,
.site-nav a:focus-visible,
.nav-cta:focus-visible {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(10, 143, 119, 0.14);
}

.site-footer {
  padding-block: 50px 26px;
  background:
    linear-gradient(135deg, rgba(10, 143, 119, 0.12), transparent 36%),
    var(--ink);
  color: #d7e4ec;
  margin: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.6fr 1fr;
  gap: 30px;
}

.site-footer h2 {
  color: #ffffff;
  font-size: 1.15rem;
}

.site-footer nav,
.site-footer address {
  display: grid;
  gap: 8px;
  font-style: normal;
}

.site-footer a {
  color: #d7e4ec;
  width: fit-content;
  font-weight: 700;
}

.site-footer a:hover {
  color: #ffffff;
}

.copyright {
  width: var(--container);
  margin: 34px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #a8bbc8;
  font-size: 0.9rem;
}

@media (max-width: 1080px) {
  .nav-wrap {
    grid-template-columns: auto auto;
  }

  .brand {
    max-width: min(68vw, 420px);
    white-space: normal;
  }

  .nav-toggle {
    display: inline-block;
    justify-self: end;
  }

  .nav-cta {
    display: none;
  }

  .site-nav {
    position: absolute;
    inset: 72px 16px auto;
    display: none;
    justify-self: stretch;
    padding: 10px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-lift);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    border-radius: var(--radius);
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .page-hero-grid,
  .split,
  .content-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    align-items: center;
  }

  .hero-copy {
    padding-top: 0;
  }

  .feature-grid,
  .product-grid,
  .sitelink-grid {
    grid-template-columns: 1fr;
  }

  .product-card p {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  :root {
    --container: min(100% - 24px, 1160px);
  }

  .nav-wrap {
    min-height: 68px;
  }

  .site-nav {
    inset: 68px 12px auto;
  }

  .hero,
  .page-hero {
    padding-block: 48px 62px;
  }

  .section {
    padding-block: 36px;
  }

  .site-footer {
    padding-block: 34px 14px;
  }

  .copyright {
    margin-top: 22px;
    padding-top: 14px;
    padding-bottom: 0;
  }

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

  .sample-board {
    grid-template-rows: 104px 82px;
  }

  .material-list {
    grid-template-columns: 1fr;
  }
}