:root {
  color-scheme: light;
  --charcoal: #211f1b;
  --charcoal-soft: #403a32;
  --ink-muted: #6d655b;
  --surface: #fffaf0;
  --surface-strong: #fff4d8;
  --surface-soft: #fffdf8;
  --yuzu: #f9b000;
  --yuzu-deep: #f08200;
  --leaf: #2f6e39;
  --leaf-dark: #194522;
  --line: rgba(33, 31, 27, 0.14);
  --shadow: 0 24px 70px rgba(64, 45, 10, 0.14);
  --radius: 8px;
  --header-height: 82px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--charcoal);
  background:
    radial-gradient(circle at 88% 16%, rgba(47, 110, 57, 0.1), transparent 28rem),
    linear-gradient(180deg, var(--surface) 0%, #fffdfa 42%, #f7f4ed 100%);
  font-family: inherit;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body.is-nav-offset {
  --header-shadow: 0 16px 40px rgba(33, 31, 27, 0.1);
}

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

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(47, 110, 57, 0.45);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 20;
  padding: 0.7rem 0.9rem;
  color: #fff;
  background: var(--charcoal);
  border-radius: var(--radius);
  transform: translateY(-140%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(33, 31, 27, 0.08);
  background: rgba(255, 250, 240, 0.88);
  backdrop-filter: blur(18px);
  box-shadow: var(--header-shadow, none);
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 1.25rem;
  width: min(1120px, calc(100% - 2rem));
  min-height: var(--header-height);
  margin: 0 auto;
}

.brand-lockup,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  width: fit-content;
  font-weight: 760;
  letter-spacing: 0;
}

.brand-lockup img,
.footer-brand img {
  flex: 0 0 auto;
  width: 48px;
  height: 46px;
  object-fit: contain;
  background: transparent;
}

.brand-lockup span {
  display: grid;
  gap: 0.05rem;
}

.brand-lockup strong {
  font-size: 1rem;
}

.brand-lockup small {
  color: var(--ink-muted);
  font-size: 0.76rem;
  font-weight: 650;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
}

.site-nav a {
  min-height: 38px;
  padding: 0.52rem 0.88rem;
  border-radius: 999px;
  color: var(--charcoal-soft);
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a:hover {
  background: rgba(249, 176, 0, 0.14);
  color: var(--charcoal);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: var(--radius);
  font-weight: 790;
  letter-spacing: 0;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}

.header-cta {
  padding: 0.68rem 1rem;
  color: #fff;
  background: var(--charcoal);
  box-shadow: 0 12px 30px rgba(33, 31, 27, 0.16);
}

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

.section {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  min-height: min(760px, calc(100vh - var(--header-height)));
  padding: clamp(3rem, 5.5vw, 5rem) 0 clamp(2.5rem, 4.5vw, 4.25rem);
}

.hero-content {
  max-width: 660px;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--leaf-dark);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  display: grid;
  gap: 0.08em;
  max-width: 14ch;
  margin: 0;
  color: var(--charcoal);
  font-size: clamp(3rem, 6.9vw, 6.2rem);
  line-height: 0.9;
  letter-spacing: 0;
  overflow-wrap: normal;
  text-wrap: balance;
  word-break: normal;
}

h1 span {
  display: block;
}

