:root {
  --red: #d40f1a;
  --red-deep: #9e0a12;
  --green: #1f6b2e;
  --green-mid: #2f8a3f;
  --green-deep: #0c1a10;
  --ink: #121812;
  --ink-soft: #4a554c;
  --muted: #6b746d;
  --white: #ffffff;
  --paper: #ffffff;
  --line: rgba(18, 24, 18, 0.1);
  --charcoal: #101410;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 4.75rem;
  --shell: min(1180px, calc(100% - 2.5rem));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

.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;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--white);
  color: var(--ink);
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

/* ========== White header strip ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header-strip {
  background: var(--white);
}

.header-inner {
  width: var(--shell);
  margin: 0 auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  margin-right: auto;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.brand img {
  width: clamp(3.4rem, 8vw, 4.6rem);
  height: auto;
  /* Logo sits bare on white — no pill, badge, or colored box */
  background: transparent;
  border-radius: 0;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.5rem;
  padding: 0.35rem 0.15rem;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--ink);
  white-space: nowrap;
  flex-shrink: 0;
}

.header-phone-icon {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  color: var(--red);
  display: block;
}

.header-phone:hover {
  color: var(--green);
}

.header-phone:hover .header-phone-icon {
  color: var(--green);
}

.nav {
  display: none;
  align-items: center;
  gap: 1.65rem;
}

.nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
}

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

.nav-toggle {
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
}

.nav-toggle-bar {
  display: block;
  width: 1.35rem;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transform-origin: center;
  transition:
    transform 0.3s var(--ease),
    opacity 0.2s var(--ease);
}

/* 6px gap + 2px bar → 8px between centers; each moves 4px to meet */
.site-header.is-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

.site-header.is-open .nav-toggle-bar:nth-child(2) {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-nav {
  display: grid;
  gap: 0.15rem;
  padding: 0.25rem 1.25rem 1.25rem;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  text-decoration: none;
  padding: 0.9rem 0.25rem;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 900px) {
  .nav {
    display: inline-flex;
  }

  .header-phone {
    margin-left: 0.35rem;
    padding-left: 1.15rem;
    border-left: 1px solid var(--line);
  }

  .nav-toggle,
  .mobile-nav {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .header-inner {
    gap: 0.5rem;
  }

  .header-phone {
    gap: 0;
    min-width: 2.5rem;
    min-height: 2.5rem;
    padding: 0;
    place-content: center;
  }

  .header-phone [data-phone-label] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .header-phone-icon {
    width: 1.25rem;
    height: 1.25rem;
  }
}

/* ========== Hero (below white header) ========== */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  place-items: center;
  color: var(--white);
  overflow: hidden;
}

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

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  animation: hero-drift 22s var(--ease) infinite alternate;
}

.hero-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 26, 16, 0.28) 0%, rgba(12, 26, 16, 0.18) 40%, rgba(12, 26, 16, 0.72) 100%),
    linear-gradient(90deg, rgba(212, 15, 26, 0.12), transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: var(--shell);
  margin: 0 auto;
  padding: 4.5rem 0 5rem;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 0.85rem;
}

.hero-brand {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.08s forwards;
}

.hero-headline {
  margin: 0;
  max-width: 16ch;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.8rem, 8vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  opacity: 0;
  animation: rise 1s var(--ease) 0.18s forwards;
}

.hero-lead {
  margin: 0.35rem 0 0;
  max-width: 34rem;
  font-size: clamp(1rem, 2.1vw, 1.15rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
  opacity: 0;
  animation: rise 1s var(--ease) 0.3s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.1rem;
  opacity: 0;
  animation: rise 1s var(--ease) 0.42s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.85rem 1.35rem;
  border-radius: 0;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

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

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--red-deep);
}

.btn-ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  color: var(--white);
  background: transparent;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ========== Shared ========== */
.section-shell {
  width: var(--shell);
  margin: 0 auto;
  padding: 5.5rem 0;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.lede {
  margin: 1.1rem 0 0;
  max-width: 38rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
}

h2 {
  margin: 0;
  font-weight: 600;
  font-size: clamp(2.1rem, 4.8vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

/* ========== Stats ========== */
.stats {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.stats-shell {
  padding: 3.75rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1.5rem;
}

.stat {
  text-align: center;
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
}

.stat-label {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
}

@media (min-width: 800px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

/* ========== Mission ========== */
.mission {
  background: var(--white);
}

.mission-shell {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.mission-visuals {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
  align-items: end;
}

.mission-figure {
  margin: 0;
  overflow: hidden;
}

.mission-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mission-figure:first-child {
  min-height: 280px;
  max-height: 420px;
}

.mission-figure:last-child {
  min-height: 180px;
  max-height: 280px;
  transform: translateY(-1.5rem);
}

.mission-headline {
  max-width: 14ch;
}

.mission-blocks {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.25rem;
}

.mission-blocks article {
  padding-top: 1rem;
  border-top: 1.5px solid var(--green);
}

.mission-blocks h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
}

.mission-blocks p {
  margin: 0;
  color: var(--ink-soft);
}

@media (max-width: 700px) {
  .mission-visuals {
    grid-template-columns: 1fr 1fr;
  }

  .mission-figure:last-child {
    transform: none;
  }
}

@media (min-width: 920px) {
  .mission-shell {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4rem;
  }

  .mission-figure:first-child {
    min-height: 360px;
  }
}

/* ========== Products ========== */
.products {
  background: #f7f8f6;
}

.products-shell {
  display: grid;
  gap: 3rem;
  align-items: start;
}

.products-intro h2 {
  max-width: 12ch;
}

.product-names {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
}

.product-names li {
  border-bottom: 1px solid var(--line);
}

.product-name-row {
  width: 100%;
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  padding: 1.15rem 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.product-name {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.35rem);
  font-weight: 600;
  line-height: 1.1;
}

.product-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}

.product-arrow {
  margin-left: auto;
  opacity: 0.35;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), color 0.3s var(--ease);
}

.product-name-row:hover .product-arrow,
.product-name-row.is-active .product-arrow {
  opacity: 1;
  color: var(--green);
  transform: translateX(4px);
}

.product-expand {
  padding: 0 0 1.35rem;
  max-width: 36rem;
}

.product-expand p {
  margin: 0;
  color: var(--ink-soft);
}

.product-note {
  margin-top: 0.75rem !important;
  font-weight: 600;
  color: var(--green) !important;
}

.text-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--red);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1.5px solid rgba(212, 15, 26, 0.35);
}

.text-link:hover {
  border-color: var(--red);
}

.products-side {
  margin: 0;
  overflow: hidden;
  min-height: 360px;
  background: var(--green-deep);
}

.products-side img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  max-height: 640px;
  object-fit: cover;
}

