/* bluecheck advisors
   Azure dark · Cormorant Garamond for display · Bricolage Grotesque for reading
   Motion is slow and short-travelled, on one curve. Nothing loops except the water. */

@font-face { font-family: "Cormorant"; src: url(fonts/cormorant.woff2) format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url(fonts/cormorant-italic.woff2) format("woff2"); font-weight: 300 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Bricolage"; src: url(fonts/bricolage.woff2) format("woff2"); font-weight: 300 700; font-display: swap; }

:root {
  --night: #06111F;
  --paper: #0B1A30;
  --raised: #0E1F38;
  --ink: #ECE9E3;
  --soft: #C9CED6;
  --muted: #A3AEBD;
  --faint: #7D8BA0;
  --blue: #8EC0F2;
  --ice: #A8CBF2;
  --rule: #1F3352;
  --rule-strong: #2C4468;
  --serif: "Cormorant", "Cormorant Garamond", Garamond, Georgia, serif;
  --sans: "Bricolage", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --gutter: clamp(20px, 4.2vw, 64px);
  --max: 1360px;
  --head: 92px;
  color-scheme: dark;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scrollbar-color: var(--rule-strong) var(--night); scrollbar-width: thin; -webkit-text-size-adjust: 100%; background: var(--night); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: clip; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.62 var(--sans);
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
/* A whisper of paper grain over everything */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 400; text-wrap: balance; }
em { font-style: italic; }
::selection { background: var(--ice); color: var(--night); }
:focus-visible { outline: 1.5px solid var(--blue); outline-offset: 4px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 16px; top: -80px; z-index: 200; background: var(--ice); color: var(--night); padding: 10px 16px; font-weight: 600; }
.skip:focus { top: 16px; }
.nw { white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Type */
.label { font: 600 0.7188rem/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.label b { color: var(--blue); font-weight: 600; }
.label .tick { display: inline-block; width: 22px; height: 1px; background: var(--blue); vertical-align: middle; margin-right: 12px; transform-origin: left; }
.display { font-size: clamp(3.125rem, 8.2vw, 8rem); line-height: .94; letter-spacing: -.022em; font-weight: 400; }
.h2 { font-size: clamp(2.375rem, 4.6vw, 4.25rem); line-height: 1.02; letter-spacing: -.016em; }
.h3 { font-size: clamp(1.75rem, 2.6vw, 2.375rem); line-height: 1.1; letter-spacing: -.008em; }
.display em, .h2 em, .h3 em { color: var(--ice); }
.lede { font: italic 300 clamp(1.3125rem, 1.9vw, 1.6875rem)/1.42 var(--serif); color: var(--soft); max-width: 30em; }
.lede.sans { font: 400 clamp(1.0625rem, 1.3vw, 1.1875rem)/1.6 var(--sans); }
.body-l { font-size: clamp(1.0625rem, 1.25vw, 1.1875rem); line-height: 1.65; color: var(--soft); }
.roman { font-family: var(--serif); font-style: italic; color: var(--ice); font-feature-settings: "onum"; }

/* Links and buttons */
.link {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 0.9688rem; padding-bottom: 4px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .6s var(--ease), color .3s;
}
.link i { font-style: normal; transition: transform .5s var(--ease); }
.link:hover { background-size: 0 1px; background-position: 100% 100%; color: var(--blue); }
.link:hover i { transform: translate(3px, -3px); }
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 14px; overflow: hidden; isolation: isolate;
  padding: 17px 26px; font: 500 0.9688rem/1 var(--sans); color: var(--night); background: var(--ice);
  transition: translate .5s var(--ease), color .4s;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn i { font-style: normal; transition: transform .5s var(--ease); }
.btn:hover i { transform: translateX(4px); }
.btn.ghost { color: var(--ink); background: transparent; box-shadow: inset 0 0 0 1px var(--rule-strong); }
.btn.ghost::before { background: var(--ink); }
.btn.ghost:hover { color: var(--night); }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 60; height: var(--head);
  transition: transform .7s var(--ease), background-color .5s, backdrop-filter .5s, border-color .5s;
  border-bottom: 1px solid transparent; view-transition-name: header;
}
.site-header.is-scrolled { background: color-mix(in srgb, var(--night) 74%, transparent); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-color: var(--rule); }
.site-header.is-hidden { transform: translateY(-101%); }
.bar { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: block; padding: 12px 0; margin: -12px 0; }
.logo .lg { fill: var(--ink); } .logo .la { fill: var(--blue); }
.logo-line { height: 28px; width: auto; }
.nav { display: flex; align-items: center; gap: 38px; font-size: 0.9375rem; font-weight: 450; }
.nav a { position: relative; padding: 6px 0; color: var(--soft); transition: color .3s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .55s var(--ease); }
.nav a:hover, .nav a[aria-current] { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.nav .nav-cta { display: inline-flex; gap: 10px; align-items: center; padding: 11px 18px; color: var(--ink); box-shadow: inset 0 0 0 1px var(--rule-strong); transition: box-shadow .4s, color .4s, background-color .4s; }
.nav .nav-cta::after { display: none; }
.nav .nav-cta i { font-style: normal; color: var(--blue); transition: transform .5s var(--ease); }
.nav .nav-cta:hover { box-shadow: inset 0 0 0 1px var(--blue); background: color-mix(in srgb, var(--blue) 8%, transparent); }
.nav .nav-cta:hover i { transform: translate(2px, -2px); }
.menu-btn { display: none; align-items: center; gap: 12px; background: none; border: 0; padding: 16px 0 16px 16px; color: var(--ink); cursor: pointer; font: 600 0.7188rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.menu-btn i { position: relative; width: 22px; height: 8px; }
.menu-btn i::before, .menu-btn i::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.menu-btn i::before { top: 0; } .menu-btn i::after { top: 6.5px; }
.menu-open .menu-btn i::before { top: 3.25px; transform: rotate(18deg); }
.menu-open .menu-btn i::after { top: 3.25px; transform: rotate(-18deg); }

/* Menu overlay */
.menu { position: fixed; inset: 0; z-index: 55; background: var(--night); visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-io), visibility 0s .8s; }
.menu-open .menu { visibility: visible; clip-path: inset(0); transition: clip-path .8s var(--ease-io); }
.menu-inner { height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding-top: calc(var(--head) + 4vh); padding-bottom: max(28px, env(safe-area-inset-bottom)); }
.menu-links a { display: flex; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); font: 400 clamp(2.375rem, 9vw, 4rem)/1.05 var(--serif); letter-spacing: -.01em; }
.menu-links small { font: italic 400 1.125rem/1 var(--serif); color: var(--ice); width: 30px; }
.menu-links li { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.menu-open .menu-links li { opacity: 1; transform: none; }
.menu-open .menu-links li:nth-child(2) { transition-delay: .06s; } .menu-open .menu-links li:nth-child(3) { transition-delay: .12s; }
.menu-open .menu-links li:nth-child(4) { transition-delay: .18s; } .menu-open .menu-links li:nth-child(5) { transition-delay: .24s; }
.menu-open .menu-links li:first-child { transition-delay: .0s; }
.menu-foot { display: flex; flex-direction: column; gap: 6px; font-size: 0.9375rem; color: var(--muted); }
.menu-foot a { color: var(--ink); font-size: 1.0625rem; }

/* Home hero */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; background: var(--night); overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img, .hero-media .water { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 70%; }
.hero-media .water { opacity: 0; transition: opacity 1.6s var(--ease); }
.hero-media .water.on { opacity: 1; }
.js .hero-media { transform: scale(1.06); transition: transform 2.8s var(--ease); }
.is-ready .hero-media { transform: none; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, var(--night) 0%, color-mix(in srgb, var(--night) 84%, transparent) 36%, color-mix(in srgb, var(--night) 30%, transparent) 66%, transparent 86%),
    linear-gradient(0deg, color-mix(in srgb, var(--night) 70%, transparent) 0%, transparent 28%),
    linear-gradient(180deg, color-mix(in srgb, var(--night) 60%, transparent) 0%, transparent 18%); }
.hero-body { padding-top: calc(var(--head) + 64px); padding-bottom: 56px; }
.hero .label { margin-bottom: 30px; }
.hero h1 { max-width: 9.6em; margin-bottom: 30px; }
.hero .lede { margin-bottom: 40px; max-width: 27em; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 18px; }
.hero-foot { border-top: 1px solid color-mix(in srgb, var(--ink) 16%, transparent); }
.hero-foot .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 18px; padding-bottom: 22px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 30px; }
.facts li { font: 600 0.6875rem/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.facts li b { color: var(--ink); font-weight: 600; }
.coords { display: flex; gap: 24px; font: 600 0.6875rem/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.coords b { color: var(--ink); font-weight: 600; }

/* Section frame */
.section { position: relative; padding: clamp(104px, 12vw, 184px) 0; }
.section.night { background: var(--night); }
.label.lead { margin-bottom: clamp(20px, 2.2vw, 30px); }
.h2 { font-size: clamp(2.625rem, 5.2vw, 5.25rem); line-height: 1; letter-spacing: -.02em; font-weight: 300; }
.h2 em { color: var(--ice); }
.head-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr) 56px; gap: 24px clamp(20px, 3vw, 48px); align-items: end; margin-bottom: clamp(56px, 7vw, 104px); }
.head-row .aside { color: var(--muted); max-width: 26em; padding-bottom: .4em; }

/* Small marks: the blue check for what we handle, a quiet cross for what we don't */
.tick { width: 15px; height: 15px; flex: none; overflow: visible; position: relative; top: .2em; }
.tick path { fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.marks li { display: flex; gap: 14px; align-items: baseline; padding: 13px 0; border-top: 1px solid var(--rule); color: var(--soft); }
.marks li:first-child { border-top: 0; }
.marks.out li { color: var(--muted); }
.marks.out svg { width: .72em; height: .72em; flex: none; position: relative; top: .05em; }
.marks.out path { stroke: var(--faint); stroke-width: 1.6; stroke-linecap: round; fill: none; }

/* Opening statement (home) */
.opening .statement { font: 300 clamp(2.25rem, 4.6vw, 4.5rem)/1.1 var(--serif); letter-spacing: -.016em; max-width: 19em; }
.statement em { color: var(--ice); }
.lw { opacity: calc(.14 + var(--o, 1) * .86); transition: opacity .25s linear; }
.opening-foot { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 32px clamp(32px, 6vw, 112px); margin-top: clamp(56px, 7vw, 104px); align-items: end; }
.opening-foot p { color: var(--muted); max-width: 34em; }
.opening-foot .link { justify-self: end; }

/* The practice index: large type, with the sea blending in behind a row as you reach for it */
.pindex { border-top: 1px solid var(--rule-strong); }
.prow { position: relative; border-bottom: 1px solid var(--rule); }
.prow-h { margin: 0; font: inherit; }
.prow-sum { position: relative; width: 100%; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr) 56px; gap: 0 clamp(20px, 3vw, 48px); align-items: center; padding: clamp(30px, 3.2vw, 46px) 0; background: none; border: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.prow-sum::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--ice); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease); }
.prow .t, .prow h3:not(.sub) { display: block; font: 300 clamp(2.5rem, 5vw, 5.25rem)/1 var(--serif); letter-spacing: -.02em; transition: color .6s, transform .9s var(--ease); }
.prow .short { color: var(--muted); font-size: .97rem; line-height: 1.55; max-width: 28em; transition: color .5s; }
.prow .go { justify-self: end; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--rule-strong); font: 400 1.25rem/1 var(--sans); color: var(--ink); transition: background-color .6s var(--ease), color .5s, box-shadow .5s, transform .8s var(--ease); }
.prow-sum:hover .t, .prow-sum:hover h3, .prow.open .t { color: var(--ice); transform: translateX(10px); }
.prow-sum:hover .short, .prow.open .short { color: var(--soft); }
.prow-sum:hover .go, .prow-sum:focus-visible .go { box-shadow: inset 0 0 0 1px var(--ice); }
.prow-sum:hover::after, .prow.open .prow-sum::after { transform: scaleX(1); }
.prow-sum:focus-visible { outline-offset: -2px; }
a.prow-sum:hover .go { background: var(--ice); color: var(--night); box-shadow: none; transform: rotate(-45deg); }
.prow.open .go { background: var(--ice); color: var(--night); box-shadow: none; transform: rotate(45deg); }
.prow-body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr) 56px; gap: 0 clamp(20px, 3vw, 48px); padding: 8px 0 clamp(56px, 6vw, 88px); }
.prow-body > * { grid-column: 1; }
.prow-body .side { grid-column: 2; grid-row: 1 / span 3; }
.prow-body .lead { font-size: clamp(1.125rem, 1.35vw, 1.25rem); line-height: 1.65; color: var(--ink); max-width: 31em; }
.prow-body .for { margin-top: 26px; font-size: .94rem; color: var(--muted); max-width: 31em; }
.prow-body .for b { color: var(--soft); font-weight: 500; }
.prow-body .sub { font: 600 .6875rem/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.prow-body .out-block { margin-top: 36px; }
.prow-body[hidden] { display: none; }
.js .prow-body { overflow: hidden; }
.reg-note { margin-top: clamp(40px, 5vw, 72px); color: var(--faint); font-size: 0.8438rem; max-width: 60em; }

/* A cinematic band: one photograph, one line */
.band { position: relative; min-height: clamp(520px, 82svh, 860px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; background: var(--night); }
.band-img { position: absolute; inset: -8% 0; z-index: -2; }
.band-img img { width: 100%; height: 100%; object-fit: cover; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--paper) 0%, color-mix(in srgb, var(--night) 55%, transparent) 40%, color-mix(in srgb, var(--night) 25%, transparent) 70%, color-mix(in srgb, var(--night) 60%, transparent) 100%); }
.band .wrap { padding-bottom: clamp(64px, 8vw, 120px); }
.band blockquote { margin: 0; max-width: 15em; font: italic 300 clamp(2.5rem, 5.4vw, 5.375rem)/1.04 var(--serif); letter-spacing: -.018em; }
.band blockquote em { color: var(--ice); }
.band .label { margin-top: 30px; }

