/* Short Strand Epoxy — matches original Gamma / Howlite layout */

:root {
  --color-bg: #ffffff;
  --color-bg-soft: #f5f5f6;
  --color-bg-contact: #2c2c2e;
  --color-text: #131314;
  --color-text-muted: #4d4d51;
  --color-border: #dfdfe0;
  --color-primary: #252527;
  --color-primary-hover: #38383c;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --header-h: 64px;
  --container: min(1100px, 100% - 2.5rem);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--color-primary-hover);
}

h1, h2, h3 {
  line-height: 1.25;
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: var(--color-text);
}

h1 {
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  font-weight: 700;
}

p {
  margin: 0 0 1rem;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: #fff;
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  width: var(--container);
  margin-inline: auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--color-text);
}

.logo:hover {
  opacity: 0.85;
}

.logo-img {
  height: 52px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: block;
  padding: 0.5rem 0.85rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  border-radius: 6px;
}

.site-nav a:hover {
  background: var(--color-bg-soft);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  background: var(--color-text);
  border-radius: 1px;
  transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.35rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: var(--color-text);
  border-color: var(--color-border);
}

.btn-secondary:hover {
  border-color: #8b8b90;
  color: var(--color-text);
}

.btn-light {
  background: #fff;
  color: var(--color-text);
  border-color: #fff;
  text-decoration: none;
  margin-bottom: 1.5rem;
}

.btn-light:hover {
  background: #f5f5f6;
  color: var(--color-text);
}

/* Hero — original split layout */
.hero {
  padding: 2.5rem 0 4rem;
  background: #fff;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
}

.hero-split {
  display: grid;
  grid-template-columns: minmax(200px, 340px) 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero-brand {
  display: flex;
  justify-content: center;
}

.hero-logo {
  width: min(100%, 340px);
  height: auto;
  object-fit: contain;
}

.hero-content {
  max-width: 640px;
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin-bottom: 1.75rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Sections */
.section {
  padding: 3.5rem 0;
}

.section--soft {
  background: var(--color-bg-soft);
}

.section--contact {
  background: var(--color-bg-contact);
  color: #fff;
  padding: 4rem 0;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  text-align: center;
  margin-bottom: 2.5rem;
  font-weight: 700;
}

.section-title--light {
  color: #fff;
}

.subsection-title {
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

/* Cards */
.card-grid {
  display: grid;
  gap: 1.5rem;
}

.card-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.info-card {
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
}

.section--soft .info-card {
  background: #fff;
}

.info-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.info-card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Decorative Concrete Applications — timeline layout */
.applications-timeline {
  margin: 0 0 4rem;
  padding: 1rem 0 2rem;
  background: #fff;
}

.applications-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 960px;
  margin-inline: auto;
  min-height: 320px;
  padding: 2rem 0;
}

.applications-track::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 50%;
  height: 1px;
  background: #d4d4d6;
  z-index: 0;
  transform: translateY(-50%);
}

.applications-col {
  position: relative;
  text-align: center;
  z-index: 1;
}

.applications-spacer {
  display: none;
}

.applications-card {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 16.5rem;
}

.applications-col--top .applications-card {
  bottom: calc(50% + 1.75rem);
}

.applications-col--bottom .applications-card {
  top: calc(50% + 2.25rem);
}

.applications-marker-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}

.applications-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-text);
  background: #e8e8ea;
  border: 1px solid #d0d0d2;
}

.applications-connector {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 1.1rem;
  background: #d4d4d6;
}

.applications-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.applications-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .applications-track::before {
    display: none;
  }

  .applications-track {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 0;
    padding: 0;
    max-width: 22rem;
  }

  .applications-col {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--color-border);
  }

  .applications-col:last-child {
    border-bottom: none;
  }

  .applications-marker-wrap {
    position: static;
    transform: none;
    order: 1;
    margin-bottom: 0.75rem;
  }

  .applications-card {
    position: static;
    transform: none;
    order: 2;
    max-width: none;
  }

  .applications-col--top .applications-card,
  .applications-col--bottom .applications-card {
    top: auto;
    bottom: auto;
  }

  .applications-connector {
    display: none;
  }
}

/* Two column features */
.two-col-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.two-col-text--bordered {
  margin-top: 1rem;
  padding-top: 3rem;
  border-top: 1px solid var(--color-border);
}

.feature-dl {
  margin: 0;
}

.feature-dl > div {
  margin-bottom: 1.25rem;
}

.feature-dl dt {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.feature-dl dd {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Process */
.process-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.process-list li {
  text-align: center;
}

.process-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  font-size: 1.1rem;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
}

.process-list p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Contact */
.contact-promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.contact-promo {
  text-align: center;
}

.contact-promo-image {
  margin-bottom: 1.25rem;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 1;
  background: #3a3a3c;
}

.contact-promo-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-promo h3 {
  color: #fff;
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  margin-bottom: 0.65rem;
}

.contact-promo p {
  margin: 0 auto;
  max-width: 26rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
}

.contact-footer {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-address {
  font-style: normal;
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
}

.contact-address a {
  color: #fff;
}

/* Footer */
.site-footer {
  padding: 1.5rem 0;
  border-top: 1px solid var(--color-border);
  background: #fff;
}

.footer-inner p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  text-align: center;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-split {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-brand {
    order: -1;
  }

  .hero-content {
    max-width: none;
  }

  .hero-actions {
    justify-content: center;
  }

  .card-grid--3,
  .two-col-text,
  .process-list,
  .contact-promo-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .logo-img {
    height: 44px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    padding: 1.5rem;
    transform: translateX(100%);
    transition: transform 0.3s var(--ease);
    border-top: 1px solid var(--color-border);
  }

  .site-nav.is-open {
    transform: translateX(0);
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav a {
    padding: 1rem;
    font-size: 1.05rem;
  }

  .section {
    padding: 2.5rem 0;
  }
}
