/* Seaker: a hollow exterior display, fleet diagram, photographs and contact. *//* Arkeocean — the static pages (Contact) and the shared pieces of the product pages. *//* Arkeocean — shared by every page: tokens, base, header, the site menu, footer.
   Palette from the logo: black, white, signal red #f2473b. Type: Archivo (wide, like the wordmark) +
   IBM Plex Mono for labels. */

:root {
	--bg: #000;
	--fg: #f4f3f1;
	--fg-2: rgba( 244, 243, 241, 0.74 );
	--fg-3: rgba( 244, 243, 241, 0.5 );
	--line: rgba( 244, 243, 241, 0.18 );
	--red: #f2473b;
	--glass: rgba( 6, 12, 18, 0.42 );
	--paper: #eceef1;
	--ink: #0b0d10;
	--ink-2: rgba( 11, 13, 16, 0.62 );
	--gutter: clamp( 16px, 4.2vw, 72px );
	--font: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--explanation-size: clamp( 20px, 2.1vw, 28px );
	--mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
	--header-h: 72px;
	--notch: 22px;
	color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
html.menu-open { overflow: hidden; }
body {
	background: var(--bg);
	color: var(--fg);
	font-family: var(--font);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 2px; }

.cta {
	display: inline-flex; align-items: center; gap: 0.6em; padding: 11px 18px; border: 1px solid var(--line); border-radius: 999px;
	font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
	color: var(--fg); text-decoration: none; transition: border-color 0.2s, background 0.2s;
}
.cta:hover, .cta:focus-visible { border-color: var(--red); background: rgba( 242, 71, 59, 0.12 ); }
.cta-solid { background: var(--fg); color: var(--ink); border-color: var(--fg); }
.cta-solid:hover, .cta-solid:focus-visible { background: var(--red); color: var(--fg); border-color: var(--red); }

/* ---------------------------------------------------------------- header */
.site-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: 40; height: var(--header-h);
	display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter);
	pointer-events: none;
}
.site-header > * { pointer-events: auto; }
.brand img { height: 20px; width: auto; }
.header-actions { display: flex; align-items: center; gap: 22px; }
.header-link { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; color: var(--fg-2); transition: color 0.2s; }
.header-link:hover, .header-link:focus-visible { color: var(--fg); }
.menu-button {
	display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 16px 0 14px; border: 0; cursor: pointer;
	background: var(--paper); color: var(--ink); font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
	clip-path: polygon( 0 0, calc( 100% - 10px ) 0, 100% 10px, 100% 100%, 0 100% );
	transition: background 0.2s, color 0.2s;
}
.menu-button:hover, .menu-button:focus-visible { background: var(--fg); }
.menu-dots { display: grid; grid-template-columns: repeat( 2, 4px ); gap: 2px; }
.menu-dots i { width: 4px; height: 4px; background: currentColor; }
.menu-button:hover .menu-dots i:nth-child( 1 ), .menu-button:hover .menu-dots i:nth-child( 4 ) { background: var(--red); }

