/* fonts are served from this site: no third-party requests, nothing to declare under GDPR */
@font-face{font-family:'Barlow Condensed';font-weight:600;font-style:normal;font-display:swap;src:url(fonts/barlow-condensed-latin-600-normal.woff2) format('woff2')}
@font-face{font-family:'Barlow Condensed';font-weight:700;font-style:normal;font-display:swap;src:url(fonts/barlow-condensed-latin-700-normal.woff2) format('woff2')}
@font-face{font-family:'Barlow Condensed';font-weight:800;font-style:normal;font-display:swap;src:url(fonts/barlow-condensed-latin-800-normal.woff2) format('woff2')}
@font-face{font-family:'Barlow';font-weight:400;font-style:normal;font-display:swap;src:url(fonts/barlow-latin-400-normal.woff2) format('woff2')}
@font-face{font-family:'Barlow';font-weight:500;font-style:normal;font-display:swap;src:url(fonts/barlow-latin-500-normal.woff2) format('woff2')}
@font-face{font-family:'Barlow';font-weight:600;font-style:normal;font-display:swap;src:url(fonts/barlow-latin-600-normal.woff2) format('woff2')}
/* 9/10 Performance — site. One ground (the sea itself), one ink that turns from navy to ice-white as you go under, one accent. */
:root{
  --navy:#0A1F3C; --ice:#F4F9FD; --ice2:#9CCBEB; --accent:#1F6FB2; --abyss:#041222;
  --ink:var(--navy); --ink2:#2B4566;
  --display:'Barlow Condensed','Arial Narrow',sans-serif; --text:'Barlow','Helvetica Neue',Arial,sans-serif;
  --ease-out:cubic-bezier(.23,1,.32,1); --ease-io:cubic-bezier(.77,0,.175,1);
  --gut:clamp(20px,4vw,56px);
}
html.under{--ink:#F4F9FD; --ink2:#C9DDF0}
*{box-sizing:border-box}
html{background:#DFE9F1;-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;color:var(--ink);font:400 18px/1.55 var(--text);background:transparent;transition:color .6s ease;overflow-x:hidden}
::selection{background:var(--ice2);color:var(--navy)}
a{color:inherit}
:focus-visible{outline:2px solid var(--ice2);outline-offset:3px;border-radius:2px}

/* the sea: one fixed canvas behind everything, a second one for bubbles and snow */
#sea,#motes{position:fixed;inset:0;width:100vw;height:100vh;height:100lvh;display:block;pointer-events:none}
#sea{z-index:0;background:#DFE9F1}
#motes{z-index:1}
html.no-gl body{background:linear-gradient(180deg,#DFE9F1 0 12%,#1A5A7A 12.5%,#0B2C47 40%,#041222 100%)}
html.no-gl #sea{display:none}

/* bar */
.bar{position:fixed;top:0;left:0;right:0;z-index:5;display:flex;align-items:center;justify-content:space-between;padding:18px var(--gut);color:var(--ink);transition:color .6s ease}
.lockup{display:inline-flex;align-items:flex-end;text-decoration:none;font-family:var(--display);font-weight:800;font-size:26px;line-height:1;color:var(--ink)}
.lockup .mk{height:38px;width:auto;margin-right:1px;color:var(--ink)}
.lockup .sl{font-weight:600;color:var(--accent);font-size:28px;margin:0 1px}
html.under .lockup .sl{color:var(--ice2)}
.lockup .bp{font-family:var(--text);font-weight:500;font-size:13px;letter-spacing:.14em;margin-left:10px;padding-bottom:4px;color:var(--ink2)}
.bar nav{display:flex;align-items:center;gap:clamp(14px,2.4vw,32px);font-size:16px;font-weight:500}
.bar nav a{text-decoration:none}
.bar nav a:not(.btn){position:relative}
.bar nav a:not(.btn)::after{content:"";position:absolute;left:0;right:0;bottom:-4px;height:2px;background:currentColor;transform:scaleX(0);transform-origin:left;transition:transform .25s var(--ease-out)}
@media (hover:hover) and (pointer:fine){.bar nav a:not(.btn):hover::after{transform:scaleX(1)}}

.btn{display:inline-flex;align-items:center;justify-content:center;height:44px;padding:0 20px;border-radius:999px;background:var(--accent);color:#fff;text-decoration:none;font-weight:600;font-size:16px;transition:transform .16s var(--ease-out),background-color .2s ease}
.btn:active{transform:scale(.97)}
@media (hover:hover) and (pointer:fine){.btn:hover{background:#185E98}}
.btn.big{height:56px;padding:0 28px;font-size:18px}
.btn.light{background:var(--ice);color:var(--navy)}
@media (hover:hover) and (pointer:fine){.btn.light:hover{background:#fff}}
.link{font-weight:600;text-underline-offset:5px;text-decoration-thickness:2px}

/* depth gauge: the one instrument on the page */
.gauge{position:fixed;left:var(--gut);bottom:22px;z-index:5;display:flex;align-items:baseline;gap:2px;color:#F4F9FD;font-size:15px;transition:color .6s ease,opacity .4s ease}
.gauge b{font-family:var(--display);font-weight:700;font-size:44px;line-height:1;letter-spacing:-.01em;font-variant-numeric:tabular-nums;min-width:2ch;text-align:right;margin-right:6px}
.gauge span{color:#C9DDF0}

/* sections */
main{position:relative;z-index:2}
.sec{position:relative;min-height:130vh;padding:22vh var(--gut) 14vh;display:grid;grid-template-columns:minmax(0,560px) minmax(0,1fr);column-gap:clamp(32px,6vw,96px);align-content:start}
.sec .col{grid-column:1;min-width:0}
.sec .side{grid-column:2;align-self:start;justify-self:start;margin-top:4px}
h1,h2{font-family:var(--display);font-weight:700;margin:0;letter-spacing:-.02em;line-height:.95;text-wrap:balance}
h1{font-size:clamp(56px,6vw,108px);max-width:none;color:var(--navy)}
.surface{grid-template-columns:minmax(0,58vw) minmax(0,1fr)}
.surface .lede{max-width:46ch}
h2{font-size:clamp(42px,4.6vw,76px);max-width:14ch}
.sec p{margin:28px 0 0;max-width:60ch;font-size:clamp(18px,1.25vw,20px);color:var(--ink)}
.lede{color:var(--navy)!important;font-size:clamp(19px,1.4vw,22px)!important}
.acts{display:flex;align-items:center;gap:28px;margin-top:40px;flex-wrap:wrap}
.surface{min-height:100vh;padding-top:24vh;color:var(--navy)}
.surface .link{color:var(--navy)}
.waterline{min-height:130vh;align-content:end;padding-top:0;padding-bottom:30vh}
.statement{font-family:var(--display);font-weight:600;font-size:clamp(28px,2.6vw,36px)!important;line-height:1.12!important;max-width:22ch!important;letter-spacing:-.01em;color:#F4F9FD!important}
.hint{color:var(--ink2)!important;font-size:16px!important}

.facts{margin:36px 0 0;display:grid;gap:22px}
.facts div{display:grid;grid-template-columns:minmax(0,1fr);gap:4px;padding-left:18px;position:relative}
.facts div::before{content:"";position:absolute;left:0;top:7px;width:6px;height:6px;border-radius:50%;background:var(--ice2)}
.facts dt{font-weight:600;font-size:19px}
.facts dd{margin:0;color:var(--ink2);font-size:17px}

/* screenshots of the real product */
/* the real product, framed like a device: a bezel one tone lighter than the water, centred, never cropped mid-element */
.shot{margin:72px 0 0;grid-column:1 / -1;justify-self:center;padding:10px;border-radius:20px;background:rgba(214,234,248,.10)}
.shot img{display:block;width:100%;height:auto;border-radius:12px}
.shot.wide{width:min(1080px,86vw)}
.shot.tall{grid-column:2;grid-row:1 / span 3;align-self:center;justify-self:center;width:min(28vw,420px);margin:0}

/* the live thing: the morning check-in, in the product's own style */
.demo{width:min(420px,100%);background:#F4F9FD;color:#0A1F3C;border-radius:16px;padding:22px 22px 18px;display:grid;gap:16px;font-size:16px}
.dq{border:0;margin:0;padding:0;display:grid;gap:8px;min-width:0}
.dq label,.dq legend{font-weight:600;font-size:15px;color:#2B4566;padding:0}
.drow{display:grid;grid-template-columns:1fr 54px;gap:12px;align-items:center}
.drow output{font-family:var(--display);font-weight:700;font-size:22px;text-align:right;font-variant-numeric:tabular-nums}
.demo input[type=range]{width:100%;accent-color:#1F6FB2;height:28px;margin:0}
.zones{display:flex;flex-wrap:wrap;gap:8px}
.zones button{height:36px;padding:0 14px;border-radius:999px;border:0;background:#E3F0FA;color:#1A5A92;font:600 14px var(--text);cursor:pointer;transition:transform .16s var(--ease-out),background-color .2s ease,color .2s ease}
.zones button:active{transform:scale(.96)}
.zones button[aria-pressed=true]{background:#1F6FB2;color:#fff}
.out{background:#fff;border-radius:12px;padding:14px 16px 6px}
.outh{display:flex;justify-content:space-between;align-items:baseline;gap:10px}
.outh b{font-family:var(--display);font-weight:700;font-size:24px;line-height:1.1}
.outh span{font-size:14px;color:#46658A}
.out ol{list-style:none;margin:8px 0 0;padding:0}
.out li{display:flex;justify-content:space-between;gap:12px;padding:9px 0;font-size:15.5px;background:linear-gradient(#E3EDF6,#E3EDF6) top/100% 1px no-repeat}
.out li span{color:#1F6FB2;font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums}
.out li.in{animation:li .38s var(--ease-out) both}
@keyframes li{from{opacity:0;transform:translateY(8px)}}
.flag{margin:8px 0 10px!important;font-size:14.5px!important;color:#A86A00!important;max-width:none!important}

.seabed{min-height:110vh;padding-bottom:20vh}
.seabed h2{max-width:13ch}

/* footer: the name returns at full width */
.foot{position:relative;z-index:2;padding:0 var(--gut) 40px;color:#F4F9FD}
.huge{margin:0;display:flex;align-items:flex-end;font-family:var(--display);font-weight:800;line-height:.8;font-size:clamp(120px,30vw,520px);letter-spacing:-.03em;color:#F4F9FD}
.huge .mk{height:1.12em;width:auto;color:#F4F9FD;margin-right:.01em}
.huge .sl{font-weight:600;color:var(--ice2);margin:0 .02em}
.frow{display:flex;justify-content:space-between;gap:20px;margin-top:28px;font-size:15px;color:#C9DDF0}
.frow a{color:#C9DDF0}

/* entrance: heading, then text, then picture, once, as each section arrives */
.js .rise{opacity:0;transform:translateY(24px);transition:opacity .9s var(--ease-out),transform .9s var(--ease-out)}
.js .rise.on{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.js .rise{transform:none;transition:opacity .4s ease}}

/* phone: its own composition, text on a solid step of sea so the berg can sit behind it */
@media (max-width:760px){
  body{font-size:17px}
  .bar{padding:14px 16px}
  .bar nav a:not(.btn){display:none}
  .bar .btn{height:40px;padding:0 16px;font-size:15px}
  .lockup .bp{display:none}
  .sec{grid-template-columns:1fr;padding:16vh 16px 10vh;min-height:110vh}
  .sec .side,.shot.tall{grid-column:1;grid-row:auto;justify-self:center;width:min(100%,420px);margin-top:36px}
  .shot.wide{width:100%;margin-top:40px;padding:6px;border-radius:14px}
  .sec:not(.surface):not(.waterline) .col{background:rgba(4,18,34,.74);margin:0 -16px;padding:26px 16px 30px}
  h1{font-size:clamp(52px,14vw,72px)}
  h2{font-size:clamp(40px,11vw,56px)}
  .gauge{left:16px;bottom:14px}
  .gauge b{font-size:34px}
  .gauge span{font-size:13px}
  .demo{width:100%}
}

/* ---------- film version ---------- */
#sea{background:#0B2135}
html:not(.film-ready) #sea{background:#C9D6E0 url(film/d/001.webp) center/cover no-repeat}
@media (max-width:759px){html:not(.film-ready) #sea{background-image:url(film/m/001.webp)}}
/* the one neutral scrim the house rules allow: words on the left always sit on calm, dark water */
.scrim{position:fixed;inset:0;z-index:1;pointer-events:none;opacity:0;transition:opacity .8s ease;
  background:linear-gradient(90deg,rgba(4,18,34,.78) 0,rgba(4,18,34,.55) 32%,rgba(4,18,34,.12) 58%,rgba(4,18,34,0) 72%)}
html.under .scrim{opacity:1}
.surface-scrim{display:none}
/* the last part of the film looks up at bright water: a veil keeps the final words on deep navy */
.veil{position:fixed;inset:0;z-index:1;pointer-events:none;background:#041222;opacity:calc(var(--end,0) * .45)}
@media (max-width:760px){.scrim{background:rgba(4,18,34,.35)}}
@media (max-width:760px){
  .gauge{background:rgba(4,18,34,.72);padding:6px 12px 6px 10px;border-radius:999px;bottom:12px}
  .gauge b{font-size:26px}
  .waterline{padding-bottom:22vh}
}

html:not(.lenis-on){scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html:not(.lenis-on){scroll-behavior:auto}}

/* the opening frame stays clean: the title sits low, over the darker sea, like the title card of a film */
.mist{position:fixed;inset:0;z-index:1;pointer-events:none;opacity:1;transition:opacity .8s ease;
  background:linear-gradient(0deg,rgba(4,18,34,.86) 0,rgba(4,18,34,.66) 30%,rgba(4,18,34,.28) 56%,rgba(4,18,34,0) 72%)}
html.under .mist{opacity:0}
.surface{align-content:end;padding-top:0;padding-bottom:16vh;min-height:100vh}
.surface h1,.surface .lede,.surface .link{color:#F4F9FD!important}
.surface .lede{max-width:52ch}


.shot.phone{width:min(22vw,320px);border-radius:34px;padding:9px}
.shot.phone img{border-radius:26px}
@media (max-width:760px){.shot.phone{width:min(72vw,300px)}.surface{padding-bottom:14vh}}

.surface{padding-bottom:12vh}
.surface h1{font-size:clamp(48px,5.2vw,92px)}
.surface .lede{font-size:clamp(17px,1.2vw,19px)!important;margin-top:20px!important}
.surface .acts{margin-top:28px}
/* the depth gauge sits in the right corner, clear of the text and the pictures */
.gauge{left:auto;right:var(--gut);flex-direction:row}
@media (max-width:760px){.mist{background:linear-gradient(0deg,rgba(4,18,34,.88) 0,rgba(4,18,34,.7) 38%,rgba(4,18,34,.3) 62%,rgba(4,18,34,0) 78%)}.gauge{right:12px}.surface{padding-bottom:10vh}}