.hero-copy {
  max-width: 38rem;
  margin: 1.6rem 0 0;
  color: var(--charcoal-soft);
  font-size: clamp(1.04rem, 1.9vw, 1.22rem);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem 0.7rem;
  max-width: 38rem;
  margin: 1.15rem 0 0;
  color: var(--ink-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.hero-proof strong {
  color: var(--leaf-dark);
  font-weight: 780;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  padding: 0.85rem 1.12rem;
}

.button-primary {
  color: var(--charcoal);
  background: linear-gradient(135deg, var(--yuzu), #ffd86e);
  box-shadow: 0 16px 34px rgba(240, 130, 0, 0.22);
}

.button-secondary {
  border: 1px solid rgba(47, 110, 57, 0.32);
  color: var(--leaf-dark);
  background: rgba(255, 255, 255, 0.56);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.brand-mark {
  position: relative;
  container-type: inline-size;
  width: min(100%, 460px);
  aspect-ratio: 1000 / 960;
  isolation: isolate;
  overflow: visible;
  perspective: 1050px;
}

.brand-mark::before {
  display: none;
}

.logo-animation-stage {
  position: absolute;
  inset: 0;
  overflow: visible;
  transform-style: preserve-3d;
}

.hero-logo-base,
.logo-fragment {
  position: absolute;
  display: block;
  max-width: none;
  height: auto;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.hero-logo-base {
  left: 10.1%;
  top: 4.79%;
  z-index: 1;
  width: 65.6%;
  opacity: 0;
  filter: drop-shadow(10px 14px 14px rgba(69, 46, 8, 0.13));
  transform: translate3d(0, 0, 38px) rotateX(6deg) rotateY(-8deg) scale(0.95);
  transform-origin: 48% 56%;
  will-change: opacity, transform;
  animation: yuzu-base-arrive 1500ms cubic-bezier(0.16, 0.9, 0.22, 1) 80ms forwards;
}

.logo-fragment {
  z-index: 2;
  opacity: 0;
  filter: drop-shadow(3px 4px 4px rgba(69, 46, 8, 0.12));
  transform: translate3d(var(--entry-x), var(--entry-y), var(--entry-z)) rotateY(var(--entry-rotation));
  transform-origin: center;
  will-change: opacity, transform;
  animation: fragment-settle 740ms cubic-bezier(0.16, 0.9, 0.22, 1) forwards;
  animation-delay: var(--delay);
}

.logo-animation-stage.is-replaying .logo-fragment {
  animation: fragment-replay 740ms cubic-bezier(0.16, 0.9, 0.22, 1) 90ms forwards;
}

.fragment-top {
  left: 77.3%;
  top: 41.67%;
  width: 5.8%;
  --delay: 1680ms;
  --entry-x: -38px;
  --entry-y: 16px;
  --entry-z: 48px;
  --entry-rotation: -15deg;
}

.fragment-wide {
  left: 70%;
  top: 52.6%;
  width: 8.6%;
  --delay: 1680ms;
  --entry-x: -46px;
  --entry-y: 14px;
  --entry-z: 42px;
  --entry-rotation: 11deg;
}

.fragment-right {
  left: 82.1%;
  top: 52.08%;
  width: 5.8%;
  --delay: 1680ms;
  --entry-x: -34px;
  --entry-y: 22px;
  --entry-z: 56px;
  --entry-rotation: -12deg;
}

.fragment-lower {
  left: 77.3%;
  top: 62.08%;
  width: 6.4%;
  --delay: 1680ms;
  --entry-x: -40px;
  --entry-y: 28px;
  --entry-z: 46px;
  --entry-rotation: 9deg;
}

.fragment-bottom {
  left: 71.8%;
  top: 71.56%;
  width: 6.6%;
  --delay: 1680ms;
  --entry-x: -36px;
  --entry-y: 30px;
  --entry-z: 52px;
  --entry-rotation: -8deg;
}

@keyframes yuzu-base-arrive {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 38px) rotateX(6deg) rotateY(-8deg) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateX(0) rotateY(0) scale(1);
  }
}

@keyframes fragment-settle {
  0% {
    opacity: 0;
    transform: translate3d(var(--entry-x), var(--entry-y), var(--entry-z)) rotateY(var(--entry-rotation));
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateY(0);
  }
}

@keyframes fragment-replay {
  0% {
    opacity: 0;
    transform: translate3d(var(--entry-x), var(--entry-y), var(--entry-z)) rotateY(var(--entry-rotation));
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateY(0);
  }
}

.products-section,
.about-section,
.partnerships-section,
.contact-section {
  padding: clamp(3rem, 5vw, 4.75rem) 0;
}

.section-heading {
  display: grid;
  gap: 0.55rem;
  max-width: 720px;
  margin-bottom: 1.5rem;
}

.section-heading h2,
.about-panel h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: 0;
}

.section-intro {
  max-width: 39rem;
  margin: 0.2rem 0 0;
  color: var(--charcoal-soft);
  font-size: 1rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.product-card,
.partnerships-panel,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.product-card {
  display: grid;
  align-content: start;
  grid-template-rows: auto auto auto 1fr auto;
  min-height: 280px;
  padding: clamp(1.25rem, 2.5vw, 1.65rem);
}

.product-card-topline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: var(--ink-muted);
  font-size: 0.82rem;
  font-weight: 760;
}

.product-logo-row {
  display: flex;
  align-items: center;
  min-height: 76px;
  margin-bottom: 1.15rem;
}

.product-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 7px;
}

.product-card h3 {
  margin: 0;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.04;
}

.product-card p,
.partnerships-panel p,
.contact-panel p,
.about-panel p,
.site-footer p,
address {
  color: var(--charcoal-soft);
}

.product-card p {
  margin: 1rem 0 0;
}

.product-link {
  display: inline-flex;
  align-items: baseline;
  align-self: end;
  gap: 0.5rem;
  width: fit-content;
  margin-top: 2rem;
  color: var(--leaf-dark);
  font-weight: 820;
}

.product-link-hint {
  color: var(--ink-muted);
  font-size: 0.74rem;
  font-weight: 700;
}

.product-link:hover {
  color: var(--charcoal);
}

.about-panel {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
  padding: clamp(1.5rem, 3.2vw, 2.5rem) 0;
  border-block: 1px solid var(--line);
}

.about-panel p {
  max-width: 38rem;
  margin: 0;
  font-size: clamp(1rem, 1.8vw, 1.18rem);
}

.partnerships-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: clamp(1.4rem, 3.5vw, 3.5rem);
  align-items: start;
  padding: clamp(1.35rem, 3.4vw, 3rem);
  background:
    linear-gradient(135deg, rgba(249, 176, 0, 0.12), transparent 38%),
    rgba(255, 255, 255, 0.76);
}

