:root {
  --ink: #0e0f0c;
  --ink-2: #3a3b36;
  --muted: #74756e;
  --paper: #f6f4ef;
  --white: #ffffff;
  --line: #e2dfd6;
  --accent: #ff5a1f;
  --accent-ink: #e0440c;
  --display: "Inter Tight", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
  --max: 1320px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
figure { margin: 0; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- type ---------- */
.eyebrow {
  font: 500 12px/1 var(--body);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 28px;
  display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--accent); }
.eyebrow--light { color: rgba(255,255,255,.75); }

.h2 {
  font: 500 clamp(36px, 5vw, 68px)/1.02 var(--display);
  letter-spacing: -.035em;
  margin: 0;
}
.h2--light { color: var(--white); }
.h3 {
  font: 500 clamp(30px, 3.2vw, 44px)/1.05 var(--display);
  letter-spacing: -.03em;
  margin: 0 0 20px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 54px; padding: 0 26px;
  border-radius: 999px; border: 1px solid var(--accent);
  background: var(--accent); color: var(--white);
  font: 500 15px/1 var(--body); cursor: pointer;
  transition: background .25s, border-color .25s, color .25s, transform .25s var(--ease);
}
.btn:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.btn span { transition: transform .25s var(--ease); }
.btn:hover span { transform: translateX(4px); }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.45); color: var(--white); }
.btn--ghost:hover { background: var(--white); border-color: var(--white); color: var(--ink); }
.btn--small { height: 42px; padding: 0 20px; font-size: 14px; }

.link {
  display: inline-flex; gap: 8px; align-items: center;
  font-weight: 500; font-size: 15px;
  padding-bottom: 4px; border-bottom: 1px solid var(--ink);
  transition: color .2s, border-color .2s;
}
.link:hover { color: var(--accent); border-color: var(--accent); }
.link span { transition: transform .25s var(--ease); }
.link:hover span { transform: translateX(4px); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .35s, box-shadow .35s;
}
.nav__inner {
  max-width: var(--max); margin-inline: auto; padding: 0 var(--gutter);
  height: 84px; display: flex; align-items: center; gap: 40px;
  transition: height .35s;
}
.nav__logo { position: relative; height: 34px; flex: none; }
.logo { height: 34px; width: auto; transition: opacity .3s; }
.logo--dark { position: absolute; inset: 0; opacity: 0; }
.nav__links { display: flex; gap: 36px; margin-left: auto; }
.nav__links a { color: var(--white); font-size: 15px; opacity: .85; transition: opacity .2s, color .3s; }
.nav__links a:hover { opacity: 1; }
.nav__toggle { display: none; }

.nav.is-solid { background: rgba(246,244,239,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav.is-solid .nav__inner { height: 68px; }
.nav.is-solid .logo--light { opacity: 0; }
.nav.is-solid .logo--dark { opacity: 1; }
.nav.is-solid .nav__links a { color: var(--ink); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--white); overflow: hidden; background: var(--ink);
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; animation: kenburns 22s var(--ease) both; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14,15,12,.55) 0%, rgba(14,15,12,0) 28%),
    linear-gradient(90deg, rgba(14,15,12,.62) 0%, rgba(14,15,12,.35) 40%, rgba(14,15,12,0) 68%),
    linear-gradient(0deg, rgba(14,15,12,.85) 0%, rgba(14,15,12,.3) 40%, rgba(14,15,12,0) 65%);
}
.hero__content { position: relative; padding-top: 140px; padding-bottom: 56px; }
.hero__title {
  font: 500 clamp(44px, 7.4vw, 112px)/.96 var(--display);
  letter-spacing: -.045em;
  margin: 0 0 28px;
  max-width: 14ch;
}
.hero__lead { max-width: 520px; margin: 0 0 40px; font-size: clamp(16px, 1.4vw, 19px); color: rgba(255,255,255,.82); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__strip {
  position: relative; list-style: none; margin: 0 auto; padding-top: 22px; padding-bottom: 26px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px;
  border-top: 1px solid rgba(255,255,255,.18);
  font-size: 13px; color: rgba(255,255,255,.7);
}
.hero__strip li { white-space: nowrap; }

.hero__content > *, .hero__strip { animation: rise 1.1s var(--ease) both; }
.hero__content > :nth-child(2) { animation-delay: .1s; }
.hero__content > :nth-child(3) { animation-delay: .2s; }
.hero__content > :nth-child(4) { animation-delay: .3s; }
.hero__strip { animation-delay: .45s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- statement ---------- */
.statement { padding-block: clamp(96px, 14vw, 180px); }
.statement:has(+ .clients) { padding-bottom: clamp(56px, 7vw, 96px); }
.statement__text {
  font: 400 clamp(30px, 4.4vw, 60px)/1.1 var(--display);
  letter-spacing: -.03em;
  margin: 0 0 clamp(48px, 7vw, 88px);
  max-width: 20ch;
}
.statement__text em { font-style: normal; color: var(--accent); }
.statement__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); max-width: 980px; margin-left: auto; color: var(--ink-2); }
.statement__cols p { margin: 0; }

