@font-face {
  font-family: "Zalando Sans SemiExpanded";
  src: url("assets/fonts/ZalandoSansSemiExpanded-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 900;
  font-display: block;
}

@font-face {
  font-family: "ZalandoSansSemiExpanded-ExtraLight";
  src: url("assets/fonts/ZalandoSansSemiExpanded-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200;
  font-display: block;
}

@font-face {
  font-family: "ZalandoSansSemiExpanded-Light";
  src: url("assets/fonts/ZalandoSansSemiExpanded-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
  font-display: block;
}

@font-face {
  font-family: "ZalandoSansSemiExpanded-Regular";
  src: url("assets/fonts/ZalandoSansSemiExpanded-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: block;
}

@font-face {
  font-family: "ZalandoSansSemiExpanded-Medium";
  src: url("assets/fonts/ZalandoSansSemiExpanded-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: block;
}

@font-face {
  font-family: "ZalandoSansSemiExpanded-Bold";
  src: url("assets/fonts/ZalandoSansSemiExpanded-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: block;
}

@font-face {
  font-family: "Tajawal";
  src: url("assets/fonts/Tajawal-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: block;
}

@font-face {
  font-family: "Tajawal-Bold";
  src: url("assets/fonts/Tajawal-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: block;
}

:root {
  color-scheme: dark;
  --panel-height: 100vh;
  --black: #000000;
  --charcoal: #333333;
  --green: #005840;
  --burgundy: #800139;
  --orange: #ff7701;
  --cream: #f8e1bf;
  --lime: #cdfd51;
}

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

html {
  width: 100%;
  margin: 0;
  background: var(--black);
  /* GSAP owns snapping. Native smooth scrolling is enabled only for link clicks. */
  scroll-behavior: auto;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  width: 100%;
  min-height: var(--panel-height);
  margin: 0;
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--black);
  overscroll-behavior-y: contain;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.mobile-menu-shell,
.mobile-menu {
  display: none;
}

/* Every page remains in normal document flow and is always renderable. */
#site {
  position: relative;
  width: 100%;
  min-height: 0;
}

.panel {
  position: relative;
  display: grid;
  width: 100%;
  height: var(--panel-height);
  min-height: var(--panel-height);
  overflow: hidden;
  place-items: center;
  isolation: isolate;
  visibility: visible;
  contain: layout paint style;
}

.panel--black { background: var(--black); }
.panel--green { background: var(--green); }
.panel--orange { background: var(--orange); }
.panel--cream,
.panel--contact { background: var(--cream); }
.panel--burgundy { background: var(--burgundy); }
.panel--charcoal { background: var(--charcoal); }

/* Page 3 becomes a three-stop, scroll-driven iOS-style picker only when JS is ready. */
.process-sticky {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  overflow: hidden;
}

.panel--process-wheel {
  display: block;
  height: calc(var(--panel-height) + var(--panel-height) + var(--panel-height));
  min-height: calc(var(--panel-height) + var(--panel-height) + var(--panel-height));
  overflow: visible;
}

.panel--process-wheel .process-sticky {
  position: sticky;
  z-index: 1;
  top: 0;
  height: var(--panel-height);
}

.artboard {
  position: relative;
  width: min(100vw, 177.7777778vh);
  height: min(100vh, 56.25vw);
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.svg-art,
.inline-svg {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
  visibility: visible;
}

.svg-art--mobile {
  display: none;
}

img.svg-art {
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

object.svg-art > img.svg-art {
  width: 100%;
  height: 100%;
}

/* The same geometry rules are also applied inline for Shadow DOM/object SVGs. */
.badge-container {
  pointer-events: none;
}

.badge-text-ring {
  will-change: transform;
}

.badge-core-logo,
.badge-center-logo {
  pointer-events: none;
}

.wave-track {
  display: flex;
  width: 200%;
  will-change: transform;
}

.force-card { transform-box: fill-box; }

.founder-portrait {
  transform-box: fill-box;
  transform-origin: center center;
  will-change: clip-path, transform, opacity;
}

.founder-copy {
  will-change: clip-path, opacity;
}

.mouse-orb-3d {
  transform-box: fill-box;
  transform-origin: center center;
  will-change: transform, filter;
}

/*
 * Transparent hit areas sit over the exact vector navigation artwork. Their
 * bounding box follows the same centered 16:9 artboard at every aspect ratio.
 */
.site-nav {
  position: fixed;
  z-index: 100;
  top: 50%;
  left: 50%;
  width: min(100vw, 177.7777778vh);
  height: min(100vh, 56.25vw);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* dvh follows the actually visible Safari/Chrome viewport, including toolbars. */
@supports (height: 100dvh) {
  :root { --panel-height: 100dvh; }

  .artboard,
  .site-nav {
    width: min(100vw, 177.7777778dvh);
    height: min(100dvh, 56.25vw);
  }
}

.site-nav a {
  position: absolute;
  top: 3.1%;
  height: 5.8%;
  overflow: hidden;
  color: transparent;
  font-size: clamp(10px, 1vw, 18px);
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  pointer-events: auto;
}

.site-nav a:nth-child(1) {
  left: 59.2%;
  width: 12%;
}

.site-nav a:nth-child(2) {
  left: 74%;
  width: 12%;
}

.site-nav a:nth-child(3) {
  left: 89.8%;
  width: 5.8%;
}

.site-nav a:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}

.contact-form {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.contact-form > input:not([type="hidden"]) {
  position: absolute;
  left: 10.7161458%;
  width: 30.434375%;
  height: 3.15%;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  color: var(--green);
  background: transparent;
  font: 500 clamp(8px, 0.94vw, 18px) / 1.1 "Zalando Sans SemiExpanded", Arial, sans-serif;
  pointer-events: auto;
  touch-action: manipulation;
}

.contact-form > input:not([type="hidden"]):focus-visible { box-shadow: 0 2px 0 0 var(--lime); }
.contact-form #name { top: 33.05%; }
.contact-form #company { top: 40.26%; }
.contact-form #contact { top: 47.47%; }
.contact-form #vision { top: 54.68%; }

.contact-form button {
  position: absolute;
  top: 61.935%;
  left: 34.7167%;
  width: 6.4349%;
  height: 4.4583%;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: transparent;
  pointer-events: auto;
  touch-action: manipulation;
}

.contact-form button:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

.contact-form button:disabled {
  cursor: wait;
  pointer-events: none;
}

.form-status {
  position: absolute;
  top: 62.2%;
  left: 10.7161458%;
  width: 22%;
  margin: 0;
  color: var(--green);
  font: 500 clamp(7px, 0.78vw, 15px) / 1.25 "Zalando Sans SemiExpanded", Arial, sans-serif;
}

.back-to-top {
  position: absolute;
  z-index: 6;
  right: 5.8%;
  bottom: 2.65%;
  width: 6.6%;
  height: 3.2%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background: #000;
  color: #b3b3b3;
  font: 400 clamp(8px, 0.625vw, 12px) / 1 "Zalando Sans SemiExpanded", Arial, sans-serif;
  text-decoration: none;
  transition: color 180ms ease;
}

.footer-links {
  position: absolute;
  z-index: 6;
  inset: 0;
  pointer-events: none;
}

.footer-link {
  position: absolute;
  height: 2.6%;
  display: flex;
  align-items: center;
  background: #000;
  color: #b3b3b3;
  font: 400 clamp(8px, 0.625vw, 12px) / 1 "Zalando Sans SemiExpanded", Arial, sans-serif;
  text-decoration: none;
  pointer-events: auto;
  transition: color 180ms ease;
}

.footer-link--think,
.footer-link--work,
.footer-link--start {
  left: 61.59197%;
  width: 7.8%;
}

.footer-link--think { top: 77.8%; }
.footer-link--work { top: 81.17%; }
.footer-link--start { top: 84.54%; }

.footer-link--instagram {
  top: 77.8%;
  left: 89.8725%;
  width: 7%;
}

.footer-link:hover,
.back-to-top:hover {
  color: var(--lime);
}

.footer-link:focus-visible {
  color: var(--lime);
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}

.privacy-policy-footer-link {
  position: absolute;
  z-index: 7;
  top: 95.2%;
  left: 50%;
  bottom: auto;
  color: #b3b3b3;
  font: 400 clamp(8px, 0.625vw, 12px) / 1 "Zalando Sans SemiExpanded", Arial, sans-serif;
  text-decoration: none;
  transform: translateX(-50%);
  transition: color 180ms ease;
}

.privacy-policy-footer-link:hover {
  color: var(--lime);
}

.privacy-policy-footer-link:focus-visible {
  color: var(--lime);
  outline: 2px solid var(--lime);
  outline-offset: 4px;
}

.back-to-top:focus-visible {
  color: var(--lime);
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (hover: hover) and (pointer: fine) {
  .panel--mouse,
  .panel--mouse .svg-art { cursor: none; }
}

@media (max-aspect-ratio: 3 / 4) {
  .contact-form > input:not([type="hidden"]),
  .form-status { font-size: clamp(5px, 1.5vw, 12px); }
}

/* Keep every Illustrator artboard proportional on phones and tablets. */
@media (max-width: 900px), (max-height: 600px) {
  .panel { width: 100%; }

  .artboard {
    flex: 0 0 auto;
    max-width: 100vw;
    max-height: var(--panel-height);
  }

  .site-nav a {
    min-height: 24px;
  }
}

/*
 * The supplied phone artwork is a native 375 × 812 composition. On phones
 * it replaces—not scales or rearranges—the desktop Illustrator composition.
 * The entire 375 x 812 artboard fills the device width at its native ratio.
 * Panel height follows the full phone canvas rather than Safari's temporarily
 * shortened toolbar viewport, eliminating side strips and adjacent-page bleed.
 */
@media (max-width: 767px) {
  :root {
    --mobile-artboard-height: 216.533333vw;
    --panel-height: var(--mobile-artboard-height);
  }

  .panel--contact {
    background: linear-gradient(
      to bottom,
      var(--green) 0 36.596%,
      var(--cream) 36.596% 95.012%,
      var(--black) 95.012% 100%
    );
  }

  .artboard,
  .site-nav {
    width: 100vw;
    height: var(--mobile-artboard-height);
    max-width: none;
    max-height: none;
    aspect-ratio: 375 / 812;
  }

  .svg-art--desktop {
    display: none;
  }

  .svg-art--mobile {
    display: block;
    pointer-events: none;
  }

  .site-nav {
    display: none;
  }

  /* menu.js binds directly to the original three-line group inside each SVG. */
  .mobile-menu-shell {
    position: fixed;
    z-index: 403;
    top: 0;
    right: 0;
    display: block;
    width: 0;
    height: 0;
    overflow: visible;
  }

  .mobile-menu {
    position: fixed;
    z-index: 1;
    top: clamp(78px, 10.5vh, 92px);
    right: clamp(20px, 11.6vw, 46px);
    display: grid;
    width: min(246px, calc(100vw - 26px));
    padding: 9px;
    overflow: hidden;
    border: 1px solid rgba(248, 225, 191, 0.24);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.96);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.34);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px) scale(0.97);
    transform-origin: 100% 0%;
    transition:
      opacity 240ms ease,
      transform 360ms cubic-bezier(.22, 1, .36, 1),
      visibility 0s linear 360ms;
  }

  .mobile-menu-shell[open] .mobile-menu {
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-menu-shell[open] .mobile-menu {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition-delay: 0s;
  }

  .mobile-menu a {
    display: flex;
    min-height: 47px;
    align-items: center;
    padding: 0 16px;
    border-bottom: 1px solid rgba(248, 225, 191, 0.16);
    color: var(--cream);
    font-family: "Zalando Sans SemiExpanded", Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.045em;
    text-decoration: none;
  }

  .mobile-menu a:last-child {
    border-bottom: 0;
    color: var(--lime);
  }

  .mobile-menu a:active,
  .mobile-menu a:focus-visible {
    background: rgba(205, 253, 81, 0.1);
    outline: none;
  }

  .contact-form > input:not([type="hidden"]) {
    left: 11.619%;
    width: 76.763%;
    height: 2.7%;
    font-size: 16px;
  }

  .contact-form #name { top: 59.2%; }
  .contact-form #company { top: 65.76%; }
  .contact-form #contact { top: 72.27%; }
  .contact-form #vision { top: 78.78%; }

  .contact-form button {
    top: 86.03%;
    left: 68.835%;
    width: 19.67%;
    height: 3.54%;
  }

  .form-status {
    top: 86.15%;
    left: 11.619%;
    width: 52%;
    font-size: clamp(10px, 2.8vw, 13px);
  }

  .back-to-top {
    display: none;
  }

  .footer-links {
    display: none;
  }

  .privacy-policy-footer-link {
    top: 96.85%;
    bottom: auto;
    left: 28%;
    display: block;
    width: 13.8%;
    height: auto;
    color: #b3b3b3;
    font-size: clamp(5.5px, 1.7467vw, 7px);
    line-height: 1;
    transform: none;
    white-space: nowrap;
  }
}

@supports (height: 100lvh) {
  @media (max-width: 767px) {
    :root {
      --panel-height: max(100lvh, var(--mobile-artboard-height));
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