.partnerships-copy {
  display: grid;
  gap: 0;
}

.partnerships-copy .eyebrow,
.partnerships-copy h2,
.partnerships-copy > p {
  margin: 0;
}

.partnerships-copy h2 {
  margin-top: 0.55rem;
  font-size: clamp(2rem, 3.9vw, 3.45rem);
  line-height: 1;
  letter-spacing: 0;
}

.partnerships-copy > p {
  max-width: 40rem;
  font-size: clamp(1rem, 1.8vw, 1.16rem);
}

.partnerships-copy > p:first-of-type {
  margin-top: 1.35rem;
}

.partnerships-copy > p + p {
  margin-top: 0.75rem;
}

.partnership-principles {
  display: grid;
  gap: 1rem;
  margin-top: 1.8rem;
}

.partnership-principle {
  padding-top: 1rem;
  border-top: 1px solid rgba(33, 31, 27, 0.12);
}

.partnership-principle h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  line-height: 1.2;
}

.partnership-principle p {
  margin: 0;
}

.partnership-cta {
  width: fit-content;
  margin-top: 1.35rem;
}

.partnerships-figure {
  align-self: center;
  justify-self: end;
  width: min(100%, 430px);
  margin: 0;
  margin-top: clamp(0.6rem, 4vw, 3rem);
}

.partnerships-figure img {
  width: 100%;
  aspect-ratio: 3 / 2;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(64, 45, 10, 0.12);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1.22fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
  padding: clamp(1.35rem, 3.4vw, 3rem);
  background:
    linear-gradient(135deg, rgba(47, 110, 57, 0.1), transparent 42%),
    rgba(255, 255, 255, 0.78);
}

.contact-copy {
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
}

.contact-copy .eyebrow,
.contact-copy h2,
.contact-copy p {
  margin: 0;
}

.contact-copy h2 {
  font-size: clamp(2rem, 3.9vw, 3.45rem);
  line-height: 1;
  letter-spacing: 0;
}

.contact-copy p {
  max-width: 34rem;
  margin-top: 1rem;
  font-size: clamp(1rem, 1.8vw, 1.16rem);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  scroll-margin-top: calc(var(--header-height) + 1.5rem);
}

.form-field {
  display: grid;
  gap: 0.42rem;
}

