/* ==========================================================================
   Aron Websolutions — Jewellery landing page
   Plain CSS conversion of the original React + Tailwind build.
   Breakpoints: sm 640px · md 768px · lg 1024px
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --font-display: "DM Serif Display", Arial, sans-serif;
  --font-body: "Inter", Arial, sans-serif;

  --background: oklch(0.975 0.012 83);
  --foreground: oklch(0.18 0.015 76);
  --primary: oklch(0.69 0.095 75);
  --primary-foreground: oklch(0.16 0.012 70);
  /* gold for small text on light backgrounds (WCAG AA 4.5:1) */
  --primary-ink: oklch(0.52 0.09 70);
  --muted-foreground: oklch(0.49 0.046 257.417);
  --border: oklch(0.84 0.025 79);
  --hero: oklch(0.105 0.008 65);
  --hero-foreground: oklch(0.965 0.012 84);
  --gold-soft: oklch(0.83 0.075 78);
  --surface-warm: oklch(0.94 0.022 81);
  --emerald-deep: oklch(0.27 0.055 158);

  /* Translucent variants of the light-on-dark foreground */
  --hf-4: color-mix(in oklab, var(--hero-foreground) 4%, transparent);
  --hf-5: color-mix(in oklab, var(--hero-foreground) 5%, transparent);
  --hf-10: color-mix(in oklab, var(--hero-foreground) 10%, transparent);
  --hf-15: color-mix(in oklab, var(--hero-foreground) 15%, transparent);
  --hf-20: color-mix(in oklab, var(--hero-foreground) 20%, transparent);
  --hf-30: color-mix(in oklab, var(--hero-foreground) 30%, transparent);
  --hf-35: color-mix(in oklab, var(--hero-foreground) 35%, transparent);
  --hf-45: color-mix(in oklab, var(--hero-foreground) 45%, transparent);
  --hf-55: color-mix(in oklab, var(--hero-foreground) 55%, transparent);
  --hf-60: color-mix(in oklab, var(--hero-foreground) 60%, transparent);
  --hf-65: color-mix(in oklab, var(--hero-foreground) 65%, transparent);
  --hf-72: color-mix(in oklab, var(--hero-foreground) 72%, transparent);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0 solid var(--border);
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }
a { color: inherit; text-decoration: inherit; }
b, strong { font-weight: bolder; }
ul, ol { list-style: none; }
img, svg, video { display: block; vertical-align: middle; }
img { max-width: 100%; height: auto; }
button, input, textarea, select {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
  background-color: transparent;
  border-radius: 0;
}
button { cursor: pointer; }
textarea { resize: vertical; }

/* ---------- Helpers ---------- */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 100;
  left: 1rem;
  top: 1rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  transform: translateY(-200%);
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: none; }
main:focus { outline: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: 94rem;
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 1024px) { .container { padding-inline: 2rem; } }

.icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.icon--fill { fill: currentColor; }

.logo { font-family: var(--font-display); font-size: 1.5rem; line-height: 2rem; }
.logo span { color: var(--primary); }

.eyebrow {
  margin-bottom: 1rem;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary);
}
.eyebrow--lg { margin-bottom: 1.25rem; }
.eyebrow--gold { color: var(--gold-soft); }
/* light sections use the deeper gold; dark sections keep the brighter one */
.about .eyebrow, .work .eyebrow, .journey .eyebrow, .capabilities .eyebrow,
.pricing .eyebrow, .industries .eyebrow { color: var(--primary-ink); }

.h-display {
  font-family: var(--font-display);
  font-size: 2.25rem;
  line-height: calc(2.5 / 2.25);
}
.h-display--tight { line-height: 1.25 !important; }
@media (min-width: 640px) {
  .h-display { font-size: 3rem; line-height: 1; }
}

.stars { display: flex; align-items: center; gap: 0.125rem; color: var(--primary); }
.stars--lg { gap: 0.25rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding-inline: 1.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  transition: all 300ms var(--ease);
}
.btn:hover { transform: translateY(-0.125rem); }

.btn--gold { background-color: var(--primary); color: var(--primary-foreground); }
.btn--gold:hover { background-color: color-mix(in oklab, var(--primary) 90%, transparent); }

.btn--outline { border: 1px solid var(--hf-35); color: var(--hero-foreground); }
.btn--outline:hover { background-color: var(--hf-10); }

.btn--plain { border: 1px solid color-mix(in oklab, var(--foreground) 20%, transparent); color: var(--foreground); }
.btn--plain:hover { background-color: var(--surface-warm); }

.btn--block { width: 100%; }

.btn--header { min-height: 2.5rem; padding-inline: 1rem; backdrop-filter: blur(9px);
    background: #ffffff21;}
@media (min-width: 640px) {
  .btn--header { min-height: 3rem; padding-inline: 1.5rem; }
}

.nav-btn {
  display: flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  transition: background-color 150ms var(--ease), border-color 150ms var(--ease);
}
.nav-btn:hover { background-color: var(--surface-warm); }
.nav-btn--light { background-color: var(--background); }
.nav-btn--light:hover { background-color: var(--background); border-color: var(--primary); }
.nav-btn--lg { width: 3rem; height: 3rem; }

.slider-nav { display: flex; flex-shrink: 0; gap: 0.5rem; }
.slider-nav--sm-only { display: none; }
@media (min-width: 640px) { .slider-nav--sm-only { display: flex; } }

.section-head {
  margin-bottom: 3.5rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
}
.section-head--industries { margin-bottom: 3rem; gap: 0; }

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--hf-15);
}
.site-header__inner {
    display: flex;
    height: auto;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 2rem;
}
.site-header .logo {
    color: var(--hero-foreground);
    display: inline-block;
    max-width: 300px;
}
.site-header__right { margin-left: auto; display: flex; align-items: center; gap: 0.75rem; }
.header-rating { display: flex; align-items: center; gap: 0.75rem; color: var(--hero-foreground); }
.header-rating__avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  object-fit: cover;
  box-shadow: 0 0 0 1px var(--hf-30);
}
.header-rating__text { display: none; }
.header-rating__text p { margin-top: 0.25rem; font-size: 0.68rem; line-height: 1; }
.header-rating__text strong { font-weight: 600; }
.header-rating__text p span { margin-left: 0.5rem; color: var(--hf-55); }

