﻿/* ==========================================================================
   Jomob.co - launch website
   --------------------------------------------------------------------------
   1.  Design tokens
   2.  Reset and base
   3.  Typography and shared elements
   4.  Buttons
   5.  Header and navigation
   6.  Hero slider
   7.  Launch strip
   8.  Section scaffolding
   9.  Services
   10. Why Jomob
   11. Contact
   12. Footer
   13. Launch modal and countdown
   14. Reveal animations
   15. Responsive refinements
   16. Reduced motion, print, forced colours

   Plain CSS. No frameworks, no external fonts, no CDNs, so the page renders
   fully even when no third-party network is available.
   ========================================================================== */

/* 1. Design tokens ------------------------------------------------------- */
:root {
  --navy: #07113F;
  --navy-850: #081446;
  --navy-700: #0E2059;
  --navy-600: #162A6E;
  --white: #FFFFFF;
  --off-white: #F7F8FA;
  --amber: #F59A16;
  --amber-soft: #FDB84A;
  --text: #111827;
  --muted: #667085;

  --line: #E5E8EE;
  --line-strong: #D5DAE3;
  --on-navy-muted: rgba(247, 248, 250, 0.74);
  --on-navy-line: rgba(255, 255, 255, 0.14);

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;

  --container: 1180px;
  --gutter: clamp(1.25rem, 4.5vw, 2.75rem);
  --section-y: clamp(4.5rem, 8.5vw, 8rem);
  --header-h: 76px;

  --radius-xs: 8px;
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-xs: 0 1px 2px rgba(7, 17, 63, 0.05);
  --shadow-sm: 0 6px 18px -10px rgba(7, 17, 63, 0.22);
  --shadow-md: 0 20px 45px -25px rgba(7, 17, 63, 0.35);
  --shadow-lg: 0 40px 80px -40px rgba(7, 17, 63, 0.5);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 260ms;
}

/* 2. Reset and base ------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: clamp(17px, 1.15vw, 19px);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

html.is-loading:not(.is-done),
html.is-loading:not(.is-done) body {
  overflow: hidden;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.is-locked {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

input,
textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--amber);
  color: var(--navy);
}

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

.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 300;
  padding: 0.7rem 1.1rem;
  background: var(--amber);
  color: var(--navy);
  font-weight: 600;
  border-radius: var(--radius-xs);
  transition: top 180ms var(--ease);
}

.skip-link:focus {
  top: 1rem;
}

/* 3. Typography and shared elements -------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.1;
  letter-spacing: -0.032em;
  font-weight: 650;
  color: var(--text);
  text-wrap: balance;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.15rem;
  font-size: 0.86rem;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-label::before {
  content: "";
  width: 26px;
  height: 1.5px;
  background: var(--amber);
  flex: none;
}

.section-label--light {
  color: rgba(255, 255, 255, 0.68);
}

.section-intro {
  margin-top: 1.15rem;
  max-width: 56ch;
  font-size: clamp(1.05rem, 1.4vw, 1.16rem);
  line-height: 1.72;
  color: var(--muted);
}

.section-intro--light {
  color: var(--on-navy-muted);
}

.icon-arrow {
  width: 15px;
  height: 15px;
  flex: none;
  stroke: currentColor;
  stroke-width: 1.7;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--dur) var(--ease);
}

/* 4. Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.92rem 1.6rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease),
    border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}

.btn:hover .icon-arrow,
.btn:focus-visible .icon-arrow {
  transform: translateX(3px);
}

.btn-primary {
  background: var(--amber);
  color: var(--navy);
  box-shadow: 0 12px 26px -16px rgba(245, 154, 22, 0.95);
}

.btn-primary:hover {
  background: var(--amber-soft);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-sm {
  padding: 0.62rem 1.1rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-quiet {
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  padding-inline: 1.1rem;
}

.btn-quiet:hover {
  color: var(--white);
}

/* 5. Header and navigation ----------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(7, 17, 63, 0.94);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex: none;
  color: var(--white);
}

/* Single transparent wordmark image ("Jomob.co"), so the brand name renders
   once and never needs a text duplicate beside it. */
