:root {
  --bg: #ece7de;
  --bg-soft: #f5f1ea;
  --surface: rgba(255, 255, 255, 0.08);
  --ink: #0b1721;
  --ink-soft: rgba(11, 23, 33, 0.72);
  --line: rgba(11, 23, 33, 0.14);
  --line-strong: rgba(255, 255, 255, 0.16);
  --paper: #f9f5ee;
  --accent: #b78d69;
  --accent-soft: rgba(183, 141, 105, 0.18);
  --white: #fdfbf7;
  --shadow: 0 32px 90px rgba(7, 16, 24, 0.18);
  --container: min(1160px, calc(100vw - 48px));
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --font-body: "Sora", sans-serif;
  --font-display: "Cormorant Garamond", serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(183, 141, 105, 0.14), transparent 28%),
    radial-gradient(circle at 85% 20%, rgba(13, 24, 34, 0.08), transparent 24%),
    linear-gradient(180deg, #e4ddd3 0%, var(--bg) 32%, var(--bg-soft) 100%);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

p,
h1,
h2,
h3,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: var(--container);
  margin: 20px auto 0;
  padding: 16px 20px;
  transition:
    background-color 320ms var(--ease),
    border-color 320ms var(--ease),
    transform 320ms var(--ease),
    box-shadow 320ms var(--ease);
}

.site-header.is-scrolled {
  background: rgba(11, 23, 33, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 46px rgba(7, 16, 24, 0.2);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-wordmark {
  color: var(--white);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: rgba(253, 251, 247, 0.78);
  font-size: 0.8rem;
}

.site-nav a,
.nav-cta {
  position: relative;
}

.site-nav a::after,
.nav-cta::after,
.button-secondary::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 280ms var(--ease);
}

.site-nav a:hover::after,
.nav-cta:hover::after,
.button-secondary:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  color: var(--white);
  font-size: 0.8rem;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: clip;
  color: var(--white);
  background: #0d1822;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  filter: saturate(0.9) contrast(1.04) brightness(0.88);
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(7, 16, 24, 0.9) 0%, rgba(7, 16, 24, 0.74) 42%, rgba(7, 16, 24, 0.28) 72%, rgba(7, 16, 24, 0.52) 100%),
    linear-gradient(180deg, rgba(7, 16, 24, 0.28) 0%, rgba(7, 16, 24, 0.12) 28%, rgba(7, 16, 24, 0.46) 100%);
}

.hero-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 160px 160px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.6fr);
  align-items: end;
  gap: 60px;
  min-height: 100svh;
  padding-top: 120px;
  padding-bottom: 68px;
}

.hero-copy {
  max-width: 40rem;
}

.eyebrow,
.hero-copy h1,
.hero-lead,
.hero-actions,
.hero-note {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 850ms var(--ease),
    transform 850ms var(--ease);
}

.page-ready .eyebrow {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 100ms;
}

.page-ready .hero-copy h1 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 180ms;
}

.page-ready .hero-lead {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 280ms;
}

.page-ready .hero-actions {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 380ms;
}

.page-ready .hero-note {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 470ms;
}

.eyebrow,
.section-kicker {
  color: rgba(253, 251, 247, 0.72);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-copy h1,
.section h2 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.03em;
}

.hero-copy h1 {
  margin-top: 18px;
  font-size: clamp(4rem, 8vw, 6.7rem);
  text-wrap: balance;
}

.hero-lead {
  max-width: 34rem;
  margin-top: 24px;
  color: rgba(253, 251, 247, 0.8);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    transform 260ms var(--ease),
    background-color 260ms var(--ease),
    border-color 260ms var(--ease),
    color 260ms var(--ease);
}

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

.button-primary {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  backdrop-filter: blur(18px);
}

.button-primary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.button-secondary {
  color: rgba(253, 251, 247, 0.82);
}

.hero-note {
  align-self: end;
  padding-left: 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(253, 251, 247, 0.92);
}

.hero-note-label {
  margin-bottom: 14px;
  color: rgba(253, 251, 247, 0.62);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-note ul {
  display: grid;
  gap: 8px;
  font-size: 1.02rem;
}

.section {
  position: relative;
  padding: 118px 0;
}

.section-heading {
  max-width: 46rem;
}

.section-kicker {
  color: rgba(11, 23, 33, 0.52);
}

.section h2 {
  margin-top: 16px;
  color: var(--ink);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  text-wrap: balance;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 54px;
}

.products {
  background:
    radial-gradient(circle at 15% 16%, rgba(183, 141, 105, 0.09), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 100%),
    var(--bg-soft);
}

.products-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 36px;
  align-items: end;
}

.products-intro {
  max-width: 30rem;
  color: var(--ink-soft);
}

.product-list {
  display: grid;
  gap: 34px;
  margin-top: 56px;
}

.product-card {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 34px;
  align-items: center;
  padding: 26px;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(11, 23, 33, 0.08);
  box-shadow: 0 22px 54px rgba(9, 20, 30, 0.08);
}

.product-card:nth-child(even) {
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
}

