/* generated by seo/build-seo.js from about-sections.css about-page.css hero-card.css sound.css projects.css project-detail.css pages.css services.css corners.css page2.css to-top.css showcase.css — do not edit this file */
/* ── about-sections.css ── */
/* ─────────────────────────────────────────────────────────────
   About page sections: About Us / Our Strengths / Team
   Injected into #about-page right after the "FROM US." hero.
   Sizes use --r (desktop: 0.625vw) so the layout scales with width.
   ───────────────────────────────────────────────────────────── */

/* Scrollable layer between "Unforgettable memories…" (z 50) and the About page (z 70).
   It sits above the man step (z 60–61) so the hand-off to it is invisible. */
#ik-stage {
  position: fixed;
  inset: 0;
  z-index: 65;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  visibility: hidden;
  opacity: 0;
  scrollbar-width: none;
}
#ik-stage::-webkit-scrollbar { display: none; }

#ik-about {
  --r: 0.625vw;
  --ik-light-bg: #f5f5f5;
  --ik-dark-bg: #202020;
  --ik-ink: #363636;
  --ik-line: #cdcdcd;
  position: relative;
  z-index: 2;
  width: 100%;
  flex-shrink: 0;
  font-family: 'Inter Tight', 'Space Grotesk', sans-serif;
  -webkit-font-smoothing: antialiased;
}
:where(#ik-about) *, :where(#ik-about) *::before, :where(#ik-about) *::after { box-sizing: border-box; margin: 0; padding: 0; }
:where(#ik-about) img { display: block; width: 100%; height: 100%; object-fit: cover; max-width: none; }
/* Black & white photography, like the reference */
#ik-about img { filter: grayscale(1) contrast(1.05); }

/* ── Last screen (outro): [word] [portrait] [word], like victorfuruya.com ── */
.ik-outro {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: #fff;
  color: #2f2f2f;
}
.ik-outro-row {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 3rem);
  padding: 2rem;
  pointer-events: none;
  font-family: 'Satoshi', 'Inter Tight', sans-serif;
}
.ik-outro-word {
  flex: 1 1 0%;
  display: flex;
  align-items: center;
  font-size: clamp(2.5rem, 20vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  white-space: nowrap;
  color: #2f2f2f;
}
.ik-outro-left  { justify-content: flex-end; text-align: right; }
.ik-outro-right { justify-content: flex-start; text-align: left; }
.ik-outro-middle {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  flex: none;
  z-index: 10;
  color: #fff;
}
.ik-br { display: inline-block; position: relative; background-color: #2f2f2f; }

/* Portrait card (also used while it grows and inside the About page) */
.ik-outro-card {
  position: relative;
  flex: none;
  width: clamp(360px, 25vw, 460px);
  aspect-ratio: 368 / 527;
  overflow: hidden;
  background-color: #eee;
  clip-path: polygon(0% 100%, 100% 100%, 100% 100%, 0% 100%);
}
.ik-outro-card img,
#ik-about .ik-outro-card img {
  position: absolute;
  top: 0;
  left: -5%;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 55%;
  transform: scale(1.25);
  filter: none;
}
.ik-outro-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 1.5s;
  pointer-events: none;
}
.ik-outro-card.with-filter::after { opacity: 1; }

#ik-grow-layer {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: #fff;
  pointer-events: none;
}
#ik-grow-layer .ik-outro-row { font-family: 'Satoshi', 'Inter Tight', sans-serif; }

/* About page opened from the outro: the grown portrait is its background */
#about-page.ik-grown { background: #000; }
#about-page.ik-grown #about-hero-section,
#about-page.ik-grown #about-sections { position: relative; z-index: 1; }

@media (max-width: 850px) {
  .ik-outro-row { flex-direction: column; gap: 1.5rem; }
  .ik-outro-card { width: clamp(200px, 60vw, 300px); }
  .ik-outro-word { flex: 0 0 auto; text-align: center; white-space: normal; }
}
@media (max-width: 600px) {
  .ik-outro-row { padding: 1.5rem; gap: 1.25rem; }
  .ik-outro-card { width: clamp(12.5rem, 70vw, 18rem); }
  .ik-outro-word { font-size: clamp(1.75rem, 10vw, 2.5rem); }
}

.ik-light { background: var(--ik-light-bg); color: var(--ik-ink); }

/* Keep the white fixed navbar readable over the light sections */
body.about-open #sl-navbar,
body.ik-stage-open #sl-navbar { mix-blend-mode: difference; }
.ik-dark  { background: var(--ik-dark-bg);  color: #fff; }

/* ── Typography ── */
.ik-h1 {
  font-size: calc(17 * var(--r));
  font-weight: 400;
  line-height: 90%;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ik-medium {
  font-size: calc(4.5 * var(--r));
  font-weight: 500;
  line-height: 110%;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.ik-body {
  font-size: calc(1.6 * var(--r));
  font-weight: 500;
  line-height: 135%;
}
.ik-caps {
  font-size: calc(1.6 * var(--r));
  font-weight: 500;
  line-height: 130%;
  text-transform: uppercase;
}
.ik-t2 {
  font-size: calc(2.3 * var(--r));
  font-weight: 500;
  line-height: 117%;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.ik-num {
  font-size: calc(14.5 * var(--r));
  font-weight: 400;
  line-height: 90%;
  letter-spacing: -0.04em;
}

/* Split-line reveal (built by JS) */
.ik-line-mask { display: block; overflow: hidden; }
.ik-line-inner { display: inline-block; transform-origin: 0 100%; will-change: transform; }

/* ── 1. About Us (cover) ── */
.ik-cover {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: calc(14 * var(--r)) calc(1.5 * var(--r)) 0;
}
.ik-cover-media {
  position: sticky;
  top: calc(14 * var(--r));
  align-self: start;
}
.ik-cover-img {
  width: calc(32.7 * var(--r));
  height: calc(38 * var(--r));
  overflow: hidden;
}
.ik-cover-main {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 17 * var(--r));
}
.ik-cover-text {
  display: flex;
  flex-direction: column;
  row-gap: calc(6.5 * var(--r));
  margin-top: calc(4 * var(--r));
  padding-left: calc(1.5 * var(--r));
  border-left: 1px solid var(--ik-line);
}
.ik-cover-text .ik-body { width: calc(53.4 * var(--r)); }
.ik-person { display: flex; flex-direction: column; }
.ik-strengths-head {
  display: flex;
  flex-direction: column;
  row-gap: calc(1 * var(--r));
  width: calc(63 * var(--r));
  margin-top: auto;
  padding-top: calc(8 * var(--r));
}

/* ── 2. Our Strengths ── */
.ik-benefits { padding: calc(6.5 * var(--r)) calc(1.5 * var(--r)) calc(4 * var(--r)); }
.ik-grid4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: calc(3 * var(--r)) calc(1 * var(--r));
}
.ik-card {
  position: relative;
  display: flex;
  flex-direction: column;
  row-gap: calc(1.5 * var(--r));
  padding-top: calc(1 * var(--r));
}
.ik-card:nth-child(1) { grid-area: 1 / 2; }
.ik-card:nth-child(2) { grid-area: 2 / 1; }
.ik-card:nth-child(3) { grid-area: 2 / 3; }
.ik-card:nth-child(4) { grid-area: 3 / 4; }
.ik-card-inner { display: flex; flex-direction: column; row-gap: calc(1 * var(--r)); }
.ik-rule {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: var(--ik-line);
}

/* ── Services: floating cards (tks.world "Skills for the Future") ── */
.ik-skills {
  position: relative;
  height: 250vh;
  margin-bottom: -100vh;
  color: #17191a;
}
.ik-skills-cards {
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 2;
  pointer-events: none;
}
.ik-skill-card {
  position: absolute;
  inset: 0 auto auto 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  width: calc(22 * var(--r));
  min-width: calc(22 * var(--r));
  height: calc(22 * var(--r));
  padding: calc(2 * var(--r));
  background: #fff;
  border-radius: calc(0.4 * var(--r));
  pointer-events: auto;
  will-change: transform;
}
.ik-s1 { margin-top: calc(7 * var(--r)); margin-left: calc(12 * var(--r)); }
.ik-s2 { margin-top: calc(3 * var(--r)); left: 42vw; }
.ik-s3 { inset: 0 0 auto auto; margin-top: calc(12 * var(--r)); margin-right: calc(4 * var(--r)); }
.ik-s4 { inset: auto auto 0 0; margin-bottom: calc(10 * var(--r)); margin-left: calc(3 * var(--r)); }
.ik-s5 { inset: auto auto 0 36vw; margin-bottom: calc(5 * var(--r)); }
.ik-s6 { inset: auto 0 0 auto; margin-bottom: calc(12 * var(--r)); margin-right: calc(16 * var(--r)); }
.ik-skill-icon {
  width: calc(1.8 * var(--r));
  min-width: calc(1.8 * var(--r));
  height: auto;
  overflow: visible;
}
.ik-skill-icon rect { fill: none; stroke: #52b043; stroke-width: 1; }
.ik-skill-name {
  font-size: calc(2.4 * var(--r));
  font-weight: 500;
  line-height: 1.2;
}
.ik-skills-text-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 50vh;
  width: 100%;
  height: 250vh;
  margin-top: -70vh;
}
.ik-skills-text-line {
  position: sticky;
  top: 30vh;
  max-width: calc(90 * var(--r));
  text-align: center;
  overflow: hidden;
}
.ik-skills-title {
  font-size: calc(15 * var(--r));
  font-weight: 500;
  line-height: 0.8;
  letter-spacing: -0.02em;
  margin-bottom: calc(3.2 * var(--r));
}
.ik-skills-title .ik-line-inner { display: block; transform-origin: 0 0; }
/* Team section slides over the cards, like the reference */
.ik-dark { position: relative; z-index: 3; }

/* ── 3. Team (pinned horizontal scroll + zoom-out) ── */
.ik-team-trigger { position: relative; height: 1000vh; }
.ik-team-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}
.ik-team-strip {
  display: flex;
  height: 100vh;
  width: max-content;
  will-change: transform;
}
.ik-team-heading {
  height: 100vh;
  display: flex;
  align-items: center;
  font-size: 133vh;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.1);
  padding-right: 2vw;
  user-select: none;
}
.ik-team-heading span { display: block; transform: translateY(1.5%); }
.ik-team-screen-wrp { position: relative; width: 100vw; height: 100vh; flex-shrink: 0; }
.ik-team-screen {
  position: absolute;
  inset: 0;
  will-change: transform;
}
.ik-team-col {
  position: absolute;
  top: 0;
  width: 100vw;
  display: flex;
  column-gap: calc(4 * var(--r));
  padding: calc(1.5 * var(--r)) calc(2 * var(--r));
}
.ik-col-left   { left: -100vw; opacity: 0; }
.ik-col-center { left: 0; }
.ik-col-right  { left: 100vw; }
.ik-team-row2 {
  position: absolute;
  left: 50%;
  top: calc(100vh + 20 * var(--r));
  transform: translateX(-50%);
  display: flex;
  column-gap: calc(4 * var(--r));
}
.ik-team-row2 .ik-member { width: calc(50vw - 4 * var(--r)); flex-shrink: 0; }

.ik-member {
  display: flex;
  flex-direction: column;
  width: 50%;
  height: calc(11.46 * var(--r) + 100vh);
}
.ik-member-img { flex: 1; min-height: 0; overflow: hidden; }
.ik-member-img img { transition: transform 0.6s cubic-bezier(0.3, 0.7, 0.05, 1); }
.ik-member:hover .ik-member-img img { transform: scale(1.04); }
.ik-member-text { display: flex; flex-direction: column; padding-top: calc(1.5 * var(--r)); }
.ik-member-text .ik-caps + .ik-caps { opacity: 0.45; }

/* Static team grid (tablet / mobile) */
.ik-team-mobile { display: none; }

/* ── Group photo ── */
.ik-photo { padding: 0 calc(1.5 * var(--r)) calc(13 * var(--r)); }
.ik-photo-block { position: relative; display: flex; flex-direction: column; row-gap: calc(1.5 * var(--r)); }
.ik-photo-loop {
  position: absolute;
  left: 50%;
  top: 0;
  width: calc(88.8 * var(--r));
  height: calc(88.8 * var(--r));
  transform: translate(-50%, 0) scaleX(-1);
  pointer-events: none;
}
.ik-photo-loop path {
  fill: none;
  stroke: #fff;
  stroke-width: 1px;
  vector-effect: non-scaling-stroke;
  opacity: 0.5;
}
.ik-photo-img {
  position: relative;
  width: 100%;
  aspect-ratio: 990 / 707;
  overflow: hidden;
  transform: scale(0.3);
  transform-origin: 50% 50%;
}
.ik-photo-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: calc(1 * var(--r));
  text-align: center;
}
.ik-photo-text .ik-medium { width: calc(108 * var(--r)); }
.ik-photo-text .ik-body { width: calc(58 * var(--r)); opacity: 0.87; }