/* ---------- clients ---------- */
.clients { padding-bottom: clamp(80px, 10vw, 130px); }
.clients__list {
  list-style: none; margin: 0; padding: 40px 0 0; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 40px 64px;
}
.clients__logo { height: 46px; width: auto; transition: filter .4s, opacity .4s; }
.clients__logo--tall { height: 72px; }
@media (hover: hover) {
  .clients__logo { filter: grayscale(1); opacity: .65; }
  .clients__list li:hover .clients__logo { filter: none; opacity: 1; }
}
@media (max-width: 560px) {
  .clients__list { justify-content: center; gap: 32px 40px; }
  .clients__logo { height: 34px; }
  .clients__logo--tall { height: 56px; }
}

/* ---------- services ---------- */
.services { padding-bottom: clamp(80px, 10vw, 140px); background: var(--white); padding-top: clamp(96px, 12vw, 160px); }
.services__head { margin-bottom: clamp(56px, 8vw, 110px); }
.service {
  display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 6vw, 96px);
  align-items: center;
  margin-bottom: clamp(72px, 10vw, 140px);
}
.service:last-child { margin-bottom: 0; }
.service--flip .service__media { order: 2; }
.service--flip { grid-template-columns: 1fr 1.25fr; }  /* image keeps the wider column on both sides */
.service__media { overflow: hidden; border-radius: 4px; aspect-ratio: 16 / 10; background: var(--line); }
.service__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.4s var(--ease); }
.service:hover .service__media img { transform: scale(1); }
.service__body { max-width: 460px; }
.service__media--split { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: none; }
.service__media--split div { position: relative; overflow: hidden; border-radius: 4px; }
.service__media--split.service__media--wide span { text-transform: none; letter-spacing: .06em; }  /* keep "kV" correct */
.service__media--split span {
  position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px;
  background: rgba(14,15,12,.65); color: var(--white); font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.om { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.om h4 { font: 500 13px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.om .ticks li { font-size: 14px; }
.service__body p { color: var(--ink-2); margin: 0 0 28px; }
.service__no { display: block; font: 500 14px/1 var(--display); color: var(--accent); margin-bottom: 20px; letter-spacing: .04em; }
.ticks { list-style: none; padding: 0; margin: 0 0 36px; border-top: 1px solid var(--line); }
.ticks li { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; display: flex; gap: 14px; align-items: center; }
.ticks li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }

/* ---------- band ---------- */
.band { position: relative; height: min(92vh, 900px); min-height: 520px; overflow: hidden; color: var(--white); display: flex; align-items: flex-end; background: var(--ink); }
.band__media { position: absolute; inset: -10% 0; }
.band__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.band__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,15,12,.75) 0%, rgba(14,15,12,.2) 60%, rgba(14,15,12,0) 100%); }
.band__content { position: relative; padding-bottom: clamp(56px, 8vw, 110px); }
.band__quote { font: 500 clamp(40px, 6.4vw, 96px)/.98 var(--display); letter-spacing: -.045em; margin: 0; }

/* ---------- why ---------- */
.why { padding-block: clamp(96px, 12vw, 160px); display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px, 6vw, 96px); }
.why__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(28px, 4vw, 56px); counter-reset: why; }
.why__grid li { padding: 28px 0 36px; border-top: 1px solid var(--line); counter-increment: why; }
.why__grid h4 { font: 500 22px/1.2 var(--display); letter-spacing: -.02em; margin: 0 0 10px; display: flex; gap: 14px; }
.why__grid h4::before { content: "0" counter(why); color: var(--accent); font-size: 13px; padding-top: 6px; }
.why__grid p { margin: 0; color: var(--ink-2); font-size: 16px; }