@media (min-width: 640px) {
  .site-header__right { gap: 1.5rem; }
  .header-rating__avatar { width: 2.75rem; height: 2.75rem; }
  .header-rating__text { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  background-color: var(--hero);
  color: var(--hero-foreground);
}
.hero__parallax { position: absolute; inset: 0; }
/* Media arrives like the case-study frames: fades in while scaling from big down to fit */
.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  animation: hero-in 1.8s cubic-bezier(.22, 1, .36, 1) both;
}
.hero__poster,
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero__video { opacity: 0; transition: opacity 1.2s var(--ease); }
.hero__video.is-playing { opacity: 1; }
/* soft shade under the transparent header so its text stays readable over the footage */
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 11rem;
  background: linear-gradient(to bottom, rgb(8 6 5 / .7), transparent);
  pointer-events: none;
}
@keyframes hero-in {
  /* starts at .01, not 0, so the poster still counts as painted for LCP */
  from { opacity: .01; scale: 1.2; }
  45%  { opacity: 1; }
  to   { opacity: 1; scale: 1; }
}
@media (min-width: 768px) {
  .hero__poster, .hero__video { object-position: center 35%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__media { animation: none; }
}
.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(61deg,
    var(--hero) 0%,
    color-mix(in oklab, var(--hero) 94%, transparent) 0%,
    color-mix(in oklab, var(--hero) 25%, transparent) 68%,
    color-mix(in oklab, var(--hero) 12%, transparent) 100%);
}
.hero__inner {
  position: relative;
  display: flex;
  min-height: 760px;
  align-items: center;
  padding-top: 8rem;
  padding-bottom: 4rem;
}
.hero__content { max-width: 42rem; }
.hero__eyebrow {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--gold-soft);
}
.hero__eyebrow span { height: 1px; width: 2.5rem; background-color: var(--primary); }
.hero__title {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1.08;
}
.hero__title em { color: var(--gold-soft); }
.hero__lead {
  margin-top: 1.75rem;
  max-width: 32rem;
  font-size: 1rem;
  line-height: 1.75rem;
  color: var(--hf-72);
}
.hero__actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
/* centred scroll cue: label + arrow that keeps drifting down */
.hero__scroll {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  transform: translateX(-50%);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--hf-72);
  transition: color .3s var(--ease);
}
.hero__scroll:hover { color: var(--gold-soft); }
.hero__scroll .icon {
  display: block;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0.55rem;
  border: 1px solid color-mix(in oklab, var(--gold-soft) 45%, transparent);
  border-radius: 9999px;
  color: var(--gold-soft);
  animation: scroll-cue 1.8s cubic-bezier(.45, 0, .55, 1) infinite;
}
@keyframes scroll-cue {
  0%   { transform: translateY(0); opacity: 1; }
  55%  { transform: translateY(0.5rem); opacity: .55; }
  100% { transform: translateY(0); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .hero__scroll .icon { animation: none; } }

@media (min-width: 640px) {
  .hero__title { font-size: 3.75rem; }
}
@media (min-width: 1024px) {
  .hero, .hero__inner { min-height: 820px; }
  .hero__title { font-size: 5.4rem; }
}

/* ---------- Logo marquee ---------- */
.logos {
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background-color: var(--background);
  padding-block: 1.75rem;
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.logos__track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: marquee 45s linear infinite;
}
.logos__track li {
    display: flex;
    width: 20rem;
    height: 3.5rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    padding-inline: 1.5rem;
}
.logos__track img {
    width: auto;
    height: auto;
    max-width: 60.7%;
    max-height: 2.45rem;
    object-fit: contain;
    /* monochrome strip reads as one premium row; brand colour returns on hover */
    filter: grayscale(1) brightness(0);
    opacity: .62;
    transition: transform .3s var(--ease), filter .4s var(--ease), opacity .4s var(--ease);
}
.logos__track li:hover img { transform: scale(1.06); filter: none; opacity: 1; }
/* thin script marks need more height to match the weight of the bold wordmarks */
.logos__track .logo-tall { max-height: 3.5rem; }
.logos:hover .logos__track { animation-play-state: paused; }

/* ---------- About ---------- */
.about {
  display: grid;
  gap: 3rem;
  padding-block: 6rem;
}
.about__kicker {
  font-family: var(--font-display);
  font-size: 1.875rem;
  line-height: 1.375;
}
.about__text {
  margin-top: 1.75rem;
  max-width: 42rem;
  font-size: 1rem;
  line-height: 2rem;
  color: var(--muted-foreground);
}
.text-link {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--primary);
  padding-bottom: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
}
@media (min-width: 1024px) {
  .about {
    grid-template-columns: 0.5fr 1.2fr;
    padding-block: 9rem;
    gap: 10rem;
}
  .about__kicker { font-size: 2.25rem; }
}