/* How we work */
.ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(40px, 6vw, 112px); }
.way { position: relative; padding: 30px 0 clamp(44px, 4vw, 60px); border-top: 1px solid var(--rule); }
.way::before { content: ""; position: absolute; left: 0; top: -1px; width: 48px; height: 1px; background: var(--ice); }
.way h3 { font-size: clamp(1.75rem, 2.5vw, 2.375rem); line-height: 1.1; font-weight: 400; margin-bottom: 12px; }
.way p { color: var(--muted); max-width: 30em; }

/* Transaction */
.closing { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 128px); align-items: center; }
.closing-copy .h2 { margin-bottom: 26px; }
.closing-copy p { color: var(--muted); max-width: 28em; margin-bottom: 32px; }
.deal { position: relative; padding: clamp(40px, 4.4vw, 64px); border: 1px solid var(--rule-strong); background: linear-gradient(160deg, var(--raised), var(--paper)); transition: border-color .6s, transform .9s var(--ease); }
.deal:hover { border-color: color-mix(in srgb, var(--ice) 45%, var(--rule-strong)); transform: translateY(-4px); }
.deal-top { display: flex; justify-content: space-between; align-items: baseline; font: 600 0.6875rem/1.3 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); padding-bottom: 18px; border-bottom: 1px solid var(--rule); margin-bottom: clamp(40px, 5vw, 72px); }
.deal-top b { color: var(--blue); font-weight: 600; }
.deal h3, .deal h2 { font-size: clamp(3rem, 5.2vw, 5.125rem); line-height: .95; font-weight: 300; letter-spacing: -.02em; }
.deal .d-what { margin-top: 18px; font: italic 300 clamp(1.25rem, 1.6vw, 1.5rem)/1.35 var(--serif); color: var(--soft); }
.deal .d-role { margin-top: clamp(36px, 4vw, 56px); padding-top: 18px; border-top: 1px solid var(--rule); font-size: 0.875rem; color: var(--muted); }
.deal .d-role b { color: var(--ink); font-weight: 500; }

