:root {
  --ink: #111111;
  --ink-soft: #424242;
  --muted: #767676;
  --line: #e7e4df;
  --paper: #ffffff;
  --warm: #f6f0e7;
  --sage: #4f7c65;
  --gold: #b08a4d;
  --coal: #191917;
  --shadow: 0 20px 60px rgba(17, 17, 17, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 78px;
  padding: 16px 44px;
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(231, 228, 223, 0.72);
  backdrop-filter: blur(18px);
  transition:
    min-height 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.site-header.is-scrolled {
  min-height: 66px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 28px rgba(17, 17, 17, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 150px;
}

.brand-mark {
  color: var(--ink);
  font-size: 1.14rem;
  font-weight: 900;
}

.brand-region {
  padding-left: 12px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 650;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.93rem;
  font-weight: 750;
  text-align: center;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.header-cta {
  background: var(--ink);
  color: var(--paper);
}

.button-dark {
  background: var(--ink);
  color: var(--paper);
}

.button-light {
  border-color: rgba(255, 255, 255, 0.9);
  color: var(--paper);
  background: rgba(255, 255, 255, 0.12);
}

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

.button-light:hover {
  background: var(--paper);
  color: var(--ink);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.menu-open .menu-toggle span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-open .menu-toggle span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 760px;
  height: 92vh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 140px 44px 44px;
  color: var(--paper);
}

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

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.03);
  transition:
    opacity 900ms ease,
    transform 6s ease;
}

.hero-media img.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.76) 0%, rgba(0, 0, 0, 0.42) 42%, rgba(0, 0, 0, 0.08) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.48) 0%, rgba(0, 0, 0, 0) 46%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  padding-bottom: 118px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--sage);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #d8eadf;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: 4.8rem;
  line-height: 0.98;
  font-weight: 850;
  letter-spacing: 0;
  max-width: 760px;
}

h2 {
  margin-bottom: 18px;
  font-size: 2.7rem;
  line-height: 1.06;
  font-weight: 820;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.16rem;
  line-height: 1.2;
}

p {
  color: var(--ink-soft);
  line-height: 1.7;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-panel {
  position: absolute;
  right: 44px;
  bottom: 44px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(130px, 1fr));
  width: min(600px, calc(100% - 88px));
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
}

.hero-panel div {
  min-height: 112px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.hero-panel div:last-child {
  border-right: 0;
}

.hero-panel strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.45rem;
  line-height: 1;
}

.hero-panel span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.section {
  padding: 108px 44px;
  scroll-margin-top: 88px;
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section-heading {
  width: min(840px, 100%);
  margin: 0 auto 54px;
  text-align: center;
}

.section-heading p {
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
}

.split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 68px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: 1.08fr 0.92fr;
}

.section-copy p:not(.eyebrow) {
  font-size: 1.05rem;
}

.brand-section {
  background: var(--warm);
}

.brand-visual,
.partnership-image {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.brand-visual img {
  width: 100%;
  aspect-ratio: 1.25 / 1;
  object-fit: cover;
  background: #eee4d7;
}

.services-section {
  background: var(--paper);
}

.service-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-item {
  min-height: 330px;
  padding: 30px 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.service-item img {
  width: 96px;
  height: 96px;
  margin-bottom: 26px;
  object-fit: cover;
  border-radius: 50%;
  background: var(--warm);
}

.service-item p {
  margin-bottom: 0;
  font-size: 0.94rem;
}

.products-section {
  background: #f7f7f4;
}

.product-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.product-card {
  position: relative;
  min-height: 490px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--coal);
  isolation: isolate;
}

.product-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.22);
  transition: transform 500ms ease;
}

.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.18) 62%, rgba(0, 0, 0, 0.05) 100%);
  z-index: 1;
}

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

.product-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 28px;
  color: var(--paper);
}

.product-content span {
  display: inline-flex;
  margin-bottom: 12px;
  color: #d8eadf;
  font-size: 0.83rem;
  font-weight: 800;
  text-transform: uppercase;
}

