/* =========================================================
   VETRI BUSINESS SOLUTIONS — "Trade Manifest" theme
   Fonts: Big Shoulders Display (titles) · Hanken Grotesk (body)
          Martian Mono (labels)
   Palette: Harbour Teal · Kraft · Signal Orange · Paper
   ========================================================= */

:root {
  --teal-900: #0b2d2c;
  --teal-800: #0f3b3a;
  --teal-600: #1d5a57;
  --kraft: #d9c3a0;
  --kraft-light: #ebdcc2;
  --paper: #f5f0e6;
  --paper-2: #ece5d6;
  --signal: #e8592b;
  --signal-dark: #c9461c;
  --ink: #142221;
  --muted: #5b6a68;
  --line: rgba(20, 34, 33, 0.14);

  --f-display: "Big Shoulders Display", sans-serif;
  --f-body: "Hanken Grotesk", sans-serif;
  --f-mono: "Martian Mono", monospace;

  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 24px 50px -24px rgba(11, 45, 44, 0.35);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

.container { width: min(1240px, 100% - 48px); margin-inline: auto; }
.section { padding: clamp(80px, 11vw, 140px) 0; }
.mono { font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; }

/* ---------- Image placeholders ---------- */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(45deg, rgba(15,59,58,.06) 0 12px, transparent 12px 24px),
    var(--paper-2);
  overflow: hidden;
}
.ph::before {
  content: "images/" attr(data-label);
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.1em;
  color: var(--teal-600);
  z-index: 0;
}
.ph img { position: relative; z-index: 1; transition: transform 1.2s var(--ease), opacity .3s; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 999;
  background: var(--teal-900);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  transition: clip-path 1s var(--ease);
  clip-path: inset(0 0 0 0);
}
.loader.is-done { clip-path: inset(0 0 100% 0); }

.loader__crates {
  display: grid;
  grid-template-columns: repeat(3, 34px);
  grid-template-rows: repeat(3, 26px);
  gap: 4px;
  transform: rotate(180deg);
}
.loader__crates span {
  background: var(--kraft);
  border: 2px solid var(--kraft-light);
  opacity: 0;
  animation: crateDrop 1.6s var(--ease) infinite;
}
.loader__crates span:nth-child(1) { grid-area: 1 / 1; animation-delay: 0s; }
.loader__crates span:nth-child(2) { grid-area: 1 / 2; animation-delay: .12s; }
.loader__crates span:nth-child(3) { grid-area: 1 / 3; animation-delay: .24s; }
.loader__crates span:nth-child(4) { grid-area: 2 / 1; animation-delay: .36s; }
.loader__crates span:nth-child(5) { grid-area: 2 / 2; animation-delay: .48s; }
.loader__crates span:nth-child(6) { grid-area: 3 / 1; animation-delay: .6s; background: var(--signal); border-color: #f28a63; }

@keyframes crateDrop {
  0% { opacity: 0; transform: translateY(-30px); }
  25%, 75% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(0); }
}

.loader__barcode {
  position: relative; width: 220px; height: 44px;
  background: repeating-linear-gradient(90deg, var(--paper) 0 2px, transparent 2px 5px, var(--paper) 5px 6px, transparent 6px 10px, var(--paper) 10px 13px, transparent 13px 15px);
  opacity: .85;
}
.loader__barcode i {
  position: absolute; left: -6px; right: -6px; height: 2px; top: 0;
  background: var(--signal); box-shadow: 0 0 14px 2px var(--signal);
  animation: scan 1.2s ease-in-out infinite alternate;
}
@keyframes scan { to { top: 100%; } }

.loader__meta {
  display: flex; gap: 24px; align-items: center;
  color: var(--kraft); font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em;
}
.loader__count { color: var(--paper); font-size: 1rem; }