/* ---------- Journey ---------- */
.journey {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--border);
  background:#f5f5f5;
  padding-block: 5rem;
}
.journey__head { display: grid; gap: 1.75rem; }
.journey__head h2 em { display: block; font-style: italic; color: var(--primary-ink); }
.journey__intro {
  max-width: 26rem;
  border-left: 2px solid var(--primary);
  padding-left: 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.75rem;
  color: var(--muted-foreground);
}
.journey__grid {
  counter-reset: step;
  margin-top: 3.5rem;
  display: grid;
  gap: 1.25rem;
}
.journey__item {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid color-mix(in oklab, var(--border) 80%, transparent);
  border-radius: 0;
  background-color: color-mix(in oklab, var(--background) 72%, transparent);
  padding: 2rem 1.75rem 1.75rem;
  transition: border-color .35s var(--ease), background-color .35s var(--ease), box-shadow .35s var(--ease);
}
/* gold accent that grows across the top edge on hover */
.journey__item::before {
  content: "";
  position: absolute;
  left: 1.75rem;
  right: 1.75rem;
  top: -1px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--gold-soft));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.journey__item:hover {
  border-color: color-mix(in oklab, var(--primary) 45%, transparent);
  background-color: var(--background);
  box-shadow: 0 24px 48px -28px color-mix(in oklab, var(--foreground) 35%, transparent);
}
.journey__item:hover::before { transform: scaleX(1); }
.journey__num {
  position: absolute;
  right: 1.5rem;
  top: 1.25rem;
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 1;
  color: color-mix(in oklab, var(--primary) 16%, transparent);
  transition: color .35s var(--ease);
  pointer-events: none;
}
.journey__num::before { content: attr(data-num); }
.journey__item:hover .journey__num { color: color-mix(in oklab, var(--primary) 32%, transparent); }
.journey__icon {
  display: flex;
  width: 3.5rem;
  height: 3.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid color-mix(in oklab, var(--primary) 40%, transparent);
  background-color: color-mix(in oklab, var(--gold-soft) 18%, var(--background));
  color: var(--primary);
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.journey__item:hover .journey__icon {
  border-color: var(--hero);
  background-color: var(--hero);
  color: var(--gold-soft);
}
.journey__stage {
  margin-top: 1.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary-ink);
}
.journey__item h3 {
  margin-top: 0.375rem;
  font-family: var(--font-display);
  font-size: 1.625rem;
  line-height: 2rem;
}
.journey__text {
  margin-top: 0.625rem;
  font-size: 0.875rem;
  line-height: 1.5rem;
  color: var(--muted-foreground);
}
.journey__tag {
  margin-top: auto;
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--foreground);
}
.journey__tag::before {
  content: "";
  width: 1.5rem;
  height: 1px;
  background-color: var(--primary);
}
@media (min-width: 768px) {
  .journey__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .journey { padding-block: 7rem; }
  .journey__head { grid-template-columns: 1fr auto; align-items: end; gap: 4rem; }
  .journey__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; margin-top: 4.5rem; }
  /* gem-shaped connector sitting in the gap between cards, level with the icons */
  .journey__item:not(:last-child)::after {
    content: "";
    position: absolute;
    z-index: 2;
    top: 3.4rem;
    right: calc(-0.75rem - 0.3125rem);
    width: 0.625rem;
    height: 0.625rem;
    border: 1px solid var(--primary);
    background-color: var(--surface-warm);
    transform: rotate(45deg);
  }
}

/* ---------- Services ---------- */
.services {
  overflow-x: clip;
  background-color: var(--hero);
  color: var(--hero-foreground);
  padding-block: 6rem;
}
.services__head {
  margin-bottom: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
}
.services__title { max-width: 42rem; }
.services__intro {
  max-width: 24rem;
  font-size: 0.875rem;
  line-height: 1.75rem;
  color: var(--hf-60);
}
.services__layout { display: grid; gap: 4rem; align-items: center; }
.services__grid { display: grid; border-block: 1px solid var(--hf-15); }
.services__item {
  border-bottom: 1px solid var(--hf-15);
  padding: 2.5rem 1.5rem;
  transition: background-color .35s var(--ease);
}
.services__item:hover { background-color: var(--hf-4); }
.services__item:last-child { border-bottom-width: 0; }
.services__num {
  margin-bottom: 2.5rem;
  display: block;
  font-size: 0.75rem;
  line-height: 1rem;
  color: var(--primary);
  display: none;
}
.services__item .icon { margin-bottom: 1.5rem; color: var(--gold-soft); }
.services__item h3 { font-family: var(--font-display); font-size: 1.5rem; line-height: 2rem; }
.services__item p {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.5rem;
  color: var(--hf-55);
}

/* Visual: arch-framed image over a morphing gold blob */
.services__visual {
  position: relative;
  width: min(100%, 26rem);
  margin-inline: auto;
  aspect-ratio: 4 / 5;
}
.services__blob,
.services__ring {
  position: absolute;
  inset: -6% -8%;
  border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%;
  animation: services-morph 14s ease-in-out infinite;
}
.services__blob {
  background:
    radial-gradient(circle at 30% 25%, color-mix(in oklab, var(--gold-soft) 55%, transparent), transparent 60%),
    linear-gradient(135deg, color-mix(in oklab, var(--primary) 55%, transparent), color-mix(in oklab, var(--emerald-deep) 70%, transparent));
  filter: blur(2px);
  opacity: .8;
}
.services__ring {
  inset: -10% -12%;
  border: 1px solid color-mix(in oklab, var(--gold-soft) 45%, transparent);
  background: none;
  animation-duration: 18s;
  animation-direction: reverse;
}
.services__media {
  position: relative;
  z-index: 1;
  height: 100%;
  overflow: hidden;
  border-radius: 999px 999px 1.5rem 1.5rem;
  border: 1px solid var(--hf-20);
  box-shadow: 0 40px 80px -40px rgb(0 0 0 / .8);
}
.services__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.services__visual:hover .services__media img { transform: scale(1.05); }
.services__badge {
  position: absolute;
  z-index: 2;
  left: 0.75rem;
  bottom: 12%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--hf-15);
  border-radius: 9999px;
  background-color: color-mix(in oklab, var(--hero) 75%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.75rem 1.25rem 0.75rem 0.75rem;
  animation: services-float 6s ease-in-out infinite;
}
.services__badge .icon {
  box-sizing: content-box;
  padding: 0.5rem;
  border-radius: 9999px;
  background-color: var(--primary);
  color: var(--hero);
}
.services__badge strong { display: block; font-size: 0.8125rem; line-height: 1.1rem; }
.services__badge span { font-size: 0.6875rem; color: var(--hf-55); letter-spacing: .04em; }

@keyframes services-morph {
  0%, 100% { border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; transform: rotate(0deg); }
  25%      { border-radius: 63% 37% 45% 55% / 55% 62% 38% 45%; }
  50%      { border-radius: 38% 62% 36% 64% / 64% 35% 65% 36%; transform: rotate(8deg); }
  75%      { border-radius: 55% 45% 70% 30% / 35% 58% 42% 65%; }
}
@keyframes services-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-0.5rem); }
}
@media (prefers-reduced-motion: reduce) {
  .services__blob, .services__ring, .services__badge { animation: none; }
}
.services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) {
  .services__head { flex-direction: row; align-items: flex-end; }
  
  .services__item { border-bottom-width: 1px; }
  .services__item:nth-child(odd) { border-right: 1px solid var(--hf-15); }
  .services__item:nth-last-child(-n+2) { border-bottom-width: 0; }
}
@media (min-width: 1024px) {
  .services { padding-block: 8rem; }
  .services__head { margin-bottom: 5.5rem; }
  .services__badge { left: -1.5rem; }
  .services__layout { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5rem; }
}