/* ---------------------------------------------------------------- menu (inspired by hubtown.co.in) */
.menu-backdrop {
	position: fixed; inset: 0; z-index: 60; background: rgba( 0, 0, 0, 0.55 ); backdrop-filter: blur( 3px ); -webkit-backdrop-filter: blur( 3px );
	opacity: 0; transition: opacity 0.4s ease;
}
.site-menu {
	position: fixed; z-index: 61; top: 12px; right: 12px; width: min( 460px, calc( 100% - 24px ) ); max-height: calc( 100% - 24px ); display: flex;
	transform: translateX( 24px ); opacity: 0;
	transition: transform 0.5s cubic-bezier( 0.2, 0.8, 0.2, 1 ), opacity 0.35s ease;
}
/* the panel, its top-right corner notched; the Close tab sits in the notch */
.menu-panel {
	position: relative; flex: 1; display: flex; flex-direction: column; padding: 30px 32px 22px;
	background: var(--paper); color: var(--ink);
	clip-path: polygon( 0 0, calc( 100% - 128px ) 0, calc( 100% - 128px + var(--notch) ) var(--notch), 100% var(--notch), 100% 100%, 0 100% );
	overflow-y: auto; overscroll-behavior: contain;
}
/* (closed: out of the layout; `display` here would otherwise override the hidden attribute) */
.site-menu[hidden], .menu-backdrop[hidden] { display: none; }
html.menu-open .menu-backdrop { opacity: 1; }
html.menu-open .site-menu { transform: none; opacity: 1; }
.menu-close {
	position: absolute; z-index: 1; top: 0; right: 0; height: calc( var(--notch) - 3px ); width: 104px; border: 0; cursor: pointer;
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding-left: 10px;
	background: var(--ink); color: var(--paper); font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
	clip-path: polygon( 16px 0, 100% 0, 100% 100%, 0 100%, 0 calc( 100% - 3px ) );
}
.menu-kicker { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.menu-kicker i { width: 7px; height: 7px; background: var(--red); }
.menu-main { list-style: none; margin: 30px 0 72px; display: grid; gap: 2px; }
.menu-main a {
	display: inline-block; text-decoration: none; text-transform: uppercase; color: var(--ink);
	font-weight: 800; font-stretch: 104%; font-size: clamp( 40px, 4.6vw, 64px ); line-height: 0.96; letter-spacing: -0.02em;
	transition: color 0.2s;
}
/* every link ends on the red full stop of the logo; the current page is greyed */
.menu-main a::after { content: ''; display: inline-block; width: 0.18em; height: 0.18em; margin-left: 0.14em; background: var(--red); vertical-align: 0.1em; }
.menu-main a:hover, .menu-main a:focus-visible { color: var(--red); }
.menu-main a[aria-current='page'] { color: var(--ink-2); }
.menu-foot { margin-top: 22px; display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
.menu-foot a { color: var(--ink); display: inline-flex; }
.menu-foot a:hover { color: var(--red); }

/* ---------------------------------------------------------------- footer */
.site-footer { position: relative; z-index: 20; background: #000; border-top: 1px solid var(--line); }
.footer-inner { padding: 64px var(--gutter) 56px; display: grid; gap: 20px; justify-items: start; }
.footer-inner img { height: 22px; width: auto; }
.footer-line { color: var(--fg-2); font-size: 18px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 26px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.footer-links a { text-decoration: none; color: var(--fg-2); }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--fg); }
.fine { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--fg-3); text-transform: uppercase; }

/* ---------------------------------------------------------------- ?embed: a page shown inside the slides */
html.embed .site-header, html.embed .site-footer, html.embed .site-menu, html.embed .menu-backdrop, html.embed .scroll-hint { display: none !important; }
html.embed { scrollbar-width: none; }
html.embed::-webkit-scrollbar { display: none; }

@media ( max-width: 820px ) {
	:root { --header-h: 60px; }
	.brand img { height: 16px; }
	.header-link { display: none; }
	.menu-panel { padding: 26px 22px 18px; }
}

@media ( prefers-reduced-motion: reduce ) {
	.site-menu, .menu-backdrop { transition: none; }
}

/* Keep controls clear of phone cutouts and provide comfortable touch targets. */
:root { --safe-top:env(safe-area-inset-top,0px); }
.site-header { padding-top:var(--safe-top); padding-left:max(var(--gutter),env(safe-area-inset-left,0px)); padding-right:max(var(--gutter),env(safe-area-inset-right,0px)); }
.site-menu { top:calc(12px + var(--safe-top)); right:max(12px,env(safe-area-inset-right,0px)); max-height:calc(100% - 24px - var(--safe-top) - env(safe-area-inset-bottom,0px)); }
.footer-inner { padding-bottom:calc(56px + env(safe-area-inset-bottom,0px)); }
@media(max-width:820px) {
  :root { --header-h:calc(60px + var(--safe-top)); }
  .brand { min-height:44px; display:flex; align-items:center; }
  .menu-button,.menu-close { min-height:44px; }
  .menu-main a { min-height:44px; display:inline-flex; align-items:center; }
  .cta { min-height:44px; }
}
@media(max-height:500px) and (orientation:landscape) {
  .menu-main { margin-bottom:24px; }
  .menu-main a { font-size:36px; }
}
/* Keep every menu item, including M Platform, on a single line. Size the
   lettering from the actual panel width rather than the browser width. */
.menu-main { container-type:inline-size; }
.menu-main a { white-space:nowrap; font-size:min(64px,11cqw); }
@media(max-height:500px) and (orientation:landscape) {
  .menu-main a { font-size:min(36px,11cqw); }
}
/* Match the compact desktop Close tab visually on phones, with an invisible
   44px touch area below it. Keep desktop geometry unchanged. */
@media(max-width:820px) {
  .menu-close { height:44px; min-height:44px; clip-path:none; background:transparent; align-items:flex-start; padding-top:3px; isolation:isolate; }
  .menu-close::before { content:''; position:absolute; top:0; left:0; right:0; height:calc(var(--notch) - 3px); background:var(--ink); clip-path:polygon(16px 0,100% 0,100% 100%,0 100%,0 calc(100% - 3px)); z-index:-1; pointer-events:none; }
}
.kicker {
	display: flex; align-items: center; gap: 12px; margin-bottom: 22px;
	font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-2);
}
.kicker span { color: var(--red); }
.lead { margin-top: 24px; max-width: 38rem; font-size: var(--explanation-size); line-height: 1.4; color: var(--fg-2); }
.cta-big { padding: 16px 24px; font-size: 13px; gap: 12px; }

