:root {
  --bg: #f3f6f4;
  --bg-deep: #e6ece8;
  --ink: #13201c;
  --ink-soft: #3d4f48;
  --muted: #6a7a73;
  --line: rgba(19, 32, 28, 0.12);
  --accent: #2a6b5c;
  --accent-deep: #1d4d42;
  --surface: rgba(255, 255, 255, 0.72);
  --radius: 14px;
  --nav-h: 68px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: "Outfit", "Noto Sans SC", sans-serif;
  --font-body: "Noto Sans SC", "Outfit", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button {
  font: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

.wrap {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  background: rgba(243, 246, 244, 0.78);
  border-bottom: 1px solid transparent;
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease);
}

.nav.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(243, 246, 244, 0.92);
}

.nav-inner {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  min-width: 0;
}

.brand-mark {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.2rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
}

.brand-sub {
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 42vw;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.nav-links a {
  transition: color 0.2s var(--ease);
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.4rem;
  padding: 0 1.1rem;
  border-radius: 999px;
  background: var(--ink);
  color: #f7faf8;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  transition: background 0.25s var(--ease), transform 0.15s var(--ease);
}

.nav-cta:hover { background: var(--accent-deep); }
.nav-cta:active { transform: scale(0.98); }

.menu-btn {
  display: inline-flex;
  width: 2.4rem;
  height: 2.4rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink);
}

.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  display: block;
  width: 1rem;
  height: 1.5px;
  background: currentColor;
  position: relative;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.menu-btn span::before,
.menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-btn span::before { top: -5px; }
.menu-btn span::after { top: 5px; }

.mobile-panel {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 auto;
  z-index: 39;
  background: rgba(243, 246, 244, 0.97);
  border-bottom: 1px solid var(--line);
  padding: 1.25rem 1.25rem 1.5rem;
}

.mobile-panel.open { display: block; }

.mobile-panel a {
  display: block;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.05rem;
}

.hero {
  position: relative;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #f4f7f5;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  transform: scale(1.04);
  animation: heroDrift 18s var(--ease) infinite alternate;
}

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

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 22, 18, 0.28) 0%, rgba(10, 22, 18, 0.18) 35%, rgba(10, 22, 18, 0.78) 100%),
    radial-gradient(ellipse 70% 55% at 15% 20%, rgba(42, 107, 92, 0.28), transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: calc(var(--nav-h) + 2.5rem) 0 4.5rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 11vw, 7.2rem);
  font-weight: 650;
  letter-spacing: 0.08em;
  line-height: 0.92;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero-brand span {
  color: #9fd4c4;
}

.hero h1 {
  max-width: 14ch;
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: 0.01em;
  margin-bottom: 0.9rem;
}

.hero p {
  max-width: 28ch;
  color: rgba(244, 247, 245, 0.78);
  font-size: 1.02rem;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0 1.35rem;
  border-radius: 999px;
  font-size: 0.95rem;
  transition: transform 0.15s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: #f4f7f5;
  color: var(--ink);
}

.btn-primary:hover { background: #ffffff; }

.btn-ghost {
  border: 1px solid rgba(244, 247, 245, 0.42);
  color: #f4f7f5;
}

.btn-ghost:hover {
  border-color: rgba(244, 247, 245, 0.8);
  background: rgba(255, 255, 255, 0.08);
}

.btn-solid {
  background: var(--ink);
  color: #f4f7f5;
}

.btn-solid:hover { background: var(--accent-deep); }

.trust {
  border-bottom: 1px solid var(--line);
  background: #f7f9f8;
  padding: 1.35rem 0;
}

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

.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 0.15rem;
}

.trust-item span {
  color: var(--muted);
  font-size: 0.86rem;
}

.section {
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
}

.section-kicker {
  color: var(--accent);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  font-weight: 600;
}