@media ( max-width: 575px ){
  .services__item {
    padding: 2.5rem 0.7rem;
}
.services__item h3 {
    font-size: 1.2rem;
}
.services__item p {
    margin-top: 0.2rem;
}
.logos__track li {
    width: 10rem;
    padding-inline: 1rem;
}
.logos__track img {
    max-width: 94%;
    max-height: unset;
    height: 2rem;
}
.logos{
  padding-block: .75rem;
}
.hero__title {
    font-size: 2.5rem;
}
.hero__overlay {
    background: linear-gradient(0deg,
    var(--hero) 0%,
    color-mix(in oklab, var(--hero) 46%, transparent) 33%,
    color-mix(in oklab, var(--hero) 24%, transparent) 52%,
    color-mix(in oklab, var(--hero) 32%, transparent) 100%);
}

}

/* ---------- Capabilities ---------- */
.capabilities { background-color: #f1f1f1; padding-block: 6rem; }
.capabilities__head {
  display: grid;
  gap: 1.75rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 3rem;
}
.capabilities__title { max-width: 36rem; }
.capabilities__intro {
  max-width: 28rem;
  align-self: end;
  font-size: 0.875rem;
  line-height: 1.75rem;
  color: var(--muted-foreground);
}
.capabilities__grid { display: grid; }
.cap {
  display: grid;
  min-height: 14rem;
  grid-template-rows: auto 1fr;
  border-bottom: 1px solid var(--border);
  padding-block: 2rem;
}
.cap__top { display: flex; align-items: flex-start; justify-content: space-between; }
.cap__top .icon { color: var(--primary); transition: transform 300ms var(--ease); }
.cap:hover .cap__top .icon { transform: translateY(-0.25rem); }
.cap__top span { font-size: 0.75rem; line-height: 1rem; color: var(--muted-foreground); }
.cap__body { align-self: end; }
.cap__body h3 { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.75rem; }
.cap__body p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.5rem;
  color: var(--muted-foreground);
}
@media (min-width: 768px) {
  .capabilities__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cap { padding-inline: 1.75rem; }
  .cap:nth-child(odd) { border-right: 1px solid var(--border); }
}
@media (min-width: 1024px) {
  .capabilities { padding-block: 8rem; }
  .capabilities__head { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .capabilities__intro { justify-self: end; }
  .capabilities__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cap { border-right: 1px solid var(--border); }
  .cap:nth-child(3n) { border-right-width: 0; }
}


@media ( max-width: 575px ){
  .cap__top {
    align-items: center;
}
.cap__body h3 {
    font-size: 1.2rem;
    margin-top: 1rem;
}
.cap__body p {
    margin-top: 0.15rem;
}
.cap:nth-child(2n) {
    padding-left: 10px;
    border-left: 1px solid var(--border);
}
.cap {
  display: block;
}
.cap:nth-child(2n-1) {
    padding-right: 10px;
}
.capabilities__grid {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
}
}
/* ---------- Work / editorial slider ---------- */
.work {
    padding-block: 6rem;
    padding-block-start: 0 !important;
}
.editorial__media { overflow: hidden; background-color: var(--surface-warm); }
.editorial-image {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 900ms cubic-bezier(.77, 0, .18, 1), transform 900ms ease;
}
.editorial:hover .editorial-image { transform: scale(1.025); }
.swiper-slide-active .editorial-image,
.swiper-slide-next .editorial-image { clip-path: inset(0 0 0 0); }
@media (max-width: 639px) {
  .swiper-slide-next .editorial-image { clip-path: inset(0 100% 0 0); }
}
.editorial__info {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-block: 1.25rem;
}
.editorial__info h3 { font-family: var(--font-display); font-size: 1.5rem; line-height: 2rem; }
.editorial__info p {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  line-height: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted-foreground);
}
.editorial__info .icon { color: var(--primary); display: none;}
@media (min-width: 1024px) { .work { padding-block: 9rem; } }

/* Sticky state: added by JS once the page has scrolled past the hero top */
.site-header.is-stuck {
  position: fixed;
  border-bottom-color: var(--hf-10);
  background-color: color-mix(in oklab, var(--hero) 94%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 12px 30px -18px rgb(0 0 0 / .7);
  animation: header-in .55s var(--ease) both;
}
.site-header.is-stuck .site-header__inner { padding-block: 0.75rem; gap: 20px; }
.site-header__inner { transition: padding .35s var(--ease); }
@media (max-width: 639px) {
  .site-header__inner { padding: 0.875rem 1.25rem; gap: 1rem; }
  .site-header .logo { max-width: none; }
  .site-header .logo img { width: auto; height:1.8rem; }
  .header-rating { display: none; }
  .btn--header { white-space: nowrap; }
}
@keyframes header-in {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .site-header.is-stuck { animation: none; } }

/* ---------- Case study ---------- */
.case {
    overflow: hidden;
    background-color: var(--emerald-deep);
    /* background-image: url('../assets/images/case-bg-1200.webp'); */
    color: var(--hero-foreground);
    padding-block: 6rem;
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1;
}
.case::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: #000000ba;
    z-index: -1;
}
.case__head {
  margin-bottom: 3rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}
.case__head h2 { max-width: 36rem; }
.nav-btn--dark { border-color: var(--hf-30); color: var(--hero-foreground); }
.nav-btn--dark:hover { background-color: var(--primary); border-color: var(--primary); color: var(--hero); }
.nav-btn--dark.swiper-button-disabled { opacity: .35; pointer-events: none; }
.case-swiper { overflow: hidden; }
.case-swiper .swiper-wrapper { transition-property: transform, height; }