/* Inner page mast: the hero's language, one photograph per page */
.pmast { position: relative; min-height: clamp(600px, 88svh, 900px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; background: var(--night); }
.pmast-img { position: absolute; inset: 0; z-index: -2; }
.pmast-img img { width: 100%; height: 100%; object-fit: cover; }
.js .pmast-img { transform: scale(1.06); transition: transform 2.8s var(--ease); }
.is-ready .pmast-img { transform: none; }
.pmast::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, var(--paper) 0%, color-mix(in srgb, var(--paper) 60%, transparent) 14%, transparent 34%),
              linear-gradient(90deg, color-mix(in srgb, var(--night) 92%, transparent) 0%, color-mix(in srgb, var(--night) 72%, transparent) 36%, color-mix(in srgb, var(--night) 20%, transparent) 70%, transparent 90%),
              linear-gradient(180deg, color-mix(in srgb, var(--night) 60%, transparent), transparent 20%); }
.pmast-body { width: 100%; padding-top: calc(var(--head) + 72px); padding-bottom: clamp(64px, 8vw, 112px); }
.pmast .label { margin-bottom: 28px; }
.pmast h1 { max-width: 10em; margin-bottom: 28px; }
.pmast .lede { max-width: 29em; }
.tmast { padding: calc(var(--head) + clamp(96px, 12vw, 180px)) 0 clamp(56px, 6vw, 96px); }
.tmast .label { margin-bottom: 28px; }

