:root {
  --ink: #12151a;
  --ink-soft: #2a3038;
  --paper: #eef1f4;
  --paper-dim: #d9dee5;
  --mist: #9aa3ad;
  --copper: #b08a5a;
  --copper-bright: #c9a06e;
  --veil: rgba(12, 14, 18, 0.62);
  --font-display: "Syne", sans-serif;
  --font-body: "Manrope", sans-serif;
  --space: clamp(1.25rem, 3vw, 2.5rem);
  --max: 72rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--copper-bright);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem var(--space);
  background: linear-gradient(to bottom, rgba(12, 14, 18, 0.72), transparent);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ink);
  padding: 0.35rem 0.85rem 0.35rem 0.45rem;
  background: rgba(238, 241, 244, 0.92);
  min-width: 0;
  flex-shrink: 1;
}

.brand-mark {
  width: auto;
  height: 2rem;
  object-fit: contain;
  background: transparent;
  flex-shrink: 0;
}

.brand-word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  line-height: 1;
  letter-spacing: 0.06em;
  color: var(--ink);
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.92rem;
  font-weight: 500;
  flex-shrink: 0;
}

.nav a {
  text-decoration: none;
  opacity: 0.88;
}

.nav a:hover {
  opacity: 1;
}

.nav-cta {
  border-bottom: 1px solid var(--copper);
  padding-bottom: 0.1rem;
}

/* Hero — one composition, full-bleed */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: 7.5rem var(--space) 3.5rem;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.06);
  animation: hero-drift 18s ease-in-out infinite alternate;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 14, 18, 0.28) 0%, rgba(12, 14, 18, 0.45) 42%, rgba(12, 14, 18, 0.88) 100%),
    linear-gradient(90deg, rgba(238, 241, 244, 0.55) 0%, rgba(238, 241, 244, 0.18) 28%, transparent 52%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 40rem;
}

.brand-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  margin: 0 0 1.35rem;
}

.brand-hero-mark {
  position: relative;
  z-index: 1;
  width: clamp(14rem, 48vw, 28rem);
  height: auto;
  background: transparent;
}

.brand-hero-word {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.75rem, 9vw, 5.5rem);
  line-height: 0.92;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-shadow: 0 1px 0 rgba(238, 241, 244, 0.35);
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 2.8vw, 1.75rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  max-width: 24ch;
}

.lede {
  margin: 0 0 1.75rem;
  max-width: 36ch;
  color: var(--paper-dim);
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  background: var(--copper);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background: var(--copper-bright);
  color: var(--ink);
  transform: translateY(-1px);
}

.btn-ghost {
  color: var(--paper);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(238, 241, 244, 0.45);
  padding-bottom: 0.15rem;
}

.btn-ghost:hover {
  border-color: var(--copper-bright);
  color: var(--copper-bright);
}

/* Sections */
.section {
  padding: clamp(4rem, 10vw, 7rem) var(--space);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper);
}

.section h2 {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(1.7rem, 3.5vw, 2.55rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  max-width: 18ch;
}

.section-copy {
  margin: 0 0 2.5rem;
  max-width: 42rem;
  color: var(--mist);
}

.section-copy code {
  font-family: var(--font-body);
  font-size: 0.92em;
  color: var(--paper-dim);
  background: rgba(238, 241, 244, 0.06);
  padding: 0.1em 0.35em;
}

.services {
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(176, 138, 90, 0.12), transparent 55%),
    var(--ink);
  border-top: 1px solid rgba(238, 241, 244, 0.06);
}

.services .section-copy {
  margin-bottom: 2rem;
}

.pillars {
  display: grid;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.pillar {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(238, 241, 244, 0.12);
}

.pillar h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--copper-bright);
}

.pillar p {
  margin: 0;
  max-width: 36rem;
  color: var(--mist);
  font-size: 0.98rem;
}

@media (min-width: 800px) {
  .pillars {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem 2.25rem;
  }

  .pillar {
    border-top: 0;
    padding-top: 0;
    border-left: 1px solid rgba(238, 241, 244, 0.12);
    padding-left: 1.25rem;
  }

  .pillar:first-child {
    border-left: 0;
    padding-left: 0;
  }
}

/* Products */
.products {
  background: #161a20;
  border-top: 1px solid rgba(238, 241, 244, 0.06);
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.product {
  display: grid;
  grid-template-columns: 1fr;
  text-decoration: none;
  color: inherit;
  border-top: 1px solid rgba(238, 241, 244, 0.14);
  transition: border-color 0.2s ease;
}

.product:hover {
  border-color: rgba(176, 138, 90, 0.55);
  color: inherit;
}

.product-visual {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #22272f;
}

.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.55s ease;
}

.product:hover .product-visual img {
  transform: scale(1.04);
}

.product-body {
  padding: 1.15rem 0 1.5rem;
  display: grid;
  gap: 0.55rem;
}

.product-body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.product-body p {
  margin: 0;
  color: var(--mist);
  max-width: 36rem;
  font-size: 0.98rem;
}

.product-meta {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--copper);
}

.product-cta {
  font-weight: 600;
  font-size: 0.92rem;
  border-bottom: 1px solid rgba(176, 138, 90, 0.55);
  justify-self: start;
  padding-bottom: 0.1rem;
}