.cs {
  display: grid;
  gap: 2.5rem;
  border: 1px solid var(--hf-15);
  border-radius: 0;
  background-color: color-mix(in oklab, var(--hero) 55%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 1.25rem;
}
.cs__body { padding: 0.75rem 0.5rem 0; }
.cs__count {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--hf-60);
}
.cs__client {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-size: 2.25rem;
  line-height: 1.1;
}
.cs__tags { margin-top: 0.5rem; font-size: 0.875rem; color: var(--gold-soft); }
.cs__acc { margin-top: 2rem; border-bottom: 1px solid var(--hf-15); }
.cs__item { position: relative; border-top: 1px solid var(--hf-15); }
.cs__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, var(--primary), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s var(--ease);
}
.cs__item.is-open::before { transform: scaleX(1); }
.cs__trigger {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 1rem;
  padding-block: 1.25rem;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.5rem;
  transition: color .3s var(--ease);
}
.cs__trigger:hover, .cs__item.is-open .cs__trigger { color: var(--gold-soft); }
.cs__trigger:focus-visible { outline: 1px solid var(--gold-soft); outline-offset: 4px; }
.cs__num {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--primary);
}
.cs__plus {
  position: relative;
  margin-left: auto;
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
  border: 1px solid var(--hf-20);
  border-radius: 0;
  transition: transform .4s var(--ease), border-color .3s var(--ease);
}
.cs__plus::before, .cs__plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.625rem;
  height: 1px;
  background-color: currentColor;
  transform: translate(-50%, -50%);
}
.cs__plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: opacity .3s var(--ease); }
.cs__item.is-open .cs__plus { transform: rotate(180deg); border-color: var(--gold-soft); }
.cs__item.is-open .cs__plus::after { opacity: 0; }
.cs__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .5s var(--ease);
}
.cs__item.is-open .cs__panel { grid-template-rows: 1fr; }
.cs__panel > div { overflow: hidden; visibility: hidden; transition: visibility 0s .5s; }
.cs__item.is-open .cs__panel > div { visibility: visible; transition-delay: 0s; }
.cs__panel p {
  padding: 0 0 1.5rem 2.35rem;
  max-width: 34rem;
  font-size: 0.9375rem;
  line-height: 1.7rem;
  color: #bfbfbf;
}
.cs__stats {
  margin: 0 0 1.5rem 2.35rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--hf-15);
  border-radius: 0;
  background-color: var(--hf-15);
}
.cs__stats div { background-color: var(--hero); padding: 1rem; }
.cs__stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 1;
  font-weight: 400;
  color: var(--gold-soft);
}
.cs__stats span { margin-top: 0.5rem; display: block; font-size: 0.75rem; color: var(--hf-55); }

.cs__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 0;
  background-color: var(--hero);
  container-type: inline-size; /* lets tooltips size themselves to the frame */
}
/* one frame per accordion step; the active one fades in */
.cs__frame {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .7s var(--ease), visibility 0s .7s;
}
.cs__frame.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
.cs__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 1.2s var(--ease);
}
.cs__frame.is-active img { transform: scale(1); }

/* CRO tooltips pinned to the product page */
.cs__hotspots { position: absolute; inset: 0; list-style: none; z-index: 2; }
.cs__hot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 0;
  height: 0;
}
.cs__dot {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  width: 1.625rem;
  height: 1.625rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background-color: var(--primary);
  box-shadow: 0 0 0 3px rgb(255 255 255 / .9), 0 6px 16px rgb(0 0 0 / .35);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--hero);
  transform: translate(-50%, -50%) scale(0);
  transition: transform .45s cubic-bezier(.34, 1.56, .64, 1);
  transition-delay: calc(var(--i) * 140ms + 250ms);
}
.cs__dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  border: 2px solid var(--primary);
  animation: cs-ping 2.2s var(--ease) infinite;
  animation-delay: calc(var(--i) * 300ms);
}
.cs__tip {
  position: absolute;
  top: 0;
  width: max-content;
  border-radius: 0.5rem;
  background-color: rgb(255 255 255 / .96);
  box-shadow: 0 10px 24px -8px rgb(0 0 0 / .45);
  padding: 0.4rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--hero);
  opacity: 0;
  transition: opacity .4s var(--ease), transform .45s var(--ease);
  transition-delay: calc(var(--i) * 140ms + 380ms);
}
/* label sits beside the dot, kept inside the frame */
.cs__hot--left .cs__tip { right: 1.15rem; max-width: calc(var(--xn) * 1cqw - 1.15rem - 3cqw); transform: translate(0.5rem, -50%); }
.cs__hot--right .cs__tip { left: 1.15rem; max-width: calc((97 - var(--xn)) * 1cqw - 1.15rem); transform: translate(-0.5rem, -50%); }
.cs__frame.is-active .cs__dot { transform: translate(-50%, -50%) scale(1); }
.cs__frame.is-active .cs__tip { opacity: 1; transform: translate(0, -50%); }
@keyframes cs-ping { 0% { transform: scale(1); opacity: .9; } 80%, 100% { transform: scale(1.9); opacity: 0; } }
/* smaller tooltips whenever the frame itself is narrow (phones, small tablets) */
@container (max-width: 480px) {
  .cs__tip { font-size: 0.625rem; padding: 0.25rem 0.5rem; }
  .cs__dot { width: 1.25rem; height: 1.25rem; font-size: 0.625rem; box-shadow: 0 0 0 2px rgb(255 255 255 / .9), 0 4px 10px rgb(0 0 0 / .35); }
  .cs__hot--left .cs__tip { right: 0.9rem; }
  .cs__hot--right .cs__tip { left: 0.9rem; }
}
.cs__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(0 0 0 / .5), transparent 20%);
  pointer-events: none;
  z-index: 1;
}
.cs__caption {
  position: absolute;
  z-index: 3;
  left: 1.25rem;
  bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--hf-20);
  border-radius: 0;
  background-color: color-mix(in oklab, var(--hero) 70%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.5rem 1.125rem 0.5rem 0.5rem;
  font-size: 0.8125rem;
}
.cs__caption-num {
  display: flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  background-color: var(--primary);
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--hero);
}
@media (max-width: 479px) {
  .cs__panel p { padding-left: 0; }
  .cs__stats { margin-left: 0; }
  .cs__stats div { padding: 0.75rem; }
  .cs__stats strong { font-size: 1.375rem; }
}
@media (min-width: 1024px) {
  .case { padding-block: 7rem; }
  .case__head { margin-bottom: 3.5rem; }
  .cs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3.5rem; padding: 1.5rem; align-items: start; }
  .cs__body { padding: 1.5rem 0 1.5rem 1.5rem; }
  .cs__client { font-size: 2.75rem; }
}