.brand-logo {
  display: block;
  /* Tall, narrow source (2.1MP wide file scaled down): fix the height and let
     the width follow so no part of the wordmark is ever clipped. */
  height: 52px;
  width: auto;
  max-width: none;
  flex: none;
  object-fit: contain;
  object-position: left center;
  transition: opacity var(--dur) var(--ease);
}

.brand:hover .brand-logo {
  opacity: 0.82;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.028em;
  line-height: 1;
  white-space: nowrap;
}

.brand-dot {
  color: var(--amber);
}

.brand-tld {
  font-weight: 450;
  color: rgba(255, 255, 255, 0.6);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.6vw, 2.5rem);
}

/* Nav links are block-level so each one has a full, easy target area. */
.nav-list {
  display: flex;
  align-items: stretch;
  gap: clamp(0.25rem, 1.2vw, 1rem);
}

.nav-list li {
  display: flex;
}

.nav-list a {
  position: relative;
  display: block;
  padding: 0.55rem 0.7rem;   /* generous click/tap target */
  line-height: 1.35;          /* block box: predictable height */
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.74);
  transition: color var(--dur) var(--ease);
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.15rem;
  height: 1.5px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--white);
}

.nav-list a:hover::after,
.nav-list a:focus-visible::after {
  transform: scaleX(1);
}

/* Compact wordmark-style menu control: an amber compass mark and a changing
   label keep the mobile navigation clear without using a hamburger icon. */
.menu-toggle {
  display: none;
  align-items: center;
  gap: 0.65rem;
  min-width: 106px;
  min-height: 42px;
  padding: 0 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    background-color var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    color var(--dur) var(--ease);
}

.menu-toggle-mark {
  position: relative;
  width: 11px;
  height: 11px;
  border: 1px solid var(--amber);
  transform: rotate(45deg);
  transition:
    background-color 300ms var(--ease),
    border-radius 300ms var(--ease),
    transform 400ms var(--ease);
}

.menu-toggle-mark::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: var(--amber);
  border-radius: 50%;
  transition: transform 300ms var(--ease);
}

.menu-toggle-label {
  position: relative;
  min-width: 3.2rem;
  height: 1em;
  overflow: hidden;
  font-size: 0.84rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  line-height: 1;
  text-align: left;
  text-transform: uppercase;
}

.menu-toggle-label-open,
.menu-toggle-label-close {
  position: absolute;
  inset: 0;
  transition: transform 300ms var(--ease), opacity 220ms var(--ease);
}

.menu-toggle-label-open {
  opacity: 1;
  transform: translateY(0);
}