/* ---------- Cursor accent ---------- */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 998;
  width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border: 1.5px solid var(--signal); border-radius: 50%;
  pointer-events: none;
  transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background .3s;
  mix-blend-mode: multiply;
}
.cursor.is-hover { width: 70px; height: 70px; margin: -35px 0 0 -35px; background: rgba(232, 89, 43, .12); }
@media (hover: none) { .cursor { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px;
  font-family: var(--f-mono); font-size: .74rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  border-radius: var(--radius);
  overflow: hidden; isolation: isolate;
  transition: color .4s var(--ease), border-color .4s, transform .25s;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: translateY(101%);
  transition: transform .5s var(--ease);
}
.btn:hover::after { transform: translateY(0); }
.btn .arrow { transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }

.btn--solid { background: var(--teal-800); color: var(--paper); }
.btn--solid::after { background: var(--signal); }
.btn--ghost { border: 1.5px solid var(--teal-800); color: var(--teal-800); }
.btn--ghost::after { background: var(--teal-800); }
.btn--ghost:hover { color: var(--paper); }
.btn--accent { background: var(--signal); color: #fff; }
.btn--accent::after { background: var(--paper); }
.btn--accent:hover { color: var(--teal-900); }
.btn--sm { padding: 12px 20px; }
.btn--full { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 22px 0;
  transition: padding .4s var(--ease), background .4s, box-shadow .4s;
}
.header.is-scrolled {
  padding: 12px 0;
  background: rgba(245, 240, 230, .88);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header__inner { display: flex; align-items: center; gap: 40px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 40px; height: 40px; display: grid; place-items: center;
  background: var(--teal-800); color: var(--kraft);
  font-family: var(--f-display); font-weight: 900; font-size: 1.5rem;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%);
  transition: background .3s;
}
.brand:hover .brand__mark { background: var(--signal); color: #fff; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text strong { font-family: var(--f-display); font-weight: 800; font-size: 1.45rem; letter-spacing: .06em; }
.brand__text small { font-family: var(--f-mono); font-size: .56rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.nav { display: flex; gap: 32px; margin-left: auto; }
.nav a {
  position: relative; font-size: .92rem; font-weight: 500;
  padding: 4px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 2px;
  background: var(--signal); transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.burger { display: none; width: 40px; height: 40px; position: relative; }
.burger span { position: absolute; left: 8px; right: 8px; height: 2px; background: var(--ink); transition: transform .4s var(--ease), top .4s; }
.burger span:first-child { top: 15px; }
.burger span:last-child { top: 23px; }
.burger.is-open span:first-child { top: 19px; transform: rotate(45deg); }
.burger.is-open span:last-child { top: 19px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh;
  padding: 150px 0 0;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
}
.hero__grid-bg {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 30% 40%, #000 30%, transparent 75%);
  animation: gridDrift 30s linear infinite;
}
@keyframes gridDrift { to { background-position: 64px 64px; } }

.hero__inner {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center;
  padding-bottom: 60px;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 26px;
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--signal);
  box-shadow: 0 0 0 0 rgba(232, 89, 43, .6);
  animation: pulse 2s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(232, 89, 43, 0); } 100% { box-shadow: 0 0 0 0 rgba(232, 89, 43, 0); } }

.hero__title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(4rem, 10.5vw, 9.4rem);
  line-height: .86;
  text-transform: uppercase;
  letter-spacing: -.005em;
  color: var(--teal-900);
  margin-bottom: 32px;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .word { display: inline-block; transform: translateY(105%); }
.hero__title .accent-word {
  color: transparent;
  -webkit-text-stroke: 2px var(--signal);
  position: relative;
}
body.is-ready .hero__title .word { animation: rise 1.1s var(--ease) forwards; }
body.is-ready .hero__title .line:nth-child(1) .word:nth-child(1) { animation-delay: .1s; }
body.is-ready .hero__title .line:nth-child(1) .word:nth-child(2) { animation-delay: .2s; }
body.is-ready .hero__title .line:nth-child(2) .word:nth-child(1) { animation-delay: .32s; }
body.is-ready .hero__title .line:nth-child(2) .word:nth-child(2) { animation-delay: .42s; }
@keyframes rise { to { transform: translateY(0); } }

/* fill-in effect on outlined word */
body.is-ready .hero__title .accent-word { animation: rise 1.1s var(--ease) .32s forwards, fillIn 1s var(--ease) 1.6s forwards; }
@keyframes fillIn { to { color: var(--signal); } }

.board {
  display: inline-flex; align-items: stretch;
  border: 1.5px solid var(--teal-800);
  margin-bottom: 28px;
  font-family: var(--f-mono);
}
.board__label {
  background: var(--teal-800); color: var(--kraft);
  font-size: .64rem; letter-spacing: .14em; padding: 10px 14px;
  display: flex; align-items: center;
}
.board__flaps {
  display: flex; gap: 2px; padding: 6px 10px; min-width: 250px;
  font-size: .9rem; font-weight: 600; letter-spacing: .06em;
}
.board__flaps .flap {
  display: inline-grid; place-items: center;
  width: 1.15em; height: 1.6em;
  background: var(--teal-900); color: var(--paper);
  border-radius: 2px; position: relative;
}
.board__flaps .flap::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0,0,0,.45);
}
.board__flaps .flap.is-flip { animation: flip .32s ease-in-out; }
@keyframes flip { 50% { transform: rotateX(90deg); } }

.hero__lead { max-width: 540px; color: var(--muted); font-size: 1.08rem; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* hero entry for copy */
.hero__copy > *:not(.hero__title) { opacity: 0; transform: translateY(20px); }
body.is-ready .hero__copy > *:not(.hero__title) { animation: fadeUp .9s var(--ease) forwards; }
body.is-ready .hero__copy .eyebrow { animation-delay: 0s; }
body.is-ready .hero__copy .board { animation-delay: .6s; }
body.is-ready .hero__copy .hero__lead { animation-delay: .75s; }
body.is-ready .hero__copy .hero__actions { animation-delay: .9s; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

.hero__visual { position: relative; }
.frame { border-radius: var(--radius); }
.frame--hero {
  aspect-ratio: 4 / 5;
  clip-path: inset(100% 0 0 0);
  box-shadow: var(--shadow);
}
body.is-ready .frame--hero { animation: unveil 1.4s var(--ease) .3s forwards; }
@keyframes unveil { to { clip-path: inset(0 0 0 0); } }
.frame--hero img { transform: scale(1.18); }
body.is-ready .frame--hero img { transform: scale(1); transition-delay: .3s; transition-duration: 1.8s; }

.frame__corner { position: absolute; width: 22px; height: 22px; z-index: 2; border-color: var(--paper); border-style: solid; border-width: 0; }
.frame__corner.tl { top: 14px; left: 14px; border-top-width: 2px; border-left-width: 2px; }
.frame__corner.tr { top: 14px; right: 14px; border-top-width: 2px; border-right-width: 2px; }
.frame__corner.bl { bottom: 14px; left: 14px; border-bottom-width: 2px; border-left-width: 2px; }
.frame__corner.br { bottom: 14px; right: 14px; border-bottom-width: 2px; border-right-width: 2px; }

.stamp {
  position: absolute; top: -40px; left: -56px; z-index: 3;
  width: 150px; height: 150px;
  background: var(--paper); border-radius: 50%;
  box-shadow: var(--shadow);
  opacity: 0; transform: scale(.4) rotate(-40deg);
}
body.is-ready .stamp { animation: stampIn .9s var(--ease) 1.3s forwards; }
@keyframes stampIn { to { opacity: 1; transform: scale(1) rotate(0); } }
.stamp svg { width: 100%; height: 100%; animation: spin 18s linear infinite; }
.stamp text { font-family: var(--f-mono); font-size: 12.5px; letter-spacing: 2.4px; fill: var(--teal-800); }
.stamp__core {
  position: absolute; inset: 0; margin: auto;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--signal); color: #fff;
  font-family: var(--f-display); font-weight: 800; font-size: 1.5rem;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero__tag {
  position: absolute; right: -20px; bottom: 40px; z-index: 3;
  background: var(--kraft); color: var(--teal-900);
  padding: 16px 22px 16px 36px;
  display: flex; flex-direction: column; gap: 4px;
  clip-path: polygon(14px 0, 100% 0, 100% 100%, 14px 100%, 0 50%);
  box-shadow: var(--shadow);
  opacity: 0; transform: translateX(40px);
  transform-origin: left center;
}
.hero__tag::before {
  content: ""; position: absolute; left: 14px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px;
  border-radius: 50%; background: var(--paper);
}
.hero__tag strong { font-family: var(--f-display); font-size: 1.6rem; font-weight: 800; text-transform: uppercase; line-height: 1; }
body.is-ready .hero__tag { animation: tagIn .9s var(--ease) 1.5s forwards, sway 5s ease-in-out 2.5s infinite; }
@keyframes tagIn { to { opacity: 1; transform: translateX(0); } }
@keyframes sway { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-2.5deg); } }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--teal-800); color: var(--kraft);
  overflow: hidden; padding: 20px 0;
  border-top: 3px solid var(--signal);
}
.marquee__track {
  display: flex; align-items: center; gap: 36px; width: max-content;
  animation: marquee 34s linear infinite;
  font-family: var(--f-display); font-weight: 700; font-size: 1.7rem; text-transform: uppercase; letter-spacing: .03em;
  white-space: nowrap;
}
.marquee__track i { color: var(--signal); font-style: normal; font-size: 1rem; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Section headings ---------- */
.section-tag {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal-600); margin-bottom: 18px;
}
.section-tag .mono {
  background: var(--signal); color: #fff; padding: 4px 8px; font-size: .64rem;
}
.section-tag--light { color: var(--kraft); }
.h2 {
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.6rem, 5.6vw, 4.6rem); line-height: .95; color: var(--teal-900);
  margin-bottom: 24px;
}
.h2 em { font-style: normal; color: var(--signal); }
.h2--light { color: var(--paper); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- About ---------- */
.about__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; }
.about__media { position: relative; }
.about__media .frame { aspect-ratio: 5 / 6; }
.about__media:hover img { transform: scale(1.05); }
.about__badge {
  position: absolute; right: -28px; top: 40px;
  background: var(--teal-800); color: var(--paper);
  padding: 20px 26px; display: flex; flex-direction: column; gap: 6px;
  border-left: 4px solid var(--signal);
}
.about__badge strong { font-family: var(--f-display); font-size: 2rem; font-weight: 800; text-transform: uppercase; line-height: 1; }
.about__badge .mono { color: var(--kraft); }
.about__copy p { color: var(--muted); margin-bottom: 18px; max-width: 560px; }