/* ---------- Testimonials ---------- */
.testimonials { background-color: var(--surface-warm); padding-block: 6rem; }
.testimonials__nav { margin-bottom: 2rem; display: flex; justify-content: flex-end; gap: 0.5rem; }
.testimonial { display: grid; align-items: center; gap: 3.5rem; max-width: 80rem; margin: 0 auto; }
.testimonial__quote-icon { color: var(--primary); }
.testimonial blockquote {
  margin-top: 2rem;
  font-family: var(--font-display);
  font-size: 1.875rem;
  line-height: 1.375;
}
.testimonial__author { margin-top: 2rem; display: flex; align-items: center; gap: 1rem; }
.testimonial__author > span {
  display: flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background-color: var(--emerald-deep);
  font-family: var(--font-display);
  color: var(--gold-soft);
}
.testimonial__name { font-weight: 600; }
.testimonial__role { font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); }
.testimonial__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background-color: var(--border);
}
.testimonial__stats > div { background-color: var(--background); padding: 2rem; }
.testimonial__stats strong {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  font-weight: inherit;
}
.testimonial__stats p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--muted-foreground);
}
.testimonial__stats .testimonial__note { grid-column: span 2 / span 2; }
@media (min-width: 640px) {
  .testimonial blockquote { font-size: 2.25rem; }
}
@media (min-width: 1024px) {
  .testimonials { padding-block: 8rem; }
  .testimonial { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Pricing ---------- */
.pricing { padding-block: 6rem; }
.pricing__head { margin-inline: auto; max-width: 42rem; text-align: center; }
.pricing__head > p:last-child { margin-top: 1.25rem; color: var(--muted-foreground); }
.pricing__grid { margin-top: 3.5rem; display: grid; gap: 1px; background-color: var(--border); }
.plan { position: relative; background-color: var(--background); padding: 2rem; }
.plan--featured { z-index: 10; box-shadow: 0 0 0 1px var(--primary); }
.plan__badge {
  position: absolute;
  right: 1.25rem;
  top: 1.25rem;
  background-color: var(--primary);
  padding: 0.25rem 0.75rem;
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--primary-foreground);
}
.plan__name {
  font-size: 0.75rem;
  line-height: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted-foreground);
}
.plan__price {
  margin-top: 1.75rem;
  font-family: var(--font-display);
  font-size: 2.25rem;
  line-height: calc(2.5 / 2.25);
}
.plan__line {
  margin-top: 1.25rem;
  min-height: 3.5rem;
  font-size: 0.875rem;
  line-height: 1.5rem;
  color: var(--muted-foreground);
}
.plan__features { margin-block: 2rem; display: grid; gap: 1rem; }
.plan__features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.plan__features .icon { color: var(--primary); }
@media (min-width: 1024px) {
  .pricing { padding-block: 9rem; }
  .pricing__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .plan { padding: 2.5rem; }
}

