:root {
  --bg: #ffffff;
  --text: #141414;
  --muted: #5b5b5b;
  --border: #e9e9e9;
  --surface: #f7f7f7;
  --accent: #111111;
  --accent-2: #6b4a2b;
  --shadow: 0 16px 44px rgba(0, 0, 0, 0.08);
  --radius: 0px;
  --container: 1240px;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial,
    "Noto Sans", "Liberation Sans", sans-serif;
  --font-heading: Montserrat, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial,
    "Noto Sans", "Liberation Sans", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

/* Prevent accidental horizontal scrolling on small screens */
html {
  overflow-x: clip;
}
@supports not (overflow: clip) {
  html,
  body {
    overflow-x: hidden;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
@media (max-width: 560px) {
  body {
    font-size: 17px;
  }
}

h1,
h2,
h3,
h4,
.brand {
  font-family: var(--font-heading);
}

/* Reveal-on-scroll (subtle motion) */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 900ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal-delay-1 {
  --reveal-delay: 80ms;
}
.reveal-delay-2 {
  --reveal-delay: 160ms;
}
.reveal-delay-3 {
  --reveal-delay: 240ms;
}
.js [data-reveal].reveal-in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

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

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 18px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 10px;
  background: var(--accent);
  color: #fff;
  padding: 10px 12px;
  border-radius: 0;
  z-index: 9999;
}
.skip-link:focus {
  left: 12px;
}

/* Header / nav */
#header,
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-announcement-bar-wrapper {
  width: 100%;
}

.header-inner.container--fluid {
  max-width: 100%;
  padding: 0 48px;
}

.header-display-desktop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 103px;
  gap: 18px;
}

.header-title-nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex: 1;
  min-width: 0;
}

.header-title-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  font-weight: 600;
  min-width: 0;
}

.header-title-nav a {
  padding: 10px 0;
  border-radius: 0;
  color: #111;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid transparent;
}

.header-title-nav a[aria-current="page"] {
  border-bottom-color: rgba(0, 0, 0, 0.7);
}

.header-title-nav a:hover {
  border-bottom-color: rgba(0, 0, 0, 0.25);
}

.header-layout-nav-right .brand {
  flex: 0 0 auto;
}

.header-mobile-layout-logo-left-nav-right .menu-btn {
  border-radius: 0;
}

@media (max-width: 820px) {
  .header-inner.container--fluid {
    padding: 0 18px;
  }
  .header-display-desktop {
    min-height: 78px;
  }
  .header-title-nav {
    display: none;
  }
  .menu-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  letter-spacing: 0.2px;
}
.brand-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.menu-btn {
  display: none;
  border: 1px solid var(--border);
  background: #fff;
  padding: 10px 12px;
  border-radius: 0;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
}
@media (max-width: 560px) {
  .menu-btn {
    padding: 9px 10px;
    font-size: 12px;
  }
}

/* Mobile menu */
@media (max-width: 820px) {
  .menu-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }
  body.nav-open .mobile-drawer {
    display: block;
  }
}

.mobile-drawer {
  display: none;
  border-bottom: 1px solid var(--border);
  background: #fff;
}
.mobile-drawer .drawer-inner {
  padding: 14px 0 18px;
}
.mobile-drawer a {
  display: block;
  padding: 12px 12px;
  border-radius: 0;
  font-weight: 650;
}
.mobile-drawer a:hover {
  background: var(--surface);
}
.mobile-drawer a[aria-current="page"] {
  background: var(--surface);
  border: 1px solid var(--border);
}

/* Sections */
.section {
  padding: 58px 0;
}
.section.tight {
  padding: 40px 0;
}

.eyebrow {
  color: var(--muted);
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
}

.h1 {
  margin: 10px 0 14px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  max-width: 62ch;
}