/* ── Tablet & mobile (matches the reference site's < 992px layout) ── */
@media (max-width: 991px) {
  #ik-about { --r: 1.25vw; }
  .ik-cover { grid-template-columns: 1fr; padding-top: 8rem; padding-left: 1.5rem; padding-right: 1.5rem; }
  .ik-cover-media { position: relative; top: auto; order: 2; margin-top: 3rem; }
  .ik-cover-img { width: 100%; height: auto; aspect-ratio: 36 / 41.8; max-width: 420px; }
  .ik-cover-main { min-height: 0; display: contents; }
  .ik-h1 { order: 1; font-size: clamp(3rem, 15vw, 9rem); }
  .ik-cover-text { order: 3; margin-top: 2rem; row-gap: 3rem; }
  .ik-cover-text .ik-body { width: 100%; }
  .ik-strengths-head { order: 4; width: 100%; padding-top: 6rem; }
  .ik-body, .ik-caps { font-size: clamp(0.85rem, 3.6vw, 1rem); }
  .ik-medium { font-size: clamp(1.4rem, 6.5vw, 2.6rem); }
  .ik-t2 { font-size: clamp(1rem, 4.2vw, 1.4rem); }
  .ik-num { font-size: clamp(4rem, 20vw, 8rem); }

  .ik-benefits { padding: 5rem 1.5rem 8rem; }
  .ik-grid4 { grid-template-columns: 1fr 1fr; gap: 5rem 1rem; }
  .ik-card:nth-child(n) { grid-area: auto; }

  .ik-team-trigger { display: none; }
  .ik-team-mobile { display: flex; flex-direction: column; row-gap: 3rem; padding: 8rem 1.5rem 6rem; }
  .ik-team-mobile-title { font-size: clamp(4rem, 22vw, 10rem); font-weight: 500; line-height: 0.9; text-transform: uppercase; letter-spacing: -0.04em; opacity: 0.45; }
  .ik-team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem 1rem; }
  .ik-team-grid .ik-member { width: 100%; height: auto; }
  .ik-team-grid .ik-member-img { flex: none; aspect-ratio: 3 / 4; }
  .ik-member-text { padding-top: 0.6rem; }

  .ik-photo { padding: 0 1.5rem 8rem; }
  .ik-photo-loop { width: 90vw; height: 90vw; }
  .ik-photo-text .ik-medium, .ik-photo-text .ik-body { width: 100%; }
}
@media (max-width: 991px) {
  .ik-skill-name { font-size: clamp(0.85rem, 3vw, 1.1rem); }
  .ik-skill-card { width: clamp(8.5rem, 26vw, 12rem); min-width: 0; height: clamp(8.5rem, 26vw, 12rem); padding: 0.9rem; }
  .ik-skill-icon { width: 0.8rem; min-width: 0.8rem; }
  .ik-skills-title { font-size: clamp(3rem, 12vw, 7rem); }
  .ik-s1 { margin-left: 1rem; } .ik-s3 { margin-right: 1rem; } .ik-s4 { margin-left: 1rem; } .ik-s6 { margin-right: 1rem; }
  .ik-s5 { left: 32vw; }
}
@media (max-width: 600px) {
  .ik-grid4 { display: flex; flex-direction: column; row-gap: 4rem; }
  .ik-team-grid { grid-template-columns: 1fr 1fr; }
}

/* The group photo at the end stays in full colour */
#ik-about .ik-photo-img img { filter: none; }

/* "Work" cards are links to their case studies */
a.ik-member { color: inherit; text-decoration: none; cursor: pointer; }
.ik-member-img img { width: 100%; height: 100%; object-fit: cover; }
/* "Work" cards: black-and-white like the rest of this page, full colour on hover;
   on touch screens (no hover) they are shown in colour */
#ik-about .ik-member-img img { transition: transform 0.6s cubic-bezier(0.3, 0.7, 0.05, 1), filter 0.6s ease; }
#ik-about .ik-member:hover .ik-member-img img { filter: none; }
@media (hover: none) { #ik-about .ik-member-img img { filter: none; } }
/* ── about-page.css ── */
/* About page — same layout as victorfuruya.com/about (classes prefixed vf-) */

/* When the new About is mounted, the bundle's old About content is hidden */
#about-page.vf-mounted > :not(#vf-about) { display: none !important; }
#about-page.vf-mounted { background: #000; scroll-behavior: auto; }

#vf-about {
  position: relative;
  width: 100%;
  flex-shrink: 0;
  font-family: 'Satoshi', 'Inter Tight', sans-serif;
  color: #2f2f2f;
  -webkit-font-smoothing: antialiased;
}
#vf-about h2, #vf-about p { margin: 0; }

/* Block-reveal pieces */
.vf-word {
  display: inline-block;
  position: relative;
  overflow: hidden;
  vertical-align: baseline;
  padding: 0 0.1158em 0.1em;
  margin: 0 -0.1158em -0.1em;
}
.vf-word--open { overflow: visible; padding-bottom: 0; margin-bottom: 0; }
.vf-br { display: inline-block; position: relative; }
.vf-br > span, .vf-word > span { display: inline-block; }

/* ── 1. Hero ── */
.vf-about-section {
  position: relative;
  width: 100%;
  height: 310vh;
  background: #fff;
  overflow: visible;
}
.vf-img-block { overflow: hidden; }
.vf-img-block img { will-change: transform; }

.vf-collapse-wrapper {
  position: fixed;
  left: 0;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 0.5rem;
  pointer-events: none;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
}
.vf-collapse-text { flex: 1 1 0%; position: relative; will-change: transform; }
.vf-collapse-text:first-child { display: flex; justify-content: flex-end; }
.vf-collapse-text p {
  font-size: 5rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.2rem;
  white-space: nowrap;
}

.vf-content-wrapper {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: var(--vfh, 100vh);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.vf-additional {
  position: absolute;
  top: 30vh; left: 0;
  width: 100%;
  height: 160vh;
  z-index: 20;
  color: #fff;
  display: flex;
  padding: 0 4%;
}
.vf-col { height: 100%; display: flex; flex-direction: column; }
.vf-col.vf-left { flex: 0 0 47%; }
.vf-col.vf-right { flex: 0 0 53%; justify-content: flex-start; padding-top: 30vh; }
.vf-info {
  --info-left: clamp(30%, 30% + (47% - 30%) * ((100vw - 850px) / (1920 - 850)), 47%);
  position: relative;
  left: var(--info-left);
  width: 84%;
}
.vf-info.vf-drive { margin-top: 8vh; }
.vf-desc {
  font-size: 2.2rem;
  font-weight: 400;   /* "Who we are." / "What drives us." paragraphs: regular, not bold */
  line-height: 1.05;
  letter-spacing: -0.05em;
}
.vf-label {
  display: inline-block;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.05;
  margin-right: 0.5rem;
  vertical-align: baseline;
  letter-spacing: 0.0001em;
  transform: translateY(-0.2em);
}
.vf-label-who { width: 90px; }
.vf-label-drive { width: 135px; }

/* ── 2. Areas of focus ── */
.vf-spotlight {
  position: relative;
  width: 100vw;
  height: var(--vfh, 100vh);
  overflow: hidden;
  background: #000;
  z-index: 2;
}
.vf-spot-titles-container { position: absolute; inset: 0; overflow: hidden; }
.vf-spot-titles {
  position: relative;
  left: 46vw;
  width: fit-content;
  display: flex;
  flex-direction: column;
  gap: clamp(0.25rem, 1vh, 0.5rem);
  z-index: 2;
}
.vf-spot-label {
  color: #939393;
  font-size: 16px;
  letter-spacing: -0.02em;
  font-weight: 500;
  margin-bottom: -0.5rem;
}
.vf-spot-titles h2 {
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: -0.05em;
  line-height: 1;
}
.vf-spot-images {
  position: absolute;
  top: 50%;
  left: 30vw;
  transform: translate(-50%, -50%);
  width: clamp(200px, 25vw, 400px);
  aspect-ratio: 270 / 153;
  z-index: 1;
  pointer-events: none;
  clip-path: inset(100% 0 0 0);
  transition: clip-path 0.6s cubic-bezier(0.76, 0, 0.24, 1);
}
.vf-spot-images.active { clip-path: inset(0 0 0 0); }
.vf-spot-img { position: absolute; inset: 0; }
.vf-spot-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── 3. Core values ── */
.vf-core {
  position: relative;
  width: 100vw;
  height: var(--vfh, 100vh);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -90vh;
  z-index: 5;
  isolation: isolate;
}
.vf-core-pinned {
  position: absolute;
  top: 50%;
  left: 20vw;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  pointer-events: none;
}
.vf-core-label { color: #fff; font-size: 15px; font-weight: 500; margin-bottom: -0.05rem; letter-spacing: -0.02em; }
.vf-core-title {
  font-size: clamp(4rem, 8vw, 12rem);
  font-weight: 700;
  color: #939393;
  line-height: 0.8;
  letter-spacing: -0.05em;
}
.vf-core-list-container { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.vf-core-list {
  position: relative;
  left: 46vw;
  width: 40vw;
  font-size: clamp(2rem, 3vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.05em;
  z-index: 2;
}
.vf-core-item { color: #fff; opacity: 0; transition: opacity 0.3s; }

/* ── 4. Footer ── */
.vf-footer {
  position: relative;
  width: 100vw;
  height: var(--vfh, 100vh);
  background: #000;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  clip-path: inset(100% 0 0 0);
  margin-top: calc(-1 * var(--vfh, 100vh));
  visibility: hidden;
}
.vf-footer-img {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: var(--vfh, 100vh);
  overflow: hidden;
  z-index: 1;
}
.vf-footer-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; transform: scale(1.2); display: block; }
.vf-footer-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 3rem);
  z-index: 2;
  pointer-events: none;
}
.vf-footer-spacer { width: clamp(360px, 25vw, 460px); aspect-ratio: 368 / 527; flex-shrink: 0; }
.vf-footer-text { flex: 1 1 0%; display: flex; flex-direction: column; gap: 0.1rem; opacity: 0; }
.vf-footer-left { align-items: flex-end; text-align: right; }
.vf-footer-right { align-items: flex-start; text-align: left; }
.vf-footer-label { font-size: 14px; font-weight: 500; color: #939393; letter-spacing: -0.02em; }
.vf-footer-name, .vf-footer-socials {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  white-space: nowrap;
  line-height: 1;
  color: #2f2f2f;
  display: flex;
}
.vf-social { color: inherit; text-decoration: none; display: inline-flex; pointer-events: auto; transition: opacity 0.3s ease; cursor: pointer; }
.vf-social + .vf-social { margin-left: 2rem; }
.vf-footer-copyright {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  color: #939393;
  opacity: 0;
  z-index: 3;
}

/* ── Tablet / mobile (same breakpoints as the reference) ── */
@media (max-width: 850px) {
  .vf-collapse-text p { font-size: 3.3rem; }
  .vf-additional { padding: 1.5rem; flex-direction: column; gap: 4rem; height: auto; }
  .vf-col.vf-left { display: none; }
  .vf-col.vf-right { padding-top: 20vh; }
  .vf-info { left: 0; width: 100%; }
  /* phones: name, then the socials, then the copyright on its own line — nothing overlaps */
  .vf-footer-content { flex-direction: column; gap: 1.6rem; justify-content: flex-end; align-items: flex-start; padding: 1.25rem 1.25rem 3.6rem; }
  .vf-footer-spacer { display: none; }
  .vf-footer-left, .vf-footer-right { align-items: flex-start; text-align: left; flex: 0 0 auto; }
  .vf-footer-name, .vf-footer-socials { font-size: clamp(2rem, 9vw, 2.6rem); }
  .vf-footer-copyright { left: 1.25rem; right: 1.25rem; bottom: 1.1rem; font-size: 12px; line-height: 1.4; }
}
@media (max-width: 768px) {
  .vf-spot-titles { left: 5vw; }
  .vf-spot-titles h2 { font-size: 3rem; }
  .vf-spot-images { position: fixed; top: 6rem; left: 5vw; transform: none; width: 90vw; max-width: 460px; z-index: 10; border-radius: 10px; overflow: hidden; }   /* phones: a wide picture under the navbar, the item in focus sits below it */
  .vf-core-pinned { left: 5vw; top: 4.5rem; transform: none; flex-direction: row; align-items: baseline; gap: 0.3rem; }
  .vf-core-title { font-size: 15px; color: #fff; font-weight: 700; line-height: 1; }
  .vf-core-label { color: #939393; }
  .vf-core-list { font-size: 2.5rem; left: 5vw; width: 90vw; padding-bottom: 15vh; }
}
@media (max-width: 600px) {
  .vf-collapse-wrapper { gap: 0.25rem; }
  .vf-collapse-text p { font-size: clamp(2rem, 10vw, 2.5rem); letter-spacing: -0.1rem; }
  .vf-additional { padding: 1rem; gap: 3rem; }
  .vf-desc { font-size: 2rem; }
  .vf-spot-titles h2 { font-size: clamp(2.5rem, 8vw, 4rem); }

}

/* --vfh = the height you can actually see (set in about-page.js). On phones CSS 100vh is taller than the visible
   screen while the browser bar shows, which pushed the footer reveal out of reach. */
/* ── hero-card.css ── */
/* Hero black card — layout copied from the victorfuruya.com hero card */

/* The bundle's original panel text is replaced by #sl-card-text */
#panel-content { visibility: hidden !important; }

#sl-card-text {
  position: absolute;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  container-type: inline-size;
  color: #fff;
  font-family: 'Satoshi', 'Inter Tight', sans-serif;
  pointer-events: none;
  z-index: 2;
}
#sl-card-text p, #sl-card-text h2 { margin: 0; }
.slc-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}
.slc-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-top: auto;
}
.slc-label {
  font-size: clamp(0.5rem, 6cqi, 0.95rem);
  font-weight: 500;
  line-height: 1;
  color: #808080;
  margin: 0 0 0.3em 0.3em !important;
}
.slc-bottom .slc-label { margin-bottom: -0.25rem !important; z-index: 1; position: relative; }
.slc-title {
  font-size: clamp(2.5rem, 24cqi, 6rem);
  font-weight: 650;
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: #fff;
}
.slc-big {
  font-size: clamp(3.5rem, 38cqi, 9rem);
  font-weight: 650;
  line-height: 0.85;
  letter-spacing: -0.035em;
  color: #fff;
  white-space: nowrap;
}

/* Block-reveal pieces (start hidden) */
.slc-br {
  display: inline-flex;
  position: relative;
  white-space: pre;
  line-height: 1;
  opacity: 0;
}
.slc-br > span { position: relative; display: inline-block; opacity: 0; }

/* "Scroll Down" — bottom-right of the screen, like the reference */
#sl-scroll-down {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  margin: 0;
  font-family: 'Satoshi', 'Inter Tight', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1;
  color: #fff;
  mix-blend-mode: exclusion;
  opacity: 0.5;
  z-index: 9990;
  pointer-events: none;
}
body.ik-stage-open #sl-scroll-down,
body.about-open #sl-scroll-down,
body.sl-projects-open #sl-scroll-down,
body.sl-page2-open #sl-scroll-down { display: none; }

@media (max-width: 850px) {
  .slc-label { font-size: max(13.5px, clamp(0.4rem, 2cqi, 0.6rem)); }
}

/* ── "Unforgettable memories…" (manifesto) — replaces the bundle's blurred letters ── */
#phase3.slm-on .p3-line { display: none !important; }
.slm-copy {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 2em;
  box-sizing: border-box;
  container-type: inline-size;
}
.slm-text {
  margin: 0 0 2rem;
  width: fit-content;
  font-family: 'Satoshi', 'Inter Tight', sans-serif;
  font-weight: 800;
  font-size: clamp(2.5rem, 20cqi, 3.5rem);
  line-height: 105%;
  letter-spacing: -0.02em;
  color: #fff;
  text-align: left;
  white-space: nowrap;
  text-transform: none;
}
.slm-word {
  display: inline-block;
  position: relative;
  margin: 0 0 0.2rem;
  padding: 0.1rem 0.1em;
  opacity: 0;
  -webkit-font-smoothing: antialiased;
}
.slm-word > span { position: relative; opacity: 0; }
@media (max-width: 850px) {
  .slm-text { font-size: clamp(1.75rem, 10vw, 2.5rem); white-space: normal; }
}

/* "SMART LINES" split around the card */
#company-name .sl-split { display: inline-block; white-space: nowrap; }
#company-name .sl-split-ch { display: inline-block; will-change: transform, filter; transform-origin: 50% 50%; }

/* Smaller hero name (was clamp(2rem, 7vw, 6rem)) */
#company-name { font-size: clamp(1.6rem, 4.2vw, 3.6rem) !important; }
/* ── sound.css ── */
/* Sound toggle — same control as echelon.framer.media */
#sl-navbar-inner { margin-left: auto; }
#sl-sound {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 1.2rem;
  pointer-events: all;
}
.sl-sound-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}
.sl-sound-btn {
  width: 40px;
  height: 40px;
  padding: 12px;
  border: none;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}