/* ---------------------------------------------------------------- contact */
.contact { position: relative; min-height: 100svh; display: grid; grid-template-columns: 1fr; align-items: end; gap: 40px; padding: calc( var(--header-h) + 40px ) var(--gutter) var(--gutter); overflow: hidden; }
.contact-bg { position: absolute; inset: 0; z-index: 0; }
.contact-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.contact-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient( 100deg, rgba( 0, 0, 0, 0.88 ) 20%, rgba( 0, 0, 0, 0.35 ) 70%, rgba( 0, 0, 0, 0.6 ) ), linear-gradient( to top, rgba( 0, 0, 0, 0.7 ), transparent 50% ); }
.contact-inner { max-width: 860px; position: relative; z-index: 1; }
.contact h1 { font-weight: 520; font-stretch: 108%; font-size: clamp( 44px, 7vw, 112px ); letter-spacing: -0.03em; line-height: 0.96; }
.contact-actions { margin-top: 36px; display:flex; flex-wrap:wrap; align-items:flex-start; gap:14px; }
.contact-url { margin-top: 18px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; }
.contact-url a { color: var(--fg-3); text-decoration: none; }
.contact-url a:hover { color: var(--fg); }
.contact-cards { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; align-self: end; }
.card { display: grid; gap: 6px; padding: 20px 22px; background: rgba( 6, 10, 14, 0.72 ); backdrop-filter: blur( 12px ); -webkit-backdrop-filter: blur( 12px ); text-decoration: none; transition: background 0.2s; }
.card:hover, .card:focus-visible { background: rgba( 20, 26, 32, 0.85 ); }
.card-k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); }
.card b { font-size: 22px; font-weight: 600; font-stretch: 108%; }
.card span:last-child { color: var(--fg-2); font-size: 15px; line-height: 1.4; }
@media ( max-width: 900px ) {
	.contact { grid-template-columns: 1fr; align-items: start; padding-top: calc( var(--header-h) + 28vh ); }
	.contact-bg::after { background: linear-gradient( to top, rgba( 0, 0, 0, 0.92 ) 35%, rgba( 0, 0, 0, 0.45 ) 75%, rgba( 0, 0, 0, 0.6 ) ); }
}

