
@font-face { font-family: "Gloock"; src: url("/assets/fonts/Gloock-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Libre Franklin"; src: url("/assets/fonts/LibreFranklin-var.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }
:root { --navy: #0a1f33; --cream: #f6f0e4; --ink: #f3ede2; --sky: #6bb8e3; --green: #baeec0; --grey: #a9b9c9; --action: #0d6ea3; --red: #e5633f; --line: rgba(243, 237, 226, .16); --hd: 72px; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--navy); color: var(--ink); font: 400 17px/1.6 "Libre Franklin", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 60; padding: 10px 14px; background: var(--cream); color: var(--navy); } .skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: clamp(24px, 5.6vw, 80px); }
.serif { font-family: "Gloock", Georgia, serif; font-weight: 400; letter-spacing: -0.012em; }
.go { flex: none; transition: transform 260ms cubic-bezier(.22, 1, .36, 1); }
a:hover > .go, a:hover .go { transform: translateX(5px); }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none; color: var(--sky); }
.more:hover { text-decoration: underline; text-underline-offset: 4px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; white-space: nowrap; font-weight: 500; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; background: var(--green); color: var(--navy); transition: transform 160ms ease, background-color 160ms ease, color 160ms ease; }
.btn:hover { transform: translateY(-1px); background: #cdf5d1; } .btn:active { transform: translateY(1px); }
.sec { padding-top: clamp(88px, 10vw, 152px); scroll-margin-top: 0; }
.h2 { font: 400 clamp(30px, 2.6vw, 38px)/1.1 "Gloock", Georgia, serif; letter-spacing: -0.012em; color: var(--grey); }
.lead { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.5; max-width: 58ch; }
.sub { margin-top: 14px; color: var(--grey); max-width: 52ch; }
/* header */
.hd { position: relative; z-index: 5; height: var(--hd); display: flex; align-items: center; }
.hd .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hd__logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 400 24px/1 "Gloock", Georgia, serif; letter-spacing: -0.012em; }
.hd__logo img { height: 30px; width: auto; }
.hd__nav { display: flex; gap: clamp(16px, 2vw, 28px); font-weight: 500; font-size: 16px; }
.hd__nav a { text-decoration: none; opacity: .84; transition: opacity 150ms; } .hd__nav a:hover, .hd__nav a[aria-current] { opacity: 1; }
.hd__side { display: flex; align-items: center; gap: 20px; }
.hd__side > a:not(.btn) { text-decoration: none; opacity: .84; }
.btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(243, 237, 226, .5); } .btn--line:hover { background: var(--cream); color: var(--navy); }
.hd__toggle { display: none; width: 44px; height: 44px; background: transparent; border: 1px solid rgba(243, 237, 226, .5); cursor: pointer; place-items: center; }
@media (max-width: 1023px) {
  .hd__toggle { display: grid; } .hd__side > a:not(.btn) { display: none; }
  .hd__nav { display: none; position: absolute; left: 0; right: 0; top: var(--hd); flex-direction: column; gap: 0; padding: 8px clamp(24px, 5.6vw, 80px) 24px; background: var(--navy); border-bottom: 1px solid var(--line); font-size: 20px; }
  .hd__nav a { padding: 12px 0; opacity: 1; } .hd.is-open .hd__nav { display: flex; }
}
@media (max-width: 479px) { .hd .btn { min-height: 40px; padding: 0 12px; font-size: 14px; } .hd__side { gap: 10px; } }
.hd__nav .hd__cta, .hd__nav .hd__lang { display: none; }
@media (max-width: 1023px) { .hd__nav .hd__lang { display: block; color: var(--sky); } }
@media (max-width: 479px) { .hd .hd__side .btn { display: none; } .hd__nav .hd__cta { display: block; color: var(--green); } }
/* the opening of a page: the headline across the width; a photograph fills the right and dissolves into the navy */
.open { position: relative; overflow: hidden; min-height: calc(100vh - var(--hd)); min-height: calc(100svh - var(--hd)); display: grid; grid-template-rows: 1fr auto; margin-top: calc(var(--hd) * -1); padding-top: var(--hd); }
.open--page { min-height: clamp(380px, 58vh, 620px); min-height: clamp(380px, 58svh, 620px); }
.open__pic { position: absolute; inset: 0 0 0 auto; width: 70%; }
/* the opening's entrance runs by itself, without the script, so the headline and photograph can never stay hidden */
@keyframes in-fade { from { opacity: 0; } } @keyframes in-rise { from { transform: translateY(24px); } } @keyframes in-settle { from { transform: scale(1.05); } }
.open__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .92; animation: in-fade 700ms ease both, in-settle 1600ms cubic-bezier(.16, 1, .3, 1) both; }
.open__pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0a1f33 0%, rgba(10,31,51,.72) 14%, rgba(10,31,51,.26) 40%, rgba(10,31,51,0) 70%), linear-gradient(0deg, #0a1f33 0%, rgba(10,31,51,.5) 14%, rgba(10,31,51,0) 40%), linear-gradient(180deg, rgba(10,31,51,.6) 0%, rgba(10,31,51,0) 20%); }
.open > .wrap { position: relative; z-index: 1; }
.open__head { align-self: center; padding-top: clamp(40px, 6vw, 88px); }
.open h1 { font-size: clamp(42px, 7vw, 108px); line-height: 1; }
.open h1 span { display: block; animation: in-fade 800ms ease both, in-rise 1000ms cubic-bezier(.16, 1, .3, 1) both; }
.open h1 span + span { animation-delay: 160ms; color: var(--green); }
.open__foot { padding-block: clamp(32px, 4vw, 56px) clamp(40px, 5vw, 72px); display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 28px 48px; }
.open__lead { max-width: 44ch; font-size: clamp(17px, 1.35vw, 20px); color: #dbe3ea; }
.open--page .open__lead { max-width: 56ch; }
.open__row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.open .more { color: var(--ink); }
/* services on the homepage: four names set large, like the lines of a poster; each is a link */
.svc__list { margin-top: clamp(28px, 3.4vw, 48px); }
.svc__list a { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: baseline; padding-block: clamp(12px, 1.5vw, 20px); text-decoration: none; transition: opacity 220ms ease; }
.svc__name { grid-column: 1 / span 7; font-size: clamp(32px, 4.9vw, 74px); line-height: 1.04; transition: color 220ms ease; }
.svc__line { grid-column: 8 / span 4; color: var(--grey); align-self: center; }
.svc__list .go { grid-column: 12; justify-self: end; align-self: center; color: var(--sky); width: 22px; height: 22px; }
.svc__list:hover a:not(:hover) { opacity: .45; } .svc__list a:hover .svc__name, .svc__list a:focus-visible .svc__name { color: var(--green); }
.svc__close { margin-top: clamp(40px, 5vw, 72px); display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: baseline; font-size: clamp(19px, 1.6vw, 23px); }
/* industries: the chosen sector's name very large on the left, the eight names as a list on the right */
.ind__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; margin-top: clamp(40px, 5vw, 72px); align-items: start; }
.ind__show { grid-column: 1 / span 7; min-height: clamp(220px, 22vw, 330px); }
.ind__big { font-size: clamp(40px, 6.4vw, 100px); line-height: .98; color: var(--sky); }
.ind__text { margin-top: 24px; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.45; max-width: 34ch; }
.ind__list { grid-column: 9 / -1; display: grid; gap: 2px; }
.ind__list button { all: unset; cursor: pointer; display: block; padding: 7px 0; font-weight: 500; font-size: clamp(19px, 1.6vw, 23px); color: var(--grey); transition: color 160ms ease, padding-left 220ms cubic-bezier(.22, 1, .36, 1); }
.ind__list button:hover, .ind__list button[aria-pressed="true"] { color: var(--ink); padding-left: 14px; }
.ind__list button:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
.ind__list p { display: none; }
.ind__more { margin-top: clamp(32px, 4vw, 56px); }
/* why: the statement, the field of rings with one filled, the four points one under another */
.why__say { margin-top: 24px; font-size: clamp(32px, 4.55vw, 70px); line-height: 1.06; }
.why__say span { display: block; } .why__say span + span { padding-left: clamp(0px, 9vw, 150px); color: var(--green); }
.why__say.is-split b { font-weight: 400; opacity: .5; transition: opacity 320ms ease; } .why__say.is-split b.lit { opacity: 1; }
.why__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; margin-top: clamp(64px, 8vw, 120px); align-items: start; }
.rings { grid-column: 1 / span 5; width: 100%; height: auto; position: sticky; top: 120px; }
.rings circle { fill: none; stroke: var(--grey); stroke-width: 1.3; opacity: calc(0.7 - (var(--p, 0.3) - 0.3) * 2.4); transition: opacity 200ms linear; }
.rings .one { fill: var(--red); stroke: none; opacity: 1; }
.rows { grid-column: 7 / -1; display: grid; gap: clamp(40px, 4.8vw, 68px); }
.rows h3 { font: 400 clamp(28px, 2.5vw, 38px)/1.1 "Gloock", Georgia, serif; letter-spacing: -0.012em; }
.rows p { margin-top: 12px; color: var(--grey); max-width: 40ch; }
/* about: the paragraph, then a photograph across the page with the founder's words set over it */
.about .lead { margin-top: 24px; }
.band { position: relative; overflow: hidden; margin-top: clamp(40px, 5vw, 72px); min-height: clamp(360px, 44vw, 640px); display: grid; align-items: end; }
.band > img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; opacity: .9; transform: translate3d(0, calc((var(--p, .5) - .5) * -70px), 0); transition: transform 300ms linear; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #0a1f33 0%, rgba(10,31,51,.1) 30%, rgba(10,31,51,.35) 60%, #0a1f33 100%), linear-gradient(90deg, rgba(10,31,51,.8) 0%, rgba(10,31,51,.25) 55%, rgba(10,31,51,.5) 100%); }
.band .wrap { position: relative; z-index: 1; padding-bottom: clamp(8px, 2vw, 32px); }
.quote blockquote { font-size: clamp(32px, 4.6vw, 72px); line-height: 1.06; max-width: 15em; }
.quote figcaption { margin-top: 20px; color: var(--grey); }
.band .more { margin-top: 28px; }
/* the track record: one figure very large; each client's name at headline size beside its letter on a cream sheet */
.figs { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; margin-top: 20px; }
.fig--lead { grid-column: 1 / span 8; } .fig--lead .fig__n { font-size: clamp(104px, 17vw, 252px); line-height: .86; color: var(--sky); }
.fig__n i { font-style: normal; color: var(--green); }
.fig__l { display: block; margin-top: 28px; font-size: clamp(16px, 1.3vw, 19px); color: var(--grey); }
.figs__side { grid-column: 9 / -1; display: grid; gap: clamp(24px, 3vw, 40px); padding-bottom: 6px; }
.figs__side .fig__n { font-size: clamp(44px, 5vw, 72px); line-height: 1; } .figs__side .fig__l { margin-top: 8px; font-size: 16px; }
.pin { margin-top: clamp(56px, 7vw, 96px); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px 36px; margin-bottom: 32px; }
.tab { all: unset; cursor: pointer; font-weight: 500; font-size: 17px; color: var(--grey); padding-bottom: 6px; border-bottom: 2px solid transparent; transition: color 200ms, border-color 200ms; }
.tab:hover { color: var(--ink); } .tab.is-on { color: var(--ink); border-bottom-color: var(--green); } .tab:focus-visible { outline: 2px solid var(--green); outline-offset: 6px; }
.step { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 20px; }
.step__text { grid-column: 1 / span 6; align-self: start; }
.step__big { font-size: clamp(40px, 6.2vw, 98px); line-height: .98; }
.step__line { margin-top: 28px; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.4; max-width: 30ch; }
.step__cite { display: block; margin-top: 10px; font-size: 15px; color: var(--grey); }
.sheet { grid-column: 8 / -1; display: flex; flex-direction: column; background: var(--cream); color: var(--navy); padding: clamp(22px, 2.4vw, 34px); font-size: var(--lt, 15.5px); line-height: 1.6; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.sheet__top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: .85em; border-bottom: 1px solid #d8d0bf; }
.sheet__from { font: 400 1.5em/1.15 "Gloock", Georgia, serif; letter-spacing: -0.012em; } .sheet__date { font-size: .875em; white-space: nowrap; opacity: .7; }
.sheet__body { display: grid; gap: .7em; padding: 1.1em 0 1.3em; } .sheet__sign { padding-top: .4em; } .sheet__note { opacity: .7; }
.sheet__foot { margin-top: auto; padding-top: .85em; font-size: .875em; border-top: 1px solid #d8d0bf; }
.sheet .key, .sheet .more { color: var(--action); }
.pin.is-live { height: 200vh; height: 200svh; }
.pin.is-live .pin__stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; align-content: center; }
.pin.is-live .steps { position: relative; height: min(calc(100vh - 250px), 600px); height: min(calc(100svh - 250px), 600px); }
.pin.is-live .step { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 380ms ease, visibility 0s 380ms; }
.pin.is-live .step.is-on { opacity: 1; visibility: visible; transition: opacity 380ms ease; }
.pin.is-live .sheet { height: 100%; overflow: hidden; transform: translate3d(0, 56px, 0); transition: transform 620ms cubic-bezier(.16, 1, .3, 1); }
.pin.is-live .step.is-on .sheet { transform: none; } .pin.is-live .step.is-past .sheet { transform: translate3d(0, -28px, 0); }
.pin.is-live .step__big { transform: translate3d(0, 20px, 0); transition: transform 620ms cubic-bezier(.16, 1, .3, 1); } .pin.is-live .step.is-on .step__big { transform: none; }
.pin:not(.is-live) .tabs { display: none; } .pin:not(.is-live) .step { margin-bottom: 48px; } .pin:not(.is-live) .rest { display: none; }
.pin:not(.is-live) .key { color: var(--navy); } .pin:not(.is-live) .key::before { content: "“"; } .pin:not(.is-live) .key::after { content: "”"; }
/* recognition: five entries on one line, oldest first; an entry opens its plaque */
.recog .lead { margin-top: 20px; }
.tl { margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: 24px; border-top: 1px solid rgba(243, 237, 226, .4); }
.tl li { position: relative; padding-top: 28px; }
.tl li::before { content: ""; position: absolute; left: 0; top: -9px; width: 1px; height: 18px; background: var(--ink); }
.tl a { display: grid; gap: 8px; text-decoration: none; }
.tl__years { font: 400 clamp(28px, 2.9vw, 44px)/1 "Gloock", Georgia, serif; letter-spacing: -0.012em; color: var(--sky); margin-bottom: 8px; transition: color 200ms; }
.tl__name { font-weight: 500; line-height: 1.35; } .tl__name .go { display: inline-block; vertical-align: -2px; margin-left: 6px; color: var(--sky); }
.tl__by, .tl__zh { font-size: 15px; line-height: 1.5; color: var(--grey); }
.tl a:hover .tl__years, .tl a:focus-visible .tl__years { color: var(--green); }
/* client logos: one cream sheet, because their colours were made for a light surface */
.logos { margin-top: clamp(28px, 3.4vw, 48px); background: var(--cream); padding: clamp(36px, 4.6vw, 72px) clamp(24px, 4vw, 64px); display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(32px, 3.6vw, 52px) clamp(40px, 5vw, 80px); }
.logos img { max-height: 50px; width: auto; height: auto; max-width: 170px; } .logos img.tall { max-height: 72px; }
/* the form: its heading large on the navy, the fields on a cream sheet */
.role { padding-bottom: clamp(88px, 10vw, 152px); scroll-margin-top: 0; }
.role__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px; align-items: start; }
.role__text { grid-column: 1 / span 5; position: sticky; top: 48px; }
.role__h { font-size: clamp(38px, 5.2vw, 80px); line-height: 1; }
.role__text p { margin-top: 24px; max-width: 36ch; }
.role__alt { color: var(--grey); } .role__alt a { color: var(--ink); }
.role__sheet { grid-column: 7 / -1; background: var(--cream); color: var(--navy); padding: clamp(24px, 3vw, 44px); }
.seekers { padding-bottom: 24px; margin-bottom: 28px; border-bottom: 1px solid #d8d0bf; font-size: 16px; }
.role__sheet a, .onnavy-notice a { color: var(--action); } .onnavy-notice { max-width: 62ch; } .onnavy-notice a { color: var(--sky); }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 20px; }
.field { display: grid; gap: 6px; } .field--full, .form > p, .form > .consent, .form > div.btn-row { grid-column: 1 / -1; }
.field label { font-weight: 500; font-size: 15px; }
.field input, .field textarea { width: 100%; min-height: 48px; padding: 10px 12px; background: #fff; border: 1px solid #cdc4b2; border-radius: 0; color: var(--navy); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--action); outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field__error { color: #b3261e; font-size: 14px; }
.form small, .form .small { font-size: 14px; color: #40586b; }
.consent { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; } .consent input { width: 22px; height: 22px; margin: 3px 0 0; accent-color: var(--action); } .consent .field__error { grid-column: 1 / -1; }
.form .btn { background: var(--navy); color: var(--ink); } .form .btn:hover { background: #123452; }
.form__status { min-height: 1.6em; font-weight: 500; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* footer */
.ft { border-top: 1px solid var(--line); padding-block: clamp(40px, 5vw, 64px) 32px; }
.ft__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 32px; }
.ft__id { grid-column: 1 / span 5; } .ft__id p { margin-top: 16px; color: var(--grey); max-width: 34ch; }
.ft__col { grid-column: span 2; } .ft__col:first-of-type { grid-column: 7 / span 2; }
.ft__col h3 { font: 500 15px/1.4 "Libre Franklin", sans-serif; color: var(--grey); margin-bottom: 12px; }
.ft__col ul { display: grid; gap: 8px; } .ft__col a { text-decoration: none; } .ft__col a:hover { color: var(--green); }
.ft__legal { margin-top: clamp(32px, 4vw, 56px); padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between; font-size: 14px; color: var(--grey); }
/* inner pages */
.rowlist { margin-top: clamp(28px, 3.4vw, 48px); display: grid; gap: clamp(40px, 5vw, 72px); }
.rowlist > li, .rowlist > div { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 12px; scroll-margin-top: 40px; }
.rowlist h3, .rowlist h2 { grid-column: 1 / span 5; font: 400 clamp(30px, 3.2vw, 48px)/1.06 "Gloock", Georgia, serif; letter-spacing: -0.012em; }
.rowlist > li > div, .rowlist > div > div { grid-column: 7 / -1; } .rowlist p { max-width: 56ch; } .rowlist p + p { margin-top: 12px; }
.rowlist--sm h3, .rowlist--sm h2 { font-size: clamp(26px, 2.3vw, 34px); }
.bigfig { margin-top: 12px; font-size: clamp(40px, 13.2vw, 160px); line-height: .92; color: var(--sky); white-space: nowrap; }
.bigfig + p { margin-top: 28px; } .note { margin-top: 12px; color: var(--grey); max-width: 56ch; }
.stairs { margin-top: clamp(36px, 4.4vw, 64px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px; counter-reset: s; }
.stairs > div { counter-increment: s; } .stairs > div:nth-child(2) { margin-top: 56px; } .stairs > div:nth-child(3) { margin-top: 112px; } .stairs > div:nth-child(4) { margin-top: 168px; }
.stairs > div::before { content: counter(s); display: block; font: 400 clamp(56px, 6vw, 92px)/.9 "Gloock", Georgia, serif; color: var(--sky); margin-bottom: 20px; }
.stairs h3 { font: 600 clamp(19px, 1.6vw, 22px)/1.25 "Libre Franklin", sans-serif; } .stairs p { margin-top: 10px; color: var(--grey); }
.say { margin-top: 24px; font-size: clamp(28px, 3.5vw, 54px); line-height: 1.1; max-width: 22em; }
.press { margin-top: 24px; max-width: 64ch; } .press strong { font-weight: 600; } .press blockquote { margin-top: 20px; padding-left: 20px; border-left: 2px solid var(--sky); font-size: clamp(19px, 1.6vw, 23px); }
.dl { margin-top: clamp(28px, 3.4vw, 48px); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: 24px; max-width: 980px; }
.dl dt, .dl dd { padding: 16px 0; border-top: 1px solid var(--line); } .dl dt { color: var(--grey); } .dl a { color: var(--ink); text-underline-offset: 3px; }
.dl dt:first-of-type, .dl dt:first-of-type + dd { border-top: 0; }
.rules { margin-top: clamp(28px, 3.4vw, 48px); display: grid; gap: 28px; counter-reset: r; max-width: 900px; }
.rules li { counter-increment: r; display: grid; grid-template-columns: clamp(56px, 6vw, 96px) minmax(0, 1fr); align-items: baseline; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.35; }
.rules li::before { content: counter(r); font: 400 clamp(44px, 4.6vw, 72px)/.9 "Gloock", Georgia, serif; color: var(--sky); }
.ph { outline: 1px dashed var(--red); outline-offset: 3px; }
.end { height: clamp(88px, 10vw, 152px); }
/* the viewer: a plaque or an original letter, opened over the page */
.viewer { border: 0; padding: 0; margin: 0; background: transparent; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; overflow: auto; }
.viewer[open] { display: grid; place-items: center; } .viewer::backdrop { background: rgba(4, 14, 24, .86); }
.viewer__sheet { position: relative; margin: 64px 16px 24px; padding: 14px 14px 12px; background: #fff; color: var(--navy); max-width: min(calc(100vw - 32px), 880px); }
.viewer__sheet img { margin: 0 auto; max-height: calc(100dvh - 190px); width: auto; height: auto; }
.viewer__row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-top: 10px; } .viewer__cap { font-size: 14px; color: #40586b; max-width: 70ch; }
.viewer__nav { display: none; gap: 6px; flex: none; } .viewer--many .viewer__nav { display: flex; }
.viewer__nav button { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid #cdc4b2; background: #fff; color: var(--navy); cursor: pointer; } .viewer__prev svg { transform: rotate(180deg); }
.viewer__close { position: fixed; z-index: 2; right: 16px; top: 14px; height: 36px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .7); background: rgba(4, 14, 24, .86); color: #fff; font-weight: 500; font-size: 14px; cursor: pointer; }
@media (max-width: 1023px) {
  .svc__name, .svc__line { grid-column: 1 / span 11; } .svc__list a { row-gap: 6px; } .svc__list .go { grid-row: 1; }
  .ind__show { display: none; } .ind__list { grid-column: 1 / -1; gap: 24px; }
  .ind__list button { color: var(--ink); padding: 0; font: 400 clamp(28px, 5vw, 38px)/1.1 "Gloock", Georgia, serif; cursor: default; } .ind__list button:hover, .ind__list button[aria-pressed="true"] { padding-left: 0; }
  .ind__list p { display: block; margin-top: 6px; color: var(--grey); max-width: 52ch; }
  .rings { grid-column: 1 / -1; position: static; max-width: 440px; margin-bottom: 48px; } .rows { grid-column: 1 / -1; }
  .fig--lead, .figs__side, .step__text, .sheet, .role__text, .role__sheet { grid-column: 1 / -1; } .role__text { position: static; }
  .figs__side { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 32px; }
  .tl { grid-template-columns: minmax(0, 1fr); row-gap: 44px; border-top: 0; border-left: 1px solid rgba(243, 237, 226, .4); padding-left: 24px; } .tl li { padding-top: 0; } .tl li::before { left: -33px; top: 18px; width: 18px; height: 1px; }
  .ft__id, .ft__col, .ft__col:first-of-type { grid-column: span 6; } .ft__id { grid-column: 1 / -1; }
  .rowlist h3, .rowlist h2, .rowlist > li > div, .rowlist > div > div { grid-column: 1 / -1; }
  .stairs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stairs > div:nth-child(n) { margin-top: 0; }
}
@media (max-width: 767px) {
  .open { min-height: 92vh; min-height: 92svh; } .open--page { min-height: 0; padding-bottom: 8px; } .open--page .open__head { padding-top: 96px; }
  .open__pic { width: 100%; } .open__pic::after { background: linear-gradient(0deg, #0a1f33 0%, rgba(10,31,51,.9) 38%, rgba(10,31,51,.3) 78%, rgba(10,31,51,.6) 100%); }
  .open:not(.open--page) .open__head { align-self: end; } .open .btn, .open__row { width: 100%; } .why__say span + span { padding-left: 0; }
  .form { grid-template-columns: minmax(0, 1fr); } .dl { grid-template-columns: minmax(0, 1fr); } .dl dd { border-top: 0; padding-top: 0; } .stairs { grid-template-columns: minmax(0, 1fr); }
  .ft__col, .ft__col:first-of-type { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- sections added in the back office (site-src/lib/blocks.mjs) */
.blk { overflow-wrap: anywhere; }
.blk .h2 + * { margin-top: clamp(24px, 3vw, 40px); }
.blk__prose { display: grid; gap: 1em; max-width: 62ch; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.6; }
.zh .blk__prose { max-width: 36em; line-height: 1.85; }
.blk__two { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; }
.blk__img { grid-column: 1 / span 6; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: #0e2740; }
.blk__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.blk__body { grid-column: 8 / -1; }
.blk--pic-right .blk__img { grid-column: 7 / -1; order: 2; } .blk--pic-right .blk__body { grid-column: 1 / span 5; }
.blk__figs { list-style: none; margin: clamp(24px, 3vw, 40px) 0 0; padding: clamp(24px, 3vw, 40px) 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: clamp(28px, 3vw, 48px); }
.blk--figs .h2 + .blk__figs { margin-top: clamp(24px, 3vw, 40px); }
.blk__n { display: block; font-size: clamp(48px, 6vw, 88px); line-height: 1; color: var(--sky); }
.zh .blk__n { font-family: "Gloock", Georgia, serif; font-weight: 400; }
.blk__l { display: block; margin-top: 12px; font-size: clamp(16px, 1.3vw, 19px); color: var(--grey); }
.blk__quote { margin: 0; padding-left: clamp(18px, 2.4vw, 36px); border-left: 2px solid var(--sky); }
.blk__quote blockquote { margin: 0; max-width: 26em; font-size: clamp(24px, 2.8vw, 40px); line-height: 1.3; }
.zh .blk__quote blockquote { line-height: 1.55; font-size: clamp(22px, 2.4vw, 34px); }
.blk__quote figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: clamp(20px, 2.4vw, 32px); color: var(--grey); }
.blk__logo { display: inline-flex; background: var(--cream); padding: 12px 20px; } .blk__logo img { max-height: 40px; max-width: 150px; width: auto; height: auto; }
.blk__faq { max-width: 920px; border-top: 1px solid var(--line); }
.blk__faq details { border-bottom: 1px solid var(--line); }
.blk__faq summary { position: relative; padding: 20px 40px 20px 0; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.4; cursor: pointer; list-style: none; }
.blk__faq summary::-webkit-details-marker { display: none; }
.blk__faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 26px; line-height: 1; color: var(--sky); }
.blk__faq details[open] summary::after { content: "\2013"; }
.blk__faq p { max-width: 62ch; padding: 0 0 22px; line-height: 1.65; color: var(--grey); } .zh .blk__faq p { line-height: 1.85; }
.blk__todo { display: block; width: 100%; height: 100%; min-height: 120px; background: repeating-linear-gradient(45deg, rgba(243, 237, 226, .06) 0 12px, transparent 12px 24px); outline: 1px dashed var(--red); outline-offset: -1px; }
.blk__todo--logo { width: 150px; height: 50px; min-height: 0; outline-color: #b3261e; background: repeating-linear-gradient(45deg, rgba(10, 31, 51, .08) 0 10px, transparent 10px 20px); }
@media (max-width: 767px) { .blk__two { display: block; } .blk__img { margin-bottom: 24px; } }
