:root {
  --bg:#33789a;
  --frame:#0c5a86;
  --ink:#122D40;
  --coral:#FF574A;
  --cream:#FFF7EB;
  --soft:rgba(255,247,235,.76);
  color-scheme:dark;
  box-sizing:border-box;
  padding-top:env(safe-area-inset-top,0px);
  padding-bottom:env(safe-area-inset-bottom,0px)
}
*,*::before,*::after {
  box-sizing:inherit
}
html {
  scroll-padding-top:env(safe-area-inset-top,0px)
}
html,body {
  margin:0;
  min-height:100%
}
body {
  font:400 16px/1.6 Manrope,system-ui,sans-serif;
  color:var(--cream);
  background:var(--bg)
}
.frame {
  position:relative;
  width:100%;
  height:100svh;
  min-height:640px;
  background:linear-gradient(180deg,var(--s1,#2b6a8f),var(--s2,#4a98b8));
  overflow:hidden
}
#gl {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  touch-action:pan-y
}
.ui {
  position:relative;
  z-index:1;
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding:clamp(24px,3.6vw,52px) clamp(20px,4.6vw,72px);
  pointer-events:none
}
.ui form,.ui .nv,.ctl {
  pointer-events:auto
}
.ui {
  text-shadow:0 1px 10px rgba(8,30,50,.28)
}
.flash {
  position:absolute;
  inset:0;
  z-index:2;
  background:#fff;
  opacity:0;
  pointer-events:none
}
.ctl {
  position:fixed;
  z-index:20;
  right:clamp(18px,2.2vw,32px);
  bottom:max(18px,env(safe-area-inset-bottom));
  display:flex;
  flex-direction:column;
  align-items:center;
  font-size:12px;
  color:var(--soft);
  pointer-events:auto
}
.chips {
  display:grid;
  align-items:center;
  justify-content:center;
  gap:6px
}
#tc {
  grid-column:1/-1;
  grid-template-columns:repeat(5,38px);
  padding-bottom:9px;
  border-bottom:1px solid rgba(255,247,235,.14)
}
#wc {
  grid-template-columns:repeat(5,38px)
}
.ch {
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  padding:0;
  border:1px solid rgba(255,247,235,.28);
  border-radius:50%;
  background:rgba(255,255,255,.07);
  color:var(--cream);
  cursor:pointer;
  transition:transform .18s ease,background-color .18s,border-color .18s
}
.ch svg {width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.ch.on,.ch:hover,.ch:focus-visible {background:var(--cream);color:var(--ink);border-color:var(--cream)}
.ch:hover {transform:translateY(-2px)}
.ch:focus-visible {outline:2px solid var(--cream);outline-offset:3px}
header,footer {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px
}
.logo {
  width:clamp(150px,15vw,200px);
  height:auto;
  display:block;
  overflow:visible
}
nav {
  display:flex;
  gap:26px;
  align-items:flex-start
}
.nv {
  writing-mode:vertical-rl;
  background:none;
  border:0;
  padding:4px 2px;
  color:var(--soft);
  font:500 13px Sora,sans-serif;
  cursor:pointer;
  height:auto;
  border-radius:6px;
  transition:color .2s,font-size .2s
}
.nv.on {
  color:var(--cream);
  font-size:21px
}
main {
  position:absolute;
  left:clamp(20px,4.6vw,72px);
  top:50%;
  transform:translateY(-54%);
  max-width:460px
}
h1 {
  font:700 clamp(40px,5.6vw,80px)/1.04 Sora,sans-serif;
  letter-spacing:-.035em;
  margin:0 0 20px
}
.lead {
  margin:0 0 34px;
  color:var(--soft);
  max-width:32ch
}
.now {
  display:flex;
  align-items:center;
  gap:16px;
  font-size:14px
}
.now i {
  width:52px;
  height:1px;
  background:linear-gradient(90deg,var(--cream) 35%,rgba(255,247,235,.35) 35%)
}
.now b {
  display:block;
  min-width:18ch;
  font-weight:600;
  transition:opacity .25s,transform .25s
}
.now b.out {
  opacity:0;
  transform:translateY(5px)
}
.now small {
  display:block;
  font-size:10.5px;
  letter-spacing:.1em;
  color:var(--soft);
  text-transform:uppercase
}
.side {
  position:absolute;
  right:clamp(20px,4.6vw,72px);
  top:50%;
  transform:translateY(-50%);
  width:270px
}
.svc {
  margin:0 0 56px;
  padding:0;
  list-style:none;
  font-size:17px;
  font-weight:600;
  line-height:1.9
}
.lab {
  font-size:13px;
  color:var(--soft);
  margin:0 0 8px
}
.svc li {
  transform-origin:left center;
  transition:transform .35s ease,opacity .35s ease;
  opacity:.68
}
.svc li.on {
  transform:scale(1.3);
  opacity:1
}
form {
  display:flex;
  flex-direction:column;
  gap:8px
}
input {
  height:46px;
  padding:0 18px;
  border-radius:999px;
  border:1.5px solid rgba(255,247,235,.4);
  background:rgba(255,247,235,.12);
  color:var(--cream);
  font:500 15px Manrope,sans-serif;
  min-width:0
}
input::placeholder {
  color:rgba(255,247,235,.75)
}
input:focus-visible,button:focus-visible {
  outline:3px solid var(--cream);
  outline-offset:3px
}
.go {
  height:46px;
  border:0;
  border-radius:999px;
  background:var(--coral);
  color:var(--ink);
  font:700 14px Sora,sans-serif;
  cursor:pointer;
  transition:transform .2s
}
.go:hover {
  transform:translateY(-2px)
}
a.go {
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  padding:0 28px
}
.ui a.go,.ui .mail {
  pointer-events:auto
}
.mail {
  display:flex;
  align-items:center;
  gap:10px;
  margin:10px 0 0 6px;
  font-size:13px;
  color:var(--soft)
}
.mail span {
  user-select:all
}
.cp {
  height:auto;
  background:none;
  border:1px solid rgba(255,247,235,.4);
  color:var(--cream);
  border-radius:999px;
  padding:2px 12px;
  font:500 12px Manrope,sans-serif;
  cursor:pointer
}
.msg {
  min-height:1.4em;
  margin:0 0 0 6px;
  font-size:13px;
  color:var(--cream)
}
.soon {
  font:400 clamp(16px,1.8vw,22px) Sora,sans-serif;
  color:var(--soft)
}
.skb {
  display:grid;
  place-items:center;
  width:48px;
  height:48px;
  padding:0;
  border:1px solid rgba(255,247,235,.38);
  border-radius:50%;
  background:var(--cream);
  color:var(--ink);
  box-shadow:0 12px 30px rgba(5,20,34,.26);
  cursor:pointer;
  transition:background-color .2s,transform .2s,border-color .2s
}
.skb:hover {
  background:#fff;
  border-color:#fff;
  transform:translateY(-2px)
}
.skb[aria-expanded="true"] {
  background:var(--coral);
  color:var(--ink);
  border-color:var(--coral)
}
.skb:focus-visible {
  outline:3px solid var(--cream);
  outline-offset:3px
}
.skb svg {
  width:23px;
  height:23px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round
}
.cc {
  position:absolute;
  right:0;
  bottom:calc(100% + 12px);
  width:250px;
  padding:12px;
  border:1px solid rgba(255,247,235,.2);
  border-radius:22px;
  background:linear-gradient(180deg,rgba(15,45,64,.97),rgba(8,30,50,.98));
  box-shadow:0 12px 34px rgba(5,20,34,.24);
  visibility:hidden;
  opacity:0;
  pointer-events:none;
  transform:translateY(10px) scale(.96);
  transform-origin:100% 100%;
  contain:paint;
  will-change:opacity,transform;
  transition:opacity .18s cubic-bezier(.3,0,1,1),transform .18s cubic-bezier(.3,0,1,1),visibility 0s linear .18s,box-shadow .18s ease
}
.cc.open {
  visibility:visible;
  opacity:1;
  pointer-events:auto;
  transform:translateY(0) scale(1);
  box-shadow:0 18px 42px rgba(5,20,34,.3);
  transition:opacity .32s cubic-bezier(.16,1,.3,1),transform .32s cubic-bezier(.16,1,.3,1),visibility 0s,box-shadow .32s cubic-bezier(.16,1,.3,1)
}
.cc-inner {
  display:flex;
  flex-direction:column;
  gap:9px
}
.visually-hidden {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media (prefers-reduced-motion:reduce) {
  .cc,.skb,.ch {
    transition:none
  }
}
@media (max-width:860px) {
  .ctl {
    right:14px;
    bottom:max(14px,env(safe-area-inset-bottom))
  }
  .skb {
    width:44px;
    height:44px
  }
  .cc {
    position:fixed;
    right:12px;
    bottom:max(70px,calc(env(safe-area-inset-bottom) + 64px));
    width:min(250px,calc(100vw - 24px));
    transform:translateY(12px) scale(.98);
    transform-origin:100% 100%
  }
  .cc.open {
    transform:translateY(0) scale(1)
  }
  .mail,.lab {
    display:none
  }
}
@media (prefers-reduced-motion:no-preference) {
  h1,.lead,.now,.svc,.lab,.side .go,.mail,header,footer {
    animation:up .9s cubic-bezier(.2,.7,.2,1) both
  }
  .lead {
    animation-delay:.12s
  }
  .now {
    animation-delay:.24s
  }
  .svc {
    animation-delay:.2s
  }
  .lab,.side .go,.mail {
    animation-delay:.32s
  }
  footer {
    animation-delay:.4s
  }
}
@keyframes up {
  from {
    opacity:0;
    transform:translateY(14px)
  }
}
footer {
  font-size:13px;
  color:var(--soft)
}
@media (max-width:860px) {
  .frame {
    height:auto;
    min-height:100svh
  }
  .ui {
    min-height:100svh
  }
  main,.side {
    position:static;
    transform:none;
    max-width:none;
    width:100%
  }
  main {
    margin-top:auto;
    padding-top:max(50px,10svh)
  }
  .svc {
    margin:0 0 14px
  }
  .svc li:not(.on) {
    display:none
  }
  .svc li.on {
    transform:none;
    font-size:17px
  }
  .lead {
    margin-bottom:22px
  }
  .side {
    margin-top:18px
  }
  .side > a.go {
    display:none
  }
  footer {
    margin-top:16px;
    flex-direction:row;
    flex-wrap:wrap;
    justify-content:space-between;
    align-items:center;
    gap:8px 12px
  }
  .soon {
    font-size:15px
  }
  #gl {
    position:fixed;
    top:0;
    left:0;
    height:100vh;
    height:100svh
  }
  h1 {
    font-size:clamp(40px,12vw,56px)
  }
  .logo {
    width:128px
  }
  nav {
    gap:14px
  }
  .nv {
    font-size:12px
  }
  .nv.on {
    font-size:18px
  }
  .side form {
    flex-direction:row;
    flex-wrap:wrap
  }
  .side input {
    flex:1 1 150px
  }
  .go {
    flex:0 0 auto;
    padding:0 22px
  }
  .msg {
    flex-basis:100%;
    margin:0 0 0 6px
  }
  .now b {
    min-width:0
  }
}
@media (max-width:860px) and (max-height:700px) {
  .now {
    display:none
  }
  .lead {
    margin-bottom:16px
  }
}

/* ---- motion & mobile polish ---- */
:root{--ease:cubic-bezier(.22,1,.36,1)}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{overscroll-behavior-y:none;-webkit-tap-highlight-color:transparent}
#gl{display:block}
button,a.go{touch-action:manipulation}
@media (min-width:861px){.frame{height:100vh;height:100svh}}
@media (max-width:860px){.frame,.ui{min-height:100vh;min-height:100svh}}
.ch{transition:transform .35s var(--ease),background-color .25s,color .25s,border-color .25s}
.go{transition:transform .35s var(--ease)}
.svc li{transition:transform .6s var(--ease),opacity .5s ease}
.nv{transition:color .3s ease,font-size .45s var(--ease)}
.now b{transition:opacity .32s ease,transform .45s var(--ease)}
.now b.out{opacity:0;transform:translateY(-7px)}
.now b.pre{transition:none;opacity:0;transform:translateY(7px)}
input{font-size:16px}
.ch:active,.go:active,.skb:active{transform:scale(.94)}
@media (hover:none){
  .ch:hover,.go:hover,.skb:hover{transform:none}
  .ch:hover:not(.on){background:rgba(255,255,255,.07);color:var(--cream);border-color:rgba(255,247,235,.28)}
}
@media (prefers-reduced-motion:reduce){.svc li,.nv,.now b,.go{transition:none}}

/* ---- full-bleed sky (under status bar & home indicator) ---- */
:root{padding-top:0;padding-bottom:0}
html{background:linear-gradient(180deg,var(--s1,#2b6a8f),var(--s2,#4a98b8)) no-repeat;background-color:var(--s1,#2b6a8f)}
body{background:transparent}
body::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(180deg,var(--s1,#2b6a8f),var(--s2,#4a98b8))}
.frame{background:none}
.ui{
  padding-top:calc(clamp(24px,3.6vw,52px) + env(safe-area-inset-top,0px));
  padding-bottom:calc(clamp(24px,3.6vw,52px) + env(safe-area-inset-bottom,0px))
}

/* ---- mobile: fixed single screen, no scrolling ---- */
@media (max-width:860px){
  html,body{height:100%;overflow:hidden;overscroll-behavior:none}
  .frame,.ui{height:100vh;height:100svh;min-height:0}
  .frame{overflow:hidden}
}
/* very short screens (small phones in landscape): allow scrolling so nothing gets cut off */
@media (max-width:860px) and (max-height:520px){
  html,body{overflow:auto}
  .frame,.ui{height:auto;min-height:100svh}
}