.section h2 {
  font-size: clamp(1.85rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.18;
  max-width: 12ch;
  margin-bottom: 1rem;
}

.section .lead {
  max-width: 38rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.about-grid {
  display: grid;
  gap: 2.5rem;
  margin-top: 3rem;
}

.about-copy p + p {
  margin-top: 1rem;
  color: var(--ink-soft);
}

.about-panel {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 22rem;
}

.about-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.about-panel figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 1.25rem 1.35rem;
  background: linear-gradient(transparent, rgba(10, 22, 18, 0.72));
  color: #f4f7f5;
  font-size: 0.92rem;
}

.categories {
  background: var(--bg-deep);
}

.cat-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2.75rem;
}

.cat {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 16rem;
  color: #f4f7f5;
  isolation: isolate;
}

.cat img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
  z-index: -2;
}

.cat::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 22, 18, 0.1), rgba(10, 22, 18, 0.78));
  z-index: -1;
}

.cat:hover img {
  transform: scale(1.06);
}

.cat-body {
  position: absolute;
  inset: auto 0 0;
  padding: 1.35rem 1.4rem 1.5rem;
}

.cat h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.cat p {
  color: rgba(244, 247, 245, 0.8);
  font-size: 0.92rem;
  max-width: 28ch;
}

.brands {
  overflow: hidden;
}

.brand-track-wrap {
  margin-top: 2.5rem;
  border-block: 1px solid var(--line);
  padding-block: 1.5rem;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.brand-track {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.brand-track span {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 550;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  white-space: nowrap;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.flow {
  background:
    radial-gradient(ellipse 60% 50% at 90% 10%, rgba(42, 107, 92, 0.12), transparent 55%),
    var(--bg);
}

.flow-list {
  list-style: none;
  display: grid;
  gap: 0;
  margin-top: 3rem;
  border-top: 1px solid var(--line);
}

.flow-list li {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
}

.flow-list .num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.flow-list h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.flow-list p {
  color: var(--ink-soft);
  max-width: 42rem;
}

.split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.split-media {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 20rem;
}

.split-media img {
  width: 100%;
  height: 100%;
  min-height: 20rem;
  object-fit: cover;
}

.promise {
  background: var(--ink);
  color: #eef4f1;
}

.promise h2 {
  color: #f4f7f5;
  max-width: 14ch;
}

.promise .lead {
  color: rgba(238, 244, 241, 0.72);
}

.promise-points {
  list-style: none;
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.promise-points li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(244, 247, 245, 0.14);
}

.promise-points .mark {
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.55rem;
  border-radius: 50%;
  background: #9fd4c4;
}

.promise-points h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.promise-points p {
  color: rgba(238, 244, 241, 0.7);
  max-width: 36rem;
}

.contact {
  background: var(--bg-deep);
}

.contact-box {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.5rem;
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.55);
}

.contact-box dt {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.contact-box dd {
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.contact-box dd:last-child {
  margin-bottom: 0;
}

.footer {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer p {
  color: var(--muted);
  font-size: 0.88rem;
}

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

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (min-width: 768px) {
  .menu-btn { display: none; }
  .nav-links { display: flex; }
  .brand-sub { max-width: none; }
  .trust-row { grid-template-columns: repeat(4, 1fr); }
  .about-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
  }
  .cat-grid {
    grid-template-columns: 1.3fr 1fr;
    grid-template-rows: repeat(2, minmax(15rem, 1fr));
  }
  .cat:first-child {
    grid-row: 1 / span 2;
    min-height: 100%;
  }
  .flow-list li {
    grid-template-columns: 6rem 1fr;
    gap: 1.5rem;
  }
  .split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }
  .promise-points {
    grid-template-columns: 1fr 1fr;
  }
  .contact-box {
    grid-template-columns: 1.2fr auto;
    align-items: center;
    padding: 2rem 2.25rem;
  }
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: end;
  }
}

@media (min-width: 1024px) {
  .hero-content { padding-bottom: 5.5rem; }
  .cat-grid { gap: 1.15rem; }
}

@media (prefers-reduced-transparency: reduce) {
  .nav, .mobile-panel, .contact-box {
    backdrop-filter: none;
    background: #f3f6f4;
  }
}