.email-choice { position:relative; }
.email-choice summary { list-style:none; cursor:pointer; }
.email-choice summary::-webkit-details-marker { display:none; }
.email-options { margin-top:10px; display:grid; min-width:260px; border:1px solid var(--line); border-radius:4px; background:#071017; overflow:hidden; }
.email-options a { padding:14px 18px; text-decoration:none; color:var(--fg); border-bottom:1px solid var(--line); font-size:16px; }
.email-options a:last-child { border-bottom:0; }
.email-options a:hover, .email-options a:focus-visible { background:#1a2b35; }
:root { --acoustic: #9fd8ff; }
body { background: #000; }

/* ---------------------------------------------------------------- fixed layers */
#sea {
	position: fixed; inset: 0; z-index: 0; pointer-events: none;
	background:
		radial-gradient( 60% 70% at var(--sx, 68%) 46%, rgba( 40, 110, 150, 0.32 ), transparent 70% ),
		linear-gradient( to bottom, #04111b, #01060a 70%, #000 );
}
#scene { position: fixed; inset: 0; z-index: 1; width: 100%; height: 100lvh; display: block; pointer-events: none; transition: opacity 0.6s; }
#loader { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; background: #000; transition: opacity 0.8s; font-family: var(--mono); font-size: 12px; color: var(--fg-3); }
#loader.done { opacity: 0; pointer-events: none; }
#loader .bar { width: 180px; height: 2px; margin-top: 12px; background: #1d2328; overflow: hidden; }
#loader .bar i { display: block; height: 100%; width: 0; background: var(--red); }

/* ---------------------------------------------------------------- type */
#seeker { position: relative; z-index: 4; }
#seeker h1, #seeker h2 { font-weight: 640; font-stretch: 112%; letter-spacing: -0.035em; line-height: 0.92; }
#seeker h1 { font-size: clamp( 64px, 13vw, 200px ); }
#seeker h2 { font-size: clamp( 38px, 4.8vw, 76px ); }
.dot { color: var(--red); }
.s-copy { max-width: 34rem; }

/* ---------------------------------------------------------------- sections over the 3D view */
.s-intro { min-height: 100svh; display: flex; align-items: flex-end; padding: calc( var(--header-h) + 24px ) var(--gutter) var(--gutter); }
.specs { display: flex; flex-wrap: wrap; gap: 8px 30px; margin-top: 30px; font-family: var(--mono); font-size: 12px; }
.specs dt { color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.08em; font-size: 11px; }
.specs dd { margin-top: 4px; color: var(--fg); }
.scroll-hint { margin-top: 34px; display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.08em; }
.scroll-hint i { display: block; width: 1px; height: 28px; background: linear-gradient( var(--fg-3), transparent ); animation: drip 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY( 0 ); } 50% { transform: scaleY( 1 ); } 100% { transform: scaleY( 1 ); opacity: 0; } }

.s-sticky { position: relative; height: calc( var(--span, 2) * 100svh ); }
.s-pin { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; padding: calc( var(--header-h) + 24px ) var(--gutter) var(--gutter); }
.s-left { margin-right: auto; }
.s-right { margin-left: auto; }

/* ---------------------------------------------------------------- fleet (opaque: covers the 3D view) */
.s-fleet {
	position: relative; background: #02070b; border-top: 1px solid var(--line);
	display: grid; grid-template-columns: minmax( 0, 1fr ) minmax( 0, 1.25fr ); gap: 40px 56px; align-items: center;
	padding: calc( var(--header-h) + 56px ) var(--gutter) 72px;
}
.fleet-figure { position: relative; aspect-ratio: 4 / 3; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: radial-gradient( 80% 80% at 50% 45%, #06202e, #02080c ); }
#fleet-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.pillars { grid-column: 1 / -1; list-style: none; display: grid; grid-template-columns: repeat( 4, 1fr ); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.pillars li { display: grid; gap: 8px; align-content: start; padding: 22px 22px 26px; background: #02070b; }
.pillars b { font-size: 20px; font-weight: 600; font-stretch: 108%; }
.pillars b::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 10px; vertical-align: 0.2em; background: var(--acoustic); }
.pillars span { color: var(--fg-2); font-size: 15px; line-height: 1.4; }

/* ---------------------------------------------------------------- photograph */
.s-photo { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: var(--gutter); overflow: hidden; background: #000; }
.s-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.s-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient( 75deg, rgba( 0, 0, 0, 0.82 ) 10%, rgba( 0, 0, 0, 0.1 ) 60% ), linear-gradient( to top, rgba( 0, 0, 0, 0.6 ), transparent 40% ); }
.photo-copy { position: relative; z-index: 1; max-width: 32rem; }
.photo-copy .cta { margin-top: 28px; }

/* ---------------------------------------------------------------- call to action, beside the real thing */
.s-shelf {
	position: relative; min-height: 100svh; background: #000;
	display: grid; grid-template-columns: minmax( 0, 1fr ) minmax( 0, 1.2fr ); gap: 40px 56px; align-items: center;
	padding: calc( var(--header-h) + 24px ) var(--gutter) var(--gutter);
}
.s-shelf h2 { font-size: clamp( 44px, 5.4vw, 92px ) !important; }
.shelf-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.shelf-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: #3f4e5c; }
.shelf-photo img { width: 100%; height: 100%; object-fit: cover; }
.shelf-photo figcaption { position: absolute; left: 16px; bottom: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba( 255, 255, 255, 0.8 ); }

@media ( max-width: 900px ) {
	.s-intro { align-items: flex-end; }
	.s-pin { align-items: flex-end; }
	.s-pin .s-copy { padding: 22px 0 6px; background: linear-gradient( to top, rgba( 0, 0, 0, 0.82 ) 55%, transparent ); margin: 0 calc( -1 * var(--gutter) ); padding-left: var(--gutter); padding-right: var(--gutter); max-width: none; }
	.s-fleet { grid-template-columns: 1fr; }
	.s-shelf { grid-template-columns: 1fr; align-content: center; }
	.shelf-photo { order: -1; }
	.pillars { grid-template-columns: 1fr 1fr; }
}
@media ( max-width: 520px ) {
	.pillars { grid-template-columns: 1fr; }
}

/* Labels for the conceptual module diagram, independent of the public exterior. */
#module-labels { position:fixed; inset:0; z-index:3; pointer-events:none; }
#module-labels > div { position:absolute; opacity:0; transform:translateY(-50%); max-width:185px; padding:8px 10px; border-left:1px solid currentColor; background:rgba(2,9,14,.85); font-family:var(--mono); font-size:12px; line-height:1.5; }
#module-labels b { display:block; font-size:16px; }
@media(max-width:900px) { #module-labels > div { max-width:140px; font-size:10px; } }

.s-homing { position:relative; background:#02070b; border-top:1px solid var(--line); padding:calc(var(--header-h) + 48px) var(--gutter) 80px; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.homing-tile { aspect-ratio:1; min-width:0; margin:0; overflow:hidden; border:1px solid var(--line); border-radius:4px; background:#06121b; }
.homing-copy { display:flex; flex-direction:column; justify-content:center; padding:clamp(22px,3vw,48px); }
.s-homing .lead { margin-top:24px; font-size:clamp(17px,1.8vw,26px); line-height:1.45; }
.s-homing video { width:100%; height:100%; display:block; object-fit:contain; }
@media(max-width:760px) { .s-homing { grid-template-columns:1fr; } .homing-copy { aspect-ratio:auto; min-height:360px; } .s-homing video { object-fit:contain; } }

/* Reserve space for the model even when long copy makes the intro taller. */
@media(max-width:900px) {
  .s-intro { padding-top:calc(var(--header-h) + clamp(180px,32svh,340px)); }
}
@media(min-width:901px) and (max-height:600px) and (orientation:landscape) {
  .s-intro .s-copy { max-width:47%; }
  #seeker .s-intro h1 { font-size:clamp(64px,8vw,100px); }
}
