/* Banger Haus landing: layout, type and motion.
   Visual direction is inspired by (not copied from) the Kora reference. */

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

:root {
  --ink: #242424;
  --paper: #fffffa;
  --cream: #f5f5e9;
  --green: #5dc39b;
  --green-dark: #3fa57d;
  --green-text: #2f8f6c;   /* readable green for text/outlines on light backgrounds */
  --muted: #6b6b66;
  --radius-xl: 40px;
  --radius-lg: 28px;
  --pad: 16px;
  --gutter: clamp(20px, 4.4vw, 60px); /* side padding for section content (Kora: 60 on desktop) */
  --edge: 20px;      /* outer gap around cards (Kora: 20) */
  --nav-inset: 10px; /* nav pill inset inside hero (Kora: 10) */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.4;
  letter-spacing: -0.03em;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, h5, p, figure, blockquote { margin: 0; }
h1, h2, h3 { font-weight: 400; letter-spacing: -0.04em; line-height: 1.05; }
button { font: inherit; color: inherit; }

.container { max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }

.placeholder {
  display: flex; align-items: center; justify-content: center;
  background: rgba(36,36,36,0.06); color: var(--muted); font-size: 14px;
}

/* ---------- Buttons / pills ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 20px 14px 22px;
  border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 600; font-size: 15px;
  transition: transform .4s var(--ease), background .3s;
}
.btn--green { background: var(--green); color: var(--ink); }
.btn--green:hover { background: var(--green-dark); transform: translateY(-2px); }
.btn--sm { padding: 10px 16px 10px 18px; font-size: 14px; }
.btn--lg { padding: 18px 26px 18px 30px; font-size: 17px; }
.btn__dot {
  width: 14px; height: 14px; flex-shrink: 0; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11L11 3M4.5 3H11v6.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11L11 3M4.5 3H11v6.5'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .4s var(--ease);
}
.btn:hover .btn__dot { transform: translate(2px, -2px); }

.link-arrow { font-weight: 600; font-size: 15px; display: inline-flex; gap: 8px; opacity: .9; }
.link-arrow span { transition: transform .3s var(--ease); }
.link-arrow:hover span { transform: translateX(5px); }

.pill {
  display: inline-block; padding: 8px 16px; border-radius: 999px;
  background: var(--ink); color: var(--paper); font-size: 14px; font-weight: 600;
}

/* ---------- Navbar (modelled on Kora: left pill + right CTA) ---------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: calc(var(--edge) + var(--nav-inset)) calc(var(--edge) + var(--nav-inset)) 0;
  display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 12px;
  pointer-events: none;
  animation: navIn 1s var(--ease) both .2s;
}
.navbar > * { pointer-events: auto; }
@keyframes navIn { from { opacity: 0; transform: translateY(-24px); } }

.navbar__bar {
  display: flex; align-items: center; gap: 24px;
  height: 60px; padding: 0 10px 0 20px;
  background: var(--paper); border-radius: 30px;
  box-shadow: 0 6px 30px rgba(0,0,0,.08);
}
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 20px; letter-spacing: -0.05em; }
.logo__mark { width: 24px; height: 24px; flex-shrink: 0; background: currentColor; -webkit-mask: url(assets/brand/asterisk-mark-black.svg) center / contain no-repeat; mask: url(assets/brand/asterisk-mark-black.svg) center / contain no-repeat; }
.logo__tm { font-weight: 400; margin-left: -6px; }

.navbar__links { position: relative; display: flex; align-items: center; }
.navbar__links a { position: relative; z-index: 1; padding: 10px 22px; font-weight: 600; font-size: 15px; border-radius: 30px; }
/* Green pill that slides between links on hover */
.navbar__selector {
  position: absolute; z-index: 0; top: 50%; left: 0; height: 38px; margin-top: -19px; width: 0;
  background: var(--green); border-radius: 30px; opacity: 0;
  transition: left .5s var(--ease), width .5s var(--ease), opacity .3s;
}
.navbar__selector.is-on { opacity: 1; }

/* Dark CTA, only visible at the top of the page */
.navbar__cta {
  display: flex; align-items: center; gap: 14px; height: 60px; padding: 0 8px 0 26px;
  background: var(--ink); color: var(--paper); border-radius: 40px; font-weight: 600; font-size: 15px;
  transition: opacity .5s var(--ease), transform .6s var(--ease), background .3s;
}
.navbar.is-scrolled .navbar__cta { opacity: 0; transform: translateX(24px) scale(.9); pointer-events: none; }
.navbar__cta-text { position: relative; display: block; height: 1.4em; overflow: hidden; }
.navbar__cta-text span { display: block; line-height: 1.4; transition: transform .5s var(--ease); }
.navbar__cta:hover .navbar__cta-text span { transform: translateY(-100%); }
.navbar__avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, #f6b79a, #5dc39b); border: 2px solid var(--paper); transition: transform .5s var(--ease); }
.navbar__cta:hover .navbar__avatar { transform: scale(1.12) rotate(8deg); }

.navbar__burger {
  display: none; width: 40px; height: 40px; border-radius: 50%; border: 0; margin-left: auto;
  background: var(--cream); cursor: pointer; position: relative;
}
.navbar__burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); transition: transform .3s var(--ease); }
.navbar__burger span:first-child { top: 16px; }
.navbar__burger span:last-child { top: 22px; }
.navbar__burger[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.navbar__burger[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
.navbar__sheet {
  display: none; flex-basis: 100%; padding: 12px 24px;
  background: var(--paper); border-radius: var(--radius-lg);
  flex-direction: column; gap: 4px; font-weight: 600;
  box-shadow: 0 6px 30px rgba(0,0,0,.08);
  opacity: 0; transform: translateY(-10px); pointer-events: none !important;
  transition: opacity .3s, transform .4s var(--ease);
}
.navbar__sheet a { padding: 12px 0; border-bottom: 1px solid rgba(0,0,0,.06); }
.navbar__sheet a:last-child { border: 0; }
.navbar__sheet.is-open { opacity: 1; transform: none; pointer-events: auto !important; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  margin: var(--edge); min-height: calc(100vh - 2 * var(--edge)); min-height: calc(100svh - 2 * var(--edge));
  border-radius: var(--radius-xl);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 160px clamp(24px, 4vw, 56px) 32px;
  color: var(--paper);
  background: #5f7f9c;
}
/* Hero photo with a soft scrim so the white headline stays readable (AA) */
.hero__photo { position: absolute; inset: 0; overflow: hidden; background: #5a7b97; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; animation: heroZoom 24s ease-out both; }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,30,45,.62) 0%, rgba(20,30,45,.35) 45%, rgba(20,30,45,.05) 100%), linear-gradient(0deg, rgba(20,30,45,.5) 0%, transparent 35%); }
/* CTA card: same photo, centred scrim for centred text, no zoom animation */
.hero__photo--cta img { object-position: 70% 40%; animation: none; }
.hero__photo--cta::after { background: rgba(20,30,45,.5); }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
/* Soft blurred colour field standing in for the hero photo */
.hero__bg { position: absolute; inset: 0; background: linear-gradient(160deg, #7c9db7 0%, #5a7b97 55%, #476784 100%); overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .85; animation: drift 18s ease-in-out infinite alternate; }
.blob--1 { width: 55vw; height: 55vw; max-width: 760px; max-height: 760px; right: -8%; top: 4%; background: #f08c5c; }
.blob--2 { width: 38vw; height: 38vw; max-width: 520px; max-height: 520px; right: 22%; top: 36%; background: #f6b79a; animation-delay: -6s; }
.blob--3 { width: 30vw; height: 30vw; max-width: 420px; max-height: 420px; left: -6%; bottom: -10%; background: #8fd1c0; opacity: .5; animation-delay: -12s; }
@keyframes drift { to { transform: translate3d(-6%, 5%, 0) scale(1.12); } }

.hero__content { position: relative; z-index: 1; max-width: 760px; }
.hero h1 { font-size: clamp(42px, 6.4vw, 84px); font-weight: 400; line-height: 1.02; letter-spacing: -0.045em; }
.hero__sub { margin-top: 28px; max-width: 360px; font-size: 18px; font-weight: 500; }
.hero__actions { margin-top: 32px; display: flex; align-items: center; gap: 24px; }

/* Trusted by */
.trusted { position: relative; z-index: 1; display: flex; align-items: center; gap: 32px; margin-top: 56px; max-width: 700px; }
.trusted__label { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; flex-shrink: 0; }
.avatars { display: flex; }
.avatars i { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--paper); margin-left: -10px; background: #d9c9b8; }
.avatars i:first-child { margin-left: 0; }
.avatars i:nth-child(2) { background: #b8c9d9; } .avatars i:nth-child(3) { background: #c9d9b8; } .avatars i:nth-child(4) { background: #d9b8c9; }
.stars { color: var(--green); font-size: 11px; letter-spacing: 2px; }
.marquee { flex: 1; overflow: hidden; min-width: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.marquee__track { display: flex; gap: 48px; width: max-content; animation: marquee 28s linear infinite; }
.marquee__track li { font-weight: 700; font-size: 20px; opacity: .85; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(calc(-50% - 24px)); } }

/* ---------- Section titles ---------- */
.section-title { font-size: clamp(56px, 10vw, 140px); letter-spacing: -0.06em; text-align: center; }
.section-sub { text-align: center; max-width: 480px; margin: 20px auto 0; color: var(--muted); font-weight: 500; }

/* ---------- Services / generic cards ---------- */
.services, .process { padding: clamp(60px, 9vw, 130px) 0; }
.grid { display: grid; gap: 20px; margin-top: 64px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--cream); border-radius: var(--radius-xl); }
.stack { margin-top: 72px; display: flex; flex-direction: column; gap: 24px; }
/* Service card, measured from Kora: cream tray, white panel + green CTA left, image right */
.svcard {
  position: sticky; top: 100px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 10px; height: 700px;
  background: var(--cream); border-radius: var(--radius-xl);
  box-shadow: 0 -10px 40px rgba(0,0,0,.04);
}
.svcard + .svcard { top: 116px; }
.svcard__left { display: flex; flex-direction: column; gap: 10px; min-height: 0; }
.svcard__panel { flex: 1; min-height: 0; padding: 30px; display: flex; flex-direction: column; justify-content: space-between; background: var(--paper); border-radius: 30px; }
.svcard__row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.label { display: inline-flex; align-items: center; gap: 8px; padding: 2px 11px 2px 2px; background: var(--cream); border-radius: 15px; font-size: 13px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.5; }
.label__icon { width: 25px; height: 25px; border-radius: 50%; background: #fff; position: relative; }
.label__icon::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--green); }
.svcard__num { font-size: 17px; font-weight: 600; letter-spacing: -0.03em; }
.svcard h3 { font-size: 25px; font-weight: 400; line-height: 32.5px; letter-spacing: -1px; max-width: 320px; }
.svcard p { margin-top: 12px; max-width: 340px; font-size: 14px; font-weight: 600; line-height: 21px; letter-spacing: -0.03em; color: #616161; }
.svcard__offer h4 { font-size: 15px; font-weight: 600; line-height: 22.5px; letter-spacing: -0.03em; margin-bottom: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { padding: 3px 9px; background: var(--cream); border-radius: 15px; font-size: 13px; font-weight: 600; line-height: 19.5px; letter-spacing: -0.025em; }
.svcard__cta { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 15px 20px; background: var(--green); color: var(--ink); border-radius: 40px; font-size: 15px; font-weight: 600; transition: background .3s; }
.svcard__cta:hover { background: var(--green-dark); }
.svcard__cta:hover .btn__dot { transform: translate(2px, -2px); }
.svcard__right { position: relative; border-radius: 30px; overflow: hidden; min-height: 0; }
.svcard__img { position: absolute; inset: 0; text-align: center; padding: 16px; background: linear-gradient(135deg, #cfd8cf, #b9c9c0); transition: transform 1.2s var(--ease); }
.svcard:hover .svcard__img { transform: scale(1.04); }
.svcard__img--photo { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; padding: 0; background: #0b1420; }
.svcard__img--tech { object-position: 50% 52%; }
#tech .svcard__img { background: linear-gradient(135deg, #3a4a44, #26332f); color: rgba(255,255,250,.6); }

/* ---------- How we work (accordion tray, modelled on Kora) ---------- */
.process__title { font-size: clamp(40px, 6vw, 80px); max-width: 900px; }
.process__title .w:nth-child(n+4) { color: var(--muted); } /* two-tone: first words dark, rest grey */
.proc-tray { margin-top: 56px; display: flex; gap: 10px; padding: 10px; height: 420px; background: var(--cream); border-radius: var(--radius-xl); }
.proc {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; cursor: pointer;
  display: flex; flex-direction: column; justify-content: space-between;
  background: var(--paper); border-radius: 30px; color: var(--ink);
  transition: flex-grow .7s var(--ease), background .5s, color .5s;
}
.proc.is-active { flex-grow: 3; background: var(--ink); color: var(--paper); cursor: default; }
.proc__top { display: flex; justify-content: space-between; align-items: center; padding: 50px 50px 0; white-space: nowrap; font-size: 15px; }
.proc__n { font-weight: 500; }
.proc__n b { font-weight: 500; opacity: .55; margin-left: 4px; }
.proc__dots { display: flex; gap: 5px; opacity: 0; transition: opacity .4s; }
.proc__dots i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,250,.35); }
.proc.is-active .proc__dots { opacity: 1; }
.proc__body { padding: 0 50px 50px; opacity: 0; transform: translateY(16px); transition: opacity .3s, transform .5s var(--ease); width: 596px; max-width: 100%; }
.proc.is-active .proc__body { opacity: 1; transform: none; transition-delay: .25s; }
.proc h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 500; letter-spacing: -0.03em; }
.proc__icon { width: 14px; height: 14px; border: 1.5px dashed currentColor; border-radius: 3px; opacity: .8; }
.proc p { margin-top: 15px; max-width: 400px; font-size: 15px; line-height: 1.4; opacity: .75; }
.proc:focus-visible { outline: 2px solid var(--green-text); outline-offset: 2px; }

/* ---------- Testimonials (Kora-style tray: featured card + two cards, rotating) ---------- */
.testimonials { padding: clamp(60px, 8vw, 120px) 0; }
.ttray { position: relative; margin-top: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px; background: var(--cream); border-radius: var(--radius-xl); }
.ttray__ctrl { position: absolute; z-index: 2; top: 25px; right: 25px; display: flex; gap: 6px; }
.ttray__btn { width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%; background: var(--cream); font-size: 12px; line-height: 1; cursor: pointer; transition: background .3s, transform .4s var(--ease); }
.ttray__btn:hover { background: var(--green); transform: scale(1.12); }
.tcard {
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 30px; min-height: 278px;
  background: var(--paper); border-radius: 30px; cursor: pointer;
  transition: opacity .35s var(--ease), transform .35s var(--ease), filter .35s var(--ease);
}
.tcard[data-pos="0"] { grid-column: 1 / -1; cursor: default; min-height: 286px; }
.tcard.is-swapping { opacity: 0; transform: translateY(12px); filter: blur(6px); }
.tcard:focus-visible { outline: 2px solid var(--green-text); outline-offset: 2px; }
.tcard__stars { display: flex; gap: 5px; margin-bottom: 20px; }
.tcard__stars i { width: 9px; height: 9px; border-radius: 50%; background: var(--green); }
.tcard blockquote { max-width: 392px; font-size: 14px; font-weight: 600; line-height: 21px; letter-spacing: -0.03em; color: var(--ink); }
.tcard[data-pos="0"] blockquote { max-width: 630px; font-size: 17px; line-height: 22.95px; letter-spacing: -0.03em; }
.tcard__who { display: flex; align-items: center; gap: 15px; margin-top: 30px; }
.tcard__who span { display: flex; flex-direction: column; gap: 3px; font-size: 13px; font-weight: 600; line-height: 19.5px; letter-spacing: -0.025em; color: #616161; }
.tcard__who strong { font-size: 14px; font-weight: 600; line-height: 21px; letter-spacing: -0.03em; color: var(--ink); }
.tcard__who br { display: none; }
.tcard .avatar { display: inline-block; width: 45px; height: 45px; flex-shrink: 0; border-radius: 50%; background: #d9c9b8; }

/* ---------- FAQ (modelled on Kora: centered tray + contact card) ---------- */
.faq { padding: clamp(60px, 8vw, 120px) 0; }
.faq__tray, .faq__bottom { max-width: 600px; margin: 0 auto; background: var(--cream); border-radius: var(--radius-xl); }
.faq__tray { margin-top: 56px; padding: 10px; }
.faq__tabs { display: flex; justify-content: center; gap: 4px; padding: 0 0 10px; }
.faq__tabs button { border: 0; background: transparent; padding: 9px 13px; border-radius: 30px; font-size: 13px; font-weight: 600; letter-spacing: -0.025em; cursor: pointer; transition: background .3s, color .3s; }
.faq__tabs button.is-active { background: var(--green); color: var(--ink); }
.faq__group { display: none; flex-direction: column; gap: 10px; }
.faq__group.is-active { display: flex; animation: faqIn .6s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(16px); filter: blur(6px); } }
.faq__item { background: var(--paper); border-radius: 30px; transition: background .4s; }
.faq__item.is-open { background: #fff; }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 25px; border: 0; background: none; text-align: left; font-size: 15px; font-weight: 600; line-height: 22.5px; letter-spacing: -0.03em; cursor: pointer; }
.faq__icon { position: relative; flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--cream); transition: background .3s, transform .5s var(--ease); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 6px; right: 6px; top: 9px; height: 2px; background: var(--ink); transition: transform .4s var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item.is-open .faq__icon::after { transform: rotate(0); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 25px 25px; font-size: 14px; font-weight: 600; line-height: 21px; letter-spacing: -0.03em; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__bottom { margin-top: 10px; padding: 30px; display: flex; align-items: center; gap: 30px; }
.faq__avatars { display: flex; flex-shrink: 0; }
.faq__avatars i { width: 54px; height: 54px; border-radius: 50%; border: 3px solid var(--cream); margin-left: -14px; background: #d9c9b8; }
.faq__avatars i:first-child { margin-left: 0; }
.faq__avatars i:nth-child(2) { width: 64px; height: 64px; background: #b8c9d9; z-index: 1; }
.faq__avatars i:nth-child(3) { background: #c9d9b8; }
.faq__contact p { font-size: 13px; font-weight: 600; line-height: 19.5px; letter-spacing: -0.025em; color: #616161; }
.faq__mail { margin-top: 10px; display: inline-flex; align-items: center; gap: 10px; padding: 0; border: 0; background: none; cursor: pointer; font-size: 20px; font-weight: 600; letter-spacing: -0.04em; text-align: left; }
.faq__mailicon { width: 30px; height: 30px; flex-shrink: 0; border-radius: 40px; background: var(--green); position: relative; transition: transform .4s var(--ease); }
.faq__mailicon::after { content: ""; position: absolute; left: 8px; right: 8px; top: 10px; bottom: 10px; border: 2px solid var(--ink); border-radius: 3px; }
.faq__mail:hover .faq__mailicon { transform: scale(1.12); }

/* ---------- Insights ---------- */
.insights { padding: clamp(60px, 8vw, 120px) 0; }
.insights__more { margin-top: 48px; text-align: center; }
.posts { margin-top: 64px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 10px; background: var(--cream); border-radius: var(--radius-xl); }
.post { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; min-width: 0; padding: 20px 20px 24px; background: var(--paper); border-radius: 30px; transition: translate .5s var(--ease), box-shadow .5s var(--ease); }
.post:hover { translate: 0 -4px; box-shadow: 0 14px 40px rgba(0,0,0,.07); }
.post__img { width: 100%; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--cream); position: relative; }
.post__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s var(--ease); }
.post:hover .post__img img { transform: scale(1.06); }
/* Frosted blur across the top of every cover, fading out downward */
.post__img::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 60%; pointer-events: none; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.6) 45%, transparent 100%); mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.6) 45%, transparent 100%); transition: opacity .6s var(--ease); }
.post:hover .post__img::after { opacity: .35; }
.post__tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border-radius: 30px; background: rgba(93,195,155,.16); color: var(--green-text); font-size: 13px; font-weight: 600; letter-spacing: -0.02em; }
.post__tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.post__tag b { font-weight: 700; opacity: .6; }
.post h3 { font-size: 22px; font-weight: 500; line-height: 1.2; letter-spacing: -0.035em; transition: color .3s; }
.post:hover h3 { color: var(--ink); }
.post__excerpt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 15px; line-height: 1.45; font-weight: 500; letter-spacing: -0.02em; color: #8a8a85; }
.post__btn { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 18px; border: 1.5px solid var(--ink); border-radius: 30px; font-size: 14px; font-weight: 600; letter-spacing: -0.02em; transition: background .3s, color .3s; }
.post:hover .post__btn { background: var(--ink); color: var(--paper); }
.post:hover .post__btn .btn__dot { transform: translate(2px, -2px); }
.post__img .placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, #d7dfd6, #c3d1c8); transition: transform 1s var(--ease); }
.post:hover .post__img .placeholder { transform: scale(1.06); }
.post__meta { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; color: var(--muted); }
.pill--light { background: var(--cream); color: var(--ink); padding: 6px 14px; }
.post h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.12; transition: color .3s; }

/* ---------- CTA ---------- */
.cta { padding: var(--edge); }
.cta__card {
  position: relative; overflow: hidden; border-radius: var(--radius-xl); color: var(--paper);
  padding: clamp(80px, 12vw, 160px) 24px; text-align: center;
}
.cta__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.cta h2 { font-size: clamp(40px, 6.4vw, 88px); max-width: 820px; }
.cta p { max-width: 420px; font-weight: 500; }

/* ---------- Footer (modelled on Kora: cream card on green, big cropped wordmark) ---------- */
.footer { background: var(--green); padding: var(--edge); border-radius: 60px 60px 0 0; margin-top: -1px; }
.footer__card { position: relative; overflow: hidden; background: var(--cream); border-radius: var(--radius-xl); padding-top: 90px; }
.footer__inner { padding: 0 clamp(24px, 4vw, 60px); }
.footer__top { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.footer__left { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.footer__loc { max-width: 240px; font-size: 13px; font-weight: 600; line-height: 19.5px; letter-spacing: -0.025em; color: #616161; }
.footer__tag { font-size: 30px; line-height: 1.1; letter-spacing: -0.04em; margin-top: 36px; }
.footer__right { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.footer__quote { max-width: 340px; font-size: 25px; font-weight: 600; line-height: 1.15; letter-spacing: -0.04em; color: #616161; }
.footer__mid { margin-top: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.footer__lcol { display: flex; flex-direction: column; gap: 48px; }
.footer h5 { font-size: 13px; font-weight: 500; letter-spacing: -0.025em; color: #616161; margin-bottom: 20px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; transition: background .3s, transform .4s var(--ease); }
.socials a:hover { background: var(--green); transform: translateY(-3px); }
.footer__legal-links { display: flex; gap: 24px; font-size: 13px; font-weight: 600; letter-spacing: -0.025em; }
.footer__legal-links a:hover { color: var(--green-text); }
.footer__nav { display: flex; flex-direction: column; gap: 8px; }
.footer__nav a { position: relative; display: inline-block; padding-left: 18px; font-size: 25px; font-weight: 500; line-height: 1.2; letter-spacing: -0.04em; }
.footer__nav a::before { content: ""; position: absolute; left: 0; top: 50%; width: 7px; height: 7px; margin-top: -3px; border-radius: 50%; background: var(--ink); transition: background .3s, transform .4s var(--ease); }
.footer__nav a:hover::before { background: var(--green); transform: scale(1.5); }
.footer__copy { display: block; margin-top: 48px; font-size: 13px; color: #616161; }
.footer__word { margin-top: 24px; text-align: center; font-weight: 700; font-size: 17.6vw; line-height: .8; letter-spacing: -0.07em; color: var(--green); white-space: nowrap; margin-bottom: -.1em; user-select: none; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); filter: blur(6px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease), translate .5s var(--ease); transition-delay: var(--d, 0s), var(--d, 0s), var(--d, 0s), 0s; }
.reveal.is-in { opacity: 1; transform: none; filter: none; }
.split .w { display: inline-block; opacity: 0; transform: translateY(.5em); filter: blur(8px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.split.is-in .w { opacity: 1; transform: none; filter: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .split .w { opacity: 1; transform: none; filter: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Mobile ---------- */
@media (max-width: 860px) {
  body { font-size: 16px; }
  .navbar__links, .navbar__cta { display: none; }
  .navbar__bar { flex: 1; }
  .navbar__burger { display: block; }
  .navbar__sheet { display: flex; }
  .hero { padding-top: 120px; }
  .trusted { flex-direction: column; align-items: flex-start; gap: 20px; }
  .marquee { width: 100%; flex: none; }
  .svcard { grid-template-columns: 1fr; position: relative; top: 0 !important; height: auto; }
  .svcard__panel { gap: 40px; padding: 24px; }
  .svcard__right { height: 320px; }
  .svc__right { min-height: 240px; }
  .posts, .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .proc-tray { flex-direction: column; height: 560px; }
  .proc__top, .proc__body { padding-left: 28px; padding-right: 28px; }
  .proc__top { padding-top: 24px; }
  .proc__body { padding-bottom: 24px; width: auto; }
  .proc.is-active { flex-grow: 4; }
  .posts { grid-template-columns: minmax(0, 1fr); }
  .footer__top, .footer__mid { grid-template-columns: 1fr; gap: 36px; }
  .footer__card { padding-top: 56px; }
  .ttray { grid-template-columns: 1fr; }
  .tcard, .tcard[data-pos="0"] { min-height: 0; }
  .faq__bottom { flex-direction: column; align-items: flex-start; gap: 20px; }
  .faq__mail { font-size: 17px; }
}

.eyebrow { text-transform: uppercase; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; color: var(--muted); }
.pill--green { background: var(--green); color: var(--ink); }

/* ---------- "Learn more" button + services modal ---------- */
.svcard__offerhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.svcard__offerhead h4 { margin-bottom: 0 !important; }
.svcard__more { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border: 0; border-radius: 12px; background: var(--cream); font-size: 11px; line-height: 14px; font-weight: 600; letter-spacing: -0.025em; cursor: pointer; transition: background .3s, transform .4s var(--ease); }
.svcard__more:hover { background: var(--green); transform: translateY(-2px); }
.svcard__more i { font-style: normal; transition: transform .3s var(--ease); }
.svcard__more:hover i { transform: translateX(5px); }

.modal { padding: 0; border: 0; width: calc(100vw - 2 * var(--edge)); max-width: none; height: calc(100vh - 2 * var(--edge)); height: calc(100dvh - 2 * var(--edge)); max-height: none; border-radius: var(--radius-xl); background: var(--paper); color: var(--ink); overflow: hidden; }
.modal[open] { display: flex; flex-direction: column; animation: modalIn .6s var(--ease); }
.modal::backdrop { background: rgba(20,30,45,.55); backdrop-filter: blur(8px); animation: fadeIn .4s; }
@keyframes modalIn { from { opacity: 0; transform: translateY(40px) scale(.98); } }
@keyframes fadeIn { from { opacity: 0; } }
.modal__head { position: relative; flex-shrink: 0; padding: 20px 84px 16px 20px; background: var(--cream); }
.modal__tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.mpill { padding: 9px 15px; border: 0; border-radius: 30px; background: var(--paper); font-size: 13px; font-weight: 600; letter-spacing: -0.025em; cursor: pointer; transition: background .3s, transform .3s var(--ease); }
.mpill:hover { transform: translateY(-2px); }
.mpill.is-active { background: var(--green); color: var(--ink); }
.modal__sep { width: 1px; height: 22px; margin: 0 6px; background: rgba(0,0,0,.15); }
.modal__close { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--ink); cursor: pointer; transition: transform .4s var(--ease), background .3s; }
.modal__close:hover { transform: rotate(90deg); background: var(--green-dark); }
.modal__close i { position: absolute; left: 13px; right: 13px; top: 21px; height: 2px; background: var(--paper); }
.modal__close i:first-child { transform: rotate(45deg); }
.modal__close i:last-child { transform: rotate(-45deg); }
.modal__body { flex: 1; overflow-y: auto; padding: clamp(28px, 5vw, 72px); overscroll-behavior: contain; }
.mpanel { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 6vw, 96px); max-width: 1500px; margin: 0 auto; }
.mpanel[hidden] { display: none; }
.mpanel.is-active { animation: panelIn .7s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(20px); filter: blur(8px); } }
.mpanel__meta { display: flex; align-items: center; gap: 14px; }
.mpanel__count { font-weight: 600; opacity: .4; }
.mpanel h2 { margin-top: 28px; font-size: clamp(44px, 7.4vw, 112px); line-height: .98; letter-spacing: -0.055em; font-weight: 400; }
.mpanel__lead { margin-top: 36px; max-width: 700px; font-size: clamp(20px, 2.1vw, 30px); line-height: 1.3; font-weight: 500; letter-spacing: -0.035em; color: #616161; }
.mpanel__side { display: flex; flex-direction: column; gap: 40px; padding-top: 8px; }
.mpanel__block h3 { font-size: 13px; font-weight: 600; letter-spacing: -0.02em; color: #616161; margin-bottom: 18px; }
.mpanel__block p { font-size: 20px; line-height: 1.35; font-weight: 500; letter-spacing: -0.03em; }
.mlist { display: flex; flex-direction: column; gap: 12px; }
.mlist li { position: relative; padding: 18px 20px 18px 50px; background: var(--cream); border-radius: 22px; font-size: 18px; font-weight: 600; line-height: 1.3; letter-spacing: -0.03em; }
.mlist li::before { content: ""; position: absolute; left: 22px; top: 25px; width: 12px; height: 12px; border-radius: 50%; background: var(--green); }
.mpanel__side .btn { align-self: flex-start; }

@media (max-width: 860px) {
  .modal__head { padding: 14px 70px 12px 14px; }
  .modal__tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .modal__tabs::-webkit-scrollbar { display: none; }
  .mpill { flex-shrink: 0; }
  .modal__close { top: 14px; right: 14px; }
  .mpanel { grid-template-columns: 1fr; }
}
.modal__close:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.svcard__more i { line-height: 1; font-size: 11px; }

/* Page blur while hovering the navbar links (like Kora) */
.page-blur { position: fixed; inset: 0; z-index: 40; pointer-events: none; opacity: 0; background: rgba(20,30,45,.08); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: opacity .45s var(--ease); }
.page-blur.is-on { opacity: 1; }

/* ---------- Pricing (dark card, Kora-style) ---------- */
.pricing { padding: clamp(60px, 8vw, 120px) 0; }
.pdark { padding: clamp(28px, 4.4vw, 60px); background: var(--ink); color: var(--paper); border-radius: var(--radius-xl); }
.pdark__title { font-size: clamp(40px, 5.6vw, 76px); max-width: 760px; font-weight: 400; }
.pdark__title .w:nth-child(n+2) { color: rgba(255,255,255,.62); }
.pdark__sub { margin-top: 20px; max-width: 420px; font-size: 14px; font-weight: 600; line-height: 21px; letter-spacing: -0.03em; color: rgba(255,255,250,.65); }
.ptray { margin-top: 48px; display: flex; flex-direction: column; gap: 10px; }
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pcard { display: flex; flex-direction: column; justify-content: space-between; gap: 60px; min-height: 300px; padding: 30px; background: #3d3d3d; border-radius: 30px; }
.pcard__row { display: flex; justify-content: space-between; align-items: center; }
.pcard__num { font-size: 17px; font-weight: 600; letter-spacing: -0.03em; opacity: .6; }
.pcard h3 { min-height: 65px; font-size: 25px; font-weight: 400; line-height: 32.5px; letter-spacing: -1px; }
.pcard p { margin-top: 12px; max-width: 340px; font-size: 14px; font-weight: 600; line-height: 21px; letter-spacing: -0.03em; color: rgba(255,255,250,.65); }
.pdark .label { background: rgba(255,255,255,.1); color: var(--paper); }
.pdark .label__icon { background: var(--paper); }
.pdark .label__icon::after { background: var(--green); }
.pcta { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 30px 48px; padding: 30px 30px 30px 40px; background: var(--cream); color: var(--ink); border-radius: 30px; }
.pprice { display: grid; grid-template-columns: auto auto; column-gap: 8px; align-items: end; }
.pprice span { grid-column: 1 / -1; font-size: 13px; font-weight: 600; line-height: 19.5px; letter-spacing: -0.025em; color: #616161; }
.pprice strong { font-size: clamp(44px, 5vw, 60px); font-weight: 600; line-height: 1.05; letter-spacing: -0.05em; }
.pprice em { font-style: normal; font-size: 13px; font-weight: 600; line-height: 19.5px; padding-bottom: 8px; color: #616161; }
.pcta__text { max-width: 440px; font-size: 14px; font-weight: 600; line-height: 21px; letter-spacing: -0.03em; color: #616161; }
@media (max-width: 860px) {
  .pgrid { grid-template-columns: minmax(0, 1fr); }
  .pcard { min-height: 0; gap: 40px; }
  .pcard h3 { min-height: 0; }
  .pcta { grid-template-columns: minmax(0, 1fr); padding: 24px; }
}

/* ---------- Pricing card graphics (drawn in CSS, no icons) ---------- */
.pcard { gap: 22px; min-height: 0; justify-content: flex-start; }
.pviz { position: relative; height: 84px; display: flex; flex-direction: column; justify-content: center; }

/* Scope: filled bars = what is in, dashed bars = left out */
.pviz--scope { gap: 9px; }
.pviz--scope i { display: block; height: 11px; width: 0; border-radius: 99px; background: var(--green); transition: width 1.1s var(--ease) .3s; }
.pviz--scope i:not(.on) { background: transparent; border: 1.5px dashed rgba(255,255,255,.28); }
.pviz--scope i:nth-child(2) { transition-delay: .42s; } .pviz--scope i:nth-child(3) { transition-delay: .54s; } .pviz--scope i:nth-child(4) { transition-delay: .66s; }
.pcard.is-in .pviz--scope i { width: var(--w); }

/* Method: a short timeline, current step pulses */
.pviz--method { flex-direction: row; align-items: center; justify-content: space-between; padding: 0 4px; }
.pline { position: absolute; left: 12px; right: 12px; top: 50%; height: 2px; margin-top: -1px; background: rgba(255,255,255,.18); }
.pline b { display: block; height: 100%; width: 0; background: var(--green); transition: width 1.2s var(--ease) .3s; }
.pcard.is-in .pline b { width: 66%; }
.pviz--method .n { position: relative; z-index: 1; width: 16px; height: 16px; border-radius: 50%; background: #3d3d3d; border: 2px solid rgba(255,255,255,.35); }
.pviz--method .n.done { background: var(--green); border-color: var(--green); }
.pviz--method .n.cur { background: var(--paper); border-color: var(--green); animation: pcur 2.4s ease-in-out infinite; }
@keyframes pcur { 0%, 100% { box-shadow: 0 0 0 0 rgba(93,195,155,.55); } 50% { box-shadow: 0 0 0 9px rgba(93,195,155,0); } }

/* Budget: a slider that settles on the right spot */
.pviz--budget { gap: 14px; }
.ptrack { position: relative; height: 4px; border-radius: 99px; background: rgba(255,255,255,.18); }
.pfill { position: absolute; left: 0; top: 0; bottom: 0; width: 62%; border-radius: 99px; background: var(--green); animation: pfill 7s var(--ease) infinite; }
.pknob { position: absolute; top: 50%; left: 62%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 4px rgba(93,195,155,.35); animation: pknob 7s var(--ease) infinite; }
@keyframes pknob { 0%, 8% { left: 24%; } 38%, 62% { left: 62%; } 80%, 100% { left: 24%; } }
@keyframes pfill { 0%, 8% { width: 24%; } 38%, 62% { width: 62%; } 80%, 100% { width: 24%; } }
.pticks { display: flex; justify-content: space-between; }
.pticks i { width: 1.5px; height: 8px; background: rgba(255,255,255,.3); }
.pticks i:nth-child(odd) { height: 12px; background: rgba(255,255,255,.45); }
@media (max-width: 860px) { .pcard { min-height: 0; } }

/* ---------- Scroll scenes (modelled on Kora) ---------- */
/* 1. Pinned hero: photo blurs + darkens, headline fades, statement reveals word by word */
.hero-scene { position: relative; height: 270vh; height: 270svh; }
.hero { position: sticky; top: var(--edge); height: calc(100vh - 2 * var(--edge)); height: calc(100svh - 2 * var(--edge)); min-height: 0; margin: var(--edge) var(--edge) 0; }
.hero__fade { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; justify-content: space-between; opacity: clamp(0, calc(1 - var(--p, 0) * 3.6), 1); transform: translateY(calc(var(--p, 0) * -44px)); filter: blur(calc(var(--p, 0) * 10px)); will-change: opacity, transform; }
.hero.is-past .hero__fade { pointer-events: none; visibility: hidden; }
.hero__photo img { inset: -5%; width: 110%; height: 110%; filter: blur(calc(var(--p, 0) * 18px)) brightness(calc(1 - var(--p, 0) * .42)); }
.hero__statement { position: absolute; inset: 0; z-index: 2; display: none; align-items: center; justify-content: center; margin: 0; padding: 0 clamp(24px, 9vw, 160px); text-align: center; font-size: clamp(34px, 5.6vw, 82px); font-weight: 400; line-height: 1.06; letter-spacing: -0.05em; color: var(--paper); pointer-events: none; text-wrap: balance; }
.js .hero__statement { opacity: 0; display: flex; flex-wrap: wrap; align-content: center; justify-content: center; column-gap: .24em; }
.hero__statement .sw { display: block; opacity: .14; will-change: opacity, filter; }

/* 3. Footer: green circle expands from the top as the footer arrives */
.footer { position: relative; background: transparent; }
.footer__bg { position: absolute; inset: 0; z-index: 0; background: var(--green); border-radius: 60px 60px 0 0; clip-path: circle(calc(var(--fp, 0) * 160%) at 50% 0%); }
.footer__card { position: relative; z-index: 1; }

/* 4. Stacked service cards scale + dim as the next one covers them (JS sets inline transform) */
.svcard { transform-origin: 50% 0; will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .hero-scene { height: auto; }
  .hero { position: relative; top: auto; height: auto; min-height: calc(100svh - 2 * var(--edge)); }
  .hero__statement { display: none !important; }
  .hero__fade { opacity: 1 !important; transform: none !important; filter: none !important; }
  .hero__photo img { filter: none !important; }
  .footer__bg { clip-path: none; }
  .svcard { transform: none !important; filter: none !important; }
}