.sl-sound-btn:hover { background: rgba(255, 255, 255, 0.18); }
.sl-sound-btn i {
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 2px;
  background: #fff;
  transition: height 0.12s linear;
}
@media (max-width: 768px) {
  .sl-sound-label { display: none; }
  #sl-sound { margin-left: 0; margin-right: 0.5rem; }
}
/* ── projects.css ── */
/* Projects page — hero + intro like madinetmasr.com
   --e is the reference "em": 0.9375vw on desktop, 1.5vw ≤1024px, 2.8vw ≤640px */
#sl-projects {
  --e: 0.9375vw;
  position: fixed;
  inset: 0;
  z-index: 9000;
  visibility: hidden;
  opacity: 0;
  font-family: 'Satoshi', 'Inter Tight', sans-serif;
  color: #fff;
  overflow-x: hidden;
  overflow-y: auto;            /* the page scrolls: hero, then the portfolio grid */
  overscroll-behavior: contain;
  scrollbar-width: none;
  background: #000;
}
#sl-projects::-webkit-scrollbar { display: none; }
body.sl-projects-open { overflow: hidden; }
/* the navbar stays readable on top of the photos */
body.sl-projects-open #sl-navbar { mix-blend-mode: normal; }
/* over the white part of the portfolio the navbar inverts so it stays readable */
body.sl-projects-open.slp-on-white #sl-navbar { mix-blend-mode: difference; }

/* ── Hero ── */
.slp-hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: #000;
}
.slp-slider { position: absolute; inset: 0; overflow: hidden; touch-action: pan-y; cursor: grab; }
.slp-slider:active { cursor: grabbing; }
.slp-track { display: flex; width: 100%; height: 100%; will-change: transform; }
.slp-slide { position: relative; flex: 0 0 100%; height: 100%; overflow: hidden; }
.slp-slide img { width: 100%; height: 100%; object-fit: cover; display: block; user-select: none; -webkit-user-drag: none; }
.slp-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0.15) 55%, rgba(0,0,0,0.7) 100%);
}
.slp-head {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(7 * var(--e)) 4vw calc(9 * var(--e));
  pointer-events: none;
}
.slp-label {
  margin: 0 0 calc(1.2 * var(--e));
  font-size: max(14px, calc(1.25 * var(--e)));
  font-weight: 400;
  line-height: 1.5;
  opacity: 0.9;
}
.slp-title {
  margin: 0;
  max-width: 60vw;
  font-size: calc(4.6 * var(--e));
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.slp-cta-row { display: flex; align-items: center; gap: calc(1 * var(--e)); margin-top: calc(2.4 * var(--e)); pointer-events: auto; }
.slp-cta {
  display: inline-flex;
  align-items: center;
  gap: calc(1 * var(--e));
  height: max(48px, calc(4.5 * var(--e)));
  padding: 0 calc(2.2 * var(--e));
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: calc(2 * var(--e));
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: max(14px, calc(1.1 * var(--e)));
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.slp-cta:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.8); }
.slp-cta svg { width: 0.7em; height: 1em; fill: currentColor; }

