@font-face {
  font-family: "Roboto Flex";
  src: url("fonts/roboto-flex-latin-opsz-wght.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto Mono";
  src: url("fonts/roboto-mono-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto Mono";
  src: url("fonts/roboto-mono-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #001429;
  --accent: #3498DB;
  --watermark: #062440;
  --paper: #F4F6F8;
  --ink: #001429;
  --ink-muted: #4A5D70;
  --link: #1F6FAE;
  --cover-muted: #8FA3B8;
  --rule: #D2DBE3;

  --font-sans: "Roboto Flex", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Roboto Mono", ui-monospace, Menlo, Consolas, monospace;

  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-settle: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: "";
  position: fixed;
  inset: -100vh 0;
  z-index: -1;
  transform: translateZ(0);
  background: linear-gradient(var(--navy) 50%, var(--paper) 0);
}

@media (min-width: 1024px) {
  body::before { background: linear-gradient(90deg, var(--navy) calc(100% * 5 / 11), var(--paper) 0); }
}

.page {
  --gutter: 24px;
  --cover-pad-y: 28px;
  --cover-h: min(74svh, 620px);
  --cover-gap: 48px;
  --mark-w: 128px;
  --wm-w: 96%;
  --name: clamp(40px, 12vw, 64px);
  --main-pad-y: 56px;
  --block-gap: 40px;
  --measure: 100%;
  --lead: 21px;
  --email: 24px;

  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 100vh;
  min-height: 100svh;
}

@media (min-width: 720px) {
  .page {
    --gutter: 48px;
    --cover-pad-y: 48px;
    --cover-h: min(56svh, 600px);
    --cover-gap: 56px;
    --mark-w: 168px;
    --wm-w: 72%;
    --name: clamp(64px, 10vw, 96px);
    --main-pad-y: 72px;
    --block-gap: 48px;
    --measure: 600px;
    --lead: 24px;
    --email: 28px;
  }
}

@media (min-width: 1024px) {
  .page {
    --gutter: clamp(44px, 4.5vw, 80px);
    --cover-pad-y: clamp(40px, 4.5vw, 72px);
    --cover-h: 100vh;
    --cover-gap: 56px;
    --mark-w: clamp(176px, 15vw, 280px);
    --wm-w: 96%;
    --name: clamp(60px, 6vw, 128px);
    --main-pad-y: 40px;
    --block-gap: 40px;
    --measure: 560px;
    --lead: clamp(22px, 1.9vw, 30px);
    --email: clamp(24px, 2.3vw, 36px);

    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  }
}

.cover {
  position: relative;
  overflow: hidden;
  min-width: 0;
  min-height: var(--cover-h);
  padding: var(--cover-pad-y) var(--gutter);
  background: var(--navy);
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--cover-gap);
}

@media (min-width: 1024px) {
  .cover { position: sticky; top: 0; align-self: start; }
}

.mark,
.watermark {
  display: flex;
  align-items: flex-start;
}

.mark { position: relative; z-index: 1; width: var(--mark-w); --shape: var(--accent); }

.watermark {
  --shape: var(--watermark);
  position: absolute;
  right: 0;
  bottom: 0;
  width: var(--wm-w);
  transform: translate(4%, 30%);
  pointer-events: none;
  animation: ovi-fade 1400ms ease 200ms both;
}

.shape-o { width: 44.6%; aspect-ratio: 1 / 1; border-radius: 50%; background: var(--shape); }
.shape-v { width: 44.6%; aspect-ratio: 1 / 1; margin-left: -4.5%; margin-right: 3.6%; background: var(--shape); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.shape-i { width: 11.6%; aspect-ratio: 65 / 250; background: var(--shape); }

.mark .shape-o { animation: ovi-o 760ms var(--ease-out) 80ms both; }
.mark .shape-v { animation: ovi-v 760ms var(--ease-out) 200ms both; }
.mark .shape-i { transform-origin: 50% 100%; animation: ovi-i 620ms var(--ease-out) 340ms both; }

.identity { position: relative; z-index: 1; }

.name {
  margin: 0;
  font-size: var(--name);
  line-height: 0.95;
  font-weight: 200;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  white-space: nowrap;
  animation: ovi-settle 1700ms var(--ease-settle) 480ms both;
}

.name span { display: block; }

.role {
  margin: 20px 0 0;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cover-muted);
  display: flex;
  flex-direction: column;
  gap: 2px;
  animation: ovi-fade 700ms ease 1000ms both;
}

.role .sep { display: none; }

@media (min-width: 720px) {
  .role { display: block; }
  .role .sep { display: inline; }
}

.content {
  min-width: 0;
  padding: var(--main-pad-y) var(--gutter);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: var(--block-gap);
}

@media (min-width: 1024px) {
  .content { justify-content: center; }
}

.block { max-width: var(--measure); animation: ovi-fade-up 800ms var(--ease-out) both; }
.block--intro { animation-delay: 760ms; }
.block--truestock { animation-delay: 880ms; }
.block--contact { animation-delay: 1000ms; }

.lead {
  margin: 0;
  font-size: var(--lead);
  line-height: 1.4;
  font-weight: 300;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}

.body {
  margin: 20px 0 0;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-muted);
  text-wrap: pretty;
}

.label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--link);
}

.ts-desc {
  margin: 10px 0 0;
  font-size: 18px;
  line-height: 1.55;
  text-wrap: pretty;
}

.rows { margin: 16px 0 0; padding: 0; list-style: none; border-bottom: 1px solid var(--rule); }
.rows li { border-top: 1px solid var(--rule); }

.row {
  color: var(--ink);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  min-height: 64px;
  padding: 10px 0;
}

@media (min-width: 720px) {
  .row { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; min-height: 56px; padding: 0; }
}

.row-name { font-size: 17px; font-weight: 500; }
.row-url { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 13px; color: var(--link); }

.email {
  margin-top: 8px;
  font-size: var(--email);
  line-height: 1.2;
  font-weight: 400;
  text-decoration: none;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.links { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 4px 28px; }

a { color: var(--link); transition: color 200ms linear; }
a:hover { color: var(--ink); }
a:focus-visible { outline: 2px solid var(--link); outline-offset: 4px; border-radius: 1px; }

.links a {
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.u {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1.5px;
  padding-bottom: 3px;
  transition: background-size 360ms var(--ease-out);
}
a:hover .u, a:focus-visible .u { background-size: 100% 1.5px; }

.u.u--on { background-size: 100% 2px; padding-bottom: 5px; }
a:hover .u.u--on, a:focus-visible .u.u--on { background-size: 100% 2px; }

.nudge { transition: transform 360ms var(--ease-out); flex: none; }
a:hover .nudge--r, a:focus-visible .nudge--r { transform: translateX(6px); }
a:hover .nudge--ur, a:focus-visible .nudge--ur { transform: translate(3px, -3px); }
a:hover .nudge--d, a:focus-visible .nudge--d { transform: translateY(3px); }

@keyframes ovi-o { from { transform: scale(.35); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes ovi-v { from { transform: translateY(-40%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes ovi-i { from { transform: scaleY(0); } to { transform: none; } }
@keyframes ovi-settle {
  0%   { font-weight: 100; letter-spacing: 0.12em; opacity: 0; }
  35%  { opacity: 1; }
  100% { font-weight: 200; letter-spacing: 0.01em; opacity: 1; }
}
@keyframes ovi-fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes ovi-fade { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