.product:hover .product-cta {
  color: var(--copper-bright);
  border-color: var(--copper-bright);
}

@media (min-width: 800px) {
  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 2.25rem;
  }
}

.partners {
  background: #181c22;
}

.partners-grid {
  display: grid;
  gap: 2.5rem;
}

.partner-copy p {
  margin: 0 0 1.1rem;
  max-width: 38rem;
  color: var(--paper-dim);
}

.facts {
  display: grid;
  gap: 1.25rem;
  margin: 2rem 0 0;
  padding: 0;
}

.facts div {
  display: grid;
  gap: 0.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(238, 241, 244, 0.12);
}

.facts dt {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper);
}

.facts dd {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
}

.contact {
  background:
    linear-gradient(160deg, #1a1510 0%, var(--ink) 45%, #141820 100%);
  border-top: 1px solid rgba(176, 138, 90, 0.25);
}

.contact-panel {
  display: grid;
  gap: 2.5rem;
}

.contact-company {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
}

.contact-details p {
  margin: 0 0 1.25rem;
  color: var(--paper-dim);
}

.contact-details a {
  text-decoration: none;
  border-bottom: 1px solid rgba(176, 138, 90, 0.55);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding: 1.25rem var(--space) 2rem;
  font-size: 0.82rem;
  color: var(--mist);
  border-top: 1px solid rgba(238, 241, 244, 0.08);
}

/* Inner product pages */
.page {
  padding-top: 4.5rem;
}

.page-hero {
  padding-bottom: 1.5rem;
  background: var(--ink);
  border-top: 0;
}

.page-title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.025em;
  max-width: 16ch;
}

.crumb {
  text-decoration: none;
  color: var(--copper);
}

.crumb:hover {
  color: var(--copper-bright);
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(1.1rem);
  animation: rise 0.9s ease forwards;
}

.delay-1 { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.24s; }
.delay-3 { animation-delay: 0.36s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-drift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(-1.5%, -1%, 0); }
}

.section-inner > * {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.section-inner.is-in > * {
  opacity: 1;
  transform: none;
}

.section-inner.is-in > *:nth-child(2) { transition-delay: 0.08s; }
.section-inner.is-in > *:nth-child(3) { transition-delay: 0.16s; }
.section-inner.is-in > *:nth-child(4) { transition-delay: 0.24s; }

@media (min-width: 800px) {
  .brand-mark {
    height: clamp(2.75rem, 6vw, 3.5rem);
  }

  .brand-word {
    font-size: clamp(2.75rem, 6vw, 3.5rem);
  }

  .partners-grid,
  .contact-panel {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 4rem;
  }

  .facts {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .facts div {
    border-top: 0;
    padding-top: 0;
    border-left: 1px solid rgba(238, 241, 244, 0.12);
    padding-left: 1rem;
  }

  .facts div:first-child {
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 740px) {
  body {
    overflow-x: hidden;
    font-size: 1rem;
  }

  .site-header {
    padding: 0.65rem 1rem;
    gap: 0.65rem;
  }

  .brand-lockup {
    gap: 0.45rem;
    padding: 0.28rem 0.55rem 0.28rem 0.35rem;
  }

  .brand-mark {
    height: 1.65rem;
  }

  .brand-word {
    font-size: 1.15rem;
    letter-spacing: 0.04em;
  }

  .nav {
    gap: 0.85rem;
    font-size: 0.82rem;
  }

  .nav a[href="#products"] {
    display: none;
  }

  .nav a {
    padding: 0.35rem 0;
  }

  .hero {
    min-height: 100svh;
    align-items: end;
    padding: 5.5rem 1rem 2rem;
  }

  .hero-image {
    object-position: 70% center;
    animation: none;
    transform: scale(1.04);
  }

  .hero-veil {
    background:
      linear-gradient(
        180deg,
        rgba(12, 14, 18, 0.45) 0%,
        rgba(12, 14, 18, 0.35) 35%,
        rgba(12, 14, 18, 0.92) 72%,
        rgba(12, 14, 18, 0.97) 100%
      );
  }

  .hero-content {
    max-width: none;
    width: 100%;
  }

  .brand-hero {
    margin-bottom: 1rem;
    gap: 0.2rem;
  }

  .brand-hero-mark {
    width: min(11.5rem, 58vw);
  }

  .brand-hero-word {
    font-size: clamp(2.4rem, 14vw, 3.4rem);
    color: var(--paper);
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
  }

  .hero h1 {
    font-size: 1.28rem;
    max-width: none;
    margin-bottom: 0.75rem;
  }

  .lede {
    font-size: 0.95rem;
    max-width: none;
    margin-bottom: 1.35rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }

  .btn-primary {
    width: 100%;
    text-align: center;
    padding: 0.95rem 1.2rem;
  }

  .btn-ghost {
    text-align: center;
    align-self: center;
  }

  .section {
    padding: 3.25rem 1rem;
  }

  .section h2 {
    max-width: none;
    font-size: 1.55rem;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-image { animation: none; transform: none; }
  .reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .section-inner > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
