/* ==========================================================================
   Shoresafe — "Voyage" design system (light / editorial / cinematic)
   Brand gradient: 90° #365a9d → #5a8d36  (navy → sea green)
   Type: Inter (corporate) for both display and body
   Loaded last: intentionally overrides the legacy theme layer beneath it.
   ========================================================================== */

:root {
  --ink:        #16233b;   /* deep navy text */
  --ink-soft:   #44546e;
  --steel:      #6d7f99;
  --paper:      #ffffff;
  --ivory:      #f7fafc;
  --mist:       #eaf1f7;
  --hairline:   #e2eaf2;

  --brand-blue:  #365a9d;
  --brand-green: #5a8d36;
  --blue-soft:   #ecf1fa;
  --green-soft:  #eff5e9;

  --grad-brand: linear-gradient(90deg, #365a9d 0%, #5a8d36 100%);
  --grad-brand-soft: linear-gradient(90deg, rgba(54,90,157,.09), rgba(90,141,54,.09));

  --shadow-card: 0 24px 60px -28px rgba(22, 35, 59, .25);
  --shadow-card-hover: 0 34px 80px -30px rgba(22, 35, 59, .35);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);

  --font-display: "Inter", "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* -------------------------------------------------------------------------
   Base
   ------------------------------------------------------------------------- */

html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

/* Legacy theme uses overflow:hidden on the page wrapper, which kills
   position:sticky. `clip` clips identically without creating a scroll box. */
.boxed_wrapper { overflow: clip !important; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink-soft);
  cursor: auto;
}

@media (hover: none), (pointer: coarse) {
  body { cursor: auto; }
}

::selection { background: var(--brand-blue); color: #fff; }

a { transition: color .3s var(--ease-out); }

h1, h2, h3, h4, h5, h6 { color: var(--ink); }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ivory); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #365a9d, #5a8d36); border-radius: 8px; }

/* -------------------------------------------------------------------------
   Custom cursor — gradient dot + navy ring
   ------------------------------------------------------------------------- */

.cine-cursor {
  position: fixed;
  top: 0; left: 0;
  width: 10px; height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--grad-brand);
  pointer-events: none;
  z-index: 100000;
  transform: translate3d(-100px, -100px, 0);
  will-change: transform;
}

.cine-cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 38px; height: 38px;
  margin: -19px 0 0 -19px;
  border-radius: 50%;
  border: 1.5px solid rgba(54, 90, 157, .45);
  pointer-events: none;
  z-index: 99999;
  transform: translate3d(-100px, -100px, 0);
  transition: width .25s var(--ease-out), height .25s var(--ease-out),
              margin .25s var(--ease-out), border-color .25s var(--ease-out),
              background .25s var(--ease-out);
  will-change: transform;
}

.cine-cursor-ring.is-active {
  width: 62px; height: 62px;
  margin: -31px 0 0 -31px;
  background: rgba(90, 141, 54, .08);
  border-color: rgba(90, 141, 54, .55);
}

@media (hover: none), (pointer: coarse) {
  .cine-cursor, .cine-cursor-ring { display: none; }
}

/* -------------------------------------------------------------------------
   Typography
   ------------------------------------------------------------------------- */

.sec-title .sub-title {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.sec-title .sub-title::before,
.sec-title .sub-title::after { display: none; }

.sec-title h2 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: .005em;
  color: var(--ink);
}

.sec-title h2 span {
  font-family: inherit;
  font-weight: 400;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

p { font-family: var(--font-body); }

/* -------------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------------- */

.theme-btn {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: .04em;
  border-radius: 999px !important;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.theme-btn:before, .theme-btn:after { display: none !important; }

.theme-btn.btn-one {
  background: var(--grad-brand) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 14px 34px -12px rgba(54, 90, 157, .55);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), filter .45s var(--ease-out);
}

.theme-btn.btn-one:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 20px 44px -12px rgba(90, 141, 54, .55);
  filter: saturate(1.15);
  color: #fff !important;
}