.slp-bullets {
  position: absolute;
  left: 50%;
  bottom: calc(2 * var(--e));
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}
.slp-bullets button {
  width: 10px;
  height: 6px;
  padding: 0;
  border: none;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: width 0.4s cubic-bezier(0.22, 0.61, 0.36, 1), background-color 0.3s ease;
}
.slp-bullets button.is-active { width: 34px; background: #fff; }

/* scroll hint (mouse) */
.slp-scroll {
  position: absolute;
  left: 50%;
  bottom: calc(5 * var(--e));
  width: 22px;
  height: 36px;
  margin-left: -11px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  pointer-events: none;
}
.slp-scroll span {
  position: absolute;
  left: 50%;
  top: 7px;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: #fff;
  animation: slpScroll 1.6s ease-in-out infinite;
}
@keyframes slpScroll {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ── Intro strip ── */
.slp-loader {
  position: fixed;
  inset: 0;
  z-index: 2;
  background: #fff;
  overflow: hidden;
  visibility: hidden;
}
.slp-strip {
  position: absolute;
  top: 0;
  left: 87.38%;
  width: 100vw;
  height: 100vh;
  will-change: transform;
}
.slp-card {
  position: absolute;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: #eee;
  clip-path: polygon(40% 20%, 60% 20%, 60% 80%, 40% 80%);
  will-change: transform;
}
.slp-card .slp-mask { position: absolute; inset: 0; overflow: hidden; }
.slp-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slp-card.is-key { z-index: 199; background: #000; }
.slp-card:nth-child(1) { left: calc(-186.4 * var(--e)); }
.slp-card:nth-child(2) { left: calc(-163.1 * var(--e)); }
.slp-card:nth-child(3) { left: calc(-139.8 * var(--e)); }
.slp-card:nth-child(4) { left: calc(-116.5 * var(--e)); }
.slp-card:nth-child(5) { left: calc(-93.2 * var(--e)); }
.slp-card:nth-child(6) { left: calc(-69.9 * var(--e)); }
.slp-card:nth-child(7) { left: calc(-46.6 * var(--e)); }

@media (max-width: 1024px) {
  #sl-projects { --e: 1.5vw; }
  .slp-strip { left: 175.8%; }
  .slp-card { clip-path: polygon(30% 20%, 70% 20%, 70% 80%, 30% 80%); }
  .slp-card:nth-child(1) { left: calc(-234.4 * var(--e)); }
  .slp-card:nth-child(2) { left: calc(-205.1 * var(--e)); }
  .slp-card:nth-child(3) { left: calc(-175.8 * var(--e)); }
  .slp-card:nth-child(4) { left: calc(-146.5 * var(--e)); }
  .slp-card:nth-child(5) { left: calc(-117.2 * var(--e)); }
  .slp-card:nth-child(6) { left: calc(-87.9 * var(--e)); }
  .slp-card:nth-child(7) { left: calc(-58.6 * var(--e)); }
  .slp-title { max-width: 90vw; }
}
@media (max-width: 640px) {
  #sl-projects { --e: 2.8vw; }
  .slp-strip { left: 179.23%; }
  .slp-card:nth-child(1) { left: calc(-128 * var(--e)); }
  .slp-card:nth-child(2) { left: calc(-112 * var(--e)); }
  .slp-card:nth-child(3) { left: calc(-96 * var(--e)); }
  .slp-card:nth-child(4) { left: calc(-80 * var(--e)); }
  .slp-card:nth-child(5) { left: calc(-64 * var(--e)); }
  .slp-card:nth-child(6) { left: calc(-48 * var(--e)); }
  .slp-card:nth-child(7) { left: calc(-32 * var(--e)); }
  .slp-title { font-size: calc(3 * var(--e)); }
}

/* ── Portfolio grid — buzzvel.com/portfolio layout ──
   black header band that runs behind the top half of the first row, white below,
   two 49% columns with the right one set 38px lower, white cards (30px radius, soft drop shadow) */
.slp-work {
  --red: #BE0000;
  position: relative;
  padding: 0 5.55vw 120px;
  background: linear-gradient(180deg, #000 0, #000 calc(var(--band, 700px)), #fff calc(var(--band, 700px)));
  color: #000;
  font-family: 'Raleway', 'Satoshi', sans-serif;
}
.slp-work-head { padding: 120px 0 64px; color: #fff; max-width: 760px; }
.slp-work-title { margin: 0; font-size: clamp(44px, 6.25vw, 90px); line-height: 1.18; font-weight: 500; letter-spacing: -0.01em; }
.slp-work-text { margin: 28px 0 0; max-width: 680px; font-size: 16px; line-height: 1.75; font-weight: 300; color: rgba(255, 255, 255, 0.85); }
.slp-grid { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; }
.slp-pcard {
  width: 49%;
  margin-top: 24px;
  margin-bottom: 56px;
  padding-bottom: 24px;
  border-radius: 30px;
  background: #fff;
  box-shadow: 10px 35px 30px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}
.slp-pcard:nth-child(even) { margin-top: 62px; }
.slp-pcard.is-more { display: none; }
.slp-pimg { display: block; overflow: hidden; border-radius: 24px 24px 0 0; }
.slp-pimg img { display: block; width: 100%; height: auto; aspect-ratio: 627 / 415; object-fit: cover; transition: transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1); }
.slp-pcard:hover .slp-pimg img { transform: scale(1.04); }
.slp-pbody { display: flex; align-items: center; gap: 24px; padding: 16px 40px 20px 64px; }
.slp-ptext { flex: 1 1 auto; color: inherit; text-decoration: none; }
.slp-ptitle { margin: 0; padding: 20px 0 12px; font-size: 30px; line-height: 40px; font-weight: 400; color: #000; }
.slp-pcat { margin: 0; padding: 0 0 12px; font-size: 14px; line-height: 20px; font-weight: 700; color: var(--red); }
.slp-pdesc { margin: 0; font-size: 14px; line-height: 20px; font-weight: 300; color: #000; }
.slp-parrow {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 18px rgba(190, 0, 0, 0.35);
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1), background-color 0.3s ease;
}
.slp-parrow svg { width: 20px; height: 20px; fill: currentColor; }
.slp-pcard:hover .slp-parrow { transform: translateX(6px); background: #e00000; }
.slp-more-row { display: flex; justify-content: center; padding-top: 24px; }
.slp-more {
  height: 52px;
  padding: 0 40px;
  border: 1px solid #000;
  border-radius: 30px;
  background: transparent;
  color: #000;
  font: 600 15px/1 'Raleway', sans-serif;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.slp-more:hover { background: #000; color: #fff; }

@media (max-width: 1023px) {
  .slp-work-head { padding: 80px 0 40px; }
  .slp-pcard, .slp-pcard:nth-child(even) { width: 100%; margin: 0 0 40px; }
  .slp-pbody { padding: 12px 20px 16px; }
  .slp-ptitle { font-size: 24px; line-height: 34px; }
}

/* ── Projects reel: the case-study images sit exactly inside the visible window of their strip card
   (they are 600px squares, so they are never blown up to full screen); the reel video fills the key card
   and the hero. ── */
.slp-card .slp-fit { position: absolute; top: 20%; left: 40%; width: 20%; height: 60%; object-fit: cover; }
@media (max-width: 1024px) { .slp-card .slp-fit { left: 30%; width: 40%; } }
.slp-card video, .slp-vslide video { width: 100%; height: 100%; object-fit: cover; display: block; background: #0C0C0C; }
.slp-vslide { background: #0C0C0C; }
.slp-bullets[hidden] { display: none; }
/* ── project-detail.css ── */
/* Project detail page (case study) */
#sl-project {
  position: fixed;
  inset: 0;
  z-index: 9500;
  visibility: hidden;
  opacity: 0;
  background: #fff;
  color: #0b0b0c;
  font-family: 'Satoshi', 'Inter Tight', sans-serif;
}
body.sl-project-open { overflow: hidden; }
body.sl-project-open #sl-navbar { mix-blend-mode: difference; }
body.sl-project-open.spd-nav-plain #sl-navbar { mix-blend-mode: normal; }   /* over the coloured hero (see navOverHero) */
body.sl-project-open #sl-scroll-down { display: none; }
.spd-scroll { position: absolute; inset: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.spd-scroll::-webkit-scrollbar { display: none; }
.spd-cover { position: absolute; inset: 0; z-index: 5; visibility: hidden; pointer-events: none; }
#sl-project img { display: block; }
#sl-project h1, #sl-project h2, #sl-project h3, #sl-project p, #sl-project figure, #sl-project dl, #sl-project dd { margin: 0; }

/* ── hero ── */
.spd-hero {
  position: relative;
  min-height: 100vh;
  padding: 120px 5.55vw  100px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(1200px 700px at 78% 30%, rgba(255,255,255,.16), rgba(255,255,255,0) 65%),
    linear-gradient(160deg, var(--c) 0%, color-mix(in srgb, var(--c) 55%, #000) 100%);
}
.spd-hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .07;
  background-image: radial-gradient(rgba(255,255,255,.7) 1px, transparent 1px); background-size: 4px 4px; }
.spd-hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 4vw; align-items: center; flex: 1; }
.spd-back {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 44px; padding: 10px 18px 10px 12px;
  border: 1px solid rgba(255,255,255,.35); border-radius: 30px; background: transparent; color: #fff;
  font: 600 14px/1 'Raleway', sans-serif; cursor: pointer; transition: background-color .3s ease;
}
.spd-back svg { width: 18px; height: 18px; fill: currentColor; transform: rotate(180deg); }
.spd-back:hover { background: rgba(255,255,255,.14); }
.spd-eyebrow { font: 700 13px/1 'Raleway', sans-serif; letter-spacing: .22em; text-transform: uppercase; opacity: .75; margin-bottom: 22px !important; }
.spd-title { font-family: 'Raleway', sans-serif; font-weight: 500; font-size: clamp(44px, 6.2vw, 104px); line-height: 1.02; letter-spacing: -.02em; }
.spd-cat { display: inline-block; margin-top: 26px !important; padding: 8px 16px; border-radius: 30px; background: rgba(255,255,255,.14); font: 700 14px/1 'Raleway', sans-serif; }
.spd-lede { margin-top: 26px !important; max-width: 520px; font-size: 19px; line-height: 1.6; font-weight: 400; opacity: .9; }

.spd-hero-media { position: relative; height: min(62vh, 620px); perspective: 1600px; }
.spd-laptop { position: absolute; left: 6%; right: 2%; top: 14%; cursor: zoom-in; transform-origin: 50% 100%; }
.spd-lid { padding: 2.2% 2.2% 3%; border-radius: 22px 22px 0 0; background: #0d0e10; box-shadow: inset 0 0 0 2px #2b2d31, 0 50px 100px rgba(0,0,0,.45); }
.spd-screen { aspect-ratio: 16 / 9.4; overflow: hidden; border-radius: 6px; background: #fff; }
.spd-screen img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.spd-base { position: relative; height: 18px; margin: 0 -7%; border-radius: 0 0 18px 18px; background: linear-gradient(180deg, #e2e4e8, #9fa3aa); box-shadow: 0 30px 60px rgba(0,0,0,.4); }
.spd-base::before { content: ''; position: absolute; left: 50%; top: 0; width: 16%; height: 8px; transform: translateX(-50%); border-radius: 0 0 10px 10px; background: #babdc3; }
.spd-float { position: absolute; z-index: 2; }
.spd-float-b { left: -6%; bottom: 2%; width: 46%; z-index: 0; transform: rotate(-4deg); opacity: .96; }
.spd-logo { right: 0; top: -2%; padding: 18px 24px; border-radius: 22px; background: #fff; box-shadow: 0 24px 60px rgba(0,0,0,.3); }
.spd-logo img { height: 92px; width: auto; }
.spd-photo { right: 2%; top: -6%; width: 180px; height: 180px; border-radius: 50%; overflow: hidden; border: 6px solid #fff; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.spd-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }

.spd-meta { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 56px !important; border-top: 1px solid rgba(255,255,255,.25); }
.spd-meta > div { padding: 22px 24px 0 0; }
.spd-meta > div + div { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.18); }
.spd-meta dt { font: 700 12px/1 'Raleway', sans-serif; letter-spacing: .2em; text-transform: uppercase; opacity: .6; margin-bottom: 10px; }
.spd-meta dd { font-size: 16px; line-height: 1.45; font-weight: 500; }

/* ── browser frame (shared) ── */
.spd-browser { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 30px 70px rgba(0,0,0,.18), 0 0 0 1px rgba(0,0,0,.06); }
.spd-bar { height: 30px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #eef0f3; }
.spd-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d1d5db; }
.spd-bar i:nth-child(1) { background: #ff5f57; } .spd-bar i:nth-child(2) { background: #febc2e; } .spd-bar i:nth-child(3) { background: #28c840; }
.spd-view { overflow: hidden; background: #fff; }
.spd-view img { width: 100%; height: auto; }

/* ── sections ── */
.spd-sec { padding: 140px 5.55vw 0; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 4vw; }
.spd-label { font: 700 13px/1.4 'Raleway', sans-serif; letter-spacing: .2em; text-transform: uppercase; color: #6b7280; position: sticky; top: 120px; align-self: start; }
.spd-label span { display: block; font-size: 15px; color: #BE0000; margin-bottom: 10px; letter-spacing: .1em; }
.spd-label-light { color: rgba(255,255,255,.65); position: static; margin-bottom: 26px; }
.spd-label-light span { color: #fff; }
.spd-h2 { font-family: 'Raleway', sans-serif; font-weight: 500; font-size: clamp(28px, 2.6vw, 42px); line-height: 1.2; letter-spacing: -.01em; }
.spd-light { color: #fff; }
.spd-ov-body { max-width: 900px; }
.spd-ov-body .spd-h2 + * { margin-top: 22px !important; }
.spd-ov-body .spd-big + .spd-h2 { margin-top: 70px !important; }
.spd-big { font-size: clamp(20px, 1.6vw, 26px); line-height: 1.6; font-weight: 400; color: #1f2937; }
.spd-p { font-size: 18px; line-height: 1.75; color: #374151; }
.spd-p + .spd-p { margin-top: 18px !important; }

.spd-high-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.spd-hcard { position: relative; padding: 38px 36px 40px; border-radius: 26px; background: #f5f6f8; overflow: hidden; transition: transform .5s cubic-bezier(.22,.61,.36,1), box-shadow .5s ease; }
.spd-hcard::before { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: var(--c); transform: scaleX(0); transform-origin: left; transition: transform .6s cubic-bezier(.22,.61,.36,1); }
.spd-hcard:hover { transform: translateY(-6px); box-shadow: 0 30px 60px rgba(0,0,0,.08); }
.spd-hcard:hover::before { transform: scaleX(1); }
.spd-hnum { display: block; font: 600 46px/1 'Raleway', sans-serif; color: var(--c); opacity: .9; margin-bottom: 26px; }
.spd-hcard h3 { font: 600 22px/1.3 'Raleway', sans-serif; margin-bottom: 10px !important; }
.spd-hcard p { font-size: 16px; line-height: 1.6; color: #4b5563; }

.spd-flow { margin-top: 140px; padding: 110px 5.55vw 120px; color: #fff; background: linear-gradient(160deg, color-mix(in srgb, var(--c) 70%, #000) 0%, #07080a 100%); }
.spd-flow-in { max-width: 1280px; margin: 0 auto; }
.spd-chart { margin-top: 46px !important; border-radius: 22px; overflow: hidden; cursor: zoom-in; box-shadow: 0 40px 100px rgba(0,0,0,.45); }
.spd-chart img { width: 100%; height: auto; transition: transform 1s cubic-bezier(.22,.61,.36,1); }
.spd-chart:hover img { transform: scale(1.02); }

.spd-screens { padding-bottom: 140px; }
.spd-featured { display: grid; gap: 70px; }
.spd-shot { cursor: zoom-in; }
.spd-shot .spd-browser { transition: transform .6s cubic-bezier(.22,.61,.36,1), box-shadow .6s ease; }
.spd-shot:hover .spd-browser { transform: translateY(-8px); box-shadow: 0 40px 90px rgba(0,0,0,.22), 0 0 0 1px rgba(0,0,0,.06); }
.spd-shot figcaption { display: flex; gap: 14px; align-items: baseline; margin-top: 18px; font-size: 15px; line-height: 1.5; color: #4b5563; }
.spd-shot figcaption span { font: 700 13px/1 'Raleway', sans-serif; color: #BE0000; letter-spacing: .08em; }
.spd-featured .spd-shot { width: 88%; }
.spd-featured .spd-shot.is-right { margin-left: auto; }
.spd-grid { margin-top: 90px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 40px; }
.spd-grid .spd-shot:nth-child(even) { margin-top: 60px; }
.spd-modules { margin-top: 90px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.spd-mod { cursor: zoom-in; }
.spd-mod-img { height: 220px; display: grid; place-items: center; padding: 24px; border-radius: 22px; background: #f5f6f8; overflow: hidden; }
.spd-mod-img img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; box-shadow: 0 14px 30px rgba(0,0,0,.12); transition: transform .6s cubic-bezier(.22,.61,.36,1); }
.spd-mod:hover .spd-mod-img img { transform: scale(1.05); }
.spd-mod figcaption { margin-top: 14px; font-size: 15px; line-height: 1.5; color: #374151; font-weight: 500; }

/* ── next project ── */
.spd-next {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 4vw;
  min-height: 80vh; padding: 100px 5.55vw; overflow: hidden; cursor: pointer; color: #fff;
  background: linear-gradient(160deg, var(--c) 0%, color-mix(in srgb, var(--c) 50%, #000) 100%);
}
.spd-next-label { font: 700 13px/1 'Raleway', sans-serif; letter-spacing: .22em; text-transform: uppercase; opacity: .7; }
.spd-next-title { margin-top: 22px !important; font-family: 'Raleway', sans-serif; font-weight: 500; font-size: clamp(40px, 5.6vw, 96px); line-height: 1.04; letter-spacing: -.02em; transition: transform .6s cubic-bezier(.22,.61,.36,1); }
.spd-next:hover .spd-next-title { transform: translateX(14px); }
.spd-next-cat { margin-top: 18px !important; font: 700 15px/1 'Raleway', sans-serif; opacity: .8; }
.spd-next-btn { display: inline-flex; align-items: center; gap: 12px; margin-top: 40px; padding: 16px 26px; border-radius: 40px; background: #fff; color: #0b0b0c; font: 700 15px/1 'Raleway', sans-serif; }
.spd-next-btn svg { width: 18px; height: 18px; fill: currentColor; transition: transform .4s ease; }
.spd-next:hover .spd-next-btn svg { transform: translateX(6px); }
.spd-next-img { border-radius: 18px; overflow: hidden; box-shadow: 0 40px 100px rgba(0,0,0,.45); }
.spd-next-img img { width: 100%; height: auto; }

.spd-cta { padding: 130px 5.55vw 150px; text-align: center; background: #07080a; color: #fff; }
.spd-cta h2 { font-family: 'Raleway', sans-serif; font-weight: 500; font-size: clamp(36px, 4.6vw, 76px); letter-spacing: -.02em; }
.spd-cta-btn { display: inline-flex; align-items: center; gap: 12px; margin-top: 40px; padding: 18px 32px; border-radius: 40px; background: #BE0000; color: #fff; text-decoration: none; font: 700 16px/1 'Raleway', sans-serif; transition: background-color .3s ease; }
.spd-cta-btn svg { width: 18px; height: 18px; fill: currentColor; }
.spd-cta-btn:hover { background: #e00000; }

/* ── lightbox ── */
#spd-lightbox { position: fixed; inset: 0; z-index: 10000; display: none; align-items: center; justify-content: center; background: rgba(5,6,8,.94); visibility: hidden; opacity: 0; }
#spd-lightbox.is-on { display: flex; }
#spd-lightbox figure { margin: 0; max-width: 90vw; text-align: center; }
#spd-lightbox img { max-width: 90vw; max-height: 80vh; margin: 0 auto; display: block; border-radius: 10px; box-shadow: 0 40px 100px rgba(0,0,0,.6); background: #fff; }
#spd-lightbox figcaption { margin-top: 20px; color: rgba(255,255,255,.85); font: 500 15px/1.5 'Satoshi', sans-serif; display: flex; gap: 16px; justify-content: center; }
.spd-lb-count { color: #BE0000; font-weight: 700; }
#spd-lightbox button { position: absolute; border: 0; background: rgba(255,255,255,.1); color: #fff; cursor: pointer; border-radius: 50%; display: grid; place-items: center; transition: background-color .3s ease; }
#spd-lightbox button:hover { background: rgba(255,255,255,.22); }
#spd-lightbox button svg { width: 22px; height: 22px; fill: currentColor; }
.spd-lb-close { top: 24px; right: 24px; width: 50px; height: 50px; font-size: 30px; line-height: 1; }
.spd-lb-prev, .spd-lb-next { top: 50%; width: 56px; height: 56px; margin-top: -28px; }
.spd-lb-prev { left: 24px; } .spd-lb-prev svg { transform: rotate(180deg); }
.spd-lb-next { right: 24px; }
#spd-lightbox.is-single .spd-lb-prev, #spd-lightbox.is-single .spd-lb-next { display: none; }

/* ── tablet / mobile ── */
@media (max-width: 1023px) {
  .spd-hero { padding-top: 100px; }
  .spd-hero-in { grid-template-columns: 1fr; gap: 50px; }
  .spd-hero-media { height: 56vw; }
  .spd-meta { grid-template-columns: repeat(2, 1fr); }
  .spd-meta > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .spd-sec { grid-template-columns: 1fr; gap: 26px; padding-top: 90px; }
  .spd-label { position: static; }
  .spd-high-grid, .spd-grid { grid-template-columns: 1fr; }
  .spd-grid .spd-shot:nth-child(even) { margin-top: 0; }
  .spd-featured .spd-shot { width: 100%; }
  .spd-next { grid-template-columns: 1fr; min-height: 0; }
  .spd-logo img { height: 60px; }
  .spd-photo { width: 120px; height: 120px; }
}
@media (max-width: 640px) {
  .spd-meta { grid-template-columns: 1fr; }
  .spd-meta > div + div { padding-left: 0; border-left: 0; }
  .spd-lede { font-size: 17px; }
  .spd-hcard { padding: 30px 26px; }
  .spd-lb-prev, .spd-lb-next { top: auto; bottom: 24px; margin-top: 0; }
}
.spd-sc-body { min-width: 0; }

/* ── websites & apps ── */
.spd-live { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.5); padding-bottom: 2px; transition: border-color .3s ease; }
.spd-live:hover { border-color: #fff; }

/* phone mockup (shared) — modern iPhone: thin black bezel, titanium edge, side buttons, Dynamic Island, glass glare.
   The screen is inset by % of the phone itself (not padding, which would follow the parent's width). */
.spd-phone { position: relative; aspect-ratio: 71.6 / 147.6; border-radius: 16% / 7.8%; background: #050506;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07), 0 0 0 2px #8d8d92, 0 0 0 3.5px #2a2a2d, 0 40px 80px rgba(0,0,0,.32), 0 12px 24px rgba(0,0,0,.18); }
.spd-phone::before, .spd-phone::after { content: ''; position: absolute; width: 3px; border-radius: 2px; background: linear-gradient(90deg, #6e6e73, #a1a1a6); }
.spd-phone::before { right: -5px; top: 26%; height: 11%; }                       /* side button */
.spd-phone::after { left: -5px; top: 20%; height: 14%; background: linear-gradient(#9a9a9f 0 44%, transparent 44% 56%, #9a9a9f 56% 100%); }   /* volume up + down */
.spd-pscreen { position: absolute; inset: 1.35% 2.75%; overflow: hidden; border-radius: 13.6% / 6.4%; background: #fff; }
.spd-pscreen::after { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: linear-gradient(118deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,0) 34%); }
.spd-pscreen img { width: 100%; height: auto; }
.spd-island { position: absolute; left: 50%; top: 2.6%; width: 29%; height: 3.3%; transform: translateX(-50%); border-radius: 999px; background: #000; z-index: 3; }
.spd-island::after { content: ''; position: absolute; right: 12%; top: 50%; width: 22%; aspect-ratio: 1; transform: translateY(-50%); border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #2b3a55 0%, #0b0f18 60%); }

/* hero variants */
.spd-float.spd-phone { position: absolute; }
.spd-hero-site .spd-laptop { left: 0; right: 14%; top: 10%; cursor: zoom-in; }
.spd-hphone { right: 0; bottom: -2%; width: 24%; }
.spd-hphone2 { right: 20%; bottom: -8%; width: 21%; transform: rotate(-6deg); z-index: 1; }
.spd-hero-app .spd-hero-media, .spd-hero-site .spd-hero-media:has(.spd-hp1) { perspective: none; }
.spd-hp1 { left: 50%; top: 0; width: 34%; transform: translateX(-50%); z-index: 2; }
.spd-hp2 { left: 12%; top: 12%; width: 29%; transform: rotate(-8deg); z-index: 1; }
.spd-hp3 { right: 12%; top: 12%; width: 29%; transform: rotate(8deg); z-index: 1; }
.spd-hp-scroll .spd-pscreen img { transform: translateY(-38%); }

/* in motion (video) */
.spd-motion { margin-top: 140px; padding: 110px 5.55vw 120px; color: #fff;
  background: linear-gradient(160deg, color-mix(in srgb, var(--c) 70%, #000) 0%, #07080a 100%); }
.spd-motion-in { max-width: 1280px; margin: 0 auto; }
.spd-video { position: relative; margin-top: 46px; border-radius: 24px; overflow: hidden; background: #000; box-shadow: 0 40px 100px rgba(0,0,0,.5); aspect-ratio: 16 / 9; }
.spd-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.spd-sound { position: absolute; right: 20px; bottom: 20px; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(0,0,0,.45);
  color: #fff; font-size: 13px; letter-spacing: -1px; cursor: pointer; backdrop-filter: blur(6px); transition: background-color .3s ease; }
.spd-sound:hover { background: rgba(0,0,0,.7); }

/* the homepage, scrolling inside a browser */
.spd-fp-body { min-width: 0; }
.spd-fp-track { position: relative; height: 230vh; margin-top: 40px; }
.spd-fp-sticky { position: sticky; top: 12vh; }
/* MacBook Pro (silver): black lid with a thin bezel and the notch, the page scrolls inside the screen */
.spd-mbp { width: min(100%, calc(70vh * 1.5)); margin: 0 auto; cursor: zoom-in; }
.spd-mbp-lid { position: relative; padding: 1.55% 1.55% 2.2%; border-radius: 3.2% 3.2% 0 0 / 4.8% 4.8% 0 0; background: #0a0a0b;
  box-shadow: 0 0 0 1.5px #c9cacd, 0 0 0 3px #a5a7ab, inset 0 0 0 1px rgba(255,255,255,.06), 0 40px 80px rgba(0,0,0,.18); }
.spd-mbp-notch { position: absolute; left: 50%; top: 0; width: 10.5%; height: 3.2%; transform: translateX(-50%); border-radius: 0 0 10px 10px; background: #0a0a0b; z-index: 2; }
.spd-mbp-notch::after { content: ''; position: absolute; left: 50%; top: 32%; width: 9%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle at 35% 35%, #2b3a55, #07090f 65%); }
.spd-mbp-screen { position: relative; aspect-ratio: 16 / 10.35; overflow: hidden; border-radius: .5%; background: #fff; }
.spd-mbp-screen img { position: absolute; left: 0; top: 0; width: 100%; will-change: transform; }
.spd-mbp-base { position: relative; width: 114%; margin-left: -7%; aspect-ratio: 100 / 3.4; border-radius: 2px 2px 50% 50% / 2px 2px 100% 100%;
  background: linear-gradient(180deg, #f4f5f6 0%, #d9dbde 30%, #b6b8bc 70%, #8f9196 100%); box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(0,0,0,.15), 0 2px 0 #7c7e83, 0 30px 50px rgba(0,0,0,.22); }
.spd-mbp-base span { position: absolute; left: 50%; top: 0; width: 13%; height: 46%; transform: translateX(-50%); border-radius: 0 0 12px 12px;
  background: linear-gradient(180deg, #b5b7bb, #d6d8db); box-shadow: inset 0 2px 3px rgba(0,0,0,.18); }
.spd-fp-view { position: relative; }
.spd-fp-view img { position: absolute; left: 0; top: 0; width: 100%; will-change: transform; }

/* on every screen: three phones */
.spd-mobile { margin-top: 140px; padding: 110px 5.55vw 160px; overflow: hidden; color: #fff;
  background: radial-gradient(1000px 600px at 50% 0%, rgba(255,255,255,.14), rgba(255,255,255,0) 70%),
              linear-gradient(160deg, var(--c) 0%, color-mix(in srgb, var(--c) 50%, #000) 100%); }
.spd-mobile-head { max-width: 1280px; margin: 0 auto; }
.spd-phones { display: flex; justify-content: center; align-items: flex-start; gap: 6vw; margin-top: 80px; padding-bottom: 40px; }
.spd-mphone { width: min(265px, 20vw); cursor: zoom-in; will-change: transform; }
.spd-mphone .spd-pscreen img { will-change: transform; }

/* app screens */
.spd-app-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 60px 4vw; }
.spd-app { cursor: zoom-in; }
.spd-app .spd-phone { width: 78%; margin: 0 auto; transition: transform .6s cubic-bezier(.22,.61,.36,1); }
.spd-app:hover .spd-phone { transform: translateY(-10px) rotate(-1.5deg); }
.spd-app figcaption { display: flex; gap: 12px; justify-content: center; margin-top: 22px; font-size: 15px; color: #4b5563; }
.spd-app figcaption span { font: 700 13px/1.5 'Raleway', sans-serif; color: #BE0000; }

/* lightbox: tall pages scroll inside the frame */
#spd-lightbox.is-tall figure { max-height: 84vh; overflow-y: auto; border-radius: 10px; scrollbar-width: thin; }
#spd-lightbox.is-tall img { max-height: none; width: min(1100px, 80vw); max-width: none; }
#spd-lightbox.is-tall.is-narrow img { width: min(420px, 80vw); }
#spd-lightbox.is-narrow:not(.is-tall) img { max-height: 84vh; }
#spd-lightbox.is-tall figcaption { position: sticky; bottom: 0; padding: 12px; background: rgba(5,6,8,.85); margin-top: 0; }

@media (max-width: 1023px) {
  .spd-app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spd-fp-track { height: 180vh; }
  .spd-mbp { width: 100%; }
  .spd-phones { gap: 3vw; }
  .spd-mphone { width: 27vw; }
}
@media (max-width: 640px) {
  .spd-app-grid { grid-template-columns: 1fr 1fr; gap: 40px 16px; }
  .spd-phones .spd-mphone:nth-child(3) { display: none; }
  .spd-mphone { width: 40vw; }
}


/* "All projects" rail: follows you down the case study on the left, fills with reading progress */
.spd-rail { position: absolute; left: 22px; top: 50%; z-index: 6; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 16px 11px 18px;
  border: 0; border-radius: 40px; background: rgba(255,255,255,.88); color: #0b0b0c; cursor: pointer; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 14px 40px rgba(0,0,0,.18), inset 0 0 0 1px rgba(0,0,0,.06); opacity: 0; pointer-events: none;
  transform: translate(-130%, -50%); transition: transform .7s cubic-bezier(.22,.61,.36,1), opacity .5s ease, background-color .3s ease, color .3s ease; }
.spd-rail.is-on { opacity: 1; pointer-events: auto; transform: translate(0, -50%); }
.spd-rail:hover { background: #0b0b0c; color: #fff; }
.spd-rail-arrow svg { width: 18px; height: 18px; fill: currentColor; display: block; transform: rotate(180deg); transition: transform .4s ease; }
.spd-rail:hover .spd-rail-arrow svg { transform: rotate(180deg) translateX(4px); }
.spd-rail-txt { writing-mode: vertical-rl; transform: rotate(180deg); font: 700 11px/1 'Raleway', sans-serif; letter-spacing: .22em; text-transform: uppercase; }
.spd-rail-line { position: relative; width: 2px; height: 80px; border-radius: 2px; background: rgba(128,128,128,.25); overflow: hidden; }
.spd-rail-line i { position: absolute; inset: 0; background: #BE0000; transform-origin: top; transform: scaleY(0); }
@media (max-width: 640px) {
  .spd-rail { left: 8px; padding: 12px 8px 14px; gap: 10px; }
  .spd-rail-line { height: 50px; }
}

/* "We're still cooking the website" — for case studies whose site isn't public yet */
#spd-cooking { position: fixed; inset: 0; z-index: 10050; display: grid; place-items: center; padding: 24px; background: rgba(12, 12, 12, .86);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility .45s; cursor: pointer; }
#spd-cooking.is-on { opacity: 1; visibility: visible; }
.spd-ck-in { text-align: center; color: #fff; transform: translateY(24px) scale(.97); transition: transform .7s cubic-bezier(.22,.61,.36,1); }
#spd-cooking.is-on .spd-ck-in { transform: none; }
.spd-ck-steam { width: 120px; height: 70px; margin: 0 auto 18px; display: block; overflow: visible; }
.spd-ck-steam path { fill: none; stroke: #BE0000; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 60 120; animation: spdSteam 2.2s linear infinite; }
.spd-ck-steam path:nth-child(2) { animation-delay: -.7s; } .spd-ck-steam path:nth-child(3) { animation-delay: -1.4s; }
@keyframes spdSteam { from { stroke-dashoffset: 180; opacity: .2; } 50% { opacity: 1; } to { stroke-dashoffset: 0; opacity: .2; } }
.spd-ck-small { font: 500 clamp(18px, 2.4vw, 26px)/1.2 'Satoshi', 'Inter Tight', sans-serif; opacity: .7; margin: 0 0 8px; letter-spacing: -.01em; }
.spd-ck-big { font: 700 clamp(44px, 8.5vw, 120px)/.95 'Satoshi', 'Inter Tight', sans-serif; letter-spacing: -.045em; margin: 0; }
.spd-ck-big span { display: block; color: #BE0000; }
.spd-ck-close { margin-top: 34px; background: #fff; color: #0C0C0C; border: 0; border-radius: 40px; padding: 13px 30px; font: 700 15px/1 'Satoshi', 'Inter Tight', sans-serif; cursor: pointer; }
.spd-ck-close:hover, .spd-ck-close:focus-visible { background: #BE0000; color: #fff; outline: none; }
@media (prefers-reduced-motion: reduce) { .spd-ck-steam path { animation: none; } }
/* ── pages.css ── */
/* Shared full-screen pages (Services, Let's talk) */
.sl-page { position: fixed; inset: 0; z-index: 9600; visibility: hidden; opacity: 0; background: var(--page-bg, #07080a); color: #fff; font-family: 'Satoshi', 'Inter Tight', sans-serif; }
.sl-page-scroll { position: absolute; inset: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.sl-page-scroll::-webkit-scrollbar { display: none; }
body.sl-page-open { overflow: hidden; }
body.sl-page-open #sl-navbar { mix-blend-mode: difference; }
body.sl-page-open #sl-scroll-down { display: none; }
.sl-page h1, .sl-page h2, .sl-page h3, .sl-page p, .sl-page dl, .sl-page dd, .sl-page ul, .sl-page ol, .sl-page figure { margin: 0; }
.sl-page ul, .sl-page ol { padding: 0; list-style: none; }

/* ═════════ Let's talk ═════════ */
.ctc-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 5vw; min-height: 100vh; padding: 140px 5.55vw 90px;
  background: radial-gradient(900px 700px at 10% 90%, rgba(190,0,0,.2), rgba(190,0,0,0) 70%), #07080a; }
.ctc-eyebrow { font: 700 13px/1 'Raleway', sans-serif; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.ctc-title { margin-top: 26px !important; font-family: 'Raleway', sans-serif; font-weight: 500; font-size: clamp(72px, 11vw, 200px); line-height: .92; letter-spacing: -.045em; }
.ctc-line { display: block; overflow: hidden; padding-bottom: .05em; }
.ctc-in { display: inline-block; }
.ctc-accent { color: #BE0000; }
.ctc-lede { margin-top: 30px !important; max-width: 480px; font-size: 19px; line-height: 1.65; color: rgba(255,255,255,.8); }
.ctc-direct { margin-top: 46px !important; border-top: 1px solid rgba(255,255,255,.15); }
.ctc-direct li { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 4px 20px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.15); font-size: 17px; line-height: 1.5; }
.ctc-direct li a + a { grid-column: 2; }
.ctc-k { font: 700 12px/1.9 'Raleway', sans-serif; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.ctc-direct a { color: #fff; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s cubic-bezier(.22,.61,.36,1); justify-self: start; }
.ctc-direct a:hover { background-size: 100% 1px; }
.ctc-wa, .ctc-send-wa { display: inline-flex; align-items: center; gap: 12px; padding: 16px 24px; border-radius: 50px; background: #15803d; color: #fff; text-decoration: none; border: 0; cursor: pointer;
  font: 700 16px/1 'Raleway', sans-serif; transition: background-color .3s ease, transform .4s ease; }
.ctc-wa { margin-top: 36px; }
.ctc-wa svg, .ctc-send-wa svg { width: 22px; height: 22px; fill: currentColor; }
.ctc-wa:hover, .ctc-send-wa:hover { background: #116b33; transform: translateY(-3px); }

.ctc-form { align-self: center; padding: 46px 42px 40px; border-radius: 30px; background: #fff; color: #0b0b0c; box-shadow: 0 50px 120px rgba(0,0,0,.45); }
.ctc-form-title { font: 600 30px/1.2 'Raleway', sans-serif; letter-spacing: -.01em; margin-bottom: 30px !important; }
.ctc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.ctc-field { position: relative; display: block; }
.ctc-field input, .ctc-field textarea { width: 100%; box-sizing: border-box; padding: 26px 16px 10px; border: 1px solid #e5e7eb; border-radius: 14px; background: #f9fafb; color: #0b0b0c;
  font: 500 16px/1.4 'Satoshi', sans-serif; outline: none; transition: border-color .3s ease, background-color .3s ease, box-shadow .3s ease; resize: vertical; }
.ctc-field span { position: absolute; left: 17px; top: 18px; font-size: 15px; color: #6b7280; pointer-events: none; transition: transform .25s ease, font-size .25s ease, color .25s ease; transform-origin: left top; }
.ctc-field input:focus, .ctc-field textarea:focus { border-color: #0b0b0c; background: #fff; box-shadow: 0 0 0 4px rgba(11,11,12,.06); }
.ctc-field input:focus + span, .ctc-field input:not(:placeholder-shown) + span,
.ctc-field textarea:focus + span, .ctc-field textarea:not(:placeholder-shown) + span { transform: translateY(-10px); font-size: 12px; color: #0b0b0c; font-weight: 600; }
.ctc-field.is-bad input, .ctc-field.is-bad textarea { border-color: #BE0000; background: #fff5f5; }
.ctc-needs { margin: 24px 0 18px; padding: 0; border: 0; }
.ctc-needs legend { margin-bottom: 14px; font: 700 12px/1 'Raleway', sans-serif; letter-spacing: .18em; text-transform: uppercase; color: #6b7280; }
.ctc-chip { display: inline-flex; margin: 0 8px 10px 0; cursor: pointer; }
.ctc-chip input { position: absolute; opacity: 0; pointer-events: none; }
.ctc-chip span { padding: 10px 16px; border: 1px solid #e5e7eb; border-radius: 30px; font-size: 14px; font-weight: 600; transition: all .3s ease; }
.ctc-chip:hover span { border-color: #0b0b0c; }
.ctc-chip input:checked + span { background: #0b0b0c; border-color: #0b0b0c; color: #fff; }
.ctc-chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(190,0,0,.35); }
.ctc-msg { margin-top: 4px; }
.ctc-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 22px; }
.ctc-send { display: inline-flex; align-items: center; gap: 14px; padding: 20px 34px; border: 0; border-radius: 50px; background: #BE0000; color: #fff;
  font: 700 17px/1 'Raleway', sans-serif; cursor: pointer; transition: background-color .3s ease, transform .4s cubic-bezier(.22,.61,.36,1); }
.ctc-send svg { width: 20px; height: 20px; fill: currentColor; transition: transform .4s ease; }
.ctc-send:hover { background: #e00000; transform: translateY(-3px); }
.ctc-send:hover svg { transform: translateX(5px); }
.ctc-note { margin-top: 14px !important; min-height: 1.4em; font-size: 14px; color: #4b5563; }

.ctc-map-sec { padding: 0 5.55vw 90px; background: #07080a; }
.ctc-map { height: 420px; border-radius: 26px; overflow: hidden; background: #111; }
.ctc-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9); }
.ctc-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 36px; color: rgba(255,255,255,.55); font-size: 14px; }
.ctc-foot div { display: flex; gap: 22px; }
.ctc-foot a { color: #fff; text-decoration: none; font-weight: 600; }
.ctc-foot a:hover { color: #BE0000; }
.ctc-toast { position: fixed; left: 50%; bottom: 40px; transform: translateX(-50%); padding: 12px 22px; border-radius: 30px; background: #fff; color: #0b0b0c; font-weight: 700; font-size: 14px; opacity: 0; visibility: hidden; z-index: 10; }

/* ═════════ navbar: Services + Let's talk ═════════ */
.sl-nav-link.sl-nav-cta { padding: 9px 18px !important; border: 1px solid currentColor !important; border-radius: 30px; }
.sl-nav-link.sl-nav-cta:hover, .sl-nav-link.sl-nav-cta.active { background: #fff; color: #000 !important; }

@media (max-width: 1023px) {
  .ctc-hero { grid-template-columns: 1fr; padding-top: 110px; }
  .ctc-form { padding: 34px 22px 30px; border-radius: 24px; }
}
@media (max-width: 640px) {
  .ctc-grid { grid-template-columns: 1fr; }
  .ctc-foot { flex-direction: column; align-items: flex-start; }
  .ctc-map { height: 300px; }
}

/* a full-screen page is up: skip painting the home page underneath (see SLCover in sl-page.js) */
body.sl-covered #root { visibility: hidden; }

/* contact form: bot trap (never visible), sending state, thank-you panel */
.ctc-trap { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.ctc-send.is-busy { opacity: .6; pointer-events: none; }
.ctc-thanks { padding: 48px 0 24px; }
.ctc-thanks[hidden] { display: none; }
.ctc-thanks-mark svg { width: 64px; height: 64px; display: block; }
.ctc-thanks-mark circle { fill: none; stroke: #BE0000; stroke-width: 2.5; }
.ctc-thanks-mark path { fill: none; stroke: #BE0000; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; }
.ctc-thanks-title { margin: 22px 0 10px !important; font: 600 clamp(34px, 4.4vw, 56px)/1.05 'Raleway', sans-serif; letter-spacing: -.03em; }
.ctc-thanks-text { font-size: 18px; line-height: 1.6; opacity: .75; max-width: 460px; }
.ctc-thanks-again { margin-top: 28px; background: none; border: 0; padding: 0 0 3px; border-bottom: 1px solid currentColor; color: inherit; font: 700 15px/1.2 'Raleway', sans-serif; cursor: pointer; }
.ctc-thanks-again:hover { color: #BE0000; }
/* ── services.css ── */
/* Services page — white page, one black section (the whole page fades to black while it is on screen) */
#sl-services { color: #0b0b0c; transition: background-color .6s ease-in-out, color .6s ease-in-out; }
#sl-services.is-dark { background-color: #0C0C0C; color: #fff; }
#sl-services .sv-muted { color: inherit; opacity: .6; }

.sv-eyebrow { font: 700 13px/1 'Raleway', sans-serif; letter-spacing: .24em; text-transform: uppercase; opacity: .55; }
.sv-h2 { font: 500 clamp(34px, 3.8vw, 64px)/1.1 'Raleway', sans-serif; letter-spacing: -.02em; }
.sv-btn { display: inline-flex; align-items: center; gap: 12px; padding: 17px 28px; border: 0; border-radius: 50px; background: #0b0b0c; color: #fff;
  font: 700 15px/1 'Raleway', sans-serif; cursor: pointer; transition: background-color .3s ease, transform .4s cubic-bezier(.22,.61,.36,1); }
.sv-btn svg { width: 18px; height: 18px; fill: currentColor; transition: transform .4s ease; }
.sv-btn:hover { background: #BE0000; transform: translateY(-3px); }
.sv-btn:hover svg { transform: translateX(5px); }
.sv-btn-lg { padding: 22px 36px; font-size: 17px; margin-top: 44px; background: #BE0000; }
.sv-btn-lg:hover { background: #e00000; }

/* 1 — hero (dark #0C0C0C, no image) */
.sv-hero { position: relative; min-height: 100vh; box-sizing: border-box; padding: 120px 5.55vw 80px; display: flex; flex-direction: column; overflow: hidden; }
.sv-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 8.33vw 8.33vw; -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%); }
.sv-glow { position: absolute; left: 0; top: 0; width: 720px; height: 720px; margin: -360px 0 0 -360px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(190,0,0,.28) 0%, rgba(190,0,0,.1) 35%, rgba(190,0,0,0) 70%); transform: translate(70vw, 35vh); }
.sv-hero > :not(.sv-glow):not(.sv-scroll-cue) { position: relative; }
.sv-title { margin-top: 22px !important; font: 500 clamp(46px, min(8.2vw, 13.5vh), 150px)/.98 'Raleway', sans-serif; letter-spacing: -.04em; }
.sv-line { display: block; overflow: hidden; padding-bottom: .07em; }
.sv-in { display: inline-block; }
.sv-rot .sv-in { display: grid; color: #BE0000; }
.sv-word { grid-area: 1 / 1; white-space: nowrap; }
.sv-hero-foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 5vw; align-items: end; margin-top: auto; padding-top: 40px; }
.sv-lede { font-size: 18px; line-height: 1.65; opacity: .72; max-width: 480px; margin-bottom: 28px !important; }
#sl-services.is-dark .sv-btn-light { background: #fff; color: #0C0C0C; }
#sl-services.is-dark .sv-btn-light:hover { background: #BE0000; color: #fff; }
.sv-hero-index { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 34px; border-top: 1px solid rgba(128,128,128,.28); }
.sv-hero-index li { display: flex; align-items: baseline; gap: 14px; padding: 13px 0; border-bottom: 1px solid rgba(128,128,128,.28); font: 500 17px/1.3 'Raleway', sans-serif;
  cursor: pointer; transition: color .3s ease, padding-left .4s cubic-bezier(.22,.61,.36,1); }
.sv-hero-index li span { font-size: 12px; font-weight: 700; color: #BE0000; letter-spacing: .1em; }
.sv-hero-index li:hover { padding-left: 10px; color: #BE0000; }
.sv-scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px;
  font: 700 11px/1 'Raleway', sans-serif; letter-spacing: .24em; text-transform: uppercase; opacity: .5; }
.sv-scroll-cue span { width: 1px; height: 38px; background: linear-gradient(currentColor, transparent); animation: svCue 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes svCue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* 2 — sticky services stage */
.sv-stage-sec { position: relative; height: calc(var(--n) * 85vh + 100vh); margin-top: 60px; }
.sv-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.sv-center { position: absolute; left: 50%; top: 50%; width: min(640px, 44vw); transform: translate(-50%, -50%); text-align: center; z-index: 3; }
.sv-count { font: 700 13px/1 'Raleway', sans-serif; letter-spacing: .2em; color: #BE0000; margin-bottom: 26px !important; }
.sv-swap { position: relative; display: grid; }
.sv-item { grid-area: 1 / 1; visibility: hidden; opacity: 0; }
.sv-item.is-on { visibility: visible; opacity: 1; }
.sv-name { font: 500 clamp(40px, 4.4vw, 76px)/1.02 'Raleway', sans-serif; letter-spacing: -.03em; }
.sv-tag { margin-top: 14px !important; font: 600 18px/1.4 'Raleway', sans-serif; color: #BE0000; }
.sv-text { margin-top: 22px !important; font-size: 17px; line-height: 1.7; opacity: .72; }
.sv-gets { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 26px !important; }
.sv-gets li { padding: 9px 16px; border-radius: 30px; background: rgba(11,11,12,.06); font-size: 14px; font-weight: 600; }
.sv-cases { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-top: 24px; }
.sv-cases a { color: inherit; font-weight: 700; font-size: 15px; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: color .3s ease; }
.sv-cases a:hover { color: #BE0000; }

.sv-float { position: absolute; z-index: 2; will-change: transform; }
.sv-fimg { width: 100%; aspect-ratio: 1254 / 830; border-radius: 20px; overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.16); background: #eee; }
.sv-fimg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sv-f0 { left: 6vw; top: 14vh; width: 19vw; }
.sv-f1 { right: 13vw; top: 9vh; width: 15vw; }
.sv-f2 { left: 10vw; bottom: 10vh; width: 15vw; }
.sv-f3 { right: 8vw; bottom: 13vh; width: 19vw; }

.sv-index { position: absolute; right: 2.4vw; top: 50%; transform: translateY(-50%); z-index: 4; display: flex; flex-direction: column; gap: 10px; }
.sv-index li { display: flex; align-items: center; gap: 10px; justify-content: flex-end; font: 600 12px/1 'Raleway', sans-serif; opacity: .35; cursor: pointer; transition: opacity .3s ease; white-space: nowrap; }
.sv-index li span { order: 2; display: inline-block; width: 22px; height: 2px; background: currentColor; font-size: 0; transition: width .4s ease, background-color .3s ease; }
.sv-index li:hover { opacity: .7; }
.sv-index li.is-on { opacity: 1; }
.sv-index li.is-on span { width: 40px; background: #BE0000; }
.sv-bar { position: absolute; left: 2.4vw; top: 22vh; bottom: 22vh; width: 2px; background: rgba(11,11,12,.1); z-index: 4; }
.sv-bar span { display: block; width: 100%; height: 100%; background: #BE0000; transform-origin: top; transform: scaleY(0); }

/* mobile list (shown instead of the sticky stage on small screens) */
.sv-mlist { display: none; }

/* 3 — the black section */
.sv-dark { padding: 160px 5.55vw 150px; }
.sv-dark-head { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 4vw; align-items: start; }
.sv-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 26px; margin-top: 100px !important; counter-reset: s; }
.sv-step { padding-top: 26px; border-top: 1px solid currentColor; border-color: rgba(255,255,255,.2); }
.sv-step-n { display: block; font: 600 54px/1 'Raleway', sans-serif; color: #BE0000; margin-bottom: 26px; }
.sv-step h3 { font: 600 21px/1.3 'Raleway', sans-serif; margin-bottom: 10px !important; }
.sv-step p { font-size: 15px; line-height: 1.6; opacity: .62; }
.sv-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 120px !important; padding-top: 50px; border-top: 1px solid rgba(255,255,255,.18); }
.sv-stats dt { font: 500 clamp(48px, 5.4vw, 96px)/1 'Raleway', sans-serif; letter-spacing: -.03em; }
.sv-stats dd { margin-top: 12px; font-size: 15px; opacity: .6; }

/* 4 — back to white */
.sv-platforms { padding: 50px 0; overflow: hidden; border-top: 1px solid rgba(11,11,12,.1); border-bottom: 1px solid rgba(11,11,12,.1); }
.sv-marquee { display: inline-flex; white-space: nowrap; gap: 36px; align-items: center; animation: svMarquee 40s linear infinite; }
.sv-marquee span { font: 500 clamp(28px, 3.2vw, 50px)/1 'Raleway', sans-serif; letter-spacing: -.01em; }
.sv-marquee i { font-style: normal; color: #BE0000; font-size: 12px; }
@keyframes svMarquee { to { transform: translateX(-50%); } }
.sv-work { padding: 130px 5.55vw 40px; }
.sv-work-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 50px; }
.sv-all { color: inherit; font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.sv-all:hover { color: #BE0000; }
.sv-work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.sv-wcard { color: inherit; text-decoration: none; }
.sv-wimg { border-radius: 22px; overflow: hidden; aspect-ratio: 1254 / 830; }
.sv-wimg img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s cubic-bezier(.22,.61,.36,1); }
.sv-wcard:hover .sv-wimg img { transform: scale(1.05); }
.sv-wcard h3 { margin-top: 20px !important; font: 500 26px/1.2 'Raleway', sans-serif; }
.sv-wcard p { margin-top: 6px !important; font-size: 14px; font-weight: 700; color: #BE0000; }
.sv-cta { padding: 150px 5.55vw 170px; text-align: center; }
.sv-cta h2 { font: 500 clamp(44px, 6.4vw, 112px)/1.02 'Raleway', sans-serif; letter-spacing: -.035em; }

@media (max-width: 1023px) {
  .sv-hero { padding-top: 120px; }
  .sv-hero-foot { grid-template-columns: 1fr; gap: 40px; }
  .sv-hero-index { grid-template-columns: 1fr; }
  .sv-stage-sec { display: none; }
  .sv-mlist { display: grid; gap: 70px; padding: 90px 5.55vw 20px; }
  .sv-mimg { border-radius: 20px; overflow: hidden; margin-bottom: 24px; aspect-ratio: 1254 / 830; }
  .sv-mimg img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .sv-mcard .sv-gets, .sv-mcard .sv-cases { justify-content: flex-start; }
  .sv-dark-head { grid-template-columns: 1fr; gap: 20px; }
  .sv-steps { grid-template-columns: 1fr 1fr; gap: 40px 24px; margin-top: 60px !important; }
  .sv-stats { grid-template-columns: 1fr 1fr; gap: 36px 24px; margin-top: 70px !important; }
  .sv-work-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .sv-steps { grid-template-columns: 1fr; }
  .sv-work-head { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* Phones / tablets: sections below the first screen are laid out only when they come near it
   (content-visibility). The sizes are the measured real heights, so the scroll length stays right;
   "auto" keeps the true size once a section has been seen. The ScrollTriggers are re-measured
   when a section's real size arrives (ResizeObserver in services.js). Wide screens are unchanged. */
@media (max-width: 1023px) {
  #sl-services .sv-mcard { content-visibility: auto; contain-intrinsic-size: auto 820px; }
  #sl-services .sv-dark  { content-visibility: auto; contain-intrinsic-size: auto 1460px; }
  #sl-services .sv-work  { content-visibility: auto; contain-intrinsic-size: auto 1900px; }
  #sl-services .sv-cta   { content-visibility: auto; contain-intrinsic-size: auto 480px; }
}
@media (max-width: 640px) {
  #sl-services .sv-mcard { contain-intrinsic-size: auto 740px; }
  #sl-services .sv-dark  { contain-intrinsic-size: auto 1980px; }
  #sl-services .sv-work  { contain-intrinsic-size: auto 1280px; }
  #sl-services .sv-cta   { contain-intrinsic-size: auto 516px; }
}
/* ── corners.css ── */
/* Bottom-left corner links: Services · Let's talk */
#sl-dock { position: fixed; left: 26px; bottom: 26px; z-index: 9900; display: flex; align-items: center; gap: 18px;
  mix-blend-mode: difference; opacity: 0; pointer-events: none; transform: translateY(14px); transition: opacity .45s ease, transform .6s cubic-bezier(.22,.61,.36,1); }
#sl-dock.is-on { opacity: 1; pointer-events: auto; transform: none; }
.sl-dock-link { display: inline-flex; align-items: center; gap: 9px; padding: 0; border: 0; background: none; color: #fff; cursor: pointer;
  font: 500 0.7rem/1 'Space Grotesk', sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.sl-dock-dot { width: 6px; height: 6px; border-radius: 50%; background: #fff; transition: transform .4s cubic-bezier(.22,.61,.36,1); }
.sl-dock-link:hover .sl-dock-dot { transform: scale(1.8); }

@media (max-width: 768px) {
  #sl-dock { left: 16px; bottom: 18px; }
  #sl-dock { display: none; }                 /* on phones both links live in the menu */
}
/* ── page2.css ── */
/* Page "2" — Trigger-style immersive preloader + fullscreen masthead */
#sl-page2 {
  --p2-bg: #0c0c0e;
  --p2-cream: #f1e9db;
  --p2-lane-w: 25vw;
  --p2-gap: 1.6vw;
  --p2-pad: 6.25vw;
  position: fixed;
  inset: 0;
  z-index: 9000;
  visibility: hidden;
  opacity: 0;
  background: var(--p2-bg);
  color: #fff;
  font-family: 'Roboto Mono', monospace;
  overflow: hidden;
}
body.sl-page2-open { overflow: hidden; }
body.sl-page2-open #sl-navbar { mix-blend-mode: normal; }

/* ── Masthead ── */
.p2-hero { position: absolute; inset: 0; overflow: hidden; }
.p2-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; z-index: 0; }
.p2-hero-shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.55)); }
.p2-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: 0 var(--p2-pad);
}
.p2-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0;
  margin-top: -8vh;
  font-family: 'Anton', 'Bebas Neue', Impact, sans-serif;
  font-weight: 400;
  font-size: 15.5vw;
  line-height: 0.85;
  text-transform: uppercase;
  color: var(--p2-cream);
  letter-spacing: 0.005em;
}
.p2-part { display: block; white-space: nowrap; }
.p2-part-2 { margin-left: 28.5vw; }
.p2-mask { display: inline-block; overflow: hidden; vertical-align: top; }
.p2-ch { display: inline-block; will-change: transform; }
.p2-description {
  position: absolute;
  left: calc(50vw + 15px);
  bottom: 6vh;
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: #fff;
}
.p2-line-mask { display: block; }
.p2-line { display: block; will-change: transform; }

.p2-footer {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 var(--p2-pad) 6vh;
  pointer-events: none;
}
.p2-props { display: flex; flex-direction: column; gap: 8px; }
.p2-prop { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.5; color: #fff; }
.p2-circle {
  position: relative;
  width: 132px;
  height: 132px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font: 700 14px 'Roboto Mono', monospace;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  pointer-events: auto;
  transition: background-color 0.4s ease;
}
.p2-circle:hover { background: rgba(255, 255, 255, 0.08); }
.p2-circle svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.p2-circle circle { fill: none; stroke: rgba(255, 255, 255, 0.6); stroke-width: 1; stroke-dasharray: 410; }
.p2-blink {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--p2-cream);
  animation: p2Blink 1.2s ease-in-out infinite;
}
@keyframes p2Blink { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.25; transform: scale(0.6); } }

/* ── Preloader ── */
.p2-loader {
  position: absolute;
  inset: 0;
  z-index: 10;
  background: var(--p2-bg);
  overflow: hidden;
}
.p2-lanes {
  position: absolute;
  top: 0;
  left: 50%;
  display: flex;
  gap: var(--p2-gap);
  transform: translateX(-50%);
  width: calc(5 * var(--p2-lane-w) + 4 * var(--p2-gap));
}
.p2-lane { display: flex; flex-direction: column; gap: var(--p2-gap); width: var(--p2-lane-w); flex: none; }
.p2-item { position: relative; width: 100%; overflow: hidden; will-change: transform, opacity, filter; }
.p2-item.p2-land { aspect-ratio: 3 / 2; }
.p2-item.p2-port { aspect-ratio: 2 / 3; }
.p2-item-inner { position: absolute; inset: 0; overflow: hidden; will-change: transform; }
.p2-item img, .p2-ghost img, .p2-item video, .p2-ghost video { width: 100%; height: 100%; object-fit: cover; display: block; will-change: transform; background: #111; }
.p2-hero-slot { background: #0C0C0C; }
.p2-hero-slot video { width: 100%; height: 100%; object-fit: cover; display: block; }
.p2-ghost { position: fixed; z-index: 5; overflow: hidden; }

.p2-counter {
  position: absolute;
  left: 2vw;
  bottom: 2.5vh;
  z-index: 6;
  display: inline-flex;
  align-items: flex-start;
  font-family: 'Anton', 'Bebas Neue', Impact, sans-serif;
  font-size: clamp(5rem, 13vw, 10rem);
  line-height: 1;
  color: var(--p2-cream);
  font-variant-numeric: tabular-nums;
}
.p2-digit { position: relative; display: inline-block; height: 1em; overflow: hidden; }
.p2-digit-track { display: flex; flex-direction: column; }
.p2-digit-track span { display: block; height: 1em; line-height: 1; }
.p2-suffix { display: inline-block; font-size: 0.4em; padding: 0.15em 0.2em 0; }
.p2-bar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  z-index: 6;
  background: var(--p2-cream);
  transform: scaleX(0);
  transform-origin: left center;
}

@media (max-width: 991px) {
  #sl-page2 { --p2-lane-w: 38vw; --p2-gap: 2.5vw; --p2-pad: 6vw; }
  .p2-title { font-size: 22vw; margin-top: -12vh; }
  .p2-part-2 { margin-left: 18vw; }
  .p2-description { left: var(--p2-pad); bottom: auto; top: 62vh; }
  .p2-circle { width: 104px; height: 104px; font-size: 12px; }
}
/* ── to-top.css ── */
/* "Back to top" — same control as airportassist-v2.aqaralex.com */
.sl-to-top {
  position: fixed;
  right: 30px;
  bottom: 96px;
  z-index: 9900;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: none;
  background: none;
  color: rgba(241, 241, 241, 0.65);
  font-family: 'Inter Tight', 'Space Grotesk', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.28s, transform 0.28s, color 0.22s;
}
.sl-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.sl-to-top svg { width: 15px; height: 15px; transition: transform 0.22s; }
.sl-to-top .ln {
  width: 1px;
  height: 26px;
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(241, 241, 241, 0.6));
  transition: background 0.22s;
}
.sl-to-top:hover { color: #fff; }
.sl-to-top:hover .ln { background: linear-gradient(rgba(0, 0, 0, 0), #fff); }
.sl-to-top:hover svg { transform: translateY(-3px); }
.sl-to-top:focus-visible { outline: 1px solid rgba(241, 241, 241, 0.6); outline-offset: 6px; border-radius: 4px; }

.sl-to-top.on-light { color: rgba(26, 26, 26, 0.55); }
.sl-to-top.on-light .ln { background: linear-gradient(rgba(0, 0, 0, 0), rgba(26, 26, 26, 0.5)); }
.sl-to-top.on-light:hover { color: #1a1a1a; }
.sl-to-top.on-light:hover .ln { background: linear-gradient(rgba(0, 0, 0, 0), #1a1a1a); }

@media (max-width: 680px) {
  .sl-to-top { right: 20px; bottom: 84px; gap: 6px; }
  .sl-to-top .ln { height: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .sl-to-top { transition: opacity 0.2s; }
  .sl-to-top:hover svg { transform: none; }
}
/* ── showcase.css ── */
/* Projects showcase — like five.buzzvel.com "Our projects" */
.sc-section {
  --sc-gap: 24px;
  --sc-h: min(86vh, 800px);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4rem;
  padding: 4rem 24px 6rem;
  background: #000;
  color: #fff;
  font-family: 'Raleway', 'Inter Tight', sans-serif;
  overflow: hidden;
}
.sc-header { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.sc-heading {
  margin: 0;
  font-size: clamp(2.5rem, 7.3vw, 6.25rem);
  line-height: 1;
  font-weight: 300;
  text-transform: uppercase;
}
.sc-heading b { font-weight: 800; }
.sc-heading i { font-weight: 300; font-style: italic; }
.sc-mask { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; }
.sc-rise { display: inline-block; will-change: transform; }
.sc-description {
  margin: 0;
  max-width: 50ch;
  font-size: clamp(1.1rem, 1.75vw, 1.5rem);
  line-height: 1.33;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
}

/* Gallery */
.sc-viewport { position: relative; height: var(--sc-h); overflow: hidden; }
.sc-track { display: flex; gap: var(--sc-gap); height: 100%; }
.sc-card { flex: none; height: 100%; display: flex; flex-direction: column; gap: var(--sc-gap); will-change: transform; }
.sc-row { flex: 1 1 0; min-height: 0; display: flex; gap: var(--sc-gap); }
.sc-g-tall   { width: 70vw; }
.sc-g-wide   { width: 70vw; }
.sc-g-mosaic { width: 118.8vw; }
.sc-g-end    { width: 39vw; }
.sc-g-wide .sc-row:nth-child(2) .sc-tile:nth-child(1) { flex-grow: 1.53; }
.sc-g-mosaic .sc-row:nth-child(1) .sc-tile:nth-child(3) { flex-grow: 2.06; }
.sc-g-mosaic .sc-row:nth-child(2) .sc-tile:nth-child(1) { flex-grow: 3.12; }

.sc-tile {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
  isolation: isolate;
}
.sc-link { position: absolute; inset: 0; z-index: 20; cursor: none; }
.sc-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; transform: scale(1.05); }
.sc-media img, .sc-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.sc-shade {
  position: absolute; inset: 0; z-index: 10;
  background: rgba(0, 0, 0, 0.6);
  transform: scale(1.5);
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.87, 0, 0.13, 1);
}
.sc-tile.has-video .sc-still { opacity: 0; transition: opacity 0.4s cubic-bezier(0.87, 0, 0.13, 1); }
.sc-video { transition: opacity 0.4s cubic-bezier(0.87, 0, 0.13, 1); }
.sc-info {
  position: relative;
  z-index: 15;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.87, 0, 0.13, 1);
}
.sc-title { margin: 0; font-size: 2rem; line-height: 1; font-weight: 800; text-transform: uppercase; }
.sc-text { margin: 0; font-size: 1.25rem; line-height: 1.2; font-weight: 400; max-width: 46ch; }
.sc-btn { display: none; }
.sc-all { display: none; }

/* hover: still image + dark overlay + text */
.sc-tile:hover .sc-shade,
.sc-tile:hover .sc-info,
.sc-tile.has-video:hover .sc-still { opacity: 1; }
.sc-tile.has-video:hover .sc-video { opacity: 0; }

/* Cursor */
.sc-cursor {
  position: fixed;
  top: 0; left: 0;
  z-index: 9600;
  width: 140px;
  height: 140px;
  pointer-events: none;
  user-select: none;
}
.sc-cursor svg { width: 100%; height: 100%; overflow: visible; }
.sc-cursor-shape { fill: #fff; }
.sc-cursor-text { transform-origin: 70px 70px; animation: scSpin 12s linear infinite; }
.sc-cursor text {
  fill: #000;
  font-family: 'Raleway', 'Inter Tight', sans-serif;
  font-size: 9.6px;
  font-weight: 700;
  letter-spacing: 0.14em;
}
@keyframes scSpin { to { transform: rotate(360deg); } }
@media (pointer: coarse) { .sc-cursor { display: none; } .sc-link { cursor: pointer; } }

/* Tablet & mobile: no pinning — each project is a card: the video at its own 16:9 shape (no dark overlay),
   the title, text and button underneath. Phones show the first 8 projects + "View all projects". */
@media (max-width: 1023px) {
  .sc-section { gap: 2.6rem; padding: 3.5rem 16px 4.5rem; }
  .sc-viewport { height: auto; overflow: visible; }
  .sc-track { display: grid; grid-template-columns: minmax(0, 1fr); gap: 38px; height: auto; }
  .sc-card, .sc-row { display: contents; }            /* the desktop groups/rows step aside: every tile is a grid item */
  .sc-tile { flex: none; display: block; padding: 0; overflow: visible; isolation: auto; min-width: 0; }
  .sc-media { position: relative; inset: auto; z-index: 0; transform: none; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #141414; }
  .sc-shade { display: none; }
  .sc-tile.has-video .sc-still, .sc-tile.has-video:hover .sc-still { opacity: 1; }    /* the still shows until the video plays over it */
  .sc-tile.has-video:hover .sc-video { opacity: 1; }                                 /* no hover swap on touch screens */
  .sc-info { opacity: 1; gap: 10px; padding-top: 16px; }
  .sc-title { font-size: 1.45rem; }
  .sc-text { font-size: 0.98rem; line-height: 1.45; color: rgba(255, 255, 255, 0.72); }
  .sc-btn {
    display: inline-flex; align-items: center; gap: 10px; width: fit-content; margin-top: 4px;
    padding: 7px 16px; position: relative; z-index: 25;
    background: #fff; color: #000; text-decoration: none; font-weight: 600; font-size: 0.85rem;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 10px, 100% 100%, 8px 100%, 0 calc(100% - 10px));
  }
  .sc-btn svg { width: 18px; height: 8px; }
  .sc-all { display: inline-flex; align-self: center; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 40px; padding: 14px 26px; margin-top: 4px; }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .sc-track { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 20px; }
}
@media (max-width: 639px) { .sc-tile.sc-more { display: none; } }
@media (min-width: 640px) { .sc-all { display: none; } }

/* Inside the sections page: keep project media in full colour */
#ik-about .sc-section img, #ik-about .sc-section video { filter: none; }