/* Transactions */
.deals { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 3vw, 40px); }
.deals .note { display: flex; flex-direction: column; justify-content: flex-end; gap: 22px; padding: clamp(40px, 4.4vw, 64px); border: 1px solid var(--rule); }
.deals .note p { font: italic 300 clamp(1.375rem, 1.8vw, 1.75rem)/1.3 var(--serif); color: var(--muted); max-width: 15em; }

/* Reach out */
.reach { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 7vw, 128px); align-items: start; }
.reach-mail { display: block; font: 300 clamp(2rem, 3.6vw, 3.5rem)/1.1 var(--serif); letter-spacing: -.014em; margin-bottom: 28px; }
.reach-mail span { background: linear-gradient(var(--ice), var(--ice)) 0 100% / 100% 1px no-repeat; padding-bottom: 6px; transition: color .4s; }
.reach-mail:hover span { color: var(--ice); }
.reach-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: clamp(64px, 8vw, 112px); }
.copy { display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; padding: 17px 22px; cursor: pointer; color: var(--ink); font: 500 0.9688rem/1 var(--sans); box-shadow: inset 0 0 0 1px var(--rule-strong); transition: box-shadow .4s, color .4s; }
.copy:hover { box-shadow: inset 0 0 0 1px var(--ice); }
.copy.is-done { color: var(--ice); box-shadow: inset 0 0 0 1px var(--ice); }
.helps { margin-top: 18px; }
.helps li { display: grid; grid-template-columns: 56px 1fr; padding: 22px 0; border-top: 1px solid var(--rule); }
.helps li:last-child { border-bottom: 1px solid var(--rule); }
.helps .num { font: 500 0.75rem/1.9 var(--sans); letter-spacing: .16em; color: var(--blue); }
.helps p { color: var(--soft); }
.reach-side { display: grid; gap: 36px; }
.reach-side .block { padding-top: 18px; border-top: 1px solid var(--rule-strong); }
.reach-side .block p:not(.label) { margin-top: 12px; color: var(--soft); }
.reach-side .big { font: 300 2.5rem/1.05 var(--serif); color: var(--ink) !important; }