.theme-btn .magnetic-label { display: inline-block; will-change: transform; }

/* Header quote CTA: deliberately simple and motion-free. */
.main-header a.static-quote-btn.theme-btn.btn-one,
.main-header a.static-quote-btn.theme-btn.btn-one:hover,
.main-header a.static-quote-btn.theme-btn.btn-one:focus,
.main-header a.static-quote-btn.theme-btn.btn-one:active {
  background: var(--grad-brand) !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: none !important;
  filter: none !important;
  transform: none !important;
  transition: none !important;
}

.main-header .static-quote-btn .magnetic-label {
  transform: none !important;
  transition: none !important;
}

/* -------------------------------------------------------------------------
   Header — light glass
   ------------------------------------------------------------------------- */

.main-header {
  background: transparent;
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 999;
}

.main-header .header-top {
  background: rgba(255, 255, 255, .55);
  border-bottom: 1px solid var(--hairline);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.main-header .header-top .info-list li,
.main-header .header-top .info-list li a {
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .04em;
}

.main-header .header-top .info-list li a:hover { color: var(--brand-blue); }
.main-header .header-top .info-list li i { color: var(--brand-green); }

.main-header .header-top .social-links li a { color: var(--ink-soft); }
.main-header .header-top .social-links li a:hover { color: var(--brand-blue); }

.main-header .header-lower {
  background: rgba(255, 255, 255, .6);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  border-bottom: 1px solid var(--hairline);
  transition: background .5s var(--ease-out), box-shadow .5s var(--ease-out);
}

.main-header .main-menu .navigation > li > a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink) !important;
  position: relative;
}

.main-header .main-menu .navigation > li > a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 2px;
  width: 0%; height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
  transition: width .35s var(--ease-out);
}

.main-header .main-menu .navigation > li:hover > a::after,
.main-header .main-menu .navigation > li.current > a::after { width: 100%; }

.main-header .main-menu .navigation > li.current > a,
.main-header .main-menu .navigation > li:hover > a { color: var(--brand-blue) !important; }

.sticky-header {
  background: rgba(255, 255, 255, .85) !important;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--hairline);
}

.sticky-header .main-menu .navigation > li > a { color: var(--ink) !important; }
.sticky-header .main-menu .navigation > li:hover > a,
.sticky-header .main-menu .navigation > li.current > a { color: var(--brand-blue) !important; }

/* -------------------------------------------------------------------------
   Clean introductory hero
   ------------------------------------------------------------------------- */