/* ---------- Founders ---------- */
.founders {
  background-color: var(--hero);
  color: var(--hero-foreground);
  padding-block: 6rem;
}
.founders__head { margin-bottom: 3.5rem; max-width: 42rem; }
.founders__grid { display: grid; gap: 1.25rem; }
.founder {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 620px;
  overflow: hidden;
  border: 1px solid var(--hf-15);
  background-color: var(--hf-5);
  padding: 1.75rem;
}
.founder__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  opacity: .55;
  transition: transform 1.2s var(--ease), opacity .6s var(--ease);
}
/* keep text legible over the poster */
.founder::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--hero) -3%, color-mix(in oklab, var(--hero) 12%, transparent) 54%, color-mix(in oklab, var(--hero) 9%, transparent));
    pointer-events: none;
} 
.founder > *:not(.founder__poster) { z-index: 1; }
.founder:hover .founder__poster { transform: scale(1.04); opacity: .7; }
.founder.is-playing .founder__poster { opacity: .8; }
.founder__glow {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background: radial-gradient(circle at 70% 20%, var(--primary), transparent 35%);
}
.founder__num {
  position: absolute;
  right: 2rem;
  top: 1.75rem;
  font-family: var(--font-display);
  font-size: 6rem;
  line-height: 1;
  opacity: .3;
}
.founder__play {
  position: relative;
  z-index: 1;
  margin-top: 5rem;
  display: flex;
  width: 5rem;
  height: 5rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid var(--gold-soft);
  color: var(--gold-soft);
  transition: transform 150ms var(--ease);
}
.founder__play:hover { transform: scale(1.05); }
.founder__play[hidden], .founder__progress[hidden] { display: none; }
.founder__play + .founder__info { margin-top: 4rem; }
.founder__poster--portrait { object-position: center 42%; }
/* video sits over the poster and fades in while playing */
.founder__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.founder > .founder__video { z-index: 0; }
.founder.is-playing .founder__video { opacity: 1; }
.founder.is-playing::after { opacity: .6; }
.founder__icon-play { margin-left: 0.25rem; }
.founder__icon-pause { display: none; }
.founder.is-playing .founder__icon-play { display: none; }
.founder.is-playing .founder__icon-pause { display: block; }
.pulse-ring {
  position: absolute;
  inset: 0.5rem;
  border-radius: 9999px;
  border: 1px solid color-mix(in oklab, var(--gold-soft) 40%, transparent);
  animation: pulse-ring 2.4s ease-in-out infinite;
}
.founder__info {
  position: relative;
  margin-top: auto;
  border-top: 1px solid var(--hf-15);
  padding-top: 1.5rem;
}
.founder__role {
  font-size: 0.75rem;
  line-height: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--primary);
}
.founder__info h3 {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.875rem;
  line-height: 2.25rem;
}
.founder__links {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--hf-55);
}
.founder__links a, .office__links a { display: flex; align-items: center; gap: 0.5rem; }
/* brand glyphs are solid shapes, not outline icons */
.icon--brand { fill: currentColor; stroke: none; }
.founder__linkedin .icon--brand { color: #0a66c2; background-color: #fff; border-radius: 2px; }
.founder__linkedin:hover .icon--brand { color: #004182; }
.founder__links a:hover, .office__links a:hover { color: var(--gold-soft); }
.founder__progress {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  display: none;
  height: 0.25rem;
  background-color: var(--primary);
}
.founder__progress div { height: 100%; width: 0; background-color: var(--gold-soft); transition: width .25s linear; }
.founder.is-playing .founder__progress { display: block; }
@media (min-width: 768px) {
  .founders__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .founders { padding-block: 8rem; }
  .founder { padding: 2.5rem; }
}

/* ---------- Industries ---------- */
.industries { padding-block: 6rem; }
.industry {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 4 / 5;
  min-height: 24rem;
  overflow: hidden;
  border-radius: 0;
  background-color: var(--hero);
  color: var(--hero-foreground);
  padding: 1.75rem;
}
.industry__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.2s var(--ease), filter .6s var(--ease);
  filter: saturate(.85);
}
/* dark gradient keeps the white text readable on any photo */
.industry::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgb(10 8 6 / .92) 0%, rgb(10 8 6 / .55) 45%, rgb(10 8 6 / .1) 75%),
    linear-gradient(to bottom, rgb(10 8 6 / .45), transparent 30%);
  transition: opacity .6s var(--ease);
}
.industry:hover .industry__img { transform: scale(1.08); filter: saturate(1); }
.industry__num {
  position: absolute;
  left: 1.75rem;
  top: 1.5rem;
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px color-mix(in oklab, var(--hero-foreground) 70%, transparent);
}
.industry__icon {
  display: flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid var(--hf-30);
  background-color: color-mix(in oklab, var(--hero) 45%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--gold-soft);
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.industry:hover .industry__icon { border-color: var(--primary); background-color: var(--primary); color: var(--hero); }
.industry h3 {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-size: 1.875rem;
  line-height: 2.25rem;
}
/* gold rule grows under the title on hover */
.industry h3::after {
  content: "";
  display: block;
  margin-top: 0.75rem;
  width: 2.5rem;
  height: 1px;
  background-color: var(--gold-soft);
  transform-origin: left;
  transition: width .5s var(--ease);
}
.industry:hover h3::after { width: 5rem; }
.industry p {
  margin-top: 0.75rem;
  max-width: 18rem;
  font-size: 0.9375rem;
  line-height: 1.5rem;
  color: var(--hf-72);
}
.industry-progress {
  position: relative;
  margin-top: 2.5rem;
  height: 2px;
  overflow: hidden;
  background-color: var(--border);
}
.industry-progress span {
  position: absolute;
  inset: 0;
  background-color: var(--primary-ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  .industry__img, .industry h3::after, .industry-progress span { transition: none; }
}
@media (min-width: 1024px) { .industries { padding-block: 8rem; } }

/* ---------- Contact ---------- */
.contact {
  background-color: var(--emerald-deep);
  color: var(--hero-foreground);
  padding-block: 6rem;
}
.contact__grid { display: grid; gap: 3.5rem; }
.contact__title {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1.25;
}
.contact__text { margin-top: 1.5rem; max-width: 28rem; line-height: 1.75rem; color: var(--hf-65); }
.contact__email {
  margin-top: 2.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
  color: var(--gold-soft);
}
.contact__form { display: grid; gap: 1.5rem; }
.contact__form label {
  font-size: 0.75rem;
  line-height: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.contact__form input,
.contact__form textarea {
  margin-top: 0.75rem;
  width: 100%;
  border: 1px solid var(--hf-30);
  background: transparent;
  padding: 0.75rem;
  font-size: 1rem;
  line-height: 1.5rem;
  text-transform: none;
  letter-spacing: normal;
  outline: none;
}
/* .contact__form textarea { resize: none; } */
.contact__form input:focus,
.contact__form textarea:focus { border-color: var(--gold-soft); }
.contact__submit {
  margin-top: 0.75rem;
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--primary);
  padding-inline: 1.75rem;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--primary-foreground);
  transition: background-color 150ms var(--ease);
}
.contact__submit:hover { background-color: var(--gold-soft); }
.contact__submit[disabled] { opacity: .7; cursor: progress; }
/* off-screen honeypot (not display:none, which some bots detect) */
.contact__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact__status { grid-column: 1 / -1; font-size: 0.9375rem; line-height: 1.5rem; }
.contact__status:empty { display: none; }
.contact__status.is-success { color: var(--gold-soft); }
.contact__status.is-error { color: oklch(0.8 0.12 30); }
@media (min-width: 640px) {
  .contact__form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact__full { grid-column: span 2 / span 2; }
  .contact__submit { grid-column: span 2 / span 2; justify-self: start; }
}
@media (min-width: 1024px) {
  .contact { padding-block: 8rem; }
  .contact__grid { grid-template-columns: .8fr 1.2fr; }
}

/* ---------- Offices ---------- */
.offices {
  background-color: var(--hero);
  color: var(--hero-foreground);
  padding-block: 5rem;
}
.offices__card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--hf-15);
  background:
    radial-gradient(40rem 24rem at 0% 0%, color-mix(in oklab, var(--primary) 14%, transparent), transparent 70%),
    var(--hf-4);
}
.office { padding: 2.5rem 1.5rem; }
.office__title em { font-style: italic; color: var(--gold-soft); }
.office__lead {
  margin-top: 1rem;
  max-width: 24rem;
  font-size: 0.9375rem;
  line-height: 1.75rem;
  color: var(--hf-55);
}
.office__location {
  margin-top: 2.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--hf-10);
  padding-top: 2rem;
}
.office__flag {
  display: flex;
  flex-shrink: 0;
  width: 3.25rem;
  height: 3.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  border: 1px solid var(--hf-20);
  background-color: var(--hf-5);
  font-size: 1.625rem;
  line-height: 1;
}
.office__flag svg { border-radius: 3px; }
.office h3 { font-family: var(--font-display); font-size: 1.375rem; line-height: 1.75rem; }
.office address {
  margin-top: 0.125rem;
  font-style: normal;
  font-size: 0.875rem;
  line-height: 1.5rem;
  color: var(--hf-55);
}
.office__links { margin-top: 1.5rem; display: grid; gap: 0.75rem; }
.office__links a {
  gap: 1rem;
  border: 1px solid var(--hf-10);
  border-radius: 0;
  background-color: var(--hf-4);
  padding: 0.875rem 1.125rem 0.875rem 0.875rem;
  font-size: 0.9375rem;
  line-height: 1.25rem;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.office__links a > span:nth-child(2) { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.office__links small {
  display: block;
  margin-bottom: 0.125rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hf-60);
}
.office__icon {
  display: flex;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  background-color: color-mix(in oklab, var(--primary) 16%, transparent);
  color: var(--gold-soft);
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.office__arrow { color: var(--hf-35); transition: transform .3s var(--ease), color .3s var(--ease); }
.office__links a:hover {
  color: inherit;
  border-color: color-mix(in oklab, var(--primary) 50%, transparent);
  background-color: var(--hf-5);
}
.office__links a:hover .office__icon { background-color: var(--primary); color: var(--hero); }
.office__links a:hover .office__arrow { color: var(--gold-soft); transform: translateX(0.25rem); }
.office__directions {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  border-radius: 0;
  background-color: var(--primary);
  padding: 0.875rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-foreground);
  transition: background-color .3s var(--ease);
}
.office__directions:hover { background-color: var(--gold-soft); }

.hq_map {
  position: relative;
  min-height: 20rem;
  border-top: 1px solid var(--hf-10);
}
.hq_map iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  /* tint the map to sit in the dark theme; full colour on hover */
  filter: grayscale(1) invert(.92) contrast(.9) brightness(.95);
  transition: filter .6s var(--ease);
}
.hq_map:hover iframe { filter: none; }
.hq_map__label {
  position: absolute;
  left: 1rem;
  bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--hf-15);
  border-radius: 9999px;
  background-color: color-mix(in oklab, var(--hero) 82%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.625rem 1.125rem 0.625rem 0.875rem;
  pointer-events: none;
}
.hq_map__label strong { display: block; font-size: 0.8125rem; line-height: 1.1rem; }
.hq_map__label span { font-size: 0.6875rem; color: var(--hf-55); }
.hq_map__dot {
  position: relative;
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 9999px;
  background-color: var(--primary);
}
.hq_map__dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-color: var(--primary);
  animation: hq-ping 2s var(--ease) infinite;
}
@keyframes hq-ping { 75%, 100% { transform: scale(2.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hq_map__dot::after { animation: none; } }

@media (max-width: 420px) {
  .office__links a { gap: 0.75rem; font-size: 0.8125rem; }
}
@media (min-width: 768px) {
  .office { padding: 3rem; }
}
@media (min-width: 1024px) {
  .offices { padding-block: 7rem; }
  .offices__card { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
  .office { padding: 3.5rem; }
  .hq_map { min-height: 100%; border-top: 0; border-left: 1px solid var(--hf-10); }
}

/* ---------- WhatsApp floating button ---------- */
.whatsapp {
  position: fixed;
  z-index: 60;
  right: 1.25rem;
  bottom: 1.25rem;
  display: flex;
  width: 3.5rem;
  height: 3.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background-color: #25d366;
  color: #fff;
  box-shadow: 0 12px 28px -10px rgb(37 211 102 / .6), 0 4px 12px rgb(0 0 0 / .25);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.whatsapp::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-color: #25d366;
  z-index: -1;
  animation: wa-pulse 2.4s var(--ease) infinite;
}
.whatsapp__icon { fill: currentColor; }
.whatsapp:hover { transform: translateY(-3px) scale(1.05); }
.whatsapp__tip {
  position: absolute;
  right: calc(100% + 0.75rem);
  white-space: nowrap;
  border-radius: 9999px;
  background-color: var(--hero);
  padding: 0.5rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--hero-foreground);
  opacity: 0;
  transform: translateX(0.5rem);
  pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.whatsapp:hover .whatsapp__tip, .whatsapp:focus-visible .whatsapp__tip { opacity: 1; transform: none; }
@keyframes wa-pulse { 70%, 100% { transform: scale(1.5); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .whatsapp::before { animation: none; } }
@media (min-width: 1024px) { .whatsapp { right: 2rem; bottom: 2rem; width: 3.75rem; height: 3.75rem; } }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--hf-15);
  background-color: var(--hero);
  color: var(--hero-foreground);
}
.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: 1.5rem;
  text-align: center;
}
.site-footer__inner > p { font-size: 0.75rem; line-height: 1rem; color: var(--hf-65); }

/* Back to top: floats beside the WhatsApp button once the visitor nears the bottom */
.site-footer__top {
  position: fixed;
  z-index: 60;
  right: calc(1.25rem + 3.5rem + 0.75rem);
  bottom: calc(1.25rem + (3.5rem - 3rem) / 2);
  display: flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in oklab, var(--gold-soft) 55%, transparent);
  border-radius: 0;
  background-color: color-mix(in oklab, var(--hero) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--gold-soft);
  box-shadow: 0 10px 24px -12px rgb(0 0 0 / .6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(1rem);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s .35s,
              background-color .3s var(--ease), color .3s var(--ease);
}
.site-footer__top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}
.site-footer__top:hover { background-color: var(--primary); color: var(--hero); }
.site-footer__top.is-visible:hover { transform: translateY(-3px); }
.founder__bio {
    font-size: 14px;
    line-height: 1.6;
    margin-top: 16px;
    color: var(--hf-55);
}
.founder__cta-head {
    font-size: 2rem;
}