/* ---------- contact ---------- */
.contact { position: relative; color: var(--white); background: var(--ink); overflow: hidden; }
.contact__media { position: absolute; inset: 0; }
.contact__media img { width: 100%; height: 100%; object-fit: cover; }
.contact__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,15,12,.93) 0%, rgba(14,15,12,.82) 55%, rgba(14,15,12,.7) 100%); }
.contact__inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 120px); padding-block: clamp(96px, 12vw, 160px); }
.contact__lead { color: rgba(255,255,255,.72); margin: 24px 0 48px; max-width: 420px; }
.contact__list { margin: 0; display: grid; gap: 28px; }
.contact__list div { display: grid; grid-template-columns: 90px 1fr; gap: 16px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); }
.contact__list dt { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.5); padding-top: 4px; }
.contact__list dd { margin: 0; display: grid; gap: 4px; font-size: 17px; }
.contact__list a { transition: color .2s; }
.contact__list a:hover { color: var(--accent); }

.form {
  align-self: start;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 6px;
  padding: clamp(24px, 3.5vw, 44px);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: grid; gap: 22px;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form label { display: grid; gap: 8px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.form input, .form select, .form textarea {
  font: 400 16px/1.4 var(--body); color: var(--white);
  background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.25);
  padding: 10px 0; border-radius: 0; outline: none; width: 100%;
  text-transform: none; letter-spacing: 0;
  transition: border-color .2s;
}
.form select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='white' fill='none' stroke-opacity='.6'/%3E%3C/svg%3E") no-repeat right 4px center; }
.form select option { color: var(--ink); }
.form textarea { resize: vertical; min-height: 90px; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--accent); }
.form ::placeholder { color: rgba(255,255,255,.35); }
.form__error { margin: -6px 0 0; min-height: 1em; color: #ffb199; font-size: 14px; }
.form__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- footer ---------- */
.footer { background: var(--paper); padding-block: 40px; font-size: 14px; color: var(--muted); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer__logo { height: 28px; width: auto; }
.footer p { margin: 0; }
.footer a:hover { color: var(--accent); }

/* ---------- whatsapp ---------- */
.wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366; color: var(--white);
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
  transition: transform .25s var(--ease);
}
.wa:hover { transform: scale(1.07); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.why__grid li.reveal:nth-child(2) { transition-delay: .08s; }
.why__grid li.reveal:nth-child(3) { transition-delay: .16s; }
.why__grid li.reveal:nth-child(4) { transition-delay: .24s; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero__strip { justify-content: flex-start; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .nav__inner { height: 68px; gap: 16px; }
  .nav__cta { display: none; }
  .nav__toggle {
    display: grid; gap: 6px; margin-left: auto; padding: 10px; background: none; border: 0; cursor: pointer;
  }
  .nav__toggle span { width: 24px; height: 2px; background: var(--white); transition: transform .3s, background .3s; }
  .nav.is-solid .nav__toggle span, .nav.is-open .nav__toggle span { background: var(--ink); }
  .nav.is-open .nav__toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.is-open .nav__toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav__links {
    position: fixed; inset: 68px 0 auto; flex-direction: column; gap: 0;
    background: var(--paper); padding: 8px var(--gutter) 24px;
    box-shadow: 0 1px 0 var(--line);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
  }
  .nav__links a { color: var(--ink); font: 500 24px/1 var(--display); padding: 18px 0; border-bottom: 1px solid var(--line); opacity: 1; }
  .nav.is-open { background: var(--paper); }
  .nav.is-open .logo--light { opacity: 0; }
  .nav.is-open .logo--dark { opacity: 1; }
  .nav.is-open .nav__links { opacity: 1; transform: none; pointer-events: auto; }
  .logo { height: 28px; }
  .nav__logo { height: 28px; }

  .hero__strip { display: none; }
  .hero__content { padding-bottom: 72px; }
  .btn { height: 50px; }

  .statement__cols { grid-template-columns: 1fr; gap: 20px; }
  .service, .service--flip { grid-template-columns: 1fr; gap: 28px; }
  .service--flip .service__media { order: 0; }
  .why { grid-template-columns: 1fr; }
  .contact__inner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .why__grid { grid-template-columns: 1fr; }
  .om { grid-template-columns: 1fr; gap: 8px; }
  .form__row { grid-template-columns: 1fr; }
  .contact__list div { grid-template-columns: 1fr; gap: 6px; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .form__actions .btn { width: 100%; justify-content: center; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .wa { width: 52px; height: 52px; right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
.why__head .h2 { font-size: clamp(32px, 3.6vw, 52px); }