.clean-hero {
  position: relative;
  min-height: min(760px, 88vh);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.clean-hero-inner {
  position: relative;
  width: 100%;
  min-height: inherit;
  display: flex;
  align-items: center;
}

.clean-hero-sky {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(90% 70% at 78% 30%, rgba(54, 90, 157, .14) 0%, rgba(54, 90, 157, 0) 60%),
    radial-gradient(80% 60% at 20% 85%, rgba(90, 141, 54, .12) 0%, rgba(90, 141, 54, 0) 55%),
    linear-gradient(180deg, #f2f7fc 0%, #ffffff 46%, #f2f7f2 100%);
}

.clean-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.clean-hero-content .auto-container { width: 100%; }

.clean-hero-slide { max-width: 640px; }

/* Sticky viewport + three full scroll stages (realistic, reveal, X-ray).
   Keep the hero in normal flow so its first frame is fully visible below the
   header before the user begins scrolling. */
.ship-story { position: relative; height: 400vh; margin-top: 0; background: #f7fafc; }

.ship-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.ship-sky {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(90% 70% at 78% 30%, rgba(54, 90, 157, .14) 0%, rgba(54, 90, 157, 0) 60%),
    radial-gradient(80% 60% at 20% 85%, rgba(90, 141, 54, .12) 0%, rgba(90, 141, 54, 0) 55%),
    linear-gradient(180deg, #f2f7fc 0%, #ffffff 46%, #f2f7f2 100%);
}

/* faint blueprint grid, fades in during the x-ray sweep via --scan */
.ship-sky::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(54, 90, 157, .5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(54, 90, 157, .5) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: calc(var(--scan, 0) * 0.10);
  transition: opacity .3s linear;
  pointer-events: none;
}

#cine-ship-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  opacity: 0;
  transition: opacity 1.4s var(--ease-out);
}

#cine-ship-canvas.is-ready { opacity: 1; }

.ship-loading {
  position: absolute; z-index: 5; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 10px; color: rgba(35, 71, 104, .85);
  font: 600 10px/1 var(--font-body); letter-spacing: .22em; text-transform: uppercase;
  transition: opacity .4s ease; pointer-events: none;
}
.ship-loading span { width: 16px; height: 16px; border: 2px solid rgba(54, 90, 157, .2); border-top-color: #365a9d; border-radius: 50%; animation: ship-load .8s linear infinite; }
.ship-loading.is-hidden { opacity: 0; }
@keyframes ship-load { to { transform: rotate(360deg); } }

.ship-story-content {
  position: relative;
  z-index: 3;
  width: 100%;
}

.ship-story-content .auto-container { position: relative; min-height: 380px; width: 100%; }

.ship-slide {
  position: absolute;
  top: 50%;
  left: 15px; right: 15px;
  transform: translateY(-50%);
  max-width: 640px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .6s var(--ease-out), visibility .6s;
}

.ship-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* soft scrim so type stays crisp over the ship */
.ship-slide::before {
  content: '';
  position: absolute;
  inset: -70px -90px;
  background: radial-gradient(60% 58% at 36% 50%, rgba(255,255,255,.88) 0%, rgba(255,255,255,.45) 52%, rgba(255,255,255,0) 100%);
  z-index: -1;
}

.ship-kicker {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}

.ship-kicker::before {
  content: '';
  width: 36px; height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
}

.ship-slide .is-active .ship-kicker { }

.ship-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 5.6vw, 5.4rem);
  line-height: 1.05;
  letter-spacing: .002em;
  color: var(--ink);
  margin: 0 0 24px;
}

.ship-title em {
  font-style: normal;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ship-text {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: 38px;
}

.ship-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }

.ship-actions .theme-btn { padding: 17px 38px; font-size: 13.5px; }

.ship-secondary {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.ship-secondary .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand-green);
  box-shadow: 0 0 0 0 rgba(90, 141, 54, .5);
  animation: voyage-pulse 2.2s var(--ease-in-out) infinite;
}

@keyframes voyage-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(90, 141, 54, .5); }
  70%  { box-shadow: 0 0 0 11px rgba(90, 141, 54, 0); }
  100% { box-shadow: 0 0 0 0 rgba(90, 141, 54, 0); }
}

/* slide entrance micro-motion */
.ship-slide .ship-kicker,
.ship-slide .ship-title,
.ship-slide .ship-text,
.ship-slide .ship-actions {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}

.ship-slide.is-active .ship-kicker  { opacity: 1; transform: none; transition-delay: .05s; }
.ship-slide.is-active .ship-title   { opacity: 1; transform: none; transition-delay: .14s; }
.ship-slide.is-active .ship-text    { opacity: 1; transform: none; transition-delay: .26s; }
.ship-slide.is-active .ship-actions { opacity: 1; transform: none; transition-delay: .36s; }

/* progress rail (right edge) */
.ship-rail {
  position: absolute;
  right: 42px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.ship-rail button {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--steel);
  background: none;
  border: none;
  cursor: pointer;
  transition: color .3s var(--ease-out);
}

