@font-face { font-family: 'Open Sans'; src: url('../fonts/open-sans.woff2') format('woff2'); font-weight: 300 800; font-style: normal; font-display: swap; }

:root {
  --navy: #153860;
  --blue: #128DCE;
  --sky: #6EC1E4;
  --slate: #54595F;
  --ice: #EAF6FF;
  --ink-dark: #0A0C1D;
  --white: #FFFFFF;

  --bg: var(--white);
  --ink: var(--navy);
  --muted: var(--slate);
  --accent: var(--blue);

  --m: 32px;               /* outer margin */
  --gap: 24px;
  --sect: 200px;
    --step-body: 18px;
  --step-lead: clamp(20px, 1.2rem + .5vw, 26px);
  --step-head: clamp(40px, 2rem + 3.4vw, 84px);
  --step-xl: clamp(52px, 8.4vw, 136px);
  --step-small: 15px;
  --step-display: clamp(64px, 10vw, 156px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (max-width: 700px) { :root { --m: 20px; --sect: 120px; --step-body: 17px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--step-body)/1.55 'Open Sans', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
::selection { background: var(--sky); color: var(--navy); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { padding-inline: var(--m); }

/* Button: square corners, navy fill */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; background: var(--navy); color: var(--white); font: 700 var(--step-body)/1 'Open Sans', sans-serif; text-decoration: none; border: 0; cursor: pointer; transition: transform .2s var(--ease), background-color .2s; }
.btn:hover { background: #0e2a4a; }
.btn:active { transform: translateY(1px) scale(.98); }
.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { background: var(--ice); }
.link { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 2px; }
.link:hover { color: var(--blue); }

/* Header */
.top { position: absolute; inset: 0 0 auto 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; padding: 22px var(--m); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: var(--step-lead); letter-spacing: -.02em; }
.brand img { width: 34px; height: auto; }
.top nav ul { display: flex; gap: clamp(20px, 3vw, 48px); align-items: center; }
.top nav a { font-size: var(--step-small); font-weight: 600; text-decoration: none; padding: 6px 0; }
.top nav a:hover { color: var(--blue); }
.top .btn { min-height: 44px; padding: 0 20px; font-size: var(--step-small); }
@media (max-width: 860px) { .top nav li:not(:last-child) { display: none; } }

/* Hero */
.hero { min-height: 100svh; display: grid; grid-template-rows: 1fr auto; padding: 120px var(--m) 40px; }
.hero h1 { align-self: center; font-size: var(--step-display); font-weight: 700; letter-spacing: -.045em; line-height: .98; color: var(--navy); }
.hero h1 .ln { display: flex; align-items: baseline; gap: .22em; white-space: nowrap; }
.slot { display: inline-block; width: 1.7em; height: .74em; overflow: hidden; position: relative; top: .02em; }
.slot img { width: 100%; height: 100%; object-fit: cover; }
.hero__foot { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: end; }
.hero__foot p { grid-column: 1 / span 6; font-size: var(--step-lead); line-height: 1.4; color: var(--navy); max-width: 34ch; }
.hero__foot .act { grid-column: 9 / -1; justify-self: end; display: flex; gap: 24px; align-items: center; }
.hero__phone-pic { display: none; }
@media (max-width: 700px) {
  .hero { padding-top: 96px; min-height: auto; gap: 32px; }
  .hero h1 { font-size: 12.4vw; line-height: 1; }
  .hero h1 .slot { display: none; }
  .hero__phone-pic { display: block; aspect-ratio: 3 / 2; overflow: hidden; }
  .hero__phone-pic img { width: 100%; height: 100%; object-fit: cover; }
  .hero__foot { display: flex; flex-direction: column; align-items: stretch; gap: 20px; }
  .hero__foot .act { justify-self: stretch; flex-direction: column; align-items: stretch; }
}

/* Shutter on the hero picture: runs on load */
@keyframes shut { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes settle { from { transform: scale(1.12); } to { transform: scale(1); } }
.shutter { animation: shut 1.1s var(--ease) .3s both; }
.shutter img { animation: settle 1.5s var(--ease) .3s both; }
@media (prefers-reduced-motion: reduce) { .shutter, .shutter img { animation: none; } }

/* Entrances */
.js-motion [data-reveal] { opacity: 0; transform: translateY(24px); }
.js-motion [data-reveal].is-in { opacity: 1; transform: none; transition: opacity .7s var(--ease) var(--d, 0ms), transform .7s var(--ease) var(--d, 0ms); }

/* Features: statements on colour fields */
.field { min-height: 76svh; position: relative; display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); padding: 56px var(--m) 40px; }
.field h2 { grid-column: 1 / span 9; grid-row: 2; align-self: end; font-size: var(--step-xl); font-weight: 800; line-height: .92; letter-spacing: -.045em; }
.field p { grid-column: 8 / span 4; grid-row: 1; font-size: var(--step-body); line-height: 1.5; max-width: 32ch; }
.field--alt h2 { grid-column: 4 / -1; text-align: right; }
.field--alt p { grid-column: 2 / span 4; }
.field { grid-template-rows: auto 1fr; }
.f-navy { background: var(--navy); color: var(--white); }
.f-ice { background: var(--ice); color: var(--navy); }
.f-blue { background: var(--blue); color: var(--ink-dark); }
.f-white { background: var(--white); color: var(--navy); }
@media (max-width: 1000px) {
  .field { min-height: 64svh; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
  .field h2, .field--alt h2 { font-size: clamp(48px, 11vw, 96px); text-align: left; }
  .field p { max-width: 40ch; }
  .field--alt p { align-self: flex-end; text-align: right; }
}

/* Showcase: one frame, three distances (laid side by side) */
.show { padding: var(--sect) var(--m) calc(var(--sect) * .5); }
.show h2 { font-size: var(--step-xl); font-weight: 800; letter-spacing: -.045em; line-height: .96; max-width: 16ch; margin-bottom: 64px; }
.show__grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: auto auto; gap: 40px var(--gap); }
.show__frame figcaption { margin-top: 14px; max-width: 34ch; }
.show__frame figcaption b { font-weight: 700; }
.show__zoom { position: relative; overflow: hidden; background: var(--ice); }
.show__frame--whole { grid-column: 1 / span 6; grid-row: 1 / span 2; }
.show__frame--whole .show__zoom { aspect-ratio: 4 / 5; }
.show__frame--cis, .show__frame--comp { grid-column: 8 / -1; display: grid; grid-template-columns: 1fr; }
.show__frame--cis .show__zoom, .show__frame--comp .show__zoom { aspect-ratio: 16 / 9; }
.show__zoom .ui { position: absolute; inset: 0; }
.ui--detail { justify-content: center; padding: 0 32px; font-size: clamp(15px, 1.5vw, 22px); background: var(--white); }
.ui--detail .ui__comp { margin: 0; padding: 20px 24px; }
.ui--detail .ui__comp b { font-size: 1.15em; }
.ui--detail td { padding: .5em 0; }
@media (max-width: 860px) {
  .show__grid { grid-template-columns: 1fr; }
  .show__frame--whole, .show__frame--cis, .show__frame--comp { grid-column: 1; grid-row: auto; }
  .show h2 { font-size: 10vw; }
}

/* The interface fragment */
.ui { position: absolute; inset: 0; padding: 22px; font-size: 13px; line-height: 1.35; color: #1d2733; background: #fff; display: flex; flex-direction: column; gap: 10px; }
.ui__bar { display: flex; justify-content: space-between; align-items: center; background: var(--navy); color: #fff; margin: -18px -18px 0; padding: 10px 18px; font-weight: 700; font-size: 13px; }
.ui__bar span:last-child { font-weight: 600; color: var(--sky); }
.ui h4 { margin: 0; font-size: 18px; letter-spacing: -.01em; color: var(--navy); }
.ui__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; color: #3a4552; }
.ui__meta b { display: block; color: #1d2733; }
.ui table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.ui th, .ui td { text-align: left; padding: 5px 0; border-bottom: 1px solid #e3e8ee; }
.ui td:last-child, .ui th:last-child { text-align: right; }
.ui th { color: #5b6672; font-weight: 600; }
.ui .ui-cis td { background: #EAF6FF; font-weight: 700; color: var(--navy); }
.ui .ui-tot td { font-weight: 800; border-bottom: 0; font-size: 15px; }
.ui__comp { margin-top: auto; background: var(--ice); padding: 10px 12px; display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; color: var(--navy); }
.ui__comp b { font-size: 14px; }
.ui__comp .tag { grid-row: 1 / span 2; grid-column: 2; align-self: center; background: var(--navy); color: #fff; padding: 4px 8px; font-weight: 700; }

/* CIS calculator */
.cis { padding: var(--sect) var(--m) calc(var(--sect) * .7); display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: start; }
.cis__say { grid-column: 1 / span 5; display: grid; gap: 24px; }
.cis__say h2, .mods h2 { font-size: var(--step-head); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.cis__say p { max-width: 40ch; }
.cis__say figure { margin-top: 16px; aspect-ratio: 4 / 5; overflow: hidden; max-width: 420px; }
.cis__say figure img { width: 100%; height: 100%; object-fit: cover; }
.calc { grid-column: 7 / -1; background: var(--ice); padding: 40px; display: grid; gap: 24px; position: sticky; top: 40px; }
.calc fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.calc legend, .calc label.f { font-weight: 700; font-size: var(--step-body); margin-bottom: 6px; }
.calc .money { display: flex; align-items: center; background: var(--white); min-height: 56px; padding: 0 16px; font-size: var(--step-lead); font-weight: 700; }
.calc .money span { color: var(--slate); margin-right: 6px; }
.calc input[type=number] { border: 0; background: transparent; font: inherit; color: var(--navy); width: 100%; min-height: 54px; }
.calc input[type=number]:focus { outline: none; }
.calc .money:focus-within { outline: 3px solid var(--blue); outline-offset: 0; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.seg label { position: relative; display: block; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: grid; place-items: center; text-align: center; min-height: 64px; padding: 8px; background: var(--white); font-size: var(--step-small); font-weight: 600; line-height: 1.25; transition: background-color .2s, color .2s; }
.seg span b { display: block; font-size: var(--step-lead); }
.seg label:hover span { background: #d6ecfb; }
.seg input:checked + span { background: var(--navy); color: var(--white); }
.seg input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.out { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; font-variant-numeric: tabular-nums; padding-top: 8px; }
.out dt { font-size: var(--step-body); }
.out dd { font-size: var(--step-body); font-weight: 700; text-align: right; }
.out dt.big { font-size: var(--step-lead); font-weight: 700; align-self: center; }
.out dd.big { font-size: var(--step-head); font-weight: 800; letter-spacing: -.02em; color: var(--navy); }
.calc .note { font-size: var(--step-small); color: var(--slate); }
@media (max-width: 860px) {
  .cis { grid-template-columns: 1fr; }
  .cis__say, .calc { grid-column: 1; }
  .calc { position: static; padding: 24px 20px; }
  .seg span { font-size: 14px; }
}

/* Modules */
.mods { padding: calc(var(--sect) * .5) var(--m) var(--sect); display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); }
.mods__say { grid-column: 1 / span 5; display: grid; gap: 24px; align-content: start; position: sticky; top: 40px; align-self: start; }
.mods__say figure { aspect-ratio: 16 / 10; overflow: hidden; }
.mods__say figure img { width: 100%; height: 100%; object-fit: cover; }
.mods dl { grid-column: 7 / -1; display: grid; gap: 36px; }
.mods dt { font-size: var(--step-lead); font-weight: 700; letter-spacing: -.02em; }
.mods dd { margin-top: 6px; max-width: 52ch; }
@media (max-width: 860px) { .mods { grid-template-columns: 1fr; } .mods__say, .mods dl { grid-column: 1; position: static; } .mods dl { margin-top: 32px; } }

/* Packages: the offer as a sentence */
.pack { background: var(--ice); min-height: 80svh; padding: 140px var(--m) 120px; display: grid; gap: 72px; }
.pack h2 { font-size: var(--step-xl); font-weight: 800; letter-spacing: -.045em; line-height: .96; max-width: 14ch; }
.pack h2 .fig { display: inline-block; background: var(--blue); color: var(--white); padding: 0 .15em; line-height: 1; }
.pack__row { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: start; }
.pkg { grid-column: span 3; display: grid; gap: 10px; }
.pkg h3 { font-size: var(--step-lead); font-weight: 800; letter-spacing: -.02em; }
.pkg--add { grid-column: span 3; }
.pack__act { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.pack__act p { font-size: var(--step-lead); max-width: 40ch; }
@media (max-width: 1000px) { .pkg, .pkg--add { grid-column: span 6; } }
@media (max-width: 700px) { .pack { padding: 100px var(--m); gap: 48px; } .pack h2 { font-size: 10.4vw; } .pkg, .pkg--add { grid-column: 1 / -1; } .pack__act .btn { width: 100%; } }

/* About: portrait as drop cap */
.about { padding: var(--sect) var(--m); display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); }
.about h2 { grid-column: 3 / -1; font-size: var(--step-head); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; margin-bottom: 28px; }
.about__facts { grid-column: 1 / span 2; grid-row: 2; display: grid; gap: 22px; align-content: start; font-size: var(--step-small); }
.about__facts b { display: block; font-size: var(--step-body); }
.about__text { grid-column: 3 / -1; grid-row: 2; font-size: var(--step-lead); line-height: 1.3; letter-spacing: -.01em; }
.about__text p + p { margin-top: 1.2em; color: var(--slate); }
.about__text .cap { float: left; width: 3.9em; height: 3.9em; margin: .18em .5em 0 0; object-fit: cover; }
.about__text strong { font-weight: 700; }
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .about h2, .about__text, .about__facts { grid-column: 1; grid-row: auto; }
  .about__text { font-size: 21px; }
  .about__text .cap { width: 110px; height: 110px; }
  .about__facts { grid-template-columns: repeat(3, 1fr); gap: 12px; font-size: 14px; margin-top: 32px; }
}

/* Quotation spread */
.quote { background: var(--navy); color: var(--white); padding: 160px var(--m); }
.quote h2 { font-size: 18px; font-weight: 600; color: var(--sky); margin-bottom: 64px; }
.quote blockquote { font-size: var(--step-xl); font-weight: 800; letter-spacing: -.045em; line-height: 1; display: grid; gap: .5em; }
.quote .row { display: flex; justify-content: space-between; gap: .3em; }
.quote figcaption { margin-top: 72px; display: flex; justify-content: space-between; font-size: var(--step-body); gap: 16px; }
@media (max-width: 700px) {
  .quote { padding: 110px var(--m); }
  .quote blockquote { font-size: 9.6vw; gap: .35em; }
  .quote figcaption { flex-direction: column; font-size: 15px; }
  .quote figcaption span:nth-child(2) { align-self: center; } .quote figcaption span:nth-child(3) { align-self: flex-end; }
}

/* Contact: the email as display type */
.contact { background: var(--blue); color: var(--ink-dark); min-height: 100svh; padding: 64px var(--m) 40px; display: grid; grid-template-rows: auto 1fr auto auto; gap: 24px; }
.contact h2 { font-size: var(--step-head); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
.contact__lead { font-size: var(--step-lead); max-width: 34ch; }
.mail { align-self: end; display: block; font-size: var(--step-xl); font-weight: 700; letter-spacing: -.05em; line-height: 1; text-decoration: none; margin-bottom: 8vh; white-space: nowrap; transition: color .25s; }
.mail:hover { color: var(--white); }
.contact__foot { display: flex; justify-content: space-between; gap: 24px; font-size: var(--step-body); flex-wrap: wrap; }
.contact__foot a { text-decoration: none; font-weight: 700; }
.contact__foot a:hover { text-decoration: underline; }
@media (max-width: 1000px) { .contact { min-height: 0; gap: 40px; } .mail { margin-bottom: 0; } }
@media (max-width: 700px) { .mail { font-size: 10.6vw; white-space: normal; } .mail .at { display: block; } .contact__foot { flex-direction: column; gap: 10px; } }

/* Footer: invitation over a cropped name */
.foot { background: var(--navy); color: var(--white); min-height: 100svh; padding: 96px var(--m) 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto 1fr auto auto; column-gap: var(--gap); overflow: hidden; }
.foot__inv { grid-column: 1 / span 7; display: grid; gap: 32px; align-content: start; }
.foot__inv h2 { font-size: var(--step-head); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.foot__inv .btn { justify-self: start; }
.foot__visit { grid-column: 9 / -1; display: grid; gap: 18px; align-content: start; font-size: var(--step-small); }
.foot__visit h3 { font-size: var(--step-body); font-weight: 700; }
.foot__visit p b { display: block; color: var(--sky); }
.foot__legal { grid-column: 1 / -1; grid-row: 3; display: flex; justify-content: space-between; align-items: end; gap: 24px; font-size: var(--step-small); padding-top: 56px; flex-wrap: wrap; }
.foot__legal img { width: 72px; }
.foot__name { grid-column: 1 / -1; grid-row: 4; font-size: 27vw; font-weight: 800; letter-spacing: -.06em; line-height: .8; white-space: nowrap; transform: translateY(24%); margin-left: -.04em; color: var(--blue); }
@media (max-width: 860px) {
  .foot { grid-template-columns: minmax(0, 1fr); padding-top: 80px; }
  .foot__inv, .foot__visit, .foot__legal, .foot__name { grid-column: 1; grid-row: auto; }
  .foot__visit { margin-top: 56px; }
  .foot__name { font-size: 34vw; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
.nf { padding: 20vh var(--m, 32px); display: grid; gap: 24px; } .nf h1 { font-size: clamp(40px, 6vw, 84px); line-height: 1; letter-spacing: -.03em; }
