/* =========================================================
   Asahi Smart Solutions — styles.css
   Palette: deep navy sea, cyan accents, sunrise amber.
   ========================================================= */
:root {
  --navy-900: #04111f;
  --navy-800: #071a33;
  --navy-700: #0b2a4a;
  --navy-600: #10365e;
  --sea-500: #0ea5e9;
  --sea-400: #38bdf8;
  --sea-700: #0369a1;
  --cyan: #22d3ee;
  --amber: #f59e0b;
  --sun: #ffd166;
  --coral: #e63946;
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-tint: #f3f8fc;
  --cream: #fff8ec;
  --sky: #cfe8ff;
  --radius: 16px;
  --shadow: 0 10px 30px -12px rgba(2, 20, 40, .25);
  --font-head: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.grid-2--rev > :first-child { order: 0; }
.section { padding: 96px 0; }
.section--dark { background: linear-gradient(180deg, #eef5fb, #e3eef8); color: var(--ink); }
.section--dark h2, .section--dark h3 { color: var(--navy-800); }
.section--dark p { color: var(--muted); }
.section--tint { background: var(--bg-tint); }
.section__head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section__head p { font-size: 1.1rem; color: var(--muted); }
.section--dark .section__head p { color: var(--muted); }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-size: .78rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--sea-700); margin-bottom: 12px;
}
.section--dark .eyebrow { color: var(--sea-700); }
.grad {
  background: linear-gradient(90deg, #f97316, #d97706 45%, #0369a1);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600;
  padding: 12px 22px; border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s; font-size: .95rem;
}
.btn--lg { padding: 16px 30px; font-size: 1.02rem; }
.btn--sm { padding: 9px 18px; font-size: .88rem; }
.btn--primary { background: linear-gradient(135deg, var(--amber), #f97316); color: #1a0f00; box-shadow: 0 10px 24px -8px rgba(245, 158, 11, .6); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -8px rgba(245, 158, 11, .7); }
.btn--ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }
.hero__alt { color: var(--navy-800); font-weight: 500; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(7,26,51,.4); padding: 12px 4px; }
.hero__alt:hover { text-decoration-color: var(--amber); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; padding: 18px 0;
  transition: background .35s, padding .35s, box-shadow .35s;
}
.nav--scrolled { background: rgba(255,255,255,.88); backdrop-filter: blur(12px); padding: 10px 0; box-shadow: 0 6px 24px -14px rgba(2,20,40,.35); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand__mark { width: 40px; height: 40px; }
.brand__text { font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; background: linear-gradient(90deg, #f97316, #d97706 45%, #0369a1); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand__text span { color: inherit; }
.nav__links { display: flex; align-items: center; gap: 22px; }
.nav__links a { color: rgba(7,26,51,.8); font-weight: 500; font-size: .95rem; position: relative; transition: color .2s; }
.nav__links a:not(.btn)::after { content: ''; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--amber); transition: width .3s var(--ease); }
.nav__links a:not(.btn):hover { color: var(--navy-800); }
.nav__links a:not(.btn):hover::after { width: 100%; }
.nav__toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--navy-800); margin: 0 auto; transition: transform .3s, opacity .3s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden;
  display: flex; align-items: center; color: var(--navy-800);
  background: linear-gradient(180deg, #bfdcff 0%, #e4f0ff 38%, #fff1cc 62%, #ffd27a 82%, #ffb35c 100%);
}
.hero__sky { position: absolute; inset: 0; }
.stars { display: none; }
.stars--off {
  position: absolute; inset: 0 0 86% 0;
  background-image:
    radial-gradient(1px 1px at 10% 20%, #fff 100%, transparent),
    radial-gradient(1px 1px at 30% 60%, #fff 100%, transparent),
    radial-gradient(1.5px 1.5px at 55% 35%, #fff 100%, transparent),
    radial-gradient(1px 1px at 70% 80%, #fff 100%, transparent),
    radial-gradient(1px 1px at 85% 30%, #fff 100%, transparent),
    radial-gradient(1.5px 1.5px at 45% 70%, #fff 100%, transparent),
    radial-gradient(1px 1px at 20% 90%, #fff 100%, transparent),
    radial-gradient(1px 1px at 92% 55%, #fff 100%, transparent);
  opacity: .55; animation: twinkle 4s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: .35 } to { opacity: .75 } }
.sun-wrap { position: absolute; left: 80%; bottom: 34%; width: 220px; height: 220px; margin-left: -110px; animation: sunrise 2.4s var(--ease) both; }
.sun {
  width: 100%; height: 100%; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #fff6cc, var(--sun) 45%, #f97316 100%);
  box-shadow: 0 0 60px 24px rgba(255, 209, 102, .6), 0 0 140px 70px rgba(255, 176, 92, .35);
  transition: transform .4s ease-out;
}
.sun-glow {
  position: absolute; left: 80%; bottom: 14%; width: 900px; height: 500px; margin-left: -450px;
  background: radial-gradient(ellipse at center bottom, rgba(255, 200, 90, .55), transparent 65%);
  pointer-events: none;
}
@keyframes sunrise { from { transform: translateY(260px) scale(.8); opacity: 0 } to { transform: none; opacity: 1 } }
.cloud {
  position: absolute; background: rgba(255,255,255,.85); border-radius: 100px; filter: blur(.5px);
  animation: drift linear infinite;
}
.cloud::before, .cloud::after { content: ''; position: absolute; background: inherit; border-radius: 50%; }
.cloud--1 { width: 180px; height: 44px; top: 22%; left: -200px; animation-duration: 70s; }
.cloud--1::before { width: 70px; height: 70px; top: -36px; left: 30px; }
.cloud--1::after { width: 90px; height: 90px; top: -50px; left: 80px; }
.cloud--2 { width: 260px; height: 56px; top: 34%; left: -300px; animation-duration: 95s; animation-delay: -30s; opacity: .7; }
.cloud--2::before { width: 90px; height: 90px; top: -46px; left: 50px; }
.cloud--2::after { width: 110px; height: 110px; top: -60px; left: 120px; }
.cloud--3 { width: 140px; height: 36px; top: 12%; left: -160px; animation-duration: 55s; animation-delay: -15s; opacity: .5; }
.cloud--3::before { width: 56px; height: 56px; top: -28px; left: 24px; }
.cloud--3::after { width: 70px; height: 70px; top: -40px; left: 60px; }
@keyframes drift { from { transform: translateX(0) } to { transform: translateX(calc(100vw + 400px)) } }

.gulls { position: absolute; top: 18%; left: 8%; width: 220px; }
.gull { fill: none; stroke: rgba(7,26,51,.55); stroke-width: 2; stroke-linecap: round; animation: flap 1.4s ease-in-out infinite; }
.g2 { animation-delay: .3s } .g3 { animation-delay: .7s }
@keyframes flap { 0%,100% { transform: scaleY(1) } 50% { transform: scaleY(.4) translateY(6px) } }

/* ships — wrapper tracks animate transform (no layout), inner svg bobs */
.ship-track { position: absolute; z-index: 2; will-change: transform; }
.ship-track--container { width: clamp(360px, 42vw, 620px); bottom: 7%; left: 0; transform: translateX(-110%); animation: sail 46s linear infinite; }
.ship-track--tanker { width: clamp(200px, 22vw, 320px); bottom: 20%; right: 0; opacity: .35; z-index: 1; transform: translateX(110%); animation: sail-back 80s linear infinite; }
.ship { width: 100%; animation: bob 5s ease-in-out infinite; }
.ship--tanker { animation-duration: 7s; }
@keyframes sail { from { transform: translateX(-110%) } to { transform: translateX(calc(100vw + 10%)) } }
@keyframes sail-back { from { transform: translateX(110%) } to { transform: translateX(calc(-100vw - 10%)) } }
@keyframes bob { 0%,100% { transform: translateY(0) rotate(0) } 50% { transform: translateY(-8px) rotate(-1.2deg) } }
.beacon { animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: .1 } }
.wifi__arc { opacity: 0; animation: wifi 2.4s ease-out infinite; }
.wifi__arc:nth-child(2) { animation-delay: .35s }
.wifi__arc:nth-child(3) { animation-delay: .7s }
@keyframes wifi { 0% { opacity: 0 } 20% { opacity: 1 } 60% { opacity: 1 } 100% { opacity: 0 } }
.smoke circle { animation: puff 3s ease-out infinite; transform-origin: center; }
.smoke circle:nth-child(2) { animation-delay: 1s } .smoke circle:nth-child(3) { animation-delay: 2s }
@keyframes puff { 0% { transform: translate(0,0) scale(.6); opacity: .6 } 100% { transform: translate(22px,-40px) scale(1.6); opacity: 0 } }

/* waves */
.waves { position: absolute; left: 0; right: 0; bottom: 0; height: 24%; z-index: 3; pointer-events: none; }
.wave { position: absolute; bottom: 0; left: 0; width: 200%; max-width: none; height: 100%; }
.wave path { fill: var(--sea-500); }
.wave--back { opacity: .45; animation: wave 14s linear infinite; }
.wave--back path { fill: #7dd3fc; }
.wave--mid { opacity: .7; animation: wave 10s linear infinite reverse; bottom: -8px; }
.wave--mid path { fill: #38bdf8; }
.wave--front { animation: wave 7s linear infinite; bottom: -20px; }
.wave--front path { fill: #0ea5e9; }
@keyframes wave { from { transform: translateX(0) } to { transform: translateX(-50%) } }

.hero__content { position: relative; z-index: 4; max-width: 760px; padding-top: 110px; padding-bottom: 180px; }
.hero__content .eyebrow { color: #b45309; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: #1e3a5f; max-width: 620px; margin-bottom: 28px; }
.hero h1 { color: var(--navy-800); }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }


/* ---------- Scroll cue (anchor) ---------- */
.scroll-cue { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 6; display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--navy-800); opacity: .85; transition: opacity .25s; }
.scroll-cue:hover { opacity: 1; }
.scroll-cue__anchor { width: 30px; height: 40px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.25)); }
.scroll-cue__swing { transform-origin: 24px 2px; animation: anchorSwing 3s ease-in-out infinite; }
.scroll-cue__chain { animation: chainDrop 1.2s linear infinite; }
.scroll-cue__text { font-family: var(--font-head); font-size: .66rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.scroll-cue__chevrons { width: 18px; height: 15px; }
.scroll-cue__chevrons path { animation: chevronPulse 1.6s ease-in-out infinite; }
.scroll-cue__chevrons path:nth-child(2) { animation-delay: .3s; }
@keyframes anchorSwing { 0%,100% { transform: rotate(-9deg) } 50% { transform: rotate(9deg) } }
@keyframes chainDrop { from { stroke-dashoffset: 6 } to { stroke-dashoffset: 0 } }
@keyframes chevronPulse { 0%,100% { opacity: .25; transform: translateY(0) } 50% { opacity: 1; transform: translateY(2px) } }
@media (max-width: 560px) { .scroll-cue { bottom: 14px; } .scroll-cue__anchor { width: 24px; height: 32px; } }


/* ---------- Sun life: breathing glow + slow ray halo ---------- */
.sun-wrap::before { content: ''; position: absolute; inset: -28%; border-radius: 50%; background: radial-gradient(circle, rgba(255,176,92,.5) 0%, transparent 65%); animation: glowBreathe 6s ease-in-out infinite alternate; pointer-events: none; }
.sun-rays { position: absolute; inset: -58%; border-radius: 50%; background: repeating-conic-gradient(from 0deg, rgba(249,115,22,.16) 0deg 5deg, transparent 5deg 22.5deg); -webkit-mask: radial-gradient(circle, rgba(0,0,0,1) 28%, rgba(0,0,0,.6) 45%, transparent 68%); mask: radial-gradient(circle, rgba(0,0,0,1) 28%, rgba(0,0,0,.6) 45%, transparent 68%); animation: rayTurn 90s linear infinite; pointer-events: none; }
.sun { position: relative; }
.sun-glow { animation: glowBreathe 6s ease-in-out infinite alternate-reverse; transform-origin: 50% 100%; }
@keyframes glowBreathe { from { opacity: .75; transform: scale(1) } to { opacity: 1; transform: scale(1.08) } }
@keyframes rayTurn { to { transform: rotate(360deg) } }
/* logo rays pulse, in step with the hero ship's signal */
.brand__mark .mark-rays { transform-origin: 14px 10px; animation: rayPulse 4s ease-in-out infinite; }
@keyframes rayPulse { 0%,100% { opacity: .55; transform: scale(.92) } 50% { opacity: 1; transform: scale(1.06) } }


.origin { scroll-margin-top: 72px; }
.btn--ghost { background: rgba(255,255,255,.45); color: var(--navy-800); border-color: rgba(7,26,51,.35); }
.btn--ghost:hover { background: rgba(255,255,255,.75); }

/* ---------- Stats strip ---------- */
.strip { background: var(--cream); color: var(--ink); padding: 40px 0; border-top: 1px solid #fde7bd; border-bottom: 1px solid #fde7bd; }
.strip__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat strong { display: block; font-family: var(--font-head); font-size: 2.4rem; font-weight: 800; color: #d97706; }
.stat span { color: var(--muted); font-size: .92rem; }

/* ---------- About ---------- */
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.checks li { padding-left: 32px; position: relative; color: var(--ink); }
.checks li::before {
  content: ''; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--sea-500));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10'/%3E%3C/svg%3E");
}
.checks li::after { content: '✓'; position: absolute; left: 5px; top: 3px; color: #fff; font-size: .8rem; font-weight: 700; }
.illus { width: 100%; height: auto; border-radius: var(--radius); }
.about__visual .illus { background: linear-gradient(180deg, #bfdcff, #ffd27a 85%); box-shadow: var(--shadow); }
.beam { animation: sweep 6s ease-in-out infinite alternate; }
@keyframes sweep { from { transform: rotate(-18deg) } to { transform: rotate(18deg) } }
.radar-sweep { transform-origin: 0 0; animation: spin 3s linear infinite; }
@keyframes spin { to { transform: rotate(360deg) } }
.blip { animation: blip 3s ease-out infinite; }
.b2 { animation-delay: 1s } .b3 { animation-delay: 2s }
@keyframes blip { 0% { opacity: 1 } 70% { opacity: 0 } 100% { opacity: 0 } }
.illus-wave { animation: shimmer 3s ease-in-out infinite alternate; }
@keyframes shimmer { from { transform: translateX(0) } to { transform: translateX(-30px) } }
.bob { animation: bob 4s ease-in-out infinite; }

/* ---------- Product modules ---------- */
.modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.module {
  background: #fff; border: 1px solid #d8e6f2; border-radius: var(--radius);
  padding: 24px; transition: transform .3s var(--ease), background .3s, border-color .3s;
}
.module:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--sea-500); }
.module__icon { width: 40px; height: 40px; color: var(--sea-700); margin-bottom: 14px; }
.module h3 { font-size: 1.05rem; }
.module h3 small { font-size: .65rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--amber); margin-left: 6px; vertical-align: middle; }
.module p { font-size: .9rem; margin: 0; color: var(--muted); }
.module--soon { border-style: dashed; }
.product__more { margin: 0; font-size: .95rem; max-width: 560px; }
.product__cta { margin-top: 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.product__users { display: flex; flex-wrap: wrap; gap: 10px; }
.product__users span { font-size: .85rem; padding: 6px 14px; border-radius: 999px; background: rgba(34,211,238,.12); color: var(--cyan); border: 1px solid rgba(34,211,238,.3); }

/* ---------- Custom solutions ---------- */
.solutions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sol {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  position: relative; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s;
}
.sol::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--sea-500), var(--cyan)); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.sol:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.sol:hover::before { transform: scaleX(1); }
.sol svg { width: 48px; height: 48px; color: var(--sea-700); margin-bottom: 16px; transition: transform .3s var(--ease); }
.sol:hover svg { transform: scale(1.1) rotate(-4deg); color: var(--amber); }
.sol p { font-size: .93rem; color: var(--muted); margin: 0; }
.also { margin-top: 36px; padding: 20px 26px; border-radius: var(--radius); background: var(--bg-tint); border: 1px dashed #bae6fd; color: var(--muted); font-size: .95rem; }
.also strong { color: var(--ink); }

/* ---------- Process ---------- */
.process__visual .illus { background: linear-gradient(180deg, #dbeeff, #bfdcff); box-shadow: var(--shadow); }
.trolley { animation: trolley 8s ease-in-out infinite; }
@keyframes trolley {
  0% { transform: translate(190px, 0) } 15% { transform: translate(190px, 60px) } 30% { transform: translate(190px, 0) }
  50% { transform: translate(330px, 0) } 65% { transform: translate(330px, 60px) } 80% { transform: translate(330px, 0) } 100% { transform: translate(190px, 0) }
}
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.steps li { display: flex; gap: 18px; align-items: flex-start; }
.steps li > span { font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; color: var(--sea-700); min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: #fff; border: 1px solid #bfdbfe; }
.steps h3 { margin-bottom: 4px; font-size: 1.05rem; }
.steps p { margin: 0; font-size: .93rem; }

/* ---------- Why ---------- */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why__card { padding: 28px; border-radius: var(--radius); background: var(--bg-tint); border: 1px solid #e0ecf5; transition: transform .3s var(--ease), background .3s; }
.why__card:hover { transform: translateY(-4px); background: #fff; box-shadow: var(--shadow); }
.why__card h3 { color: var(--navy-700); }
.why__card p { margin: 0; color: var(--muted); font-size: .93rem; }

/* ---------- Industries ---------- */
.industries { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.chip { padding: 12px 22px; border-radius: 999px; background: #fff; border: 1px solid #cfe3f1; font-weight: 500; color: var(--navy-700); transition: all .3s var(--ease); }
.chip:hover { background: var(--navy-700); color: #fff; border-color: var(--navy-700); transform: translateY(-3px); }

/* ---------- Contact ---------- */
.contact__list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.contact__list li { display: grid; grid-template-columns: 90px 1fr; gap: 12px; align-items: baseline; }
.contact__list strong { color: var(--sea-700); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }
.contact__list a:hover { color: #d97706; }
.form { position: relative; background: #fff; border: 1px solid #d8e6f2; box-shadow: var(--shadow); border-radius: var(--radius); padding: 28px; display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: .85rem; color: var(--navy-700); font-weight: 500; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; color: var(--ink); padding: 12px 14px; border-radius: 10px;
  background: #f8fbfe; border: 1px solid #cfe0ee; outline: none; transition: border-color .2s, background .2s;
}
.form select option { color: var(--ink); }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { border-color: var(--sea-500); background: #fff; box-shadow: 0 0 0 3px rgba(14,165,233,.25); }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form.is-sent .form__row, .form.is-sent > label, .form.is-sent button { display: none; }
.form.is-sent .form__note { font-size: 1.05rem; color: var(--navy-800); }
.form__note.is-error { color: #b91c1c; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--sea-500); outline-offset: 3px; border-radius: 6px; }
.form textarea { resize: vertical; }
.form__note { margin: 0; font-size: .8rem; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-800); color: #94a3b8; position: relative; }
.footer__wave { width: 100%; height: 60px; display: block; }
.footer__wave path { fill: var(--navy-800); }
.footer { margin-top: -60px; padding-top: 60px; }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding: 48px 0 32px; }
.footer__title { color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 14px; }
.footer__inner p a { display: inline; margin: 0; }
.footer__inner a { display: block; margin-bottom: 8px; font-size: .92rem; transition: color .2s; }
.footer__inner a:hover { color: #fff; }
.footer__inner p { font-size: .9rem; margin-top: 12px; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 20px 0 28px; border-top: 1px solid rgba(255,255,255,.08); font-size: .82rem; }

/* ---------- Logos (placeholder) ---------- */
.logos { margin-top: 36px; padding-top: 28px; border-top: 1px solid #fde7bd; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; justify-content: center; }
.logos__label { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: #64748b; }
.logos__row { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.logos__item { display: inline-flex; align-items: center; justify-content: center; min-width: 120px; height: 44px; padding: 0 16px; border: 1px dashed #d6c7a8; border-radius: 8px; color: #94a3b8; font-size: .8rem; background: #fff; }
.logos__row img { height: 36px; width: auto; opacity: .8; filter: grayscale(1); }

/* ---------- Engagement ---------- */
.engage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.engage__card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .3s var(--ease), box-shadow .3s; }
.engage__card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.engage__card--featured { border-color: var(--sea-500); box-shadow: 0 0 0 3px rgba(14,165,233,.15); }
.engage__tag { display: inline-block; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--sea-700); background: #e0f2fe; padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }
.engage__card p { color: var(--muted); font-size: .93rem; }
.engage__card ul { margin: 0; padding-left: 18px; color: var(--ink); font-size: .9rem; display: grid; gap: 6px; }

/* ---------- Security ---------- */
.security { margin-top: 48px; background: var(--cream); color: var(--ink); border: 1px solid #fde7bd; border-radius: var(--radius); padding: 32px; }
.security__head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 20px; }
.security__head svg { width: 44px; height: 44px; flex: none; color: #d97706; }
.security__head h3 { color: var(--navy-800); margin-bottom: 4px; }
.security__head p { color: var(--muted); margin: 0; font-size: .92rem; }
.security__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.security__grid li { font-size: .86rem; color: var(--ink); line-height: 1.5; }
.security__grid strong { display: block; color: #b45309; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 4px; }
@media (max-width: 1024px) { .security__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .security__grid { grid-template-columns: 1fr; } .security { padding: 22px; } }

/* ---------- Testimonials / case ---------- */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.quote { margin: 0; background: var(--bg-tint); border: 1px solid #e0ecf5; border-radius: var(--radius); padding: 28px; }
.quote p { font-size: 1.05rem; color: var(--ink); }
.quote footer { display: grid; font-size: .9rem; color: var(--muted); }
.quote footer strong { color: var(--navy-700); }
.case { grid-column: 1 / -1; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.case p { color: var(--muted); }
.case__metrics { display: flex; gap: 36px; flex-wrap: wrap; }
.case__metrics strong { display: block; font-family: var(--font-head); font-size: 1.8rem; color: var(--sea-700); }
.case__metrics span { font-size: .85rem; color: var(--muted); }
.placeholder { position: relative; border-style: dashed !important; }
.placeholder::after { content: 'Placeholder — replace before launch'; position: absolute; top: 10px; right: 12px; font-size: .65rem; text-transform: uppercase; letter-spacing: .08em; color: #b45309; background: #fef3c7; padding: 2px 8px; border-radius: 999px; }

/* ---------- Facts / team ---------- */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0 0; padding: 18px; border: 1px solid var(--line); border-radius: 12px; }
.facts dt { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 600; font-size: .9rem; }
.team { margin-top: 72px; }
.team__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.person { background: var(--bg-tint); border: 1px solid #e0ecf5; border-radius: var(--radius); padding: 24px; text-align: center; }
.person__photo { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 14px; background: linear-gradient(135deg, var(--sea-400), var(--navy-700)); }
.person h3 { margin-bottom: 2px; font-size: 1.05rem; }
.person > span { font-size: .82rem; color: var(--sea-700); font-weight: 600; }
.person p { font-size: .88rem; color: var(--muted); margin: 10px 0; }
.person a { font-size: .85rem; color: var(--sea-700); font-weight: 500; }
.careers { text-align: center; margin: 28px 0 0; color: var(--muted); }
.careers a { color: var(--sea-700); font-weight: 600; }

/* ---------- WhatsApp float ---------- */
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 45; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -6px rgba(37,211,102,.6); transition: transform .25s var(--ease); }
.wa svg { width: 30px; height: 30px; }
.wa:hover { transform: scale(1.08); }


/* ---------- Brand line (name origin) ---------- */
.origin { background: linear-gradient(90deg, #fff3d6, #fff8ec 60%); border-top: 1px solid #fde7bd; border-bottom: 1px solid #fde7bd; }
.origin__inner { display: flex; align-items: center; gap: 18px; padding: 18px 0; }
.origin__icon { width: 44px; height: 44px; flex: none; color: var(--sea-700); }
.origin p { margin: 0; font-size: 1.02rem; color: var(--navy-800); line-height: 1.5; }
.origin strong { color: #c2410c; }
.origin__kanji { font-weight: 600; color: #b45309; margin-right: 8px; letter-spacing: .1em; }
@media (max-width: 560px) { .origin__inner { gap: 14px; } .origin p { font-size: .92rem; } .origin__icon { width: 36px; height: 36px; } }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.modules .reveal, .solutions .reveal, .why .reveal, .industries .reveal, .strip .reveal, .engage .reveal, .team__grid .reveal, .quotes .reveal { transition-delay: calc(var(--i, 0) * 70ms); }


/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .modules, .solutions, .why, .engage, .team__grid { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .section { padding: 72px 0; }
  .grid-2 { grid-template-columns: 1fr; gap: 36px; }
  .grid-2--rev > :first-child { order: 1; }
  .strip__inner { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: 1fr; }
  .modules { grid-template-columns: repeat(2, 1fr); }
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed; inset: 0 0 auto 0; top: 64px; background: rgba(255,255,255,.98); box-shadow: 0 20px 40px -20px rgba(2,20,40,.3); flex-direction: column; align-items: flex-start;
    padding: 24px; gap: 18px; transform: translateY(-120%); visibility: hidden; transition: transform .35s var(--ease), visibility 0s .35s; z-index: 40;
  }
  .nav__links.is-open { transform: none; visibility: visible; transition: transform .35s var(--ease), visibility 0s; }
  .nav { background: rgba(255,255,255,.85); backdrop-filter: blur(12px); padding: 12px 0; }
  .hero__content { padding-top: 120px; padding-bottom: 150px; }
  .ship-track--container { bottom: 12%; }
  .sun-wrap { width: 96px; height: 96px; margin-left: -48px; bottom: auto; top: 10%; left: 89%; }
  .hero h1 { max-width: 86%; } .sun-glow { left: 85%; bottom: 30%; }
  .gulls { top: 9%; left: 5%; width: 160px; }
}
@media (max-width: 560px) {
  .solutions, .why, .engage, .team__grid { grid-template-columns: 1fr; }
  .modules { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .module { padding: 16px; }
  .module p { font-size: .82rem; }
  .logos__row { gap: 10px; }
  .form__row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .contact__list li { grid-template-columns: 1fr; gap: 2px; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .hero__content .eyebrow { max-width: 68%; line-height: 1.4; }
  .sun-wrap { width: 84px; height: 84px; margin-left: -42px; top: 9%; left: 86%; }
  .hero__content { padding-bottom: 200px; }
  .gulls { width: 120px; }
}

/* footer brand on navy uses the dark-theme gradient */
.footer .brand__text { background-image: linear-gradient(90deg, #ffd166, #f59e0b 45%, #38bdf8); }
.product__cta .btn--primary { color: #1a0f00; }
.module h3 { color: var(--navy-800); }

.placeholder-inline { color: #b45309; font-weight: 500; }
.contact__list address { font-style: normal; line-height: 1.5; }

/* ===== Mobile hero: fit text, buttons, ship and water in the first screen ===== */
@media (max-width: 560px) {
  .hero { min-height: 100vh; min-height: 100svh; height: 100vh; height: 100svh; align-items: flex-start; }
  .hero__content { padding-top: 84px; padding-bottom: 0; }
  .hero__content .eyebrow { font-size: .68rem; margin-bottom: 8px; }
  .hero h1 { font-size: clamp(1.85rem, 8.4vw, 2.35rem); line-height: 1.12; margin-bottom: 12px; max-width: 92%; }
  .hero__lead { font-size: .93rem; line-height: 1.5; margin-bottom: 16px; }
  .hero__cta { gap: 10px; }
  .hero__cta .btn--lg { padding: 12px 18px; font-size: .92rem; }
  .waves { height: 21%; }
  .ship-track--container { width: 250px; bottom: 9%; }
  .ship-track--tanker { width: 150px; bottom: 17%; }
  .scroll-cue { bottom: 8px; }
  .scroll-cue__text { font-size: .58rem; }
  .scroll-cue__anchor { width: 20px; height: 27px; }
}
/* Short phones (iPhone SE and similar) */
@media (max-width: 560px) and (max-height: 700px) {
  .hero__content { padding-top: 76px; }
  .hero h1 { font-size: clamp(1.7rem, 7.8vw, 2.1rem); margin-bottom: 10px; }
  .hero__lead { font-size: .88rem; margin-bottom: 14px; }
  .hero__cta .btn--lg { padding: 10px 16px; }
  .ship-track--container { width: 220px; bottom: 8%; }
  .waves { height: 19%; }
}
/* Ship already mid-voyage on page load (negative delay = start part-way through the loop) */
.ship-track--container { animation-delay: -16s; }
.ship-track--tanker { animation-delay: -30s; }
@media (max-width: 560px) {
  .ship-track--container { animation-duration: 26s; animation-delay: -9s; }
  .ship-track--tanker { animation-duration: 44s; animation-delay: -16s; }
  .sun-wrap { width: 70px; height: 70px; margin-left: -35px; top: 9%; left: 90%; }
}