.ship-rail button.is-active {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ship-rail .rail-track {
  width: 2px;
  height: 92px;
  background: var(--hairline);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.ship-rail .rail-fill {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: var(--grad-brand);
  transform-origin: top;
  transform: scaleY(var(--p, 0));
}

.ship-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  color: var(--steel);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  cursor: pointer;
}

.ship-scroll-cue .stem {
  width: 2px; height: 40px;
  border-radius: 2px;
  background: var(--hairline);
  position: relative;
  overflow: hidden;
}

.ship-scroll-cue .stem::after {
  content: '';
  position: absolute;
  left: 0; top: -100%;
  width: 100%; height: 100%;
  background: var(--grad-brand);
  animation: voyage-scroll-line 2s var(--ease-in-out) infinite;
}

@keyframes voyage-scroll-line {
  0%   { top: -100%; }
  60%  { top: 100%; }
  100% { top: 100%; }
}

/* -------------------------------------------------------------------------
   Keyword marquee
   ------------------------------------------------------------------------- */

.cine-marquee {
  padding: 22px 0;
  background: var(--ivory);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  overflow: hidden;
}

.cine-marquee-track {
  display: flex;
  align-items: center;
  gap: 44px;
  width: max-content;
  animation: voyage-marquee 90s linear infinite;
}

.cine-marquee-group {
  display: flex;
  align-items: center;
  gap: 44px;
  padding-right: 44px;
}

.cine-marquee span {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--steel);
  white-space: nowrap;
}

.cine-marquee span.grad {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cine-marquee i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--grad-brand);
  flex: none;
}

@keyframes voyage-marquee {
  to { transform: translateX(-50%); }
}

/* -------------------------------------------------------------------------
   Horizontal services scroll
   ------------------------------------------------------------------------- */

.hscroll-section { position: relative; }

.hscroll-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, #f6f9fc 0%, #eef4ef 100%);
}

.hscroll-track {
  display: flex;
  align-items: center;
  gap: 34px;
  padding: 0 7vw;
  will-change: transform;
}

.hscroll-intro {
  flex: none;
  width: min(480px, 82vw);
  padding-right: 20px;
}

.hscroll-intro .sub-title {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  margin-bottom: 16px;
}

.hscroll-intro h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  line-height: 1.12;
  color: var(--ink);
  margin-bottom: 22px;
}

.hscroll-intro h2 span {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hscroll-hint {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--steel);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.hscroll-hint::after {
  content: '';
  width: 46px; height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
  animation: voyage-hint 1.8s var(--ease-in-out) infinite alternate;
}

@keyframes voyage-hint {
  from { transform: translateX(0); opacity: .5; }
  to   { transform: translateX(10px); opacity: 1; }
}

.hs-card {
  flex: none;
  width: min(400px, 84vw);
  /* one fixed height for every card — content differences flex inside */
  height: min(560px, 74vh);
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
  display: flex;
  flex-direction: column;
}

.hs-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
}

.hs-card .hs-media {
  position: relative;
  height: 200px;
  flex: none;
  overflow: hidden;
}

.hs-card .hs-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out);
}

.hs-card:hover .hs-media img { transform: scale(1.07); }

.hs-card .hs-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22,35,59,0) 55%, rgba(22,35,59,.28) 100%);
}