.founder__cta-text-wrap {max-width: 35rem;}

.founder__cta-text {
    margin-top: 1rem;
    font-size: 1.2rem;
    color: var(--hf-65);
}

.founders__cta {
    margin-top: 5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 65rem;
    margin: 5rem auto 0;
    column-gap: 4rem;
    row-gap: 2rem;
    flex-wrap: wrap;
}

.founder__cta-btns {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.founders__head {
    max-width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    column-gap: 1rem;
    flex-wrap: wrap;
    row-gap: 0.5rem;
}

.founders__intro {
    font-size: 1.2rem;
    color: var(--primary);
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 12px;
}

.founders__intro::before {
    content: '';
    width: 2.5rem;
    height: 1px;
    background: var(--primary);
    display: inline-block;
}
@media (min-width: 1024px) {
  .site-footer__top {
    right: calc(2rem + 3.75rem + 0.875rem);
    bottom: calc(2rem + (3.75rem - 3rem) / 2);
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-footer__top, .site-footer__top.is-visible { transform: none; }
}

/* ---------- Animations ---------- */
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pulse-ring { 50% { transform: scale(1.12); opacity: .35; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .logos__track, .pulse-ring { animation: none; }
  /* no marquee: show every logo once, wrapped and centred */
  .logos { -webkit-mask-image: none; mask-image: none; }
  .logos__track { width: auto; flex-wrap: wrap; justify-content: center; row-gap: 1rem; }
  .logos__track li[aria-hidden="true"] { display: none; }
  .editorial-image { clip-path: inset(0); transition: none; }
  .cs__frame, .cs__frame img, .cs__dot, .cs__tip, .cs__panel, .journey__item::before { transition: none; }
  .cs__dot::after { animation: none; }
}