.manifest {
  margin-top: 36px; border-top: 2px solid var(--teal-800);
}
.manifest div {
  display: grid; grid-template-columns: 140px 1fr; gap: 20px;
  padding: 14px 0; border-bottom: 1px dashed var(--line);
  transition: background .3s, padding .3s var(--ease);
}
.manifest div:hover { background: var(--paper-2); padding-left: 12px; }
.manifest dt { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-600); padding-top: 4px; }
.manifest dd { font-weight: 600; }

/* ---------- Services ---------- */
.services { background: var(--paper-2); }
.services__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 56px; }
.services__head .h2 { margin-bottom: 0; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  font-family: var(--f-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase;
  padding: 11px 16px; border: 1.5px solid var(--teal-800); border-radius: 40px;
  color: var(--teal-800); transition: background .3s, color .3s;
}
.filter:hover { background: rgba(15, 59, 58, .08); }
.filter.is-active { background: var(--teal-800); color: var(--paper); }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card {
  position: relative; background: var(--paper);
  border-radius: var(--radius);
  padding: 12px 12px 26px;
  transform-style: preserve-3d;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), opacity .4s, filter .4s;
  will-change: transform;
}
.card:hover { box-shadow: var(--shadow); }
.card.is-hidden { opacity: .15; filter: grayscale(1); pointer-events: none; transform: scale(.96); }