/* Hero section structure */
.page-section {
  position: relative;
}
.page-section.layout-engine-section {
  padding: 0;
}
.page-section.full-bleed-section.background-width--full-bleed {
  width: 100%;
}
.page-section.section-height--small {
  min-height: 410px;
}
.page-section.section-height--custom {
  min-height: 520px;
}
.page-section.content-width--wide .content-wrapper {
  max-width: var(--container);
}
.page-section.light-bold {
  background: #fff;
  color: var(--text);
}
.page-section.has-section-divider {
  border-top: 1px solid var(--border);
}
.page-section.light-bold .content-wrapper {
  padding: 70px 18px;
}
.page-section.light-bold .fluid-engine {
  justify-items: stretch;
  text-align: left;
}
.page-section.horizontal-alignment--center.light-bold .content {
  text-align: center;
}
.page-section.horizontal-alignment--center.light-bold .fluid-engine {
  justify-items: center;
  text-align: center;
}
.page-section.has-background {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.45)),
    url("images/backgrounds/c-dustin-91AQt9p4Mo8-unsplash.jpg");
  background-size: cover;
  background-position: center;
}
.page-section.black {
  color: #fff;
}
.page-section.black .eyebrow {
  color: rgba(255, 255, 255, 0.8);
}
.page-section.black .lead,
.page-section.black .muted {
  color: rgba(255, 255, 255, 0.86);
}
.page-section.vertical-alignment--middle {
  display: flex;
  align-items: center;
}
.page-section .content-wrapper {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 72px 18px;
}
@media (max-width: 560px) {
  .page-section .content-wrapper {
    padding: 56px 18px;
  }
  .page-section.light-bold .content-wrapper {
    padding: 56px 18px;
  }
}
.page-section.horizontal-alignment--center .content {
  text-align: center;
}
.page-section.black .actions {
  justify-content: center;
}
.fluid-engine {
  display: grid;
  gap: 14px;
  justify-items: center;
}
.fluid-engine .h1 {
  margin-top: 10px;
}

/* Add extra breathing room to these sections */
.page-section.light-bold .lead {
  max-width: 70ch;
  margin-left: auto;
  margin-right: auto;
}

/* Split layouts */
.sqs-split {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #fff;
  overflow: hidden;
}
.sqs-split.no-borders {
  border-top: 0;
  border-bottom: 0;
}
@media (max-width: 900px) {
  .sqs-split {
    grid-template-columns: 1fr;
  }
}
.sqs-split-media {
  position: relative;
  z-index: 2;
  min-height: 560px;
  overflow: hidden;
  background: #fff;
}
.sqs-split-media img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}
.sqs-split-content {
  position: relative;
  z-index: 3;
  padding: 72px 64px;
  display: grid;
  align-content: center;
  gap: 18px;
  text-align: left;
}
@media (max-width: 900px) {
  .sqs-split-content {
    padding: 56px 18px;
  }
  .sqs-split-media,
  .sqs-split-media img {
    min-height: 340px;
  }
}
@media (max-width: 560px) {
  .sqs-split-media,
  .sqs-split-media img {
    min-height: 260px;
  }
}

/* Marquee title ("Our products") */
.marquee {
  width: 100%;
  overflow: hidden;
  line-height: 0.95;
}
.marquee-full {
  position: absolute;
  inset: 0;
  z-index: 1;
  grid-column: 1 / -1;
  grid-row: 1;
  display: grid;
  align-content: start;
  padding-top: 70px;
  pointer-events: none;
}
.marquee-track {
  display: inline-flex;
  gap: 56px;
  white-space: nowrap;
  animation: marquee 26s linear infinite;
  will-change: transform;
}
@media (max-width: 560px) {
  .marquee-full {
    padding-top: 48px;
  }
  .marquee-track {
    gap: 28px;
  }
}
.marquee-text {
  font-family: var(--font-heading);
  /* Match homepage heading weight */
  font-weight: 700;
  /* Match the hero H1 scale on the homepage */
  font-size: clamp(34px, 5vw, 54px);
  letter-spacing: -0.02em;
  color: #000;
  opacity: 1;
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
}

/* Accordion for services section */
.accordion {
  width: min(560px, 100%);
  margin: 18px 0 10px;
  border-top: 1px solid var(--border);
}
.acc-item {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid var(--border);
  background: transparent;
  font: inherit;
  cursor: pointer;
  text-align: left;
}
.acc-title {
  font-weight: 600;
}
.acc-icon {
  font-weight: 600;
  color: #111;
  width: 22px;
  text-align: right;
}
.acc-panel {
  padding: 10px 0 14px;
  margin-top: 0;
  color: var(--muted);
  line-height: 1.55;
  border-bottom: 1px solid var(--border);
}

/* Contact section form styling */
.contact-sqs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
  justify-items: stretch;
}
.contact-copy {
  text-align: left;
}
.contact-copy .muted {
  margin: 0;
  line-height: 1.55;
  max-width: 52ch;
}
@media (min-width: 901px) {
  /* Keep this specific headline on one line on desktop */
  .contact-sqs.contact-home .sqs-heading {
    font-size: clamp(34px, 3.6vw, 52px);
    white-space: nowrap;
  }
}
@media (max-width: 900px) {
  .contact-sqs {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .contact-sqs form {
    justify-self: stretch;
    max-width: none;
  }
}
.contact-sqs form {
  gap: 14px;
  width: 100%;
  max-width: 520px;
  justify-self: end;
}
.contact-sqs label {
  font-weight: 600;
  text-align: left;
  justify-items: start;
}
.contact-sqs input,
.contact-sqs textarea {
  border-radius: 0;
  padding: 14px 16px;
}
.contact-sqs textarea {
  border-radius: 0;
  min-height: 110px;
}

/* Services page layout (matches design reference) */
.services-section {
  background: #fff;
}

.services-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;
  margin-bottom: clamp(30px, 4vw, 56px);
}
.services-head .h1 {
  margin: 0;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.services-head .muted {
  margin: 0;
  max-width: 62ch;
  line-height: 1.55;
}
@media (max-width: 900px) {
  .services-head {
    grid-template-columns: 1fr;
  }
}

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

.service-item {
  grid-column: span 4;
  display: grid;
  grid-template-rows: auto 1fr;
  border-radius: 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}
.service-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.14);
}
@media (prefers-reduced-motion: reduce) {
  .service-item {
    transition: none;
  }
  .service-item:hover {
    transform: none;
  }
}

