@charset "UTF-8";
:root {
  color-scheme: dark;
  --cyan: #59cbeb;
  --cta-cyan: #41BEDC;
  --cta-text: #101B38;
  --ink: #10133f;
  --white: #fff;
  --page-gutter: clamp(32px, 4vw, 64px);
  --header-height: 124px;
  --reveal-duration: 900ms;
  --reveal-ease: cubic-bezier(.22,.1,.25,1);
  --actions-delay: 450ms;
  font-family: "Montserrat", Arial, sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--white); background: #0c0d2b; }
a { color: inherit; text-decoration: none; }
button, summary { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
button, a, summary { touch-action: manipulation; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--cyan); outline-offset: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 10; top: 12px; left: 12px; padding: 12px 18px; background: var(--cyan); color: var(--ink); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.site-header { min-height: var(--header-height); padding: 16px var(--page-gutter); display: flex; align-items: center; justify-content: center; position: relative; background: rgba(23, 24, 94, .6); z-index: 1; }
.brand { display: inline-grid; grid-template-columns: 72px auto; grid-template-rows: 72px auto; column-gap: 12px; }
.brand img { grid-column: 1; grid-row: 1; width: 72px; height: auto; }
.brand-copy { display: contents; }
.brand-name { grid-column: 2; grid-row: 1; align-self: center; font-size: 36px; font-weight: 800; letter-spacing: -.025em; line-height: 1.06; white-space: nowrap; }
.brand-payoff { grid-column: 2; grid-row: 2; justify-self: end; margin-top: -14px; font-size: 20px; letter-spacing: .09em; line-height: 1.15; font-weight: 300; }
.brand-payoff strong { font-weight: 700; }
.mobile-menu { display: none; }
.hero { position: relative; isolation: isolate; }
/* One continuous image extends behind the translucent header without moving content. */
.hero::before { content: ""; position: absolute; inset: calc(-1 * var(--header-height)) 0 0; z-index: -1; pointer-events: none; background: #141542 url("../images/bg.jpg") center / cover no-repeat; }
.hero-inner { width: min(100%, 1440px); min-height: calc(100svh - var(--header-height)); margin: 0 auto; padding: clamp(32px,4svh,56px) var(--page-gutter); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0,1fr); column-gap: clamp(56px,6vw,104px); align-content: center; align-items: start; }
.hero-heading { grid-column: 1; grid-row: 1; max-width: 650px; }
.eyebrow { margin: 0 0 24px; font-size: clamp(14px,1.25vw,18px); line-height: 1.4; font-weight: 700; letter-spacing: .015em; }
.eyebrow span { padding: 0 .18em; }
h1 { margin: 0; font-size: clamp(34px,3.1vw,48px); font-weight: 700; line-height: 1.16; letter-spacing: -.02em; }
.title-part { display: block; }
.title-ending { display: block; white-space: nowrap; }
.title-first { color: var(--cyan); }
.hero-details { grid-column: 1; grid-row: 2; margin-top: clamp(22px,2.2vw,34px); }
.hero-body { margin: 0; max-width: 620px; font-size: clamp(17px,1.4vw,20px); line-height: 1.5; font-weight: 400; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 28px; min-height: 52px; padding: 14px 24px; border: 1px solid var(--cyan); border-radius: 7px; font-size: 16px; line-height: 1.4; font-weight: 700; transition: background-color 180ms, color 180ms, border-color 180ms; }
.button-primary { color: var(--cta-text); background: var(--cta-cyan); border-color: var(--cta-cyan); }
.button-outline { background: transparent; }
.button:hover { background: #B5EFF8; border-color: #B5EFF8; color: var(--ink); }
.button-primary:hover { background: #69D7F3; border-color: #69D7F3; color: var(--cta-text); }
.button-icon { display: block; flex: none; width: 20px; height: 20px; }
.hero-visual { grid-column: 2; grid-row: 1 / span 2; align-self: center; justify-self: end; width: 100%; max-width: 500px; margin: 0; position: relative; }
.canvas-frame { width: 100%; aspect-ratio: 680 / 580; position: relative; }
.canvas-frame canvas, .visual-fallback { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; }
.visual-fallback { background: url("../images/hero-static.webp") center / contain no-repeat; }
.canvas-frame canvas { visibility: hidden; background: transparent; }
.hero[data-canvas-ready] canvas { visibility: visible; }
.hero[data-canvas-ready] .visual-fallback { visibility: hidden; }
/* Line masks are added only by the controller; plain HTML stays readable. */
.title-part:has(.title-mask) { display: grid; }
.title-mask { display: block; overflow: hidden; padding-block: .08em; margin-block: -.08em; }
.title-mask-text { display: block; }
.hero.is-intro .title-part:not(.is-visible) { visibility: hidden; }
.hero.is-intro .title-mask-text { transform: translateY(120%); }
.hero.is-intro .title-part.is-visible .title-mask-text { transform: translateY(0); transition: transform 1050ms cubic-bezier(.22,1,.36,1); }
.hero.is-intro .title-first.is-visible .title-mask-text { transition-delay: 120ms; }
.hero.is-intro .title-second.is-visible .title-mask-text { transition-delay: 670ms; }
.hero.is-intro .hero-details:not(.is-visible) .hero-body, .hero.is-intro .hero-details:not(.is-visible) .hero-actions { opacity: 0; }
.hero.is-intro .hero-body, .hero.is-intro .hero-actions { transition: none; }
.hero.is-intro .hero-details.is-visible .hero-body, .hero.is-intro .hero-details.is-visible .hero-actions { transition: opacity 450ms var(--reveal-ease); }
.hero.is-intro .hero-details.is-visible .hero-actions { transition-delay: var(--actions-delay); }
.hero.is-intro .hero-details[data-immediate] .hero-body, .hero.is-intro .hero-details[data-immediate] .hero-actions { opacity: 1; transition: none; }
.hero.is-intro:not([data-canvas-ready]) .visual-fallback { visibility: hidden; }
.site-footer { padding: 24px var(--page-gutter); background: #0c0d2b; font-size: 12px; line-height: 1.8; color: #ded7ed; }
.site-footer-inner { width: min(100%,1440px); margin-inline: auto; display: flex; align-items: center; gap: 12px; }
.site-footer-details { flex: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; }
.footer-linkedin { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 4px; }
.footer-linkedin svg { width: 22px; height: 22px; }
.footer-linkedin:hover, .footer-linkedin:focus-visible { color: var(--cyan); }
.site-footer p { margin: 0; }
.site-footer span { padding: 0 5px; }
.site-footer a:hover, .text-button:hover { text-decoration: underline; }
.text-button { padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; }
.privacy-content { max-width: 1000px; margin: 0 auto; padding: 40px var(--page-gutter); line-height: 1.65; }
.privacy-content a { text-decoration: underline; }
.privacy-content h2 { color: var(--cyan); }
.privacy-content:not(:target) { display: none; }
dialog.privacy-dialog { max-width: min(900px, calc(100% - 32px)); max-height: 85svh; border: 1px solid #59cbeb80; border-radius: 16px; padding: 28px; color: #fff; background: #15163f; }
dialog.privacy-dialog::backdrop { background: #06081ad9; }
dialog .privacy-content:not(:target) { display: block; padding: 12px 0; }
.dialog-close { display: block; margin-left: auto; min-height: 44px; padding: 8px 18px; border: 1px solid var(--cyan); border-radius: 6px; background: transparent; color: white; cursor: pointer; }
/* Reserve room for the natural footer only when both dimensions allow it. */
@media (min-width: 1200px) and (min-height: 760px) {
  body { min-height: 100svh; display: flex; flex-direction: column; }
  .site-header, .site-footer { flex: none; }
  main { display: flex; flex: 1; }
  .hero { display: flex; flex: 1; }
  .hero-inner { min-height: 0; }
}
@media (max-width: 1100px) and (min-width: 901px) { .hero-inner { column-gap: 44px; grid-template-columns: 1.2fr 1fr; } h1 { font-size: 34px; } .hero-body { font-size: 17px; } .eyebrow { font-size: 13px; } }
@media (max-width: 900px) {
  :root { --header-height: 92px; --page-gutter: clamp(20px,5vw,44px); }
  .site-header { justify-content: flex-start; padding-top: 12px; padding-bottom: 12px; gap: 0; }
  .brand { grid-template-columns: 60px auto; grid-template-rows: 60px auto; column-gap: 10px; }
  .brand img { width: 60px; }
  .brand-name { font-size: clamp(18px,5.1vw,30px); letter-spacing: -.03em; }
  .brand-payoff { font-size: clamp(11px,3.1vw,17px); letter-spacing: .055em; margin-top: -11px; }
  /* Temporarily hidden. Set display: block to restore the existing menu. */
  .mobile-menu { display: none; position: relative; }
  .mobile-menu summary { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 44px; height: 44px; cursor: pointer; list-style: none; border: 1px solid #ffffff50; border-radius: 8px; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary span { width: 20px; height: 2px; background: #fff; }
  .mobile-menu nav { position: absolute; z-index: 5; top: 54px; right: 0; min-width: 180px; padding: 8px; border: 1px solid #59cbeb80; border-radius: 10px; background: #15163f; box-shadow: 0 10px 30px #0005; }
  .mobile-menu nav a { display: block; padding: 14px; border-radius: 5px; }
  .mobile-menu nav a:hover { background: #59cbeb25; }
  .hero::before { background-image: radial-gradient(ellipse at 110% 32%, #c937a280 0%, #a52f7350 32%, transparent 68%), radial-gradient(ellipse at -15% 80%, #6c34a866, transparent 60%), url("../images/bg.jpg"); }
  .hero-inner { display: flex; flex-direction: column; min-height: 0; padding-top: 30px; padding-bottom: 44px; gap: 0; }
  .hero-heading { width: 100%; }
  .eyebrow { font-size: clamp(10px,3.5vw,15px); margin-bottom: 18px; letter-spacing: 0; }
  .eyebrow span { padding: 0 .1em; }
  h1 { font-size: clamp(24px,7.2vw,44px); line-height: 1.2; }
  .title-opening, .title-detail { display: inline; }
  .title-first { white-space: nowrap; }
  .title-production { white-space: nowrap; }
  .hero-visual { width: min(100%,420px); align-self: center; margin: 24px 0 0; }
  .hero-details { margin-top: 24px; width: 100%; }
  .hero-body { max-width: 680px; font-size: clamp(16.5px,2.8vw,21px); line-height: 1.5; }
  .hero-actions { margin-top: 24px; gap: 12px; }
  .button { min-height: 50px; font-size: 14px; padding: 13px 20px; gap: 22px; }
  .site-footer-inner, .site-footer-details { flex-direction: column; gap: 6px; text-align: center; }
}
@media (max-width: 700px) {
  .site-footer-inner { flex-flow: row wrap; justify-content: center; gap: 6px 8px; }
  .site-footer-details { display: contents; }
  .site-footer-details > p:not(:last-child) { flex-basis: 100%; }
  .site-footer .footer-linkedin { position: relative; width: 40px; height: 1.8em; }
  .site-footer .footer-linkedin::before {
    content: "";
    position: absolute;
    inset-inline: 0;
    inset-block-start: 50%;
    block-size: 44px;
    transform: translateY(-50%);
  }
}
@media (max-width: 360px) { .brand { grid-template-columns: 56px auto; grid-template-rows: 56px auto; } .brand img { width: 56px; } .button { padding-inline: 16px; gap: 12px; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero.is-intro .title-mask-text { transform: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero.is-intro .title-part:not(.is-visible), .hero.is-intro .hero-details:not(.is-visible) .hero-body, .hero.is-intro .hero-details:not(.is-visible) .hero-actions { opacity: 1; }
}

@media (min-width: 1101px) {
  .hero-body { font-size: 18.5px; }
  .site-footer-inner { position: relative; }
  .footer-linkedin { position: absolute; right: calc(100% / 2 - 50vw + 19px); }
  .site-footer-details { padding-inline: 44px; }
}

@media (min-width: 1101px) {
  .hero-details { margin-top: calc(clamp(22px,2.2vw,34px) - 12px); }
}

@media (min-width: 1101px) {
  .hero-slot { padding-bottom: 0; }
  .hero-inner { min-height: calc(100svh - var(--header-height)); }
  .hero-visual { align-self: stretch; }
  .hero-visual .canvas-frame { position: absolute; top: 50%; transform: translateY(-50%); }
}