.card__img { aspect-ratio: 4 / 3.4; border-radius: 2px; }
.card__img::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, transparent 50%, rgba(11, 45, 44, .55));
  opacity: 0; transition: opacity .5s;
}
.card:hover .card__img img { transform: scale(1.08); }
.card:hover .card__img::after { opacity: 1; }

.card__body { padding: 22px 10px 0; }
.card__code {
  font-family: var(--f-mono); font-size: .64rem; letter-spacing: .12em; color: var(--signal);
  display: inline-block; margin-bottom: 10px;
}
.card h3 {
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  font-size: 1.55rem; line-height: 1.02; color: var(--teal-900); margin-bottom: 10px;
  transition: color .3s;
}
.card:hover h3 { color: var(--signal); }
.card p { font-size: .93rem; color: var(--muted); line-height: 1.55; }

.card__hole {
  position: absolute; top: -9px; left: 50%; z-index: 3;
  width: 18px; height: 18px; margin-left: -9px; border-radius: 50%;
  background: var(--paper-2); border: 2px solid var(--kraft);
  transition: border-color .3s;
}
.card__hole::before {
  content: ""; position: absolute; left: 50%; bottom: 100%;
  width: 2px; height: 0; background: var(--kraft); transform: translateX(-50%);
  transition: height .4s var(--ease);
}
.card:hover .card__hole { border-color: var(--signal); }
.card:hover .card__hole::before { height: 14px; background: var(--signal); }