/* Legal */
.doc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(40px, 7vw, 128px); padding-bottom: clamp(96px, 10vw, 160px); }
.doc-meta { position: sticky; top: calc(var(--head) + 36px); align-self: start; font-size: 0.8438rem; color: var(--muted); display: grid; gap: 6px; }
.clauses { counter-reset: clause; max-width: 46em; }
.clause { display: grid; grid-template-columns: 64px minmax(0, 1fr); padding: 30px 0; border-top: 1px solid var(--rule); counter-increment: clause; }
.clause::before { content: counter(clause, decimal-leading-zero); font: 500 0.75rem/2.4 var(--sans); letter-spacing: .14em; color: var(--blue); }
.clause h2 { font-size: 1.75rem; line-height: 1.2; font-weight: 400; margin-bottom: 12px; }
.clause p + p { margin-top: 12px; }
.clause p { color: var(--soft); }
.clause .ph { color: var(--ice); }
.clause a:not(.link) { border-bottom: 1px solid var(--rule-strong); }

/* 404 */
.pmast.lost { min-height: 100svh; }
.pmast.lost .actions { margin-top: 36px; }

/* Closing call to action */
.cta { position: relative; background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--night) 70%, transparent) 70%, var(--night)); padding: clamp(96px, 12vw, 190px) 0 clamp(80px, 9vw, 130px); overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: auto -10% -60% 30%; height: 120%; background: radial-gradient(closest-side, color-mix(in srgb, var(--blue) 10%, transparent), transparent); pointer-events: none; }
.cta h2 { font-size: clamp(3.375rem, 9vw, 8.75rem); line-height: .95; letter-spacing: -.024em; margin: 22px 0 clamp(44px, 5vw, 72px); max-width: 9em; }
.cta h2 em { color: var(--ice); }
.cta-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px clamp(32px, 6vw, 112px); align-items: end; border-top: 1px solid var(--rule-strong); padding-top: 30px; }
.cta-row p { color: var(--muted); max-width: 26em; }
.cta-mail { display: inline-flex; align-items: baseline; gap: 16px; font: 400 clamp(1.625rem, 3.3vw, 3rem)/1.1 var(--serif); letter-spacing: -.01em; }
.cta-mail span { background: linear-gradient(var(--blue), var(--blue)) 0 100% / 0 1px no-repeat; padding-bottom: 6px; transition: background-size .8s var(--ease); }
.cta-mail:hover span { background-size: 100% 1px; }
.cta-mail i { font-style: normal; color: var(--blue); font-size: .7em; transition: transform .6s var(--ease); }
.cta-mail:hover i { transform: translate(5px, -5px); }