.hs-card .hs-num {
  position: absolute;
  top: 14px; left: 16px;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 15px;
  color: #fff;
  background: rgba(22, 35, 59, .5);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  padding: 5px 13px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hs-card .hs-body {
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.hs-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 21px;
  line-height: 1.3;
  margin-bottom: 12px;
}

.hs-card h3 a { color: var(--ink); }
.hs-card h3 a:hover {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hs-card .service-kicker { margin-bottom: 10px; }

.hs-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 20px;
  /* keep long summaries from pushing the link out of the fixed card */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hs-link {
  margin-top: auto;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hs-link::after {
  content: '→';
  -webkit-text-fill-color: var(--brand-green);
  transition: transform .35s var(--ease-out);
}

.hs-card:hover .hs-link::after { transform: translateX(6px); }

.hscroll-end {
  flex: none;
  width: min(360px, 80vw);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.hscroll-end h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  color: var(--ink);
}

/* reduced motion / no-JS fallback: plain horizontal swipe */
.prm .hscroll-section { height: auto !important; }
.prm .hscroll-sticky { position: relative; height: auto; padding: 90px 0; overflow-x: auto; }

.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* -------------------------------------------------------------------------
   Service kicker badges (shared)
   ------------------------------------------------------------------------- */

.service-kicker-badge,
.service-kicker .service-kicker-badge {
  display: inline-block;
  font-family: var(--font-body) !important;
  font-size: 10.5px !important;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand-blue) !important;
  background: var(--blue-soft) !important;
  border: 1px solid rgba(54, 90, 157, .22) !important;
  border-radius: 999px;
  padding: 4px 12px !important;
  margin: 0 6px 6px 0;
}

.service-kicker-badge:hover {
  transform: none !important;
  box-shadow: none !important;
}

/* -------------------------------------------------------------------------
   Cards & sections (site-wide light polish)
   ------------------------------------------------------------------------- */

.feature-section, .about-section, .about-style-two, .process-section,
.service-style-three, .clients-section, .contact-info-section,
.contact-section, .core-services, .team-section, .service-details {
  background-color: var(--paper);
}

.bg-color-1 { background-color: var(--ivory) !important; }

.feature-block-one .inner-box,
.process-block-one .inner-box,
.service-block-three .inner-box,
.info-block-one .inner-box,
.team-block-one .inner-box {
  background: var(--paper) !important;
  border: 1px solid var(--hairline) !important;
  border-radius: 22px !important;
  box-shadow: 0 18px 44px -30px rgba(22, 35, 59, .28);
  position: relative;
  overflow: hidden;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .5s var(--ease-out);
}

.feature-block-one .inner-box::before,
.process-block-one .inner-box::before,
.info-block-one .inner-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease-out);
}

.feature-block-one .inner-box:hover,
.process-block-one .inner-box:hover,
.info-block-one .inner-box:hover {
  border-color: transparent !important;
  box-shadow: var(--shadow-card-hover);
}

.feature-block-one .inner-box:hover::before,
.process-block-one .inner-box:hover::before,
.info-block-one .inner-box:hover::before { transform: scaleX(1); }

.feature-block-one h3, .feature-block-one h3 a,
.process-block-one h3,
.service-block-three h3, .service-block-three h3 a,
.info-block-one h3, .info-block-one h3 a,
.team-block-one .lower-content h3 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--ink) !important;
}

.feature-block-one p, .process-block-one p, .service-block-three p { color: var(--ink-soft) !important; }

/* funfacts — gradient numerals on ivory */
.funfact-section { background: var(--paper); }

.funfact-section .inner-container {
  background: var(--ivory);
  border: 1px solid var(--hairline);
  border-radius: 28px;
  box-shadow: 0 26px 70px -40px rgba(22, 35, 59, .3);
}

.funfact-block-one .inner-box { background: transparent !important; border: none !important; box-shadow: none; }

.funfact-block-one .count-outer {
  font-family: var(--font-display);
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.funfact-block-one .count-outer .count-text,
.funfact-block-one .count-outer span {
  color: inherit !important;
  -webkit-text-fill-color: inherit;
  font-family: inherit;
}

.funfact-block-one h4 { color: var(--ink-soft) !important; font-family: var(--font-body); font-weight: 600; }
.funfact-block-one .icon-box i { color: var(--brand-green) !important; }

/* clients */
.clients-section { background: var(--ivory) !important; }

.client-card {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  filter: grayscale(1) opacity(.6);
  transition: filter .4s var(--ease-out), transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}

.client-card:hover {
  filter: grayscale(0) opacity(1);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

/* CTA band — full brand gradient */
.cta-section {
  background: var(--grad-brand) !important;
  position: relative;
  overflow: hidden;
}

.cta-section .bg-layer { opacity: .14; mix-blend-mode: luminosity; }
.cta-section .pattern-layer { opacity: .25; }

.cta-section .inner-box h2 {
  font-family: var(--font-display);
  font-weight: 400;
  color: #fff;
}

.cta-section .inner-box h2 span { color: #eaf4dd; -webkit-text-fill-color: currentColor; }

.cta-section .theme-btn.btn-one {
  background: #fff !important;
  color: var(--brand-blue) !important;
  box-shadow: 0 18px 44px -16px rgba(10, 20, 40, .5);
}

/* page-title (inner pages) */
.page-title { background: var(--mist) !important; position: relative; }
.page-title .bg-layer { opacity: .16; }

.page-title::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--grad-brand);
}

.page-title h1 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--ink);
}