.menu-toggle-label-close {
  opacity: 0;
  transform: translateY(110%);
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  border-color: var(--amber);
  background: rgba(255, 255, 255, 0.05);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-mark {
  background: var(--amber);
  border-radius: 50%;
  transform: rotate(135deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-mark::after {
  transform: scale(0);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-label-open {
  opacity: 0;
  transform: translateY(-110%);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-label-close {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .menu-toggle,
  .menu-toggle-mark,
  .menu-toggle-mark::after,
  .menu-toggle-label-open,
  .menu-toggle-label-close {
    transition: none;
  }
}

/* Mobile panel */
.mobile-menu {
  /* In normal flow inside the sticky header, so opening the menu pushes the
     page down instead of covering the hero photo. */
  position: relative;
  z-index: 2;
  overflow: hidden;
  max-height: 0;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: max-height 340ms var(--ease);
}

.mobile-menu[hidden] {
  display: block;
}

.mobile-menu.is-open {
  max-height: min(78vh, 560px);
  overflow-y: auto;
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem var(--gutter) 1.75rem;
}

.mobile-menu-list {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.mobile-menu-list li {
  display: block;
}

.mobile-menu-list a {
  display: block;
  width: 100%;
  padding: 0.95rem 0;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.012em;
  color: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: color var(--dur) var(--ease);
}

.mobile-menu-list a:hover,
.mobile-menu-list a:focus-visible {
  color: var(--amber);
}

.mobile-menu-cta {
  margin-top: 1.35rem;
  width: 100%;
}

.mobile-menu-mail {
  margin-top: 1rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

.mobile-menu-mail:hover {
  color: var(--white);
}

.menu-scrim {
  display: none;
}

@media (max-width: 1020px) {
  .nav-desktop {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .menu-scrim {
    display: block;
    position: fixed;
    inset: var(--header-h) 0 0;
    z-index: -1;
    background: rgba(4, 9, 32, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 280ms var(--ease);
  }

  .site-header.menu-open .menu-scrim {
    opacity: 1;
    pointer-events: auto;
  }
}

/* 6. Hero slider ---------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  color: var(--white);
  background: var(--navy);
  overflow: hidden;
}

.hero-slides {
  position: relative;
  height: clamp(560px, 78vh, 780px);
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 900ms var(--ease), visibility 900ms;
}

.slide.is-active {
  visibility: visible;
  opacity: 1;
  z-index: 2;
}

.slide-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.slide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.06);
  transition: transform 7s linear;
}

.slide.is-active .slide-media img {
  transform: scale(1);
}

/* Two-part overlay: dense on the left for type, lighter on the right so the
   photograph still reads. Keeps white text above 4.5:1 in every case. */
.slide-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 12, 40, 0.93) 0%, rgba(6, 14, 45, 0.86) 34%, rgba(7, 17, 63, 0.5) 62%, rgba(7, 17, 63, 0.18) 100%),
    linear-gradient(180deg, rgba(5, 11, 36, 0.55) 0%, rgba(5, 11, 36, 0.05) 32%, rgba(5, 11, 36, 0.55) 100%);
}

.slide-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-block: 3.5rem 6.5rem;
}

.slide-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
  font-size: 0.86rem;
  font-weight: 650;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.eyebrow-rule {
  width: 30px;
  height: 1.5px;
  background: var(--amber);
  flex: none;
}

.slide-title {
  max-width: 15ch;
  font-size: clamp(2.15rem, 5.2vw, 4rem);
  line-height: 1.03;
  letter-spacing: -0.038em;
  font-weight: 680;
  color: var(--white);
  text-wrap: balance;
  text-shadow: 0 2px 30px rgba(3, 8, 28, 0.28);
}

.slide-text {
  /* Roomier measure so the support copy breaks at natural phrase points
     rather than leaving a single word ("specialists—") on its own line. */
  max-width: 54ch;
  margin-top: 1.35rem;
  font-size: clamp(1.08rem, 1.55vw, 1.2rem);
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.84);
  text-wrap: pretty;
}

.slide-content .btn {
  margin-top: 2.15rem;
}

/* Staggered text entrance: only the active slide animates, so outgoing text
   fades under the incoming slide and two sets of copy never overlap. */
.slide-eyebrow,
.slide-title,
.slide-text,
.slide-content .btn {
  opacity: 0;
  transform: translateY(18px);
}

.slide.is-active .slide-eyebrow,
.slide.is-active .slide-title,
.slide.is-active .slide-text,
.slide.is-active .slide-content .btn {
  animation: rise-in 850ms var(--ease) forwards;
}

.slide.is-active .slide-eyebrow { animation-delay: 120ms; }
.slide.is-active .slide-title { animation-delay: 220ms; }
.slide.is-active .slide-text { animation-delay: 340ms; }
.slide.is-active .slide-content .btn { animation-delay: 460ms; }

@keyframes rise-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Controls */
.hero-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  /* Pagination only: the slider advances automatically and by touch swipe. */
  justify-content: flex-start;
  gap: 1rem;
  padding-block: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.dots {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.dot {
  position: relative;
  width: 34px;
  height: 24px;
  padding: 0;
}

.dot::before,
.dot::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  height: 2px;
  border-radius: 2px;
  transform: translateY(-50%);
  transition: width 320ms var(--ease), background-color 320ms var(--ease);
}

.dot::before {
  width: 34px;
  background: rgba(255, 255, 255, 0.3);
}

.dot::after {
  width: 0;
  background: var(--amber);
}

.dot.is-active::after {
  width: 34px;
}

.dot:hover::before {
  background: rgba(255, 255, 255, 0.55);
}

.dot:focus-visible {
  outline-offset: 1px;
}

/* Arrow controls are intentionally not rendered. The styles are kept so the
   controls can be reinstated later by re-adding their markup only. */
.arrows {
  display: flex;
  gap: 0.5rem;
}

.arrow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.26);
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.arrow-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.arrow-btn:hover {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--navy);
}

.arrow-btn:active {
  transform: scale(0.96);
}

/* 7. Launch strip ---------------------------------------------------------
   A quiet, always-visible way back into the announcement. It sits in normal
   flow below the hero rather than floating over the slide copy. */
.launch-strip {
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

/* Keep the strip visually joined to the hero: no light seam between them. */
.launch-strip + .services {
  border-top: 0;
}

.launch-strip-inner {
  display: flex;
  justify-content: center;
}

.launch-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  max-width: 680px;
  padding: 1rem 1.25rem;
  text-align: left;
  color: rgba(255, 255, 255, 0.86);
  border-radius: var(--radius-sm);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.launch-badge:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.launch-badge > .icon-arrow {
  margin-left: auto;
  flex: none;
}

.launch-badge:hover > .icon-arrow,
.launch-badge:focus-visible > .icon-arrow {
  transform: translateX(3px);
}

.launch-badge-dot {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(245, 154, 22, 0.16);
}

.launch-badge-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  line-height: 1.45;
}

.launch-badge-text strong {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
}

.launch-badge-text span {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.55);
}

/* 8. Section scaffolding -------------------------------------------------- */
.section {
  padding-block: var(--section-y);
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

/* 9. Services ------------------------------------------------------------- */
.services {
  background: var(--white);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.6rem, 2.6vw, 2.3rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.service-card::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 0;
  height: 2px;
  transform: translateX(-50%);
  background: var(--amber);
  border-radius: 2px;
  transition: width 420ms var(--ease);
}

.service-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.service-card:hover::after {
  width: calc(100% - 3.5rem);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1.6rem;
  border-radius: 12px;
  color: var(--navy);
  background: var(--off-white);
  border: 1px solid var(--line);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.service-icon svg {
  width: 23px;
  height: 23px;
}

.service-card:hover .service-icon {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.service-card h3 {
  margin-bottom: 0.7rem;
  font-size: 1.3rem;
  font-weight: 640;
  letter-spacing: -0.02em;
  color: var(--text);
}

.service-card p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--muted);
}

/* 10. Why Jomob ----------------------------------------------------------- */
.why {
  position: relative;
  color: var(--white);
  background: var(--navy);
  background-image:
    radial-gradient(60rem 34rem at 92% -10%, rgba(22, 42, 110, 0.85), rgba(22, 42, 110, 0) 70%),
    radial-gradient(40rem 26rem at -10% 110%, rgba(14, 32, 89, 0.7), rgba(14, 32, 89, 0) 70%);
}

.why h2 {
  color: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}

.why-intro {
  position: sticky;
  top: calc(var(--header-h) + 3rem);
}

.why-intro .btn {
  margin-top: 2rem;
}

.why-details-title {
  margin-bottom: 1.25rem;
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  line-height: 1.35;
  color: var(--white);
}

.advantage-list {
  border-top: 1px solid var(--on-navy-line);
}

.advantage {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  gap: 0.5rem 1.1rem;
  padding-block: 1.85rem;
  border-bottom: 1px solid var(--on-navy-line);
}

.advantage-num {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
  padding-top: 0.36rem;
}

.advantage h3 {
  font-size: clamp(1.15rem, 1.65vw, 1.32rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.014em;
  color: var(--white);
}

.advantage p {
  margin-top: 0.55rem;
  max-width: 52ch;
  font-size: 1.05rem;
  line-height: 1.72;
  color: var(--on-navy-muted);
}

/* 11. Contact ------------------------------------------------------------- */
.contact {
  background: var(--off-white);
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.contact h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  max-width: 14ch;
}

.contact-direct {
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line-strong);
}

.contact-direct--below-form {
  margin-top: 1.5rem;
  padding-top: 1.35rem;
}

.contact-direct-label {
  margin-bottom: 0.7rem;
  font-size: 0.88rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: clamp(1.2rem, 2vw, 1.42rem);
  font-weight: 600;
  letter-spacing: -0.018em;
  color: var(--navy);
  border-bottom: 1px solid rgba(7, 17, 63, 0.2);
  padding-bottom: 2px;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.contact-email .icon-mail {
  width: 20px;
  height: 20px;
  color: var(--amber);
  flex: none;
}

.contact-email:hover {
  color: var(--amber);
  border-color: var(--amber);
}

.contact-note {
  margin-top: 1rem;
  font-size: 0.96rem;
  color: var(--muted);
}

/* Form */
.contact-form-wrap {
  padding: clamp(1.5rem, 3vw, 2.4rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.form-honeypot {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.field label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.82rem 0.95rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.field textarea {
  resize: vertical;
  min-height: 128px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9AA2B1;
}

.field input:hover,
.field textarea:hover {
  border-color: #C2C9D4;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(7, 17, 63, 0.1);
}

.field.has-error input,
.field.has-error textarea {
  border-color: #C2410C;
  background: #FFF9F5;
}

.field-error {
  font-size: 0.96rem;
  color: #B4340B;
}

.contact-form .btn-block {
  margin-top: 0.35rem;
}

.form-status {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--navy);
  text-align: center;
  min-height: 1.2em;
}

.form-status:empty {
  display: none;
}

.form-status[data-state="error"] {
  color: #B4340B;
}

.form-status[data-state="success"] {
  color: #176B3A;
}

.form-status[data-state="pending"] {
  color: var(--muted);
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

/* 12. Footer -------------------------------------------------------------- */
.site-footer {
  color: rgba(255, 255, 255, 0.68);
  background: var(--navy);
  font-size: 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 0.7fr) minmax(0, 1fr) auto;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem;
}

.brand--footer .brand-logo {
  height: 38px;
  max-width: 180px;
}

.brand--footer .brand-name {
  font-size: 1.06rem;
}

.footer-brand p {
  margin-top: 1.25rem;
  max-width: 46ch;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.6);
}

.footer-heading {
  margin-bottom: 1rem;
  font-size: 0.86rem;
  font-weight: 650;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.72);
  transition: color var(--dur) var(--ease);
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--amber);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.footer-mail {
  font-weight: 600;
  color: var(--white);
  border-bottom: 1px solid rgba(245, 154, 22, 0.55);
  padding-bottom: 1px;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.footer-mail:hover {
  color: var(--amber);
  border-color: var(--amber);
}

.footer-launch-link {
  margin-top: 1.15rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.25);
  transition: color var(--dur) var(--ease);
}

.footer-launch-link:hover {
  color: var(--amber);
}

.footer-social-list {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.footer-social-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.72);
  transition:
    color var(--dur) var(--ease),
    background-color var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}

.footer-social-icon:hover {
  color: var(--navy);
  background: var(--amber);
  border-color: var(--amber);
  transform: translateY(-3px);
}

.footer-social-icon svg {
  display: block;
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.footer-social-icon svg rect,
.footer-social-icon svg circle:not(.social-dot) {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.footer-social-icon svg .social-dot {
  fill: currentColor;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-block: 1.35rem 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.96rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-note {
  color: rgba(245, 154, 22, 0.85);
}

/* 13. Launch modal and countdown ------------------------------------------ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: clamp(0.75rem, 3vw, 2rem);
}

.modal[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 9, 30, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  animation: fade-in 320ms var(--ease);
}

.modal-panel {
  position: relative;
  width: min(100%, 620px);
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  color: var(--white);
  background: linear-gradient(180deg, var(--navy-850) 0%, var(--navy) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  animation: modal-in 460ms var(--ease);
}

.modal-inner {
  padding: clamp(1.75rem, 5vw, 3.25rem);
}

.modal-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.modal-close svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
  stroke-linecap: round;
}

.modal-close:hover {
  color: var(--navy);
  background: var(--amber);
  border-color: var(--amber);
}

.modal-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.1rem;
  font-size: 0.84rem;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
}

.modal-panel h2 {
  padding-right: 2rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: -0.032em;
  font-weight: 680;
  color: var(--white);
}

#modal-body {
  margin-top: 1.1rem;
  font-size: 1.05rem;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.7);
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: clamp(1.6rem, 3.5vw, 2.25rem);
  padding-top: clamp(1.6rem, 3.5vw, 2.25rem);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.count-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding-block: 0.35rem;
}

.count-value {
  font-size: clamp(1.65rem, 4.6vw, 2.45rem);
  font-weight: 640;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--white);
}

.count-label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.countdown-note {
  margin-top: 1rem;
  font-size: 0.96rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.42);
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: clamp(1.5rem, 3.5vw, 2rem);
}

.countdown.is-launched {
  display: none;
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(24px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* 14. Reveal animations --------------------------------------------------- */
.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* 15. Responsive refinements ---------------------------------------------- */
@media (max-width: 1080px) {
  .why-grid {
    gap: 3rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.25rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 78px;
    --section-y: clamp(4rem, 10vw, 5.5rem);
  }

  .hero-slides {
    height: clamp(600px, 82vh, 700px);
  }

  .slide-overlay {
    background:
      linear-gradient(180deg, rgba(5, 12, 40, 0.82) 0%, rgba(5, 12, 40, 0.72) 45%, rgba(5, 12, 40, 0.9) 100%),
      linear-gradient(90deg, rgba(5, 12, 40, 0.36), rgba(5, 12, 40, 0.1));
  }

  .slide-media img {
    object-position: center 35%;
  }

  .slide-content {
    padding-block: 2.5rem 6rem;
  }

  .slide-title {
    max-width: 18ch;
    font-size: clamp(2rem, 7.4vw, 2.85rem);
  }

  .slide-text {
    max-width: 44ch;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .why-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .why-intro {
    position: static;
  }

  .contact h2 {
    max-width: 20ch;
  }

}

@media (max-width: 600px) {
  :root {
    --gutter: 1.25rem;
  }

  .hero-slides {
    height: auto;
  }

  .slide {
    position: relative;
    inset: auto;
    min-height: min(84vh, 660px);
    display: none;
    padding-top: 1rem;
  }

  .slide.is-active {
    display: flex;
  }

  .slide-content {
    padding-block: 2.25rem 6.5rem;
  }

  .slide-title {
    max-width: 100%;
    font-size: clamp(1.9rem, 8.6vw, 2.5rem);
    line-height: 1.06;
  }

  .slide-eyebrow {
    font-size: 0.82rem;
    letter-spacing: 0.16em;
  }

  .slide-content .btn {
    margin-top: 1.75rem;
  }

  .launch-badge {
    padding: 0.9rem 0.15rem;
  }

  .launch-badge-text strong {
    font-size: 0.95rem;
  }

  .launch-badge-text span {
    font-size: 0.95rem;
  }

  .hero-controls {
    padding-block: 1.1rem;
  }

  .dot {
    width: 26px;
  }

  .dot::before,
  .dot.is-active::after {
    width: 26px;
  }

  .arrow-btn {
    width: 40px;
    height: 40px;
  }

  .contact-form-wrap {
    padding: 1.35rem 1.15rem 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .modal {
    padding: 0;
    align-items: end;
  }

  .modal-panel {
    width: 100%;
    max-height: 92vh;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    border-bottom: 0;
  }

  .modal-inner {
    padding: 1.6rem 1.25rem 1.75rem;
  }

  .modal-panel h2 {
    padding-right: 2.25rem;
  }

  .countdown {
    gap: 0.25rem;
  }

  .count-value {
    font-size: clamp(1.45rem, 7.4vw, 1.85rem);
  }

  .count-label {
    font-size: 0.78rem;
    letter-spacing: 0.1em;
  }

  .modal-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .modal-actions .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .brand-logo {
    height: 44px;
    max-width: 168px;
  }

  .brand--footer .brand-logo {
    height: 44px;
    max-width: 150px;
  }

  .brand-name {
    font-size: 1.05rem;
  }

  .launch-badge-text span {
    font-size: 0.92rem;
  }
}

/* 16. Preloader -----------------------------------------------------------
   Contract with script.js: <html class="js is-loading"> shows it, .is-done
   fades it out, and the element then gets [hidden]. With no JavaScript the
   class is never added, so the overlay never appears and never blocks content. */
.preloader {
  display: none;
}

html.is-loading .preloader {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: 2rem;
  color: var(--white);
  background: var(--navy);
  background-image: radial-gradient(52rem 28rem at 50% 34%, rgba(22, 42, 110, 0.9), rgba(7, 17, 63, 0) 70%);
  opacity: 1;
  visibility: visible;
  transition: opacity 520ms var(--ease), visibility 520ms var(--ease);
}

/* Fade out, then leave the layout. script.js sets [hidden] shortly after the
   transition as a backstop, so a missed transition cannot strand the overlay. */
html.is-done .preloader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader[hidden] {
  display: none !important;
}

.preloader-inner {
  text-align: center;
  max-width: 26rem;
}

.preloader-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
}

.preloader-word {
  font-size: clamp(1.9rem, 6vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--white);
}

.preloader-word .brand-dot {
  color: var(--amber);
}

.preloader-word .brand-tld {
  font-weight: 450;
  color: rgba(255, 255, 255, 0.55);
}

.preloader-line {
  display: block;
  width: clamp(120px, 34vw, 168px);
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.preloader-line > span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--amber);
  transform-origin: left center;
  animation: preloader-fill 1.35s var(--ease) forwards;
}

@keyframes preloader-fill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.preloader-tagline {
  margin-top: 1.35rem;
  font-size: 0.86rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(247, 248, 250, 0.55);
}

@media (prefers-reduced-motion: reduce) {
  .preloader-line > span {
    animation: none;
  }
}

/* 17. Reduced motion, print, forced colours ------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }

  .slide-media img,
  .slide.is-active .slide-media img {
    transform: none;
  }

  .slide-eyebrow,
  .slide-title,
  .slide-text,
  .slide-content .btn {
    opacity: 1;
    transform: none;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .btn-primary:hover,
  .service-card:hover,
  .brand:hover .brand-logo {
    transform: none;
  }
}

@media print {
  .site-header,
  .hero-controls,
  .launch-strip,
  .modal,
  .menu-scrim {
    display: none !important;
  }

  .hero,
  .why,
  .site-footer {
    background: var(--white) !important;
    color: var(--text) !important;
  }

  .slide:not(.is-active) {
    display: none;
  }

  .slide-title,
  .slide-text,
  .slide-eyebrow,
  .why h2,
  .advantage h3,
  .advantage p,
  .section-intro--light,
  .footer-brand p,
  .footer-nav a {
    color: var(--text) !important;
  }

  .slide-overlay,
  .slide-media {
    display: none;
  }
}

@media (forced-colors: active) {
  .btn,
  .service-card,
  .arrow-btn,
  .dot {
    border: 1px solid ButtonText;
  }
}

/* === BRAND LOCKUP (must stay last) ===
   The logo is a transparent wordmark ("Jomob.co", aspect ratio 4:1). Fix the
   HEIGHT only and let the width follow the intrinsic ratio: the whole name is
   always visible and never distorted or cropped. */
body .brand-logo {
  display: block;
  height: 52px;
  width: auto;
  min-width: 0;
  max-width: none;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: left center;
}

body .brand--footer .brand-logo {
  height: 48px;
  width: auto;
}

@media (max-width: 900px) {
  body .brand-logo {
    height: 48px;
  }
}

@media (max-width: 480px) {
  body .brand-logo {
    height: 44px;
  }

  body .brand--footer .brand-logo {
    height: 44px;
  }
}

@media (max-width: 360px) {
  :root {
    --header-h: 68px;
  }

  body .brand-logo {
    height: 36px;
  }

  .menu-toggle {
    min-width: 92px;
    padding-inline: 0.7rem;
  }
}