.product-card:nth-child(even) .product-media {
  order: 2;
}

.product-card:nth-child(even) .product-copy {
  order: 1;
}

.product-media {
  overflow: clip;
  background: #0d1822;
  box-shadow: var(--shadow);
}

.product-media img {
  width: 100%;
  height: auto;
  transition: transform 700ms var(--ease);
}

.product-card:hover .product-media img {
  transform: scale(1.025);
}

.product-copy {
  display: grid;
  gap: 16px;
}

.product-label {
  color: rgba(11, 23, 33, 0.48);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.product-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.product-copy p {
  color: var(--ink-soft);
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.product-tags li {
  padding: 10px 14px;
  background: rgba(11, 23, 33, 0.05);
  color: rgba(11, 23, 33, 0.72);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service,
.step {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.service-index,
.step-index {
  color: rgba(11, 23, 33, 0.42);
  font-size: 0.84rem;
  letter-spacing: 0.16em;
}

.service h3,
.step h3 {
  margin-top: 14px;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.service p:last-child,
.step p:last-child,
.statement-copy p,
.process-intro p,
.contact-copy,
.site-footer p {
  color: var(--ink-soft);
}

.service p:last-child,
.step p:last-child {
  margin-top: 10px;
}

.statement {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 100%),
    var(--paper);
}

.statement-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 60px;
  align-items: center;
}

.statement-copy p {
  margin-top: 18px;
  max-width: 33rem;
}

.statement-media {
  position: relative;
  overflow: clip;
  box-shadow: var(--shadow);
}

.statement-media::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  pointer-events: none;
}

.statement-media img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}

.statement-media:hover img {
  transform: scale(1.03);
}

.statement-media figcaption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  color: rgba(253, 251, 247, 0.88);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.process {
  overflow: clip;
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 50px;
  align-items: start;
}

.process-intro {
  position: sticky;
  top: 124px;
}

.process-intro p:last-child {
  margin-top: 18px;
  max-width: 26rem;
}

.process-steps {
  display: grid;
  gap: 40px;
}

.step {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 20px;
}

.contact {
  background:
    linear-gradient(135deg, rgba(11, 23, 33, 0.96) 0%, rgba(11, 23, 33, 0.86) 48%, rgba(32, 47, 60, 0.82) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
  color: var(--white);
}

.contact .container {
  position: relative;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 40px 0 auto auto;
  width: min(520px, 46vw);
  height: min(520px, 46vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(183, 141, 105, 0.22), transparent 70%);
  filter: blur(6px);
}

.contact h2 {
  color: var(--white);
  max-width: 52rem;
}

.contact-copy {
  max-width: 38rem;
  margin-top: 22px;
  color: rgba(253, 251, 247, 0.78);
}

.contact-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
  color: rgba(253, 251, 247, 0.64);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 40px;
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-label {
  margin-bottom: 10px;
  color: rgba(253, 251, 247, 0.56);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-link,
.contact-address {
  color: rgba(253, 251, 247, 0.88);
  font-style: normal;
  line-height: 1.8;
}

.contact-meta span {
  position: relative;
  padding-right: 18px;
}

.contact-meta span:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-50%);
}

.contact .button-primary {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(183, 141, 105, 0.16);
}

.site-footer {
  padding: 28px 24px 42px;
  background: #0b1721;
  color: rgba(253, 251, 247, 0.56);
  text-align: center;
  font-size: 0.84rem;
}

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

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

@media (max-width: 980px) {
  .site-nav {
    display: none;
  }

  .hero-layout,
  .statement-layout,
  .process-layout,
  .service-grid,
  .products-heading,
  .product-card,
  .contact-details {
    grid-template-columns: 1fr;
  }

  .hero-layout {
    gap: 34px;
    align-items: end;
  }

  .product-card:nth-child(even) .product-media,
  .product-card:nth-child(even) .product-copy {
    order: initial;
  }

  .hero-note {
    max-width: 20rem;
  }

  .process-intro {
    position: static;
  }
}

@media (max-width: 720px) {
  :root {
    --container: min(100vw - 28px, 1160px);
  }

  .site-header {
    margin-top: 14px;
    padding: 14px 16px;
  }

  .nav-cta {
    font-size: 0.74rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-layout {
    min-height: 100svh;
    padding-top: 116px;
    padding-bottom: 44px;
  }

  .hero-copy h1 {
    font-size: clamp(3.2rem, 17vw, 4.6rem);
  }

  .hero-note {
    padding-left: 16px;
    font-size: 0.96rem;
  }

  .section {
    padding: 88px 0;
  }

  .section h2 {
    font-size: clamp(2.5rem, 13vw, 3.5rem);
  }

  .product-card {
    padding: 18px;
  }

  .product-copy h3 {
    font-size: clamp(2rem, 11vw, 2.8rem);
  }

  .step {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact-meta {
    gap: 12px 18px;
  }

  .contact-meta span {
    padding-right: 0;
  }

  .contact-meta span::after {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .eyebrow,
  .hero-copy h1,
  .hero-lead,
  .hero-actions,
  .hero-note,
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