.service-media {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.service-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
}

.service-body {
  padding: 18px 18px 20px;
  display: grid;
  gap: 10px;
  align-content: start;
}
.service-body h3 {
  margin: 0;
  font-weight: 750;
  letter-spacing: -0.01em;
}
.service-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 980px) {
  .service-item {
    grid-column: span 6;
  }
}
@media (max-width: 560px) {
  .services-grid {
    gap: 16px;
  }
  .service-item {
    grid-column: span 12;
  }
}

.contact-band {
  background: #fff;
  padding: 70px 0;
  margin-top: 54px;
  border-top: 1px solid var(--border);
}
@media (max-width: 900px) {
  .contact-band {
    padding: 56px 0;
  }
}

/* About page (About us) layout (matches design reference) */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 54px;
  align-items: start;
}
@media (max-width: 900px) {
  .about-hero {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
.about-copy .h1 {
  margin: 0 0 14px;
  font-size: clamp(42px, 4.8vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.about-copy p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 52ch;
}
.about-copy p:last-child {
  margin-bottom: 0;
}
.about-copy a {
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}
.about-media {
  justify-self: end;
  width: 100%;
  max-width: 620px;
}
.about-media img {
  width: 100%;
  height: auto;
  border-radius: 0;
}

/* Products catalog (Products) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.product-filters {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.product-filters .pill {
  cursor: pointer;
  user-select: none;
  background: #fff;
}
.product-filters .pill.is-active {
  background: var(--accent);
  color: #fff;
  border-color: rgba(0, 0, 0, 0.35);
}

.catalog-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 56px 44px;
  align-items: start;
}
@media (max-width: 980px) {
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 28px;
  }
}
@media (max-width: 560px) {
  .catalog-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

.catalog-card {
  margin: 0;
}
.catalog-link {
  display: block;
  border-radius: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}
.catalog-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.16);
}
.catalog-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  object-position: center;
  background: var(--surface);
}

/* Footer logo row */
#footer-sections .footer-logo-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
#footer-sections .footer-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
}
/* Footer sections */
#footer-sections {
  border-top: 1px solid var(--border);
  background: #fff;
}
#footer-sections h4 {
  margin: 0 0 10px;
  font-size: 16px;
}
#footer-sections .footer-logo-row h4 {
  margin: 0;
}
#footer-sections p {
  margin: 0;
  color: var(--muted);
}
#footer-sections a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
#footer-sections .content-wrapper {
  max-width: var(--container);
  margin: 0 auto;
  padding: 54px 18px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 0;
  border: 1px solid rgba(0, 0, 0, 0.35);
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  cursor: pointer;
}
@media (max-width: 560px) {
  .btn {
    padding: 11px 14px;
    font-size: 12px;
  }
}
.btn.primary {
  /* Keep same styling as .btn (consistent buttons site-wide) */
  background: var(--accent);
  color: #fff;
  border-color: rgba(0, 0, 0, 0.35);
}
.btn:hover {
  filter: brightness(1.05);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 0;
  border: 1px solid var(--border);
  background: var(--surface);
  color: #333;
  font-weight: 700;
  font-size: 13px;
}

/* Big section headings */
.sqs-heading {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #111;
}
.page-section .sqs-heading {
  /* Keep homepage section headings consistent with the hero H1 scale */
  font-size: clamp(34px, 5vw, 54px);
}
.sqs-heading.is-offset {
  margin-top: 6px;
}

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

/* Form */
form {
  display: grid;
  gap: 10px;
}
label {
  display: grid;
  gap: 6px;
  font-weight: 700;
}
input,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 12px 12px;
  font: inherit;
  background: #fff;
}
textarea {
  min-height: 110px;
  resize: vertical;
}
.form-note {
  margin: 8px 0 0;
  color: var(--muted);
}
.form-success {
  display: none;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(17, 17, 17, 0.04);
  font-weight: 650;
}
.form-success.show {
  display: block;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
}
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
/* Utilities */
.divider {
  height: 1px;
  background: var(--border);
  margin: 18px 0;
}