.product-content p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.process-section {
  background: var(--paper);
}

.process-list {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  counter-reset: process;
}

.process-list li {
  position: relative;
  min-height: 286px;
  padding: 34px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-list span {
  display: inline-flex;
  margin-bottom: 52px;
  color: var(--gold);
  font-size: 0.95rem;
  font-weight: 850;
}

.process-list p {
  margin-bottom: 0;
}

.partnership-section {
  background: var(--coal);
  color: var(--paper);
}

.partnership-section p,
.partnership-section .section-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
}

.partnership-section .eyebrow {
  color: #d6b878;
}

.partnership-image {
  background: #272722;
}

.partnership-image img {
  width: 100%;
  aspect-ratio: 1.55 / 1;
  object-fit: cover;
  object-position: 60% 50%;
  background: #47704f;
}

.partnership-points {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.partnership-points div {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.partnership-points strong,
.partnership-points span {
  display: block;
}

.partnership-points strong {
  margin-bottom: 8px;
}

.partnership-points span {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.contact-section {
  background: var(--warm);
}

.contact-panel {
  width: min(980px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: stretch;
}

.contact-primary,
.contact-checklist article {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #d8d1c6;
  border-radius: 8px;
}

.contact-primary {
  padding: 34px;
}

.contact-primary span {
  display: block;
  margin-bottom: 16px;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-primary > a:not(.button) {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--ink);
  font-size: 1.55rem;
  font-weight: 850;
}

.contact-primary p {
  margin-bottom: 26px;
}

.contact-checklist {
  display: grid;
  gap: 14px;
}

.contact-checklist article {
  padding: 24px;
}

.contact-checklist strong,
.contact-checklist span {
  display: block;
}

.contact-checklist strong {
  margin-bottom: 8px;
}

.contact-checklist span {
  color: var(--muted);
  line-height: 1.55;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  padding: 46px 44px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.site-footer img {
  width: 110px;
  margin-bottom: 14px;
}

.footer-mark {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 900;
}

.site-footer p {
  margin-bottom: 0;
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 700;
}

@media (max-width: 1180px) {
  .site-header {
    padding: 14px 28px;
    gap: 18px;
  }

  .main-nav {
    gap: 18px;
  }

  .hero,
  .section {
    padding-left: 28px;
    padding-right: 28px;
  }

  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 880px) {
  .site-header {
    grid-template-columns: auto auto;
    min-height: 70px;
  }

  .brand-mark {
    font-size: 1.02rem;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .main-nav {
    position: fixed;
    top: 70px;
    left: 18px;
    right: 18px;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 14px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .menu-open .main-nav {
    display: grid;
  }

  .main-nav a {
    padding: 16px 12px;
    border-bottom: 1px solid var(--line);
  }

  .main-nav a:last-child {
    border-bottom: 0;
  }

  .main-nav a::after {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 720px;
    height: auto;
    padding-top: 118px;
    display: block;
  }

  .hero-content {
    padding-top: 28px;
    padding-bottom: 24px;
  }

  h1 {
    font-size: 3.2rem;
  }

  h2 {
    font-size: 2.05rem;
  }

  .hero-panel {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 10px;
    grid-template-columns: 1fr;
  }

  .hero-panel div {
    min-height: 82px;
    padding: 18px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-panel div:last-child {
    border-bottom: 0;
  }

  .split,
  .split.reverse {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .split.reverse .partnership-image {
    order: 2;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-panel {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 12px 18px;
  }

  .brand-region {
    display: none;
  }

  .hero,
  .section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero {
    min-height: 740px;
  }

  h1 {
    font-size: 2.55rem;
    line-height: 1.04;
  }

  h2 {
    font-size: 1.82rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .section {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .section-heading {
    text-align: left;
  }

  .service-grid,
  .product-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .service-item,
  .process-list li {
    min-height: auto;
  }

  .product-card {
    min-height: 420px;
  }

  .product-content {
    padding: 22px;
  }

  .site-footer {
    padding: 36px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
