/* =====================================================
   TOP International — landing page
   Design target: 1920px width, 150px side margins (1620 content)
   Brand: Navy #060C7E / Red #E21E26 / Ink #231F20 / Paper #F6F4EE
   ===================================================== */

:root{
  --navy:#060C7E;
  --navy-700:#0a1299;
  --navy-900:#04084a;
  --red:#E21E26;
  --red-700:#c41820;
  --ink:#231F20;
  --ink-60:#5a5758;
  --ink-30:#a7a5a6;
  --paper:#F6F4EE;
  --paper-dark:#ece9df;
  --white:#ffffff;
  --line: rgba(35,31,32,.12);
  --line-strong: rgba(35,31,32,.22);
  --shadow-sm: 0 2px 6px rgba(6,12,126,.06);
  --shadow-md: 0 12px 32px rgba(6,12,126,.08);
  --shadow-lg: 0 24px 60px rgba(6,12,126,.12);

  --container: 1620px;
  --pad-x: 150px;

  /* TASA Orbiter — used site-wide for both body and display.
     Served from Google Fonts (weights 400/500/600/700). */
  --font-sans: 'TASA Orbiter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'TASA Orbiter', system-ui, sans-serif;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;

  --dur: .28s;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*,*::before,*::after{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
html{ scroll-behavior:smooth; }
body{
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
button{ font-family: inherit; cursor: pointer; }
.sr-only{ position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0,0,0,0); border:0; }

/* ---------- Layout ---------- */
.container{
  width: min(var(--container), 100% - (var(--pad-x) * 2));
  margin-inline: auto;
}
@media (max-width: 1440px){ :root{ --pad-x: 80px; } }
@media (max-width: 1100px){ :root{ --pad-x: 48px; } }
@media (max-width: 720px){ :root{ --pad-x: 20px; } }

.section__head{ max-width: 780px; margin-bottom: 56px; }
.section__head--row{
  display:flex; align-items:flex-end; justify-content:space-between; gap:32px;
  max-width: none;
}
.section__title{
  font-family: var(--font-display);
  font-size: clamp(32px, 3.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 10px 0 14px;
  color: var(--ink);
  font-weight: 600;
}
.section__title--light{ color: var(--white); }
.section__lede{
  font-size: clamp(15px, 1vw, 18px);
  color: var(--ink-60);
  max-width: 620px;
  margin: 0;
}
.eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  font-size: 12px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--red);
}
.eyebrow__dot{
  width:8px; height:8px; border-radius:50%; background: var(--red);
  display:inline-block;
}
.eyebrow--light{ color: #ff8a90; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  transition: transform var(--dur) var(--ease), background var(--dur), color var(--dur), border-color var(--dur);
  white-space: nowrap;
}
.btn--lg{ padding: 16px 28px; font-size: 15px; }
.btn--primary{ background: var(--red); color: var(--white); }
.btn--primary:hover{ background: var(--red-700); transform: translateY(-1px); }
.btn--ghost{
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover{ background: var(--ink); color: var(--white); border-color: var(--ink); }

/* =============================================
   Arrow button — exact port of Risk Solved's
   "Soft Rounded: Left Arrow" Framer component,
   recoloured to our brand palette.
   Structure: .btn--arrow > .btn__bg + .btn__text + .btn__icon ( .btn__circle + .btn__arrow--1 + .btn__arrow--2 )

   Motion tokens — tuned to match Framer Motion's default smoothness.
   - Duration: 520ms feels right for an effect this big.
   - Ease:     cubic-bezier(.32,.72,0,1) = iOS-style "glide out",
               closely matches Framer Motion's default easeOut.
   ============================================= */
.btn--arrow{
  --arrow-dur: 520ms;
  --arrow-ease: cubic-bezier(.32, .72, 0, 1);

  /* override generic .btn defaults to match Framer sizing */
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 220px;
  height: 62px;
  padding: 0 26px;
  border-radius: 10px;
  background: transparent;   /* real colour lives in .btn__bg */
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -.01em;
  overflow: hidden;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: padding var(--arrow-dur) var(--arrow-ease);
}
.btn--arrow.btn--lg{
  width: 240px;
  height: 64px;
  padding: 0 28px;
  font-size: 17px;
}
.btn--arrow .btn__bg{
  position: absolute;
  inset: 0;
  background: var(--red);
  border-radius: inherit;
  z-index: 0;
  will-change: width, height, top, left;
  transition:
    width  var(--arrow-dur) var(--arrow-ease),
    height var(--arrow-dur) var(--arrow-ease),
    top    var(--arrow-dur) var(--arrow-ease),
    left   var(--arrow-dur) var(--arrow-ease),
    background .3s ease;
}
.btn--arrow .btn__text{
  position: relative;
  z-index: 2;
  white-space: nowrap;
}
.btn--arrow .btn__icon{
  position: absolute;
  right: 26px;
  top: 50%;
  /* NOTE: Once we start transforming the icon nothing here changes,
     but keep translateY(-50%) as the "anchor" transform. */
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  z-index: 2;
  pointer-events: none;
}
.btn--arrow.btn--lg .btn__icon{ right: 32px; width: 24px; height: 24px; }

.btn--arrow .btn__circle{
  position: absolute;
  inset: 0;
  background: var(--white);
  border-radius: 50%;
  z-index: 1;
  /* The circle ALSO clips the arrows — anything outside the disc never renders,
     so arrow #2's off-screen parked position and arrow #1's exit are invisible
     until they enter the circle. */
  overflow: hidden;
  will-change: top, left, right, height;
  transition:
    top    var(--arrow-dur) var(--arrow-ease),
    left   var(--arrow-dur) var(--arrow-ease),
    right  var(--arrow-dur) var(--arrow-ease),
    bottom var(--arrow-dur) var(--arrow-ease),
    height var(--arrow-dur) var(--arrow-ease);
}
.btn--arrow .btn__arrow{
  /* Arrows live INSIDE the circle. Always pinned to circle centre
     via top/left 50% + translate(-50%, -50%); the x-axis motion is
     layered on top via an additional translateX(). Clipped by circle. */
  position: absolute;
  top: 50%;
  left: 50%;
  color: var(--red);
  display: block;
  will-change: transform;
  transition: transform var(--arrow-dur) var(--arrow-ease);
}
.btn--arrow .btn__arrow svg{ display:block; width:100%; height:100%; }
/* Arrow #1 — sits centred in the circle at rest */
.btn--arrow .btn__arrow--1{
  width: 10px; height: 9px;
  transform: translate(-50%, -50%) translateX(0);
}
/* Arrow #2 — parked to the left of the circle (clipped, invisible) */
.btn--arrow .btn__arrow--2{
  width: 14px; height: 13px;
  transform: translate(-50%, -50%) translateX(-28px);
}

/* -------- Hover choreography (the Framer ".hover" variant) -------- */
.btn--arrow:hover{
  padding: 0 26px 0 18px;
}
.btn--arrow.btn--lg:hover{
  padding: 0 32px 0 22px;
}
.btn--arrow:hover .btn__bg{
  width: 96%;
  height: 96%;
  top: 2px;
  left: 6px;
  background: var(--red-700);
}
.btn--arrow:hover .btn__circle{
  aspect-ratio: 1;
  height: 32px;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: auto;
}
.btn--arrow.btn--lg:hover .btn__circle{ height: 34px; }

/* Arrow #1 slides OUT to the right; Arrow #2 slides IN to centre. */
.btn--arrow:hover .btn__arrow--1{ transform: translate(-50%, -50%) translateX(28px); }
.btn--arrow:hover .btn__arrow--2{ transform: translate(-50%, -50%) translateX(0); }

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce){
  .btn--arrow,
  .btn--arrow .btn__bg,
  .btn--arrow .btn__circle,
  .btn--arrow .btn__arrow{ transition: none !important; }
}


/* ---------- Header (transparent, overlaid on the hero) ---------- */
.header{
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 60;
  background: transparent;
  border: 0;
}
.header__inner{
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 40px;
  padding: 26px 0;
}
.brand img{
  height: 56px;
  width: auto;
  display: block;
  /* no filter — logo-header.svg is already white */
}
.nav{ display: flex; gap: 36px; justify-self: center; }
.nav__link{
  position: relative;
  font-weight: 500; font-size: 15px;
  color: var(--white);                 /* white text over the hero */
  padding: 6px 2px;
  transition: opacity var(--dur);
}
.nav__link:hover{ opacity: .8; }
.nav__link::after{
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px;
  height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav__link:hover::after, .nav__link.is-active::after{ transform: scaleX(1); }
.header__cta{
  justify-self: end;
  border-radius: 100px;      /* pill per spec */
  padding: 14px 26px;
}

.nav__toggle{
  display: none;
  background: none; border: 0; padding: 6px;
  width: 44px; height: 44px; border-radius: 8px;
  flex-direction: column; gap: 5px;
  align-items: center; justify-content: center;
}
.nav__toggle span{
  width: 22px; height: 2px; background: var(--white);
  display: block; border-radius: 2px;
}

@media (max-width: 960px){
  .header__inner{ grid-template-columns: auto 1fr auto; }
  .nav{ display:none; }
  .header__cta{ display:none; }
  .nav__toggle{ display:flex; }
}

/* ---------- 1. Hero ---------- */
.hero{
  position: relative;
  overflow: hidden;
  /* Deep navy fallback while the video loads */
  background: var(--navy-900);
  min-height: 88vh;
  /* extra top padding gives breathing room below the transparent nav */
  padding: 200px 0 120px;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Full-bleed looping background video */
.hero__video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  /* Cinematic tone — slightly cooler, deeper contrast */
  filter: saturate(.95) contrast(1.05);
  pointer-events: none;
}

/* Dark gradient overlay so the white copy stays readable */
.hero__overlay{
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(4,8,74,.45) 0%, rgba(4,8,74,.35) 45%, rgba(4,8,74,.78) 100%),
    radial-gradient(900px 500px at 50% 50%, rgba(0,0,0,0) 0%, rgba(0,0,0,.35) 100%);
}

/* Centered copy column */
.hero__inner{
  display: flex;
  justify-content: center;
  text-align: center;
}
.hero__copy{
  max-width: 980px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* =============================================
   Big white brand mark, watermarked behind the hero text.
   Three-stage animation:
     1. SVG container fades in  (opacity 0 → .18)
     2. Each path draws itself  (stroke-dashoffset 1 → 0)
     3. Container breathes      (scale 1 ↔ 1.05, loops forever)
   ============================================= */
.hero__logo{
  position: absolute;
  top: 56%;                          /* nudged below centre to sit beneath the nav */
  left: 50%;
  width: min(640px, 68vw);
  height: auto;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(1);
  animation:
    hero-logo-in      1.4s ease-out .3s forwards,
    hero-logo-breathe 9s ease-in-out 6s infinite;
}
.hero__logo-path{
  stroke: #ffffff;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: hero-logo-draw 4s cubic-bezier(.65,.05,.36,1) forwards;
}
.hero__logo-path--outer{ animation-delay: .5s; }
.hero__logo-path--inner{ animation-delay: 1.4s; animation-duration: 3.5s; }

@keyframes hero-logo-in{
  from { opacity: 0; }
  to   { opacity: .1; }
}
@keyframes hero-logo-draw{
  from { stroke-dashoffset: 1; }
  to   { stroke-dashoffset: 0; }
}
@keyframes hero-logo-breathe{
  0%, 100% { transform: translate(-50%, -50%) scale(1);     }
  50%      { transform: translate(-50%, -50%) scale(1.045); }
}

/* Ensure the text copy sits above the big logo */
.hero__inner{ position: relative; z-index: 2; }

@media (max-width: 720px){
  .hero__logo{ width: 78vw; }
}

@media (prefers-reduced-motion: reduce){
  .hero__logo{
    animation: none;
    opacity: .1;
  }
  .hero__logo-path{ animation: none; stroke-dashoffset: 0; }
}
.hero__title{
  font-family: var(--font-display);
  font-size: 92px;                   /* fixed 92px on desktop */
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 400;                  /* regular */
  color: var(--white);
  margin: 18px 0 32px;
  white-space: nowrap;
  text-wrap: balance;
}
.hero__title .accent{ color: var(--white); }

/* Let the headline wrap naturally on narrow screens */
@media (max-width: 720px){
  .hero__title{ white-space: normal; font-size: clamp(36px, 8vw, 56px); }
}

.hero__actions{
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Search bar sitting inside the hero, below the CTA */
.hero__search{
  margin-top: 48px;
  width: min(880px, 100%);
}
/* Compound-class selectors (specificity 020) so they win over
   the base .search__hints rule (010) defined later in the file. */
.search__hints.hero__hints{
  color: var(--white);
  justify-content: center;
  align-items: center;            /* vertically centre the "Popular:" label with the chips */
  padding-left: 0;
  font-weight: 500;
  /* Same width as .hero__search so both rows span identical horizontal real-estate. */
  width: min(880px, 100%);
  margin-left: auto;
  margin-right: auto;
}
.search__hints.hero__hints a{
  background: rgba(255,255,255,.12);
  color: var(--white);
  backdrop-filter: blur(6px);
}
.search__hints.hero__hints a:hover{
  background: rgba(255,255,255,.22);
}

/* Eyebrow above the hero headline — pure white on the video overlay */
.hero .eyebrow--light{ color: var(--white); }

@media (max-width: 960px){
  .hero{ min-height: 72vh; padding: 150px 0 96px; }
  .hero__search{ margin-top: 32px; }
}

/* ==================================================
   2. Search — Airbnb-style segmented pill
   Structure: [Category | Brand | Keyword]  🔴
   Each segment stacks a tiny label over the value,
   with thin dividers between them and a circular
   red magnify button on the right.
   ================================================== */
.search__form{
  display: flex;
  align-items: stretch;
  height: 76px;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow:
    0 24px 60px rgba(0,0,0,.22),
    0 4px 14px rgba(0,0,0,.08);
  transition: background var(--dur), box-shadow var(--dur);
}
.search__form:hover{
  background: var(--paper);          /* Airbnb-style: whole bar tints on interaction */
}

/* Each field — label stacked above value, all text left-aligned */
.search__field{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 3px;
  padding: 0 24px;
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--dur), box-shadow var(--dur);
  min-width: 0;
  flex: 0 0 auto;
  text-align: left;
}
.search__field--grow{
  flex: 1 1 auto;
  min-width: 180px;
  padding-right: 20px;   /* tighter right pad INSIDE the field */
  margin-right: 16px;    /* explicit gap between the field and the submit button */
}

/* Hovered / focused segment pops out as a white pill against the tinted bar */
.search__form:hover .search__field:hover,
.search__form .search__field:focus-within{
  background: var(--white);
  box-shadow: 0 4px 14px rgba(0,0,0,.10);
}

.search__field-label{
  display: block;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.005em;
  line-height: 1.2;
}

/* Unified styling for both <input> and <select> inside a field */
.search__field-input{
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  color: var(--ink-60);
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  padding: 0;
  margin: 0;
  min-width: 0;
  width: 100%;
  cursor: inherit;
  color-scheme: light;
  text-align: left;
}
.search__field-input::placeholder{ color: var(--ink-30); }

/* Kill webkit-search chrome / autofill artefacts */
.search__field-input::-webkit-search-decoration,
.search__field-input::-webkit-search-cancel-button,
.search__field-input::-webkit-search-results-button,
.search__field-input::-webkit-search-results-decoration{
  -webkit-appearance: none;
  appearance: none;
  display: none;
}
.search__field-input:-webkit-autofill{
  -webkit-box-shadow: 0 0 0 1000px var(--white) inset !important;
  -webkit-text-fill-color: var(--ink) !important;
}

/* Select chevron next to the value */
select.search__field-input{
  padding-right: 18px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23231F20' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M1 1.5l5 5 5-5'/></svg>") !important;
  background-repeat: no-repeat !important;
  background-position: right 0 center !important;
  background-size: 10px 6px !important;
}

/* Thin vertical divider — fades when the bar is engaged */
.search__divider{
  display: block;
  width: 1px;
  height: 32px;
  background: var(--line);
  flex: 0 0 auto;
  align-self: center;
  transition: opacity var(--dur);
}
.search__form:hover .search__divider{ opacity: 0; }

/* Circular red magnify submit */
.search__submit{
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: grid;
  place-items: center;
  cursor: pointer;
  margin-left: auto;
  align-self: center;
  transition: background var(--dur), transform var(--dur) var(--ease);
}
.search__submit:hover{
  background: var(--red-700);
  transform: scale(1.04);
}
.search__submit svg{ width: 20px; height: 20px; display: block; }

/* Popular-search chips under the bar */
.search__hints{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
  font-size: 13px;
  color: var(--ink-60);
  padding-left: 4px;
}
.search__hints a{
  color: var(--ink);
  background: var(--paper);
  padding: 6px 12px;
  border-radius: 8px;
  transition: background var(--dur);
}
.search__hints a:hover{ background: var(--paper-dark); }

/* Responsive — stack segments vertically on narrow screens */
@media (max-width: 860px){
  .search__form{
    flex-direction: column;
    align-items: stretch;
    height: auto;
    border-radius: 24px;
    padding: 14px;
    gap: 4px;
  }
  .search__field{ padding: 12px 16px; border-radius: 16px; align-items: flex-start; }
  .search__divider{ width: 100%; height: 1px; align-self: stretch; }
  .search__submit{
    width: 100%;
    height: 52px;
    border-radius: 999px;
    margin: 6px 0 0;
  }
}

/* ---------- 3. Brands (infinite marquee) ---------- */
.brands{
  padding: 96px 0;
  background: var(--white);
  overflow: hidden;     /* contain the full-width marquee */
}
.brands__title{
  text-align: center;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 48px;
}

/* Marquee rail — masked at edges for a smooth fade */
.marquee{
  position: relative;
  overflow: hidden;
  padding: 18px 0;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
}
.marquee__track{
  display: flex;
  gap: 32px;
  width: max-content;
  animation: marquee-scroll 46s linear infinite;
  will-change: transform;
}
.marquee--reverse .marquee__track{
  animation-name: marquee-scroll-reverse;
  animation-duration: 52s;    /* slightly different speed = more organic feel */
}
/* Pause when the user hovers a row so they can read names */
.marquee:hover .marquee__track{ animation-play-state: paused; }

@keyframes marquee-scroll{
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes marquee-scroll-reverse{
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

/* Individual brand cell — outlined pill chip inside the brands marquee,
   containing a brand-logo <img>. Scoped to .marquee so the header's
   .brand logo link isn't affected. */
.marquee .brand{
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  height: 70px;
  min-width: 160px;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background: var(--white);
  transition: border-color var(--dur), transform var(--dur) var(--ease);
}
.marquee .brand img{
  max-height: 34px;
  max-width: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.marquee .brand:hover{
  border-color: var(--red);        /* outline turns red on hover */
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce){
  .marquee__track{ animation: none; }
}

@media (max-width: 720px){
  .brands{ padding: 72px 0; }
  .brand{ font-size: 20px; }
  .marquee{ padding: 12px 0; }
  .marquee__track{ gap: 20px; }
}

/* ---------- 4. About ---------- */
.about{ padding: 120px 0; background: var(--paper); }

/* Centered section header variant */
.section__head--center{
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 72px;
}
.section__head--center .eyebrow{ justify-content: center; }
.section__head--center .section__lede{ margin-left: auto; margin-right: auto; }

/* 3-column grid: features | visual | stats */
.about__grid{
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 64px;
  align-items: center;
}

/* ----- Left column: icon-led features ----- */
.about__features{
  display: flex;
  flex-direction: column;
  gap: 44px;
}
.feature__icon{
  width: 96px;                       /* 4:3 ratio to match industry icons */
  height: 72px;
  margin-bottom: 22px;
  display: block;
  overflow: visible;
  background: none;
  border: 0;
  box-shadow: none;
}
/* Dual-tone strokes: navy + red, 2.5px weight */
.feature__icon path,
.feature__icon circle,
.feature__icon rect{
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.feature__icon .nav{ stroke: var(--navy); }
.feature__icon .red{ stroke: var(--red); }

/* Continuous wave motion under each icon (reuses industry's keyframes) */
.feature__icon .wave{
  stroke-dasharray: 3 4;
  animation: ind-wave 2.4s linear infinite;
}

/* Scroll-in stroke-draw — triggered when .about gains .is-visible */
.about .feature__icon path:not(.wave),
.about .feature__icon circle{
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1s cubic-bezier(.65,.05,.36,1);
}
.about.is-visible .feature__icon path:not(.wave),
.about.is-visible .feature__icon circle{
  stroke-dashoffset: 0;
}
/* Navy strokes draw first, red follows with a delay */
.about.is-visible .feature__icon .red{ transition-delay: .35s; }

/* Per-feature cascade so the 3 icons don't all draw at once */
.about.is-visible .feature:nth-child(1) .feature__icon .nav{ transition-delay: 0s; }
.about.is-visible .feature:nth-child(1) .feature__icon .red{ transition-delay: .35s; }
.about.is-visible .feature:nth-child(2) .feature__icon .nav{ transition-delay: .18s; }
.about.is-visible .feature:nth-child(2) .feature__icon .red{ transition-delay: .53s; }
.about.is-visible .feature:nth-child(3) .feature__icon .nav{ transition-delay: .36s; }
.about.is-visible .feature:nth-child(3) .feature__icon .red{ transition-delay: .71s; }

@media (prefers-reduced-motion: reduce){
  .about .feature__icon path,
  .about .feature__icon circle{ transition: none; stroke-dashoffset: 0 !important; }
  .feature__icon .wave{ animation: none; }
}
.feature h3{
  font-family: var(--font-display);
  font-size: 22px; font-weight: 600;
  color: var(--ink);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.feature p{
  font-size: 15px;
  color: var(--ink-60);
  line-height: 1.65;
  margin: 0;
  /* Let the paragraph fill the column — no artificial narrow cap */
  max-width: none;
}

/* ----- Center: oval/capsule image ----- */
.about__visual{
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  aspect-ratio: 5/7;
}
.about__image{
  position: absolute; inset: 0;
  border-radius: 999px;                  /* capsule */
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
/* Image is a landscape photo of a container ship — rotated 90° so the
   ship runs VERTICALLY inside the portrait capsule. The img is sized
   by height (so after rotation its length fills the capsule's height),
   centered, and rotated around its centre. */
.about__image img{
  position: absolute;
  top: 50%;
  left: 50%;
  height: 100%;
  width: auto;
  max-width: none;
  transform: translate(-50%, -50%) rotate(90deg);
  transform-origin: center center;
  display: block;
}


/* ----- Right column: large stat numbers ----- */
.about__stats{
  display: flex;
  flex-direction: column;
  text-align: right;
}
.stat{
  padding: 48px 0;                   /* roomier vertical rhythm */
  border-bottom: 1px solid var(--line);
}
.stat:last-child{ border-bottom: 0; }
.stat:first-child{ padding-top: 0; }
.stat:last-child{ padding-bottom: 0; }
.stat h3{
  font-family: var(--font-display);
  font-size: clamp(44px, 4.2vw, 68px);
  font-weight: 400;                  /* TASA Orbiter's lightest available weight */
  color: var(--navy);                /* primary blue */
  margin: 0;
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat h3 span{
  color: var(--red);
  font-weight: 400;                  /* match numbers */
  margin-left: 6px;
}
.stat p{
  margin: 16px 0 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-60);
  letter-spacing: -0.005em;
}

@media (max-width: 1100px){
  .about__grid{ grid-template-columns: 1fr 1fr; gap: 56px; }
  .about__visual{ grid-column: 1 / -1; order: -1; max-width: 360px; }
}
@media (max-width: 720px){
  .about{ padding: 72px 0; }
  .section__head--center{ margin-bottom: 48px; }
  .about__grid{ grid-template-columns: 1fr; gap: 56px; }
  .about__stats{ text-align: left; }
  .feature p{ max-width: none; }
}

/* ---------- 5. Products — 6 vertical cards, infinite marquee ---------- */
.products{
  padding: 120px 0;
  overflow: hidden;
}

/* Marquee rail — full-bleed, edge-faded */
.products__marquee{
  margin-top: 56px;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  padding: 12px 0;           /* room for card hover lift */
}
.products__track{
  display: flex;
  gap: 28px;
  width: max-content;
  padding: 0 14px;
  animation: products-scroll 42s linear infinite;
  will-change: transform;
}
.products__marquee:hover .products__track{ animation-play-state: paused; }

@keyframes products-scroll{
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce){
  .products__track{ animation: none; }
}

/* Vertical card — fixed width for marquee rhythm
   Background = paper (same warm-gray as the About Us section) */
.card{
  position: relative;
  flex: none;
  width: 320px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur) var(--ease), border-color var(--dur);
}
.card:hover{
  transform: translateY(-4px);
  border-color: var(--navy);                       /* primary blue outline stroke on hover */
}

/* Top image panel — same background as the section (white) so the
   photo blends seamlessly into the page */
.card__image{
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--paper);   /* matches the card body — seamless panel */
  display: grid;
  place-items: center;
  padding: 28px;
  overflow: hidden;
}
.card__image img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform var(--dur) var(--ease);
}
.card:hover .card__image img{ transform: scale(1.05); }

/* Card body */
.card__body{
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card h3{
  font-family: var(--font-display);
  font-size: 22px; font-weight: 600;
  margin: 0 0 6px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.card p{
  font-size: 14px;
  color: var(--ink-60);
  margin: 0;
  flex: 1;
  line-height: 1.55;
}
/* Anchor-arrow affordance — circular outlined chip with an up-right arrow.
   Fills brand red on card hover and nudges diagonally in the arrow's direction. */
.card__arrow{
  align-self: flex-start;
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  background: transparent;
  color: var(--navy);
  transition:
    background var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    color var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}
.card__arrow svg{
  width: 18px;
  height: 18px;
  display: block;
}
.card:hover .card__arrow{
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  transform: translate(3px, -3px);   /* diagonal nudge matches the arrow direction */
}

/* CTA variant (not currently used in the marquee, kept for future reuse) */
.card--cta{ background: var(--navy); border-color: var(--navy); }
.card--cta h3{ color: var(--white); }
.card--cta p{ color: rgba(255,255,255,.72); }
.card--cta .card__arrow{ color: var(--white); }
.card--cta:hover{ border-color: var(--navy); }
.card--cta:hover .card__arrow{ color: #ffbfc3; }

@media (max-width: 1200px){ .products__grid{ grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px){ .products__grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px){ .products__grid{ grid-template-columns: 1fr; } }

/* ---------- 6. Featured ---------- */
.featured{ padding: 40px 0 120px; }
.featured__grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--dur), box-shadow var(--dur);
}
.product:hover{ transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product__media{
  aspect-ratio: 4/3;
  background: var(--paper);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;         /* strict vertical centre */
  justify-content: center;     /* strict horizontal centre */
  padding: 24px;
}
/* Image scales to fit the padded area while preserving its own aspect ratio,
   and flex centering pins it to the middle of the panel — regardless of the
   original PNG's internal padding or subject placement. */
.product__media img{
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
  margin: auto;                /* belt-and-braces centring */
  transition: transform var(--dur) var(--ease);
}
.product:hover .product__media img{
  transform: scale(1.05);
}
.product__tag{
  position:absolute; top: 14px; left: 14px;
  background: var(--navy);
  color: var(--white);
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  padding: 5px 10px; border-radius: 6px;
  text-transform: uppercase;
  z-index:1;
}
.product__body{ padding: 22px 22px 24px; }
.product__brand{
  font-size: 12px; font-weight: 600;
  color: var(--red); letter-spacing: .08em; text-transform: uppercase;
}
.product h3{
  font-family: var(--font-display);
  font-size: 20px; font-weight: 600;
  margin: 8px 0 6px;
  color: var(--navy);           /* product title in brand blue */
  letter-spacing: -0.01em;
}
.product__meta{ font-size: 13px; color: var(--ink-60); margin: 0 0 14px; }
.product__link{ color: var(--navy); font-weight: 600; font-size: 14px; }
.product__link:hover{ color: var(--red); }

@media (max-width: 1100px){ .featured__grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .featured__grid{ grid-template-columns: 1fr; } }

/* ---------- 7. Industries — navy block, single row of 6 ---------- */
.industries{
  padding: 120px 0;
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.industries .section__title{ color: var(--white); text-align: center; }
.industries .section__head{ text-align: center; margin: 0 auto 72px; max-width: 720px; }

/* Single row of 6 — no grid borders, no cell backgrounds, no boxes */
.industries__grid{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 36px;
}
.industry{
  background: transparent;
  border: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 72px;                  /* 72px breathing space between icon and heading */
}
.industry h3{
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.01em;
  color: var(--white);
}

/* -------- Dual-tone animated line icons — white + red on navy -------- */
.ind-icon{
  width: 128px;
  height: 96px;               /* bigger — was 72×54 */
  display: block;
  overflow: visible;
}
.ind-icon path,
.ind-icon circle,
.ind-icon rect,
.ind-icon ellipse{
  fill: none;                       /* kills the default black fill on circle/rect */
  stroke-width: 4;                  /* bolder */
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.ind-icon__nav{ stroke: var(--white); }   /* "nav" class paints WHITE on navy bg */
.ind-icon__red{ stroke: var(--red); }

/* Wave keyframes kept here because the About section's feature icons still use them */
@keyframes ind-wave{
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -14; }
}

@media (max-width: 1100px){ .industries__grid{ grid-template-columns: repeat(3, 1fr); gap: 80px 36px; } }
@media (max-width: 700px){ .industries__grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px){ .industries__grid{ grid-template-columns: 1fr; } }

/* ---------- 8. Why ---------- */
.why{ padding: 120px 0; background: var(--paper); }
.why__grid{
  display:grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 80px;
  align-items: start;
}
.why__head{ position: sticky; top: 120px; }
.why__items{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.why__item{
  background: var(--white);
  padding: 32px 28px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  transition: transform var(--dur), box-shadow var(--dur);
}
.why__item:hover{ transform: translateY(-3px); box-shadow: var(--shadow-md); }
.why__num{
  font-family: var(--font-display);
  font-size: 14px; font-weight: 700;
  color: var(--red);
  letter-spacing: .1em;
  margin-bottom: 22px;
}
.why__item h3{
  font-family: var(--font-display);
  font-size: 20px; font-weight: 600;
  margin: 0 0 8px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.why__item p{ color: var(--ink-60); font-size: 14.5px; margin: 0; line-height: 1.65; }

@media (max-width: 960px){
  .why__grid{ grid-template-columns: 1fr; gap: 48px; }
  .why__head{ position: static; }
  .why__items{ grid-template-columns: 1fr; }
}

/* ---------- 9. CTA ---------- */
.cta{
  padding: 120px 0;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-700) 80%, #8e1018 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* White brand-mark watermark, tilted -45° and anchored to the left */
.cta__logo{
  position: absolute;
  top: 50%;
  left: 0;
  width: min(560px, 48vw);
  height: auto;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transform: translate(-28%, -50%) rotate(-45deg);
  animation: cta-logo-in 1.4s ease-out .3s forwards;
}
.cta__logo-path{
  stroke: #ffffff;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: cta-logo-draw 4s cubic-bezier(.65,.05,.36,1) forwards;
}
.cta__logo-path--outer{ animation-delay: .5s; }
.cta__logo-path--inner{ animation-delay: 1.4s; animation-duration: 3.5s; }

@keyframes cta-logo-in{
  from { opacity: 0; }
  to   { opacity: .14; }
}
@keyframes cta-logo-draw{
  from { stroke-dashoffset: 1; }
  to   { stroke-dashoffset: 0; }
}

/* Ensure content sits above the watermark */
.cta__grid{ position: relative; z-index: 2; }

@media (prefers-reduced-motion: reduce){
  .cta__logo{
    animation: none;
    opacity: .14;
  }
  .cta__logo-path{ animation: none; stroke-dashoffset: 0; }
}
.cta::before{
  content:""; position:absolute; top:-200px; right:-200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(226,30,38,.35), transparent 70%);
  filter: blur(60px);
}
.cta::after{
  content:""; position:absolute; bottom:-100px; left:-100px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.08), transparent 70%);
  filter: blur(60px);
}
.cta__grid{
  position: relative;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.cta__copy p{ color: rgba(255,255,255,.9); font-size: 17px; line-height: 1.7; margin: 14px 0 24px; }

.cta__form{
  background: var(--white);
  color: var(--ink);
  padding: 40px;
  border-radius: var(--r-xl);
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  box-shadow: var(--shadow-lg);
}
.field{ display:flex; flex-direction: column; gap: 6px; }
.field--full{ grid-column: 1 / -1; }
.field label{
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--ink-60);
}
.field input, .field textarea{
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  transition: border-color var(--dur), background var(--dur);
  resize: vertical;
}
.field input:focus, .field textarea:focus{
  outline: none;
  border-color: var(--navy);
  background: var(--white);
}
.cta__form button{ grid-column: 1 / -1; }

@media (max-width: 960px){
  .cta__grid{ grid-template-columns: 1fr; gap: 48px; }
  .cta__form{ padding: 28px; grid-template-columns: 1fr; }
}

/* ---------- 10. Footer (Wärtsilä-style deep navy, underlined links) ---------- */
.footer{
  background: var(--navy-900);
  color: var(--white);
  padding-top: 96px;
}
.footer__grid{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.6fr;
  gap: 64px;
  padding-bottom: 80px;
  align-items: start;
}

/* Link columns — plain list, no headings, generous spacing */
.footer__col{
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.footer__col a{
  color: var(--white);
  font-size: 17px;
  font-weight: 400;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color var(--dur), opacity var(--dur);
}
.footer__col a:hover{
  color: rgba(255,255,255,.7);
}

/* Brand block — rightmost column */
.footer__brand{
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.footer__logo{
  height: 56px;
  width: auto;
  filter: brightness(0) invert(1);   /* white version of the logo */
  align-self: flex-start;
}
.footer__brand p{
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255,255,255,.78);
  max-width: 440px;
}

/* Social icon squares */
.footer__social{
  display: flex;
  gap: 8px;
  margin-top: 6px;
}
.footer__social a{
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: rgba(255,255,255,.08);
  display: grid;
  place-items: center;
  color: var(--white);
  transition: background var(--dur), transform var(--dur) var(--ease);
}
.footer__social a:hover{
  background: rgba(255,255,255,.18);
  transform: translateY(-1px);
}
.footer__social svg{
  width: 15px;
  height: 15px;
  display: block;
}

/* Bottom strip — copyright + office locations */
.footer__bottom{
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 22px 0;
  font-size: 13px;
  color: rgba(255,255,255,.6);
}
.footer__bottom-inner{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.footer__offices{ letter-spacing: .06em; text-transform: uppercase; font-size: 12px; }

@media (max-width: 1100px){
  .footer__grid{ grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand{ grid-column: 1 / -1; order: -1; margin-bottom: 20px; }
}
@media (max-width: 720px){
  .footer{ padding-top: 64px; }
  .footer__grid{ grid-template-columns: 1fr 1fr; gap: 40px; padding-bottom: 48px; }
  .footer__brand{ grid-column: 1 / -1; }
  .footer__bottom-inner{ flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px){
  .footer__grid{ grid-template-columns: 1fr; }
}