/* ---------- Process ---------- */
.process { background: var(--teal-900); color: var(--paper); position: relative; overflow: hidden; }
.process::before {
  content: "VBS"; position: absolute; right: -20px; top: 20px;
  font-family: var(--f-display); font-weight: 900; font-size: 26vw; line-height: .8;
  color: rgba(217, 195, 160, .04); pointer-events: none;
}
.steps {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  margin: 56px 0 64px; padding-top: 44px;
}
.steps__rail { position: absolute; top: 0; left: 0; right: 0; height: 2px; background: rgba(217, 195, 160, .2); }
.steps__fill { display: block; height: 100%; width: 0; background: var(--signal); transition: width .2s linear; }
.step { position: relative; }
.step::before {
  content: ""; position: absolute; top: -51px; left: 0;
  width: 14px; height: 14px; background: var(--teal-900);
  border: 2px solid var(--kraft); transform: rotate(45deg);
  transition: background .4s, border-color .4s;
}
.step.is-active::before { background: var(--signal); border-color: var(--signal); }
.step__num { font-family: var(--f-display); font-weight: 900; font-size: 3.4rem; color: var(--kraft); line-height: 1; display: block; margin-bottom: 10px; transition: color .4s; }
.step.is-active .step__num { color: var(--signal); }
.step h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.5rem; text-transform: uppercase; margin-bottom: 8px; }
.step p { color: rgba(245, 240, 230, .68); font-size: .95rem; }

.process__img { aspect-ratio: 21 / 8; }
.process__img.ph { background: repeating-linear-gradient(45deg, rgba(217,195,160,.06) 0 12px, transparent 12px 24px), var(--teal-800); }
.process__img.ph::before { color: var(--kraft); }

/* ---------- Why ---------- */
.why__head { text-align: center; }
.why__head .section-tag { justify-content: center; }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 2px solid var(--teal-800); border-bottom: 2px solid var(--teal-800);
  margin: 40px 0 70px;
}
.stat { padding: 36px 24px; text-align: center; border-right: 1px dashed var(--line); }
.stat:last-child { border-right: none; }
.stat strong { display: block; font-family: var(--f-display); font-weight: 900; font-size: clamp(3rem, 6vw, 5rem); color: var(--teal-800); line-height: 1; }
.stat span { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value {
  padding: 34px 28px; border: 1.5px solid var(--line); border-radius: var(--radius);
  position: relative; overflow: hidden; background: var(--paper);
  transition: border-color .4s, transform .4s var(--ease);
}
.value::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: var(--teal-800);
  clip-path: circle(0% at 100% 0%);
  transition: clip-path .7s var(--ease);
}
.value > * { position: relative; z-index: 1; transition: color .4s; }
.value:hover { transform: translateY(-6px); border-color: var(--teal-800); }
.value:hover::before { clip-path: circle(150% at 100% 0%); }
.value:hover h3, .value:hover p { color: var(--paper); }
.value__icon {
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 22px;
  background: var(--kraft); color: var(--teal-900); font-size: 1.5rem; border-radius: 50%;
  transition: transform .6s var(--ease), background .4s;
}
.value:hover .value__icon { transform: rotate(360deg); background: var(--signal); color: #fff; }
.value h3 { font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; text-transform: uppercase; color: var(--teal-900); margin-bottom: 10px; line-height: 1.05; }
.value p { color: var(--muted); font-size: .95rem; }

/* ---------- CTA ---------- */
.cta { position: relative; padding: clamp(100px, 14vw, 180px) 0; overflow: hidden; }
.cta__bg { position: absolute; inset: -12% 0; z-index: -2; }
.cta__bg.ph { background: repeating-linear-gradient(45deg, rgba(217,195,160,.08) 0 12px, transparent 12px 24px), var(--teal-800); }
.cta__bg.ph::before { color: var(--kraft); }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 45, 44, .92) 30%, rgba(11, 45, 44, .45)); }
.cta__inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.cta h2 { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(2.8rem, 6.5vw, 5.6rem); line-height: .92; color: var(--paper); }
.cta h2 em { font-style: normal; color: var(--kraft); }

/* ---------- Contact ---------- */
.contact__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 80px; align-items: start; }
.contact__info > p { color: var(--muted); max-width: 440px; margin-bottom: 36px; }
.contact__list { list-style: none; }
.contact__list li { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px dashed var(--line); }
.contact__list .mono { color: var(--teal-600); padding-top: 5px; }
.contact__list a, .contact__list address, .contact__list span:not(.mono) { font-weight: 600; font-style: normal; word-break: break-word; }
.contact__list a { background: linear-gradient(var(--signal), var(--signal)) 0 100% / 0 2px no-repeat; transition: background-size .4s var(--ease), color .3s; }
.contact__list a:hover { background-size: 100% 2px; color: var(--signal); }

