:root {
  --bg: #f4efe7;
  --bg-deep: #e8dfd0;
  --ink: #121316;
  --muted: rgba(18, 19, 22, 0.68);
  --line: rgba(18, 19, 22, 0.12);
  --accent: #ca693d;
  --accent-soft: rgba(202, 105, 61, 0.14);
  --hero-bg: #0d1014;
  --hero-ink: #f4efe7;
  --hero-muted: rgba(244, 239, 231, 0.74);
  --hero-line: rgba(244, 239, 231, 0.12);
  --shadow: 0 32px 90px rgba(13, 16, 20, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #faf6f0 0%, var(--bg) 56%, var(--bg-deep) 100%);
}

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

a {
  color: inherit;
}

.page-shell {
  position: relative;
}

.site-header,
.section-inner,
.site-footer {
  width: min(1200px, calc(100vw - 32px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--accent), #f1b392);
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--muted);
  font-size: 0.86rem;
}

.brand-copy strong {
  color: var(--ink);
  font-size: 0.98rem;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 8px 0;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 180ms ease;
}

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

.hero {
  position: relative;
  overflow: clip;
  color: var(--hero-ink);
  background:
    radial-gradient(circle at 78% 24%, rgba(202, 105, 61, 0.12), transparent 20%),
    linear-gradient(135deg, #0c0f13 0%, #151922 52%, #0d1014 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.04)) top /
      100% 1px no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.03)) bottom /
      100% 1px no-repeat;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
  width: min(1200px, calc(100vw - 32px));
  min-height: min(900px, calc(100svh - 108px));
  margin-inline: auto;
  padding: 64px 0 72px;
}

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

.hero h1,
.section h2,
.product-entry h3 {
  margin: 0;
  letter-spacing: -0.045em;
  line-height: 0.96;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(3.2rem, 7.2vw, 6.4rem);
}

.hero h1 span,
.section h2 span {
  display: block;
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
}

.hero-body,
.section-lede,
.solution-main p,
.solution-side,
.product-summary,
.product-facts li,
.contact-panel p,
.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.72;
}

.hero-body {
  max-width: 46ch;
  margin-top: 24px;
  color: var(--hero-muted);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

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

.button-primary {
  background: var(--hero-ink);
  color: var(--hero-bg);
}

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

.contact .button-primary {
  background: var(--ink);
  color: #fff;
}

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

.hero-media {
  position: relative;
}

.hero-media-frame {
  padding: 14px;
  border: 1px solid var(--hero-line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow);
}

.hero-media-frame img {
  width: 100%;
  border-radius: 18px;
}

.hero-media-copy {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  color: var(--hero-ink);
}

.hero-media-copy span,
.product-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-media-copy strong,
.product-entry h3 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.hero-media-copy p {
  margin: 0;
  color: var(--hero-muted);
  line-height: 1.62;
}

.section {
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: 20px;
  align-items: end;
}

.section h2 {
  font-size: clamp(2.3rem, 4.6vw, 4.2rem);
  max-width: 11ch;
}

.section-lede {
  max-width: 58ch;
}

.solution-list {
  margin-top: 42px;
}

.solution-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) minmax(260px, 0.82fr);
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.solution-index {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.solution-main h3 {
  margin: 0 0 10px;
  font-size: 1.38rem;
  letter-spacing: -0.03em;
}

.products {
  color: var(--hero-ink);
  border-top-color: var(--hero-line);
  background: linear-gradient(135deg, #12161c 0%, #171c25 50%, #0d1014 100%);
}

.products .eyebrow,
.products .product-label {
  color: #f2a37d;
}

.products .section-lede,
.products .product-summary,
.products .product-facts li {
  color: var(--hero-muted);
}

.product-entry {
  margin-top: 42px;
  border-top: 1px solid var(--hero-line);
  padding-top: 28px;
}

.product-entry-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--hero-ink);
  text-decoration: none;
  font-weight: 700;
  transition: opacity 180ms ease, transform 180ms ease;
}

.product-link:hover {
  opacity: 0.76;
  transform: translateX(2px);
}

.product-summary {
  max-width: 56ch;
  margin-top: 24px;
}

.product-facts {
  display: grid;
  gap: 14px;
  margin-top: 32px;
  padding-top: 24px;
  padding-left: 18px;
  border-top: 1px solid var(--hero-line);
  list-style: disc;
}

.contact-panel {
  max-width: 720px;
}

.contact-panel h2 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(2.2rem, 4.8vw, 4rem);
  letter-spacing: -0.045em;
  line-height: 0.96;
}

.contact-panel p {
  max-width: 52ch;
  margin-top: 18px;
}

.site-footer {
  display: flex;
  gap: 12px;
  padding: 0 0 24px;
  color: var(--muted);
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 520ms ease,
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-header,
  .section-inner,
  .site-footer,
  .hero-inner {
    width: min(1200px, calc(100vw - 24px));
  }

  .site-header,
  .section-intro,
  .hero-inner,
  .solution-row {
    grid-template-columns: 1fr;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    flex-wrap: wrap;
  }

  .hero-inner {
    min-height: auto;
    padding: 52px 0 64px;
  }

  .hero h1,
  .section h2,
  .contact-panel h2 {
    max-width: none;
  }

  .product-entry-header,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .site-nav,
  .button {
    width: 100%;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .hero h1 {
    font-size: 3.2rem;
  }

  .section h2,
  .contact-panel h2,
  .product-entry h3 {
    font-size: 2.3rem;
  }
}