.page-title .bread-crumb li { color: var(--ink-soft); }
.page-title .bread-crumb li a { color: var(--brand-blue); }
.page-title .bread-crumb li a:hover { color: var(--brand-green); }

/* forms */
.default-form input,
.default-form textarea,
.contact-section .form-inner input,
.contact-section .form-inner textarea {
  background: var(--paper) !important;
  border: 1px solid var(--hairline) !important;
  color: var(--ink) !important;
  border-radius: 14px !important;
  font-family: var(--font-body) !important;
}

.default-form input::placeholder,
.default-form textarea::placeholder { color: var(--steel) !important; }

.default-form input:focus,
.default-form textarea:focus {
  border-color: var(--brand-blue) !important;
  box-shadow: 0 0 0 4px rgba(54, 90, 157, .12) !important;
}

.info-block-one .icon-box i { color: var(--brand-blue) !important; }

/* subscribe strip */
.subscribe-section .inner-container {
  background: var(--grad-brand);
  border-radius: 24px;
}

/* -------------------------------------------------------------------------
   Footer — deep navy
   ------------------------------------------------------------------------- */

.main-footer {
  background: #14213a !important;
  border-top: none;
  position: relative;
}

.main-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-brand);
}

.main-footer .widget-title h3 {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #8fb0e8, #a9d284);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.main-footer .links-list li a,
.main-footer .list-item li,
.main-footer .info-list li,
.main-footer .info-list li a,
.main-footer .text-box p { color: #aebad0 !important; font-family: var(--font-body); }

.main-footer .links-list li a:hover,
.main-footer .info-list li a:hover { color: #a9d284 !important; }

/* The legacy theme sizes the second contact icon as an email icon using
   nth-child(2). With two phone numbers that incorrectly shrinks phone #2. */
.main-footer .contact-widget .info-list li i.fa-phone-alt {
  top: 7px;
  width: 24px;
  font-size: 20px;
  line-height: 1;
  text-align: center;
}

.main-footer .social-links li a {
  border-color: rgba(255,255,255,.18) !important;
  color: #fff !important;
  background: rgba(255,255,255,.07) !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  line-height: 1 !important;
}

.main-footer .social-links li a i {
  color: #fff !important;
  font-size: 18px;
  line-height: 1;
}

.main-footer .social-links li a:hover {
  background: var(--grad-brand) !important;
  border-color: transparent !important;
}

.main-footer .copyright p, .main-footer .copyright a { color: #7f8ca6; }
.main-footer .copyright a:hover { color: #a9d284; }
.main-footer .waves path { fill: rgba(255, 255, 255, .03); }

.mobile-sticky-footer { background: var(--grad-brand); }
.mobile-sticky-footer .footer-btn { color: #fff; }

/* -------------------------------------------------------------------------
   Reveal-on-scroll
   ------------------------------------------------------------------------- */

[data-cine-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: var(--cine-delay, 0ms);
}

[data-cine-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  [data-cine-reveal] { transition: opacity .3s linear; transform: none; }
}

/* -------------------------------------------------------------------------
   3D tilt glare
   ------------------------------------------------------------------------- */

[data-cine-tilt] {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
  position: relative;
}

[data-cine-tilt] .cine-glare {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(54, 90, 157, .1), transparent 55%);
  opacity: 0;
  transition: opacity .4s var(--ease-out);
  pointer-events: none;
  z-index: 5;
}

[data-cine-tilt]:hover .cine-glare { opacity: 1; }

/* -------------------------------------------------------------------------
   Refinements: typography scale, dot patterns, image framing,
   card hover cleanup, process alignment
   ------------------------------------------------------------------------- */

/* Inter runs wider than the Poppins the theme was sized for —
   rescale section headings so they never overflow their columns. */
.sec-title h2 {
  font-size: clamp(30px, 3.1vw, 44px) !important;
  line-height: 1.2 !important;
  overflow-wrap: break-word;
}

/* Decorative dot/shape layers — removed for a cleaner look */
.image_block_one .shape,
.image_block_two .image-box .shape,
.about-section .shape,
.image-box .shape,
.pattern-layer,
.funfact-section .shape {
  display: none !important;
}

/* Shape-image section backgrounds (inline styles need !important) */
.contact-section,
.career .about-section { background-image: none !important; }

/* Clean image framing: rounded, shadowed, no legacy offset padding */
.about-style-two .image-box,
.about-section .image-box,
.image_block_one .image-box,
.image_block_two .image-box {
  padding: 0 !important;
  margin: 0 !important;
}

.about-style-two figure.image,
.about-section figure.image,
.image_block_one figure.image,
.image_block_two figure.image,
.service-details-content figure.image-box {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.about-style-two figure.image img,
.about-section figure.image img,
.image_block_one figure.image img,
.image_block_two figure.image img {
  border-radius: 22px;
  width: 100%;
  display: block;
}

/* "Get in Touch" floating box on About — glass card on the image corner */
.image_block_one .image-box .support-box {
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
}

/* Kill the legacy green fill-up hover on service cards; keep text colors */
.service-block-three .inner-box .lower-content .inner::before { display: none !important; }
.service-block-three .inner-box:hover .lower-content h3 a { color: var(--ink) !important; }
.service-block-three .inner-box:hover .lower-content p { color: var(--ink-soft) !important; }
.service-block-three .inner-box .lower-content .inner {
  border-radius: 18px;
  box-shadow: 0 14px 40px -22px rgba(22, 35, 59, .3);
}

/* Process cards: equal heights, titles on a shared baseline */
.process-section .row { display: flex; flex-wrap: wrap; }
.process-section .process-block { display: flex; }
.process-section .process-block-one { display: flex; width: 100%; }
.process-section .process-block-one .inner-box {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 38px 26px 40px !important;
}
/* Rescale the oversized legacy 180px icon medallions and drop the dead
   space they created inside and below the cards. */
.process-section { padding: 110px 0 120px !important; }
.process-section .process-block-one .inner-box .icon-box {
  flex: none;
  width: 110px !important;
  height: 110px !important;
  line-height: 110px !important;
  margin: 0 auto 22px !important;
  border: 1px solid var(--hairline);
  box-shadow: 0 16px 34px -18px rgba(22, 35, 59, .25) !important;
}
.process-section .process-block-one .inner-box .icon-box .icon img {
  width: 48px;
  height: auto;
  vertical-align: middle;
}
.process-section .process-block-one .inner-box h3 {
  min-height: 2.5em;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 14px;
}
.process-section .process-block-one .inner-box p { margin-top: 0; }

/* Core-services checklist: centered two-column grid (the inline `columns`
   style is neutralized by the grid display). */
.core-services .list-style-one {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(280px, 430px));
  gap: 16px 56px;
  justify-content: center;
  text-align: left;
}

@media (max-width: 767px) {
  .core-services .list-style-one { grid-template-columns: minmax(0, 1fr); }
}

/* Contact info cards: the icon medallion intentionally floats half above
   the card — let it overflow, paint it with the brand gradient, and keep
   all three cards the same height. */
.contact-info-section .row { display: flex; flex-wrap: wrap; }
.contact-info-section .info-column { display: flex; margin-top: 45px; }
.contact-info-section .info-block-one { display: flex; width: 100%; }
.info-block-one .inner-box { overflow: visible !important; }
.info-block-one .inner-box::before { border-radius: 22px 22px 0 0; }
.contact-info-section .info-block-one .inner-box {
  width: 100%;
  padding: 0 40px 42px !important;
}
.info-block-one .inner-box .icon-box {
  background: var(--grad-brand) !important;
  color: #fff !important;
  box-shadow: 0 14px 30px -12px rgba(54, 90, 157, .5);
}
.info-block-one .inner-box .icon-box i { color: #fff !important; }
.info-block-one .inner-box .icon-box::before { display: none; }

/* Page-title bands: the glass header overlays the top of the band, so
   balance the padding below it and give the title room to breathe. */
.page-title { padding: 225px 0 110px !important; }
.page-title .content-box h1 { margin-bottom: 14px; }

/* View Details buttons on service cards: solid green, blue on hover,
   visibly pressed while clicking. */
.service-block-three .theme-btn.btn-one,
.hs-card .theme-btn.btn-one,
.hscroll-end .theme-btn.btn-one {
  background: var(--brand-green) !important;
  box-shadow: 0 12px 28px -12px rgba(90, 141, 54, .6);
}

.service-block-three .theme-btn.btn-one:hover,
.hs-card .theme-btn.btn-one:hover,
.hscroll-end .theme-btn.btn-one:hover {
  background: var(--brand-blue) !important;
  box-shadow: 0 16px 34px -12px rgba(54, 90, 157, .6);
}

.service-block-three .theme-btn.btn-one:active,
.hs-card .theme-btn.btn-one:active,
.hscroll-end .theme-btn.btn-one:active {
  /* filter-based press: survives the magnetic-button inline transform */
  filter: brightness(.72) saturate(1.25);
  box-shadow: 0 6px 16px -8px rgba(22, 35, 59, .5);
}

/* -------------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------------- */

@media (max-width: 991px) {
  /* The desktop quote CTA consumes too much of the tablet header. The
     contact link remains available in the mobile menu. */
  .main-header .menu-right-content .btn-box { display: none; }
  .main-header .menu-area .mobile-nav-toggler { margin-right: 0; }

  #cine-ship-canvas.is-ready { opacity: .48; }
}

/* Once the desktop navigation collapses, keep the header in normal flow.
   The desktop-only negative overlap otherwise pulls the resized header above
   the viewport and clips the logo/toggler. */
@media (max-width: 1200px) {
  .ship-story { margin-top: 0; }
  .ship-rail { display: none; }
}

@media (max-width: 767px) {
  .clean-hero { min-height: 620px; }
  .ship-story { height: 400vh; margin-top: 0; }
  .ship-slide { max-width: 100%; }
  .ship-slide::before { inset: -50px -30px; }
  .ship-scroll-cue { bottom: 24px; }
  .cine-marquee-track { animation-duration: 55s; }

  #cine-ship-canvas.is-ready { opacity: .28; }
  .ship-story-content .auto-container { min-height: min(520px, 68vh); }
  .ship-slide { left: 15px; right: 15px; max-width: 520px; }
  .ship-title { font-size: clamp(2.15rem, 10.5vw, 3.2rem); line-height: 1.04; margin-bottom: 18px; }
  .ship-kicker { font-size: 10px; letter-spacing: .24em; gap: 10px; margin-bottom: 20px; }
  .ship-kicker::before { width: 30px; }
  .ship-text { font-size: 15px; line-height: 1.6; margin-bottom: 26px; max-width: 34ch; }
  .ship-actions { align-items: flex-start; gap: 18px; }
  .ship-actions .theme-btn { padding: 14px 28px; }
  .ship-secondary { font-size: 10px; line-height: 1.5; letter-spacing: .12em; }
}

@media (max-width: 420px) {
  .ship-story-content .auto-container { min-height: 500px; }
  .ship-slide::before { inset: -34px -18px; }
  .ship-actions { display: grid; justify-items: start; }
  .ship-scroll-cue { display: none; }
  .cine-marquee { padding: 17px 0; }
  .cine-marquee-track,
  .cine-marquee-group { gap: 28px; }
  .cine-marquee-group { padding-right: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .ship-story { height: auto; }
  .ship-sticky { position: relative; height: 100vh; }
  .cine-marquee-track { animation: none; }
  .ship-scroll-cue .stem::after, .ship-secondary .dot, .hscroll-hint::after { animation: none; }
}