.form {
  background: var(--paper-2); padding: 36px;
  border-top: 6px solid var(--teal-800);
  position: relative;
  box-shadow: var(--shadow);
}
.form::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 10px;
  background: radial-gradient(circle at 10px -2px, transparent 10px, var(--paper-2) 11px) 0 0 / 20px 10px repeat-x;
}
.form__head { display: flex; justify-content: space-between; margin-bottom: 26px; color: var(--teal-600); padding-bottom: 14px; border-bottom: 1px dashed var(--line); }
.form__no { color: var(--signal); }
.field { position: relative; margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 24px 14px 10px;
  font: inherit; font-size: .98rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid transparent; border-bottom-color: var(--teal-800);
  border-radius: 2px; outline: none; resize: vertical;
  transition: border-color .3s, background .3s;
  appearance: none;
}
.field select { cursor: pointer; }
.field label {
  position: absolute; left: 14px; top: 17px;
  font-size: .95rem; color: var(--muted); pointer-events: none;
  transition: all .3s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--signal); background: #fff; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select:focus + label, .field select:valid + label {
  top: 7px; font-family: var(--f-mono); font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; color: var(--signal);
}

/* ---------- Footer ---------- */
.footer { background: var(--teal-900); color: var(--kraft); padding: 80px 0 28px; }
.footer__inner { display: flex; justify-content: space-between; gap: 50px; flex-wrap: wrap; padding-bottom: 50px; border-bottom: 1px solid rgba(217, 195, 160, .2); }
.footer__big { font-family: var(--f-display); font-weight: 900; font-size: clamp(5rem, 14vw, 11rem); line-height: .8; color: var(--paper); display: block; letter-spacing: .02em; }
.footer__brand p { max-width: 380px; margin-top: 16px; color: rgba(217, 195, 160, .75); }
.footer__cols { display: flex; gap: 70px; flex-wrap: wrap; }
.footer__cols div { display: flex; flex-direction: column; gap: 10px; }
.footer__cols .mono { color: var(--signal); margin-bottom: 6px; }
.footer__cols a { transition: color .3s, transform .3s var(--ease); width: fit-content; }
.footer__cols a:hover { color: var(--paper); transform: translateX(4px); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 24px; font-family: var(--f-mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(217, 195, 160, .6); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 520px; margin-left: 60px; }
}

@media (max-width: 860px) {
  .nav, .header__cta { display: none; }
  .burger { display: block; margin-left: auto; }
  .nav.is-open {
    display: flex; flex-direction: column; gap: 6px;
    position: fixed; inset: 0; z-index: -1;
    background: var(--paper); padding: 120px 24px 40px;
  }
  .nav.is-open a { font-family: var(--f-display); font-size: 2.6rem; font-weight: 800; text-transform: uppercase; animation: fadeUp .6s var(--ease) both; }
  .nav.is-open a:nth-child(2) { animation-delay: .05s; }
  .nav.is-open a:nth-child(3) { animation-delay: .1s; }
  .nav.is-open a:nth-child(4) { animation-delay: .15s; }
  .nav.is-open a:nth-child(5) { animation-delay: .2s; }

  .about__inner, .contact__inner { grid-template-columns: 1fr; gap: 56px; }
  .about__badge { right: 12px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 56px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(-n+2) { border-bottom: 1px dashed var(--line); }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  .hero { padding-top: 120px; }
  .hero__visual { margin-left: 34px; }
  .stamp { width: 110px; height: 110px; left: -36px; top: -30px; }
  .stamp text { font-size: 12px; }
  .stamp__core { width: 44px; height: 44px; font-size: 1.1rem; }
  .hero__tag { right: -8px; }
  .board__flaps { min-width: 0; font-size: .75rem; }
  .cards, .values, .steps { grid-template-columns: 1fr; }
  .steps__rail { display: none; }
  .step::before { display: none; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .form { padding: 26px 20px; }
  .contact__list li, .manifest div { grid-template-columns: 1fr; gap: 4px; }
  .process__img { aspect-ratio: 4 / 3; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