.form-field-full,
.privacy-note,
.contact-next-step,
.form-status,
.form-submit,
.contact-honeypot {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--charcoal);
  font-size: 0.9rem;
  font-weight: 780;
}

.form-field label span {
  color: var(--ink-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.78rem 0.86rem;
  border: 1px solid rgba(33, 31, 27, 0.18);
  border-radius: var(--radius);
  color: var(--charcoal);
  background: rgba(255, 253, 248, 0.88);
  font: inherit;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

.form-field textarea {
  min-height: 148px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(47, 110, 57, 0.58);
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 4px rgba(47, 110, 57, 0.12);
}

.form-field input[aria-invalid="true"],
.form-field select[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
  border-color: #a43b21;
  box-shadow: 0 0 0 4px rgba(164, 59, 33, 0.1);
}

.field-error {
  min-height: 1.1rem;
  margin: 0;
  color: #8d2f1a;
  font-size: 0.82rem;
  font-weight: 700;
}

.privacy-note {
  margin: 0.2rem 0 0;
  font-size: 0.9rem;
}

.contact-next-step {
  margin: -0.35rem 0 0;
  color: var(--charcoal-soft);
  font-size: 0.9rem;
  font-weight: 650;
}

.form-status {
  min-height: 1.35rem;
  color: var(--leaf-dark);
  font-size: 0.92rem;
  font-weight: 760;
}

.form-status[data-state="error"] {
  color: #8d2f1a;
}

.form-status[data-state="success"] {
  color: var(--leaf-dark);
}

.form-submit {
  justify-self: start;
  border: 0;
  cursor: pointer;
}

.form-submit[disabled] {
  cursor: progress;
  opacity: 0.74;
}

.contact-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  margin-top: clamp(2rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
  background: #211f1b;
  color: #fffaf0;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.2rem 0;
}

.footer-brand img {
  width: 42px;
  height: 40px;
}

.site-footer p {
  max-width: 34rem;
  margin: 0.9rem 0 0;
  color: rgba(255, 250, 240, 0.74);
}

address {
  display: grid;
  align-content: center;
  gap: 0.45rem;
  font-style: normal;
  color: rgba(255, 250, 240, 0.72);
  text-align: right;
}

address a {
  color: #ffd86e;
  font-weight: 790;
}

@media (max-width: 880px) {
  :root {
    --header-height: 74px;
  }

  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.85rem;
  }

  .site-nav {
    order: 3;
    grid-column: 1 / -1;
    justify-self: stretch;
    justify-content: center;
    overflow-x: auto;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-visual {
    order: -1;
  }

  .brand-mark {
    width: min(72vw, 340px);
  }

  .product-grid,
  .about-panel,
  .partnerships-panel,
  .contact-panel,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-copy {
    position: static;
  }

  .partnerships-figure {
    justify-self: stretch;
    width: 100%;
    margin-top: 0.35rem;
  }

}

@media (max-width: 620px) {
  .header-inner {
    width: min(100% - 1rem, 1120px);
    padding: 0.5rem 0;
  }

  .brand-lockup {
    gap: 0.58rem;
  }

  .brand-lockup img {
    width: 40px;
    height: 38px;
  }

  .brand-lockup strong {
    font-size: 0.92rem;
  }

  .brand-lockup small {
    font-size: 0.7rem;
  }

  .header-cta {
    min-height: 40px;
    padding: 0.58rem 0.72rem;
    font-size: 0.86rem;
  }

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

  .site-nav a {
    min-height: 36px;
    padding-inline: 0.75rem;
  }

  .section {
    width: min(100% - 1rem, 1120px);
  }

  h1 {
    font-size: clamp(2.8rem, 15.8vw, 4.35rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
    width: min(100% - 1rem, 1120px);
  }

  address {
    text-align: left;
  }
}

@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;
  }

  .logo-fragment {
    animation: none !important;
    opacity: 1;
    transform: none !important;
  }

  .hero-logo-base {
    animation: none !important;
    opacity: 1;
    transform: none !important;
    will-change: auto;
  }

  .logo-fragment {
    will-change: auto;
  }
}