/* Footer */
.site-footer { background: var(--night); border-top: 1px solid var(--rule); padding: clamp(56px, 7vw, 96px) 0 28px; font-size: 0.9062rem; }
.foot-top { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; padding-bottom: clamp(48px, 6vw, 80px); }
.logo-stacked { height: 74px; width: auto; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-cols div { display: flex; flex-direction: column; gap: 9px; align-items: flex-start; }
.foot-cols .label { margin-bottom: 8px; font-size: 0.6875rem; color: var(--faint); }
.foot-cols a, .foot-cols span { color: var(--soft); }
.foot-cols a { padding: 6px 0; margin: -6px 0; transition: color .3s; }
.foot-cols a:hover { color: var(--blue); }
.foot-cols .clock { color: var(--muted); font-variant-numeric: tabular-nums; }
.foot-legal { border-top: 1px solid var(--rule); padding: 22px 0; color: var(--faint); font-size: 0.8125rem; line-height: 1.6; }
.foot-legal p { max-width: 70em; }
.foot-legal a { display: inline-block; padding: 4px 0; color: var(--muted); border-bottom: 1px solid var(--rule-strong); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; border-top: 1px solid var(--rule); padding-top: 22px; font-size: 0.8125rem; color: var(--muted); }
.foot-base .uv { font: italic 400 1rem/1 var(--serif); color: var(--soft); }
.foot-base .top { display: inline-flex; gap: 8px; padding: 8px 0; margin: -8px 0; }
.foot-base .top i { font-style: normal; transition: transform .5s var(--ease); }
.foot-base .top:hover { color: var(--ink); }
.foot-base .top:hover i { transform: translateY(-3px); }


/* Reveal system (only with JS, never for reduced motion) */
.js:not(.is-still) [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .14em .12em; margin: 0 -.14em -.12em; }
.js:not(.is-still) [data-split] .wi { display: inline-block; transform: translateY(105%); transition: transform 1.25s var(--ease); }
.js:not(.is-still) [data-split].in .wi { transform: none; }
.js:not(.is-still) [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 1.1s var(--ease), transform 1.3s var(--ease); }
.js:not(.is-still) [data-reveal].in { opacity: 1; transform: none; }
.js:not(.is-still) .rule[data-reveal] { opacity: 1; transform: scaleX(0); transition: transform 1.6s var(--ease); }
.js:not(.is-still) .rule[data-reveal].in { transform: scaleX(1); }
.js:not(.is-still) [data-reveal="2"] { transition-delay: .12s; }
.js:not(.is-still) [data-reveal="3"] { transition-delay: .24s; }
.js:not(.is-still) [data-reveal="4"] { transition-delay: .36s; }
.js:not(.is-still) [data-reveal="5"] { transition-delay: .5s; }

/* Page-to-page: a short, soft crossfade (supporting browsers only) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: .32s var(--ease) both vt-out; }
::view-transition-new(root) { animation: .6s var(--ease) both vt-in; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media (prefers-reduced-motion: reduce) { .pmast-img, .band-img { transform: none !important; } }

/* Tablet */
@media (max-width: 1080px) {
  :root { --head: 76px; }
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .head-row, .closing, .deals, .reach, .doc, .foot-top, .cta-row, .opening-foot { grid-template-columns: minmax(0, 1fr); }
  .opening-foot .link { justify-self: start; }
  .prow-sum { grid-template-columns: minmax(0, 1fr) 52px; }
  .prow-sum .short { grid-column: 1; grid-row: 2; margin-top: 10px; }
  .prow-sum .go { grid-column: 2; grid-row: 1 / span 2; }
  .prow-body { grid-template-columns: minmax(0, 1fr) 52px; }
  .prow-body .side { grid-column: 1; grid-row: auto; margin-top: 32px; }
  .doc-meta { position: static; }
}

/* Phone */
@media (max-width: 680px) {
  body { font-size: 1rem; }
  .logo-line { height: 21px; }
  .hero { min-height: 100svh; }
  .hero-media img, .hero-media .water { object-position: 92% 70%; }
  .hero::before { background: linear-gradient(180deg, color-mix(in srgb, var(--night) 70%, transparent) 0%, color-mix(in srgb, var(--night) 35%, transparent) 30%, color-mix(in srgb, var(--night) 82%, transparent) 62%, var(--night) 100%); }
  .hero-body { padding-bottom: 36px; }
  .hero .label { font-size: 0.6875rem; letter-spacing: .16em; }
  .actions { flex-direction: column; align-items: stretch; }
  .actions .btn { justify-content: space-between; }
  .hero-foot .wrap { flex-direction: column; align-items: flex-start; }
  .hero-foot .coords { display: none; }
  .facts { gap: 6px 18px; }
  .pmast { min-height: 82svh; }
  .pmast::before { background: linear-gradient(180deg, color-mix(in srgb, var(--night) 65%, transparent) 0%, color-mix(in srgb, var(--night) 30%, transparent) 35%, color-mix(in srgb, var(--night) 85%, transparent) 70%, var(--paper) 100%); }
  .prow-sum { grid-template-columns: minmax(0, 1fr) 44px; padding: 26px 0; }
  .prow-sum .go { width: 44px; height: 44px; }
  .prow-body { grid-template-columns: minmax(0, 1fr); }
  .prow-body > *, .prow-body .side { grid-column: 1; }
  .prow-sum:hover .t, .prow-sum:hover h3, .prow.open .t { transform: none; }
  .ways { grid-template-columns: minmax(0, 1fr); }
  .band { min-height: 70svh; }
  .foot-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-cols div:last-child { grid-column: 1 / -1; }
  .reach-actions .btn, .reach-actions .copy { flex: 1 1 100%; justify-content: space-between; }
  .clause { grid-template-columns: 44px minmax(0, 1fr); }
  .helps li { grid-template-columns: 44px 1fr; }
}
