/* ==========================================================================
   Bankysh — marketing site
   Layout and motion system recreated from the Omnera reference (values taken
   from its production CSS); colour, type and content from the Bankysh brand book.
   Layout concept: oversized editorial type on a 2% gutter grid, sections stacked
   with z-index so each one slides out from under the one before it.
   ========================================================================== */

:root {
  /* Brand palette (Bankysh brand guidelines v1.0, p.11) */
  --bk-black: #04091A;      /* Primary dark: text, dark surfaces, nav */
  --bk-blue: #006CFF;       /* Primary brand: CTAs, active states, key word */
  --bk-purple: #9A4EFF;     /* Secondary: premium tier, hero gradient only */
  --bk-white: #F8F6FE;      /* Neutral light: secondary backgrounds */
  --white: #FFFFFF;         /* Cards, inputs, app background */
  --bk-cyan: #68D8FC;       /* Accent: labels on dark only */
  --bk-navy-md: #262A42;    /* Dark cards */
  --bk-navy-dk: #111426;    /* Dark surfaces */
  --bk-grey: #454A66;       /* Muted blue grey: secondary text, borders */

  /* Role mapping (Omnera role -> Bankysh token) */
  --c-bg: var(--white);               /* Omnera --colors--second-color */
  --c-fg: var(--bk-black);            /* Omnera --colors--first-color */
  --c-surface: var(--bk-white);       /* Omnera --colors--footer-color (whitesmoke) */
  --c-muted: var(--bk-grey);          /* Omnera opacity .55/.7 text */
  --c-line: rgba(4, 9, 26, 0.12);     /* Omnera #0000001f */
  --c-accent: var(--bk-blue);
  --c-fade-from: rgba(4, 9, 26, 0.15);
  color-scheme: light;

  /* Type — Schibsted Grotesk replaces Switzer, JetBrains Mono replaces IBM Plex Mono */
  --f-display: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Omnera scale (desktop) */
  --fs-hero: 15.5rem;
  --fs-h1: 7rem;
  --fs-page-title: 4rem;
  --fs-h2: 2.9rem;
  --fs-h3: 1.9rem;
  --fs-h4: 1.4rem;
  --fs-h5: 1.1rem;
  --fs-h6: 1rem;
  --fs-small: .9rem;
  --fs-cta: 1.2rem;
  --lh: 1.15;
  --lh-tight: 1;
  --lh-p: 1.3;

  --gutter: max(16px, 2%);
  --container: 1400px;
  --radius-card: 6px;

  /* Easing taken from the reference's CustomEase curves */
  --ease-btn: cubic-bezier(.2, 0, .4, 1);
  --ease-nav: cubic-bezier(.16, 0, .28, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-fg);
  font-family: var(--f-display);
  font-size: 16px;
  line-height: var(--lh);
  font-weight: 500;
  letter-spacing: -0.5px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img { max-width: 100%; display: inline-block; vertical-align: middle; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
p { color: var(--c-muted); line-height: var(--lh-p); letter-spacing: -0.4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mono { font-family: var(--f-mono); letter-spacing: 0; font-feature-settings: "zero" 0; font-variant-numeric: tabular-nums; }
.eyebrow { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.text-blue { color: var(--bk-blue); }

:focus-visible { outline: 2px solid var(--bk-blue); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: fixed; left: var(--gutter); top: 10px; z-index: 2000; background: var(--bk-blue); color: var(--white); padding: 10px 16px; border-radius: 10px; text-decoration: none; transform: translateY(-150%); transition: transform .2s; }
.skip-link:focus { transform: none; }

.container { position: relative; z-index: 1; width: 100%; max-width: var(--container); margin-inline: auto; }

/* ---------- Page-load transition (pixel grid) ---------- */
.transition {
  position: fixed; inset: 0 0 auto 0; z-index: 1001;
  min-height: 100vh; display: none;
  grid-template-columns: repeat(8, 1fr);
  background: var(--bk-black);
  pointer-events: none;
}
.js .transition { display: grid; animation: transition-failsafe 0s linear 5s forwards; }
.transition-block { aspect-ratio: 1; width: 100%; background: var(--bk-black); }
@keyframes transition-failsafe { to { visibility: hidden; } }

/* ---------- Crosshair (desktop) ---------- */
.crosshair { position: fixed; inset: 0; z-index: 1000; pointer-events: none; mix-blend-mode: difference; display: flex; align-items: center; justify-content: center; }
.crosshair__h { position: absolute; width: 100%; height: 1px; background: #d3d3d3; opacity: .14; }
.crosshair__v { position: absolute; width: 1px; height: 100vh; background: #d3d3d3; opacity: .14; }
.crosshair__plus { position: absolute; width: 23px; height: 23px; }
.crosshair__plus::before, .crosshair__plus::after { content: ""; position: absolute; background: #fff; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.crosshair__plus::before { width: 23px; height: 1.5px; }
.crosshair__plus::after { width: 1.5px; height: 23px; }

/* ---------- Navigation ---------- */
.fixed-element { position: fixed; inset: 0 0 auto 0; z-index: 999; padding-top: env(safe-area-inset-top, 0px); }
.blur-effect {
  position: fixed; inset: 0 0 auto 0; z-index: -1; height: 110px; pointer-events: none;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  -webkit-mask-image: linear-gradient(#000 50%, transparent 100%); mask-image: linear-gradient(#000 50%, transparent 100%);
}
.navbar {
  display: grid; grid-template-columns: repeat(6, 1fr); column-gap: 10px; align-items: center;
  width: 100%; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
  transition: color .1s;
}
.nav-link {
  position: relative; z-index: 1; display: flex; align-items: center; justify-content: center;
  min-width: 120px; min-height: 70px; padding-block: 15px; overflow: hidden;
  color: var(--c-fg); font-size: var(--fs-h5); font-weight: 500; text-decoration: none;
}
.nav-link--logo { justify-content: flex-start; min-width: 0; grid-column: 1 / 2; }
.nav-logo { display: block; height: 22px; width: auto; color: currentColor; }
.nav-text { position: relative; z-index: 1; font-weight: 500; }
.last-part { grid-column: 6 / 7; display: flex; justify-content: flex-end; align-items: flex-start; }
.nav-menu { display: flex; align-items: center; justify-content: center; }
.nav-menu__cta { margin-left: 0; }
.menu-button { display: none; }

/* Navbar on dark sections: brand colours instead of the reference's invert filter */
.fixed-element.is-on-dark .nav-link { color: var(--white); }
.fixed-element.is-on-dark .btn--nav .btn__bg { background: var(--white); }
.fixed-element.is-on-dark .btn--nav .btn__text { color: var(--bk-black); }
.fixed-element.is-on-dark .btn--nav:hover .btn__text { color: var(--white); }

/* ---------- Buttons (reference: .nav-link.for-button) ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 123px; min-height: 50px; padding: 0 22px; border: 0; border-radius: 10px; overflow: hidden;
  font: inherit; font-size: var(--fs-h6); font-weight: 500; letter-spacing: -0.3px; text-decoration: none; cursor: pointer;
  background: transparent; color: var(--white);
}
.btn__text { position: relative; z-index: 1; color: var(--white); white-space: nowrap; transition: color .2s var(--ease-btn) .07s; }
.btn__bg { position: absolute; inset: 0; border-radius: 10px; overflow: hidden; background: var(--bk-blue); transform: scale(1); transition: transform .3s var(--ease-btn); }
.btn__overlay { position: absolute; left: -54%; top: -21%; width: 200%; height: 200%; border-radius: 200%; background: var(--bk-black); transform: translateY(100%); transition: transform .4s var(--ease-btn) .02s; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover .btn__bg { transform: scale(.88); }
  .btn:hover .btn__overlay { transform: translateY(0); }
}
/* light variant (reference default whitesmoke button) */
.btn--light .btn__bg { background: var(--white); }
.btn--light .btn__text { color: var(--bk-black); }
.btn--light .btn__overlay { background: var(--bk-blue); }
.btn--light:hover .btn__text { color: var(--white); }
.btn--nav { min-width: 150px; }

/* ---------- Hero ---------- */
.main-content { position: relative; background: var(--bk-black); perspective: 1000px; }
.hero-wrapper { position: relative; z-index: 14; display: flex; justify-content: center; align-items: center; }
.hero-main {
  position: relative; z-index: 11; width: 100%; height: 100vh; min-height: 640px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: 2% max(20px, env(safe-area-inset-right, 0px)) 2% max(20px, env(safe-area-inset-left, 0px));
  background: var(--c-bg);
}
.hero-image { position: absolute; inset: 0; z-index: 1; overflow: hidden; background: var(--c-bg); }
.hero-canvas { position: absolute; left: 50%; top: 50%; width: min(620px, 52vw); aspect-ratio: 620 / 460; transform: translate(-44%, -27%); pointer-events: none; }
.hero-canvas canvas { width: 100%; height: 100%; display: block; }
.container--hero { perspective: 1000px; top: -40px; display: flex; justify-content: center; }
.logo-big { width: min(1080px, 76vw); margin: 0; line-height: 0; }
.logo-big svg { width: 100%; height: auto; display: block; overflow: hidden; fill: var(--c-fg); }
.hero-bottom { position: absolute; left: 0; right: 0; bottom: 40px; z-index: 2; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.bottom-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: end; }
.hero-title { font-size: var(--fs-h2); line-height: var(--lh); font-weight: 700; letter-spacing: -0.03em; text-wrap: balance; }
.hero-side { justify-self: end; max-width: 340px; display: flex; flex-direction: column; gap: 18px; }
.hero-lead { font-size: var(--fs-h5); line-height: var(--lh-p); letter-spacing: -0.3px; font-weight: 600; color: var(--c-fg); }
.hero-lead span { color: var(--c-muted); font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.hero-proof { font-size: 11px; color: var(--c-muted); line-height: 1.5; }
.link-arrow { font-size: var(--fs-small); font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.link-arrow span { transition: transform .3s var(--ease-btn); }
.link-arrow:hover span { transform: translateX(4px); }

/* ---------- Sections ---------- */
.content-effect { position: relative; z-index: 2; }
.st-measuring .content-effect { transform: none !important; opacity: 1 !important; }
.ce-01 { z-index: 12; } .ce-02 { z-index: 13; } .ce-03 { z-index: 11; } .ce-04 { z-index: 10; }
.ce-05 { z-index: 9; } .ce-06 { z-index: 8; } .ce-07 { z-index: 7; } .ce-08 { z-index: 6; }
.section { position: relative; z-index: 11; background: var(--c-bg); padding: 300px max(var(--gutter), env(safe-area-inset-right, 0px)) 300px max(var(--gutter), env(safe-area-inset-left, 0px)); }
.section--surface { background: var(--c-surface); }
.section--dark { background: var(--bk-black); color: var(--white); }
.section--clip { overflow: hidden; }
.divider-xl { height: 150px; }
.divider-l { height: 60px; }
.divider-s { height: 30px; }
.divider-xs { height: 15px; }

.h2 { font-size: var(--fs-h2); line-height: var(--lh-tight); font-weight: 700; letter-spacing: -0.03em; }
.h2.fade { line-height: var(--lh); text-wrap: balance; }
.h2.fade--xl { font-size: var(--fs-h1); text-align: center; letter-spacing: -0.035em; }
.h2.fade--big { font-size: var(--fs-page-title); text-align: center; }
.label { display: block; font-size: var(--fs-h5); line-height: var(--lh); letter-spacing: -0.2px; font-weight: 600; margin-bottom: 10px; }
.section--dark .label { color: var(--white); }
.title-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.title-grid > .title-grid__main { grid-column: 2 / 4; }
.title-grid--4 { grid-template-columns: repeat(4, 1fr); }
.title-grid--4 > .title-grid__main { grid-column: 1 / 3; }
.title-grid--center { display: flex; justify-content: center; text-align: center; }

/* ---------- Meet (currency flip grid) ---------- */
.flip-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; width: 100%; }
.flip-card { position: relative; display: flex; justify-content: center; align-items: center; }
.flip-card__stage { perspective: 500px; width: 100%; height: 100%; display: flex; }
.flip-card__inner { position: relative; width: 100%; padding-block: 70px; transform-style: preserve-3d; }
.flip-card__side {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: var(--c-surface); border-radius: 4px; backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.flip-card__side--back { transform: rotateY(180deg); background: var(--bk-black); color: var(--white); }
.flip-card__glyph { font-family: var(--f-mono); font-weight: 500; font-size: 2.6rem; line-height: 1; letter-spacing: 0; color: var(--c-fg); }
.flip-card__code { font-family: var(--f-mono); font-size: 1rem; letter-spacing: .16em; color: var(--bk-cyan); }
.flip-card__code small { display: block; margin-top: 6px; font-size: 10px; letter-spacing: .1em; color: rgba(248, 246, 254, .6); text-align: center; }
.flip-text { display: flex; align-items: center; justify-content: center; text-align: center; padding: 10px; }
.flip-text .label { margin: 0; font-size: var(--fs-h6); }
.flip-text .label span { color: var(--c-muted); font-weight: 500; }
.flip-photo { grid-column: 4 / 5; grid-row: 3 / 4; border-radius: 5px; overflow: hidden; aspect-ratio: 1 / 1; background: var(--bk-blue); position: relative; }
.flip-photo img { position: absolute; left: 50%; top: 9%; width: 66%; height: auto; transform: translateX(-50%); filter: drop-shadow(0 18px 30px rgba(4, 9, 26, .35)); }
.flip-caption { grid-column: 4 / 5; grid-row: 4 / 5; display: flex; flex-direction: column; align-items: flex-start; margin-top: 10px; }
.flip-caption .label { font-size: var(--fs-h6); }
.chip { display: inline-block; padding: 5px 9px; border-radius: 3px; background: var(--c-surface); color: var(--c-muted); font-size: 12px; font-family: var(--f-mono); letter-spacing: 0; }

/* ---------- Products (reference: Featured Works) ---------- */
.work-grid { display: grid; grid-template-columns: repeat(9, 1fr); row-gap: 10vh; }
.work-item:nth-child(1) { grid-area: 1 / 2 / 2 / 7; }
.work-item:nth-child(2) { grid-area: 2 / 5 / 3 / 9; }
.work-item:nth-child(3) { grid-area: 3 / 2 / 4 / 9; }
.work-item:nth-child(4) { grid-area: 4 / 5 / 5 / 10; }
.work-wrapper { display: block; position: relative; color: var(--c-fg); text-decoration: none; font-size: var(--fs-cta); font-weight: 700; letter-spacing: -0.3px; }
.work-content { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0 23px; border-top: 1px solid var(--c-line); }
.work-text { display: inline-block; white-space: nowrap; }
.work-tags { font-size: var(--fs-small); font-weight: 500; color: var(--c-muted); text-align: right; }
.photo-wrapper-main { position: relative; display: flex; justify-content: center; align-items: center; }
.photo-work-1 { position: relative; z-index: 5; width: 100%; aspect-ratio: 3 / 2; border-radius: 20px; overflow: hidden; }
.photo-work-2, .photo-work-3 { position: absolute; z-index: 4; top: 0; width: 100%; height: 100%; aspect-ratio: 1; border-radius: 20px; overflow: hidden; }
.photo-work-2 { left: 0; }
.photo-work-3 { right: 0; }
.circle-arrow {
  position: absolute; z-index: 10; width: 100px; height: 100px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .15); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  transform: scale(0); opacity: 0;
}
.circle-arrow svg { width: 18px; height: 18px; color: var(--white); transform: scale(2) rotate(-50deg); }

/* Visual panels (stand-ins for photography, built from brand assets) */
.vis { position: absolute; inset: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.vis--blue { background: var(--bk-blue); color: var(--white); }
.vis--black { background: var(--bk-black); color: var(--white); }
.vis--white { background: var(--bk-white); color: var(--c-fg); }
.vis--purple { background: var(--bk-purple); color: var(--white); }
.vis--navy { background: var(--bk-navy-md); color: var(--white); }
.vis__phone { position: absolute; left: 50%; top: 10%; width: 42%; height: auto; margin-left: -21%; filter: drop-shadow(0 24px 40px rgba(4, 9, 26, .35)); will-change: transform; }
.vis__phone--wide { width: 48%; margin-left: -24%; }
.vis__cover { position: absolute; inset: -8% 0 auto 0; width: 100%; height: 116%; object-fit: cover; object-position: 50% 50%; will-change: transform; }
.vis__big { font-family: var(--f-mono); font-weight: 500; letter-spacing: -0.02em; font-size: clamp(2.2rem, 7vw, 6rem); line-height: 1; text-align: center; }
.vis__stack { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 8%; text-align: center; }
.vis__small { font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; opacity: .8; }
.vis__symbol { width: 30%; height: auto; }
.vis--black .vis__small { color: var(--bk-cyan); opacity: 1; }
.vis__check { width: 34%; aspect-ratio: 1; border-radius: 50%; background: var(--bk-blue); display: grid; place-items: center; color: var(--white); }
.vis__check svg { width: 42%; }

/* ---------- Why switch (reference: What we do) ---------- */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.services-card { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; min-height: 300px; padding: 20px; background: var(--c-bg); border-radius: var(--radius-card); }
.services-card svg { width: 35px; height: 35px; color: var(--c-fg); opacity: .8; }
.services-card h3 { font-size: var(--fs-h5); line-height: var(--lh); letter-spacing: -0.2px; font-weight: 700; margin-bottom: 5px; }
.services-card p { font-size: var(--fs-h5); line-height: var(--lh); letter-spacing: -0.2px; font-weight: 600; color: var(--c-muted); }
.photo-services { position: relative; grid-column: span 2; }
.photo-wrapper { position: relative; display: flex; justify-content: center; align-items: center; border-radius: 10px; overflow: hidden; text-decoration: none; }
.photo-services .photo-wrapper { aspect-ratio: 3 / 2; }
.photo-services .vis { transform: scale(1.15); }
.photo-services .vis__phone--wide { width: 34%; margin-left: -17%; top: 12%; }
.blur-div {
  position: absolute; display: flex; justify-content: center; align-items: center; min-width: 270px; padding: 31px 62px; border-radius: 30px;
  background: rgba(4, 9, 26, .2); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
}
.blur-div .nav-text { color: var(--white); font-size: var(--fs-h5); }

/* ---------- Who it's for (reference: dark sticky service cards) ---------- */
.work-main { max-width: 1240px; margin-inline: auto; }
.work-card {
  position: sticky; top: 10%; display: grid; grid-template-columns: 1fr 1fr; align-items: stretch;
  height: 600px; margin-bottom: 4vh; padding: 15px 15px 15px 35px; border-radius: 25px; overflow: hidden;
  background: rgba(38, 42, 66, .5); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
}
.work-card:last-child { margin-bottom: 0; }
.service-main-grid { display: contents; }
.service-flex { display: flex; flex-direction: column; justify-content: space-between; padding: 15px 71px 50px 0; }
.icon-box { width: 40px; height: 40px; color: var(--white); }
.work-card h3 { margin-top: 30px; font-size: var(--fs-h5); line-height: var(--lh); font-weight: 700; letter-spacing: -0.2px; margin-bottom: 10px; color: var(--white); }
.work-card p { color: rgba(248, 246, 254, .72); font-size: var(--fs-h6); max-width: 34ch; }
.flex-category { display: flex; flex-wrap: wrap; gap: 5px; }
.tag { display: inline-block; padding: 5px 9px; border-radius: 5px; background: var(--bk-navy-md); color: rgba(248, 246, 254, .78); font-family: var(--f-mono); font-size: 12px; letter-spacing: 0; }
.work-card .photo-wrapper { height: 100%; }
.work-card .vis { transform: scale(1.15); }

/* ---------- Statement CTA (reference: pinned photo section) ---------- */
.section--photo { height: 100vh; min-height: 640px; padding: 0; overflow: clip; background: var(--bk-black); }
.cta-on .section--photo { height: 300vh; }
.sticky-photo { position: sticky; top: 0; width: 100%; height: 100vh; color: var(--white); }
.cta-media { position: absolute; inset: 0; overflow: hidden; }
.cta-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transform: scale(1.15); }
.hero-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(4, 9, 26, .25) 0%, rgba(4, 9, 26, .2) 50%, rgba(4, 9, 26, .62) 100%), linear-gradient(rgba(4, 9, 26, 0) 45%, rgba(4, 9, 26, .65) 100%); }
.cta-content { position: absolute; left: 0; right: 0; bottom: 40px; z-index: 2; max-width: var(--container); margin-inline: auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.grid-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.max-left { max-width: 600px; }
.max-right { width: 100%; max-width: 400px; margin-left: auto; display: flex; flex-direction: column; align-items: flex-start; }
.cta-label { font-size: var(--fs-h5); font-weight: 600; letter-spacing: -0.2px; margin-bottom: 10px; color: var(--bk-cyan); font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.cta-title { font-size: var(--fs-h2); line-height: var(--lh); font-weight: 700; letter-spacing: -0.03em; }
.cta-text { font-size: var(--fs-h5); line-height: var(--lh-p); letter-spacing: -0.2px; font-weight: 600; color: var(--white); }
.cta-text + .cta-text { margin-top: 1em; }
.cta-text span { color: rgba(248, 246, 254, .72); }

/* ---------- FAQ (reference: horizontal testimonials track) ---------- */
.section--track { height: auto; padding: 0; overflow: clip; }
.sticky-track { position: relative; max-width: var(--container); margin-inline: auto; display: flex; flex-direction: column; justify-content: center; align-items: stretch; padding: 150px max(var(--gutter), env(safe-area-inset-right, 0px)) 150px max(var(--gutter), env(safe-area-inset-left, 0px)); }
.track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; width: 100%; }
.track-on .section--track { height: 300vh; }
.track-on .sticky-track { position: sticky; top: 0; height: 100vh; padding-block: 0; }
.track-on .track { display: flex; }
.track-item { flex: none; width: 100%; max-width: 400px; min-height: 400px; }
.faq-card { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; padding: 55px 40px 30px 30px; border-radius: 10px; background: var(--c-surface); }
.faq-card h3 { font-size: var(--fs-h5); line-height: var(--lh); font-weight: 700; letter-spacing: -0.2px; margin-bottom: 12px; }
.faq-card p { font-size: .95rem; }
.faq-card__num { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 5px; background: var(--c-bg); display: grid; place-items: center; font-family: var(--f-mono); font-size: 12px; color: var(--c-muted); }
.faq-card .chip { background: var(--c-bg); }

/* ---------- Pricing ---------- */
.grid-title { display: flex; flex-direction: column; align-items: center; gap: 40px; text-align: center; }
.max-w { max-width: 340px; }
.pricing-lead { font-size: var(--fs-h5); line-height: var(--lh); letter-spacing: -0.2px; font-weight: 600; color: var(--c-fg); }
.pricing-lead span { color: var(--c-muted); font-weight: 500; }
.div-block { max-width: 1240px; margin-inline: auto; padding: 20px; border-radius: 7px; background: var(--c-bg); }
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 20px; padding: 50px 30px 40px; border-radius: 7px; overflow: hidden; }
.plan--dark { background: var(--bk-black); color: var(--white); }
.plan--dark p { color: rgba(248, 246, 254, .72); }
.plan--light { background: transparent; }
.plan__head { max-width: 90%; }
.plan__name { font-size: var(--fs-h4); font-weight: 700; margin-bottom: 10px; letter-spacing: -0.02em; }
.plan__features-title { font-size: var(--fs-h5); font-weight: 600; margin-bottom: 20px; }
.plan__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.plan__list li { display: flex; align-items: center; gap: 9px; font-size: var(--fs-h6); line-height: var(--lh-p); }
.plan--dark .plan__list li { color: rgba(248, 246, 254, .8); }
.plan--light .plan__list li { color: var(--c-muted); }
.plus { position: relative; flex: none; width: 10px; height: 10px; }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; background: currentColor; transform: translate(-50%, -50%); }
.plus::before { width: 10px; height: 1.5px; } .plus::after { width: 1.5px; height: 10px; }
.plan--dark .plus { color: var(--bk-cyan); }
.plan--light .plus { color: var(--bk-blue); }
.line-divider { height: 1px; width: 100%; background: #e1e1e1; margin-block: 15px; }
.plan--dark .line-divider { background: rgba(255, 255, 255, .2); }
.price-window { height: 36px; overflow: hidden; margin-block: 15px; display: flex; flex-direction: column; }
.price-line { font-size: var(--fs-h3); line-height: 36px; font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; }
.price-line .mono { font-weight: 500; }
.price-line small { font-size: var(--fs-small); font-weight: 500; opacity: .7; letter-spacing: 0; }
.flex-pricing { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.currency-switch { position: absolute; top: 20px; right: 15px; display: flex; align-items: center; gap: 7px; background: none; border: 0; padding: 4px; color: inherit; font: inherit; cursor: pointer; }
.currency-switch__label { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; opacity: .5; transition: opacity .2s; }
.currency-switch__label.is-on { opacity: 1; }
.switch { position: relative; width: 45px; height: 25px; border-radius: 30px; background: var(--bk-grey); }
.switch-circle { position: absolute; top: 4px; left: 4px; width: 17px; height: 17px; border-radius: 50%; background: var(--white); }
.pricing-note { display: flex; justify-content: flex-end; align-items: center; gap: 18px; margin-top: 10px; padding-left: 10px; }
.pricing-note .mono { font-size: 12px; color: var(--c-muted); }

/* ---------- How it works (reference: news cards) ---------- */
.full-button { grid-column: 4 / 5; place-self: end; }
.collection-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step-card { position: relative; display: block; color: var(--c-fg); text-decoration: none; font-size: var(--fs-h5); line-height: var(--lh-p); font-weight: 700; letter-spacing: -0.3px; overflow: hidden; }
.image-wrap { display: block; position: relative; z-index: 1; aspect-ratio: 3 / 2; width: 100%; border-radius: 6px; overflow: hidden; }
.arrow-blog-icon { position: absolute; z-index: 5; top: 10px; right: 10px; width: 42px; height: 42px; border-radius: 6px; overflow: hidden; display: flex; align-items: center; justify-content: center; color: var(--white); background: rgba(4, 9, 26, .23); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.arrow-blog-icon svg { position: absolute; width: 16px; height: 16px; }
.arrow-blog-icon svg + svg { transform: translateX(-30px); }
.step-card__body { margin-top: 10px; display: grid; gap: 6px; }
.step-card__num { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .16em; color: var(--bk-blue); }
.step-card p { font-size: var(--fs-h6); font-weight: 500; }
.arrow-blog-icon svg { transition: transform .5s cubic-bezier(.165, .84, .44, 1); }
@media (hover: hover) {
  .step-card:hover .arrow-blog-icon svg:first-child { transform: translateX(30px); transition-duration: .8s; transition-timing-function: cubic-bezier(.16, 1, .3, 1); }
  .step-card:hover .arrow-blog-icon svg + svg { transform: translateX(0); transition-duration: .8s; transition-timing-function: cubic-bezier(.16, 1, .3, 1); }
}

/* ---------- Footer ---------- */
.footer { background: var(--bk-black); color: var(--white); padding: 100px max(var(--gutter), env(safe-area-inset-right, 0px)) max(var(--gutter), env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px)); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.footer-column { max-width: 530px; }
.footer-title { font-size: var(--fs-h2); line-height: var(--lh); font-weight: 700; letter-spacing: -0.03em; text-wrap: balance; }
.text-footer { font-size: var(--fs-small); font-weight: 400; line-height: 1.35; color: var(--white); }
.text-footer.light { color: rgba(248, 246, 254, .7); letter-spacing: -0.2px; }
.text-legal { font-size: 12px; line-height: 1.5; color: rgba(248, 246, 254, .55); letter-spacing: 0; max-width: 62ch; }
.signup-form { position: relative; max-width: 74%; display: flex; flex-direction: column; gap: 8px; }
.signup-form label { font-size: var(--fs-small); color: rgba(248, 246, 254, .7); }
.signup-row { position: relative; }
.signup-input {
  width: 100%; height: 64px; padding: 0 160px 0 20px; border-radius: 7px; border: 1px solid transparent;
  background: rgba(248, 246, 254, .1); color: var(--white); font: inherit; font-size: var(--fs-h6); transition: background .2s, padding .2s;
}
.signup-input::placeholder { color: rgba(248, 246, 254, .55); }
.signup-input:focus { outline: none; background: rgba(248, 246, 254, .14); border-color: var(--bk-blue); padding-left: 25px; }
.signup-input[aria-invalid="true"] { border-color: #FF9AF1; }
.signup-submit { position: absolute; top: 7px; right: 7px; min-height: 50px; }
.form-msg { min-height: 1.3em; font-size: var(--fs-small); color: rgba(248, 246, 254, .8); }
.form-msg.is-error { color: #FF9AF1; }
.grid-right-footer { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 16px; align-items: start; width: 100%; max-width: 420px; margin-left: auto; }
.footer-list { display: flex; flex-direction: column; gap: 4px; list-style: none; margin: 0; padding: 0; }
.footer-list .eyebrow { color: var(--bk-cyan); margin-bottom: 8px; font-size: 11px; }
.button-link { position: relative; display: inline-flex; flex-direction: column; color: var(--white); font-size: var(--fs-small); font-weight: 400; letter-spacing: -0.5px; text-decoration: none; padding-block: 2px; overflow: hidden; }
.button-link__line { position: relative; height: 1px; width: 100%; overflow: hidden; }
.button-link__line::after { content: ""; position: absolute; inset: 0; background: var(--white); transform: translateX(-101%); transition: transform .25s cubic-bezier(.25, .46, .45, .94); }
@media (hover: hover) and (min-width: 992px) { .button-link:hover .button-link__line::after { transform: translateX(0); } }
.logo-footer { width: 100%; opacity: .1; color: var(--white); }
.logo-footer svg { width: 100%; height: auto; display: block; fill: currentColor; }

/* ==========================================================================
   Responsive — breakpoints mirror the reference (991 / 767 / 479)
   ========================================================================== */
@media (max-width: 991px) {
  :root { --fs-h1: 5.5rem; --fs-h2: 2rem; --fs-h3: 1.6rem; --fs-h6: 16px; --fs-small: 16px; --fs-hero: 10rem; --fs-page-title: 3rem; }
  .section { padding-block: 100px; }
  .section--photo { height: 800px; }
  .hero-main { height: 700px; min-height: 0; padding-top: 50px; padding-bottom: 20px; }
  .navbar { grid-template-columns: 1fr 1fr 1fr; padding-block: 1%; }
  .last-part { grid-column: 3 / 4; align-items: center; }
  .nav-menu {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 5px;
    padding: 20px max(var(--gutter), env(safe-area-inset-right, 0px)) 24px max(var(--gutter), env(safe-area-inset-left, 0px));
    background: var(--c-surface); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility 0s .25s;
  }
  .nav-menu.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .25s; }
  .nav-menu .nav-link { justify-content: flex-start; min-height: 48px; color: var(--c-fg) !important; }
  .nav-menu__cta { margin-top: 10px; align-self: flex-start; }
  .menu-button { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; margin-right: -12px; border: 0; background: none; color: inherit; cursor: pointer; }
  .fixed-element.is-on-dark .menu-button { color: var(--white); }
  .menu-icon { position: relative; width: 25px; height: 12px; }
  .menu-icon span { position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor; transition: transform .45s var(--ease-nav), top .45s var(--ease-nav); }
  .menu-icon span:first-child { top: 0; } .menu-icon span:last-child { top: 10px; }
  .menu-button[aria-expanded="true"] .menu-icon span:first-child { top: 5px; transform: rotate(45deg); }
  .menu-button[aria-expanded="true"] .menu-icon span:last-child { top: 5px; transform: rotate(-45deg); }
  .crosshair { display: none; }
  .blur-effect { height: 57px; }
  .divider-xl { height: 75px; }
  .work-grid { display: flex; flex-direction: column; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .services-card { min-height: 250px; }
  .work-card { height: 60vh; min-height: 460px; }
  .sticky-photo { position: relative; height: 100%; }
  .flip-card__inner { padding-block: 60px; }
  .pricing-note { flex-direction: column; align-items: flex-end; gap: 8px; }
  .grid-right-footer { max-width: 80%; }
  .signup-form { max-width: 100%; }
  .hero-main { justify-content: flex-start; height: auto; min-height: 0; padding-top: 140px; padding-bottom: 40px; }
  .container--hero { top: 0; }
  .hero-canvas { top: 470px; width: min(420px, 56vw); transform: translate(-50%, -50%); }
  .hero-bottom { position: relative; bottom: auto; padding: 330px 0 0; }
  .photo-services { grid-column: span 1; }
}
@media (max-width: 767px) {
  :root { --fs-h1: 4rem; --fs-hero: 7rem; }
  .section { padding-block: 50px; }
  .section--photo { height: 700px; }
  .sticky-track { padding-block: 50px; }
  .track { grid-template-columns: 1fr 1fr; gap: 10px; }
  .track-item { max-width: none; min-height: 0; }
  .faq-card { padding: 52px 15px 15px; border-radius: 6px; }
  .hero-main { height: 600px; }
  .h2 { letter-spacing: -0.02em; }
  .work-grid { row-gap: 5vh; }
  .work-card { position: relative; top: 0; grid-template-columns: 1fr; height: auto; min-height: 400px; margin-bottom: 10px; padding-left: 15px; border-radius: 10px; }
  .work-card .photo-wrapper { aspect-ratio: 3 / 2; }
  .service-flex { padding: 15px 0; gap: 24px; }
  .grid-cta { grid-template-columns: 1fr; row-gap: 30px; }
  .max-right { margin-left: 0; }
  .flip-grid { grid-template-columns: 1fr 1fr; }
  .flip-grid .flip-text--b { display: none; }
  .flip-photo, .flip-caption { grid-column: 1 / 3; grid-row: auto; }
  .flip-photo { aspect-ratio: 4 / 3; }
  .flip-photo img { width: 44%; top: 8%; }
  .pricing-grid { grid-template-columns: 1fr; }
  .blur-div { min-width: 160px; padding: 20px 40px; }
}
@media (max-width: 479px) {
  :root { --fs-h1: 2.5rem; --fs-h2: 1.6rem; --fs-h3: 1.4rem; --fs-h4: 1.25rem; --fs-hero: 3.6rem; --fs-page-title: 1.9rem; }
  .hero-main { justify-content: flex-start; align-items: stretch; height: auto; min-height: 640px; padding-top: 120px; padding-bottom: 32px; }
  .container--hero { top: 0; }
  .logo-big { width: 100%; }
  .hero-canvas { top: 262px; width: 70vw; transform: translate(-50%, -50%); }
  .hero-bottom { position: relative; bottom: auto; margin-top: auto; padding: 170px 0 0; }
  .bottom-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero-side { justify-self: start; max-width: none; }
  .hero-title { font-size: 2.4rem; }
  .navbar { grid-template-columns: 1fr 1fr; column-gap: 5px; }
  .last-part { grid-column: 2 / 3; }
  .nav-link--logo { min-height: 56px; }
  .h2.fade { font-size: var(--fs-page-title); }
  .h2.fade--xl { font-size: var(--fs-h1); }
  .divider-xl { height: 35px; }
  .title-grid, .title-grid--4 { display: flex; flex-direction: column; }
  .full-button { align-self: flex-start; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .photo-services { grid-column: span 1; }
  .services-card { min-height: 220px; padding: 15px; }
  .services-card h3, .services-card p { font-size: 15px; }
  .blur-div { display: none; }
  .circle-arrow { width: 50px; height: 50px; }
  .circle-arrow svg { width: 12px; height: 12px; }
  .photo-work-1, .photo-work-2, .photo-work-3 { border-radius: 10px; }
  .work-content { flex-direction: column; align-items: flex-start; gap: 6px; }
  .work-tags { text-align: left; }
  .track { grid-template-columns: 1fr; }
  .collection-list { grid-template-columns: 1fr; gap: 30px; }
  .plan { padding-inline: 15px; }
  .div-block { padding: 5px; }
  .footer-grid { grid-template-columns: 1fr; row-gap: 40px; }
  .grid-right-footer { margin-left: 0; max-width: none; }
  .signup-input { padding-right: 20px; }
  .signup-submit { position: relative; top: auto; right: auto; margin-top: 8px; width: 100%; }
  .footer-title { font-size: var(--fs-page-title); }
  .flip-card__glyph { font-size: 2rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .transition { display: none; }
  .crosshair { display: none; }
}

/* dark button variant (used on light cards) */
.btn--dark .btn__bg { background: var(--bk-black); }
.btn--dark .btn__overlay { background: var(--bk-blue); }