.product-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.product-details figure {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.product-details img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 960px) {
  .products-shell {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4rem;
  }

  .products-side {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
  }
}

/* ========== Collaborate CTA ========== */
.collaborate {
  position: relative;
  color: var(--white);
  min-height: 420px;
  display: grid;
}

.collaborate-shell {
  position: relative;
  display: grid;
  align-items: center;
  min-height: inherit;
}

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

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

.collaborate-wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 20, 14, 0.82) 0%, rgba(12, 20, 14, 0.55) 55%, rgba(12, 20, 14, 0.72) 100%);
}

.collaborate-content {
  position: relative;
  z-index: 1;
  width: var(--shell);
  margin: 0 auto;
  padding: 5rem 0;
  display: grid;
  gap: 2rem;
}

.collaborate-content h2 {
  max-width: 16ch;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.8vw, 2.6rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.collaborate-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.collaborate-links a {
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 0.2rem;
}

.collaborate-links a:hover {
  border-color: var(--white);
  color: #fff;
}

@media (min-width: 880px) {
  .collaborate-content {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: end;
    gap: 3rem;
  }

  .collaborate-links {
    justify-self: end;
    text-align: right;
  }
}

/* ========== Values ========== */
.values {
  background: var(--white);
  overflow: hidden;
}

.values-shell {
  position: relative;
  display: grid;
  gap: 2rem;
}

.values-watermark {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(4rem, 14vw, 10rem);
  font-weight: 600;
  line-height: 0.85;
  letter-spacing: -0.03em;
  color: rgba(18, 24, 18, 0.05);
  pointer-events: none;
  user-select: none;
}

.values-content h2 {
  margin-bottom: 2rem;
}

.values-list {
  display: grid;
  gap: 0;
}

.value-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.value-item:last-child {
  border-bottom: 1px solid var(--line);
}

.value-mark {
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.value-item h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
}

.value-item p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 36rem;
}

@media (min-width: 900px) {
  .values-shell {
    grid-template-columns: 0.35fr 0.65fr;
    align-items: start;
  }

  .values-watermark {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    justify-self: start;
    margin-top: 0.5rem;
  }
}

/* ========== Testimonials (hidden when empty) ========== */
.testimonials {
  background: #f7f8f6;
}

.testimonial-list {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.testimonial {
  margin: 0;
  padding: 1rem 0 0;
  border-top: 2px solid var(--red);
}

.testimonial p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.35;
}

.testimonial cite {
  display: block;
  margin-top: 0.85rem;
  font-style: normal;
  font-weight: 600;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

@media (min-width: 800px) {
  .testimonial-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

/* ========== Footer ========== */
.site-footer {
  background: var(--white);
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}

.footer-top {
  border-bottom: 1px solid var(--line);
}

.footer-columns {
  width: var(--shell);
  margin: 0 auto;
  padding: 3.5rem 0;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.footer-col h3 {
  margin: 0 0 1rem;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.footer-col a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.footer-col a:hover {
  color: var(--red);
}

.footer-bottom {
  background: var(--white);
  padding: 1.35rem 0 1.6rem;
}

.footer-bottom-inner {
  width: var(--shell);
  margin: 0 auto;
  display: grid;
  gap: 1rem;
  align-items: center;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}

.footer-logo img {
  width: 2.6rem;
  height: auto;
  /* Logo sits bare on white — no pill, badge, or colored box */
  background: transparent;
  border-radius: 0;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.35rem;
}

.footer-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 500;
}

.footer-nav a:hover {
  color: var(--red);
}

.footer-social {
  display: flex;
  gap: 1.1rem;
}

.footer-social a {
  text-decoration: none;
  color: var(--green);
  font-size: 0.88rem;
  font-weight: 600;
}

.footer-social a:hover {
  color: var(--red);
}

.footer-copy {
  width: var(--shell);
  margin: 1rem auto 0;
  color: var(--muted);
  font-size: 0.82rem;
}

@media (min-width: 860px) {
  .footer-bottom-inner {
    grid-template-columns: auto 1fr auto;
  }

  .footer-nav {
    justify-content: center;
  }
}

/* ========== Motion ========== */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.2%, -0.8%, 0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Boot states */
body.is-loading main,
body.is-loading .site-footer {
  opacity: 0.55;
}

.content-error,
.noscript-banner {
  width: var(--shell);
  margin: 1rem auto 0;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--red);
  background: rgba(212, 15, 26, 0.08);
  color: var(--ink);
}

.content-error a,
.noscript-banner a {
  color: var(--red);
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-photo,
  .hero-brand,
  .hero-headline,
  .hero-lead,
  .hero-actions,
  .reveal {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
