:root {
  --black: #212020;
  --ink: #080808;
  --white: #fff;
  --navy: #00253d;
  --light-bold: #f2f2f2;
  --base: #f0f0f0;
  --muted: #8b8b8b;
  --gut: 4vw;
  --cw: min(1391px, calc(100vw - 8vw));
  --u: calc(var(--cw) / 1324.8);
  --header-h: 65.3px;
  --f-normal: min(calc(.4 * 1.2vw + 12px), max(calc(.4 * 16.692px + 12px), 16.8px));
  --f-large: min(calc(.7 * 1.2vw + 12px), max(calc(.7 * 16.692px + 12px), 20.4px));
  --f-small: min(calc(.1 * 1.2vw + 12px), max(calc(.1 * 16.692px + 12px), 13.2px));
  --f-h1: min(calc(3.8 * 1.2vw + 12px), max(calc(3.8 * 16.692px + 12px), 57.6px));
  --f-h2: min(calc(2.7 * 1.2vw + 12px), max(calc(2.7 * 16.692px + 12px), 44.4px));
  --f-h3: min(calc(1.7 * 1.2vw + 12px), max(calc(1.7 * 16.692px + 12px), 32.4px));
  --f-h4: min(calc(.7 * 1.2vw + 12px), max(calc(.7 * 16.692px + 12px), 20.4px));
  --f-btn: min(calc(.5 * 1.2vw + 12px), max(calc(.5 * 16.692px + 12px), 18px));
  --f-meta: min(calc(.3 * 1.2vw + 12px), max(calc(.3 * 16.692px + 12px), 15.6px));
  --f-ptitle: min(calc(1.4 * 1.2vw + 12px), max(calc(1.4 * 16.692px + 12px), 28.8px));
  --f-menu: calc(2.088 * .012 * min(100vh, 900px) + 12px);
}

@media (max-width: 767px) and (orientation: portrait) {
  :root {
    --gut: 6vw;
    --cw: calc(100vw - 12vw);
    --u: calc(var(--cw) / 343.2);
    --mvh: min(100vh, 900px);
    --f-normal: calc(.4 * .012 * var(--mvh) + 12px);
    --f-large: calc(.7 * .012 * var(--mvh) + 12px);
    --f-small: calc(.1 * .012 * var(--mvh) + 12px);
    --f-h1: calc(3.8 * .012 * var(--mvh) + 12px);
    --f-h2: calc(2.7 * .012 * var(--mvh) + 12px);
    --f-h3: calc(1.7 * .012 * var(--mvh) + 12px);
    --f-h4: calc(.7 * .012 * var(--mvh) + 12px);
    --f-btn: calc(.5 * .012 * var(--mvh) + 12px);
    --f-meta: calc(.3 * .012 * var(--mvh) + 12px);
    --f-ptitle: calc(1.4 * .012 * var(--mvh) + 12px);
  }
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--base);
  color: var(--black);
  font-family: "Inter", sans-serif;
  font-size: var(--f-normal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

main { flex: 1 0 auto; display: block; }

img { display: block; max-width: 100%; }

a { color: inherit; }

button { font-family: inherit; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  color: var(--black);
  transition: background-color .14s ease-in-out;
}
.site-header[data-theme="black"] { color: #fff; }
.site-header.is-scrolled { background: var(--hdr-bg, var(--base)); }
.site-header[data-theme="light-bold"] { --hdr-bg: var(--light-bold); }
.site-header[data-theme="bright-inverse"] { --hdr-bg: #fff; }
.site-header[data-theme="black"] { --hdr-bg: #050505; }
@keyframes spin { to { transform: rotate(360deg); } }

.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  padding: 63.2px 43.2px;
  visibility: hidden; opacity: 0;
  transition: opacity .6s cubic-bezier(.4, 0, .2, 1), visibility .6s;
}
.lightbox.is-open { visibility: visible; opacity: 1; }
.lightbox-bg { position: absolute; inset: 0; background: #dedede; opacity: .9; }
.lightbox[data-bg="white"] .lightbox-bg { background: #fff; }
.lightbox-stage { position: relative; width: 100%; height: 100%; }
.lightbox-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .6s cubic-bezier(.4, 0, .2, 1); }
.lightbox-stage img.is-current { opacity: 1; }
.lightbox-close { position: absolute; top: 21.6px; right: 21.6px; z-index: 3; width: 32px; height: 22px; padding: 1px 6px; border: 0; background: none; cursor: pointer; color: var(--black); }
.lightbox-close svg { width: 20px; height: 20px; display: block; stroke: currentColor; stroke-width: 1.5px; }
.lightbox-nav { position: absolute; top: 50%; z-index: 3; width: 25px; height: 24px; margin-top: -12px; padding: 1px 6px; border: 0; background: none; cursor: pointer; color: var(--black); }
.lightbox-nav svg { width: 13px; height: 24px; display: block; fill: none; stroke: currentColor; stroke-width: 1.25px; }
.lightbox-nav--prev { left: 43.2px; }
.lightbox-nav--next { right: 43.2px; }

@media (max-width: 767px) and (orientation: portrait) {
  .lightbox { padding: 43.4px 23.4px; }
  .lightbox-close { top: 11.7px; right: 11.7px; }
  .lightbox-nav { display: none; }
}

.links-body {
  --l-ink: #12191d;
  --l-paper: #f1f1f3;
  --l-card: #fff;
  --l-line: rgba(18, 25, 29, .09);
  --l-muted: #5d666b;
  --l-accent: #0b494d;
  background: var(--l-paper);
  color: var(--l-ink);
}
.links { min-height: 100vh; display: flex; justify-content: center; padding: 56px 16px 40px; }
.links-col { width: 100%; max-width: 480px; display: flex; flex-direction: column; }
.links-head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.links-portrait { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; object-position: 50% 22%; box-shadow: 0 0 0 4px #fff, 0 6px 20px rgba(18, 25, 29, .12); }
.links-name { margin: 20px 0 0; font-size: 26px; font-weight: 700; letter-spacing: -.4px; line-height: 1.15; }
.links-handle { margin: 4px 0 0; font-size: 15px; font-weight: 500; color: var(--l-muted); }
.links-tag { margin: 12px 0 0; font-size: 16px; line-height: 1.5; max-width: 32ch; }
.links-social { display: flex; gap: 10px; margin: 18px 0 0; }
.links-social a { display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%; background: var(--l-card); border: 1px solid var(--l-line); color: var(--l-ink); transition: transform .15s ease, box-shadow .15s ease; }
.links-social a:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(18, 25, 29, .1); }
.links-social svg { width: 36px; height: 36px; fill: currentColor; }

.latest-video { display: block; margin: 32px 0 0; border-radius: 16px; overflow: hidden; background: var(--l-card); border: 1px solid var(--l-line); color: inherit; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.latest-video[hidden] { display: none; }
.latest-video:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(18, 25, 29, .1); }
.latest-video-media { position: relative; aspect-ratio: 16 / 9; background: #000; }
.latest-video-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.latest-video-play { position: absolute; inset: 0; margin: auto; width: 60px; height: 42px; border-radius: 12px; background: rgba(18, 25, 29, .78); display: flex; align-items: center; justify-content: center; }
.latest-video-play::before { content: ""; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent #fff; margin-left: 3px; }
.latest-video-text { padding: 14px 18px 16px; }
.latest-video-label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; color: var(--l-accent); }
.latest-video-title { display: block; margin-top: 4px; font-size: 16px; font-weight: 600; line-height: 1.35; }

.links-list { display: flex; flex-direction: column; gap: 12px; margin: 28px 0 0; }
.latest-video:not([hidden]) + .links-list { margin-top: 12px; }
.link-card { display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; min-height: 72px; background: var(--l-card); border: 1px solid var(--l-line); border-radius: 16px; color: var(--l-ink); text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.link-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(18, 25, 29, .1); border-color: rgba(18, 25, 29, .16); }
.link-card:focus-visible, .latest-video:focus-visible, .links-social a:focus-visible { outline: 2px solid var(--l-accent); outline-offset: 3px; }
.link-thumb { flex-shrink: 0; width: 48px; height: 48px; border-radius: 10px; overflow: hidden; background: var(--l-paper); }
.link-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.link-thumb--icon { display: flex; align-items: center; justify-content: center; background: var(--l-ink); color: #fff; }
.link-thumb--icon svg { width: 26px; height: 26px; }
.link-thumb--yt svg { width: 44px; height: 44px; fill: currentColor; }
.link-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.link-title { font-size: 16px; font-weight: 600; line-height: 1.3; }
.link-sub { margin-top: 2px; font-size: 14px; line-height: 1.4; color: var(--l-muted); }
.link-arrow { flex-shrink: 0; width: 16px; height: 16px; color: var(--l-muted); transition: transform .15s ease; }
.link-card:hover .link-arrow { transform: translateX(2px); }

.links-foot { display: flex; justify-content: center; gap: 16px; margin: 32px 0 0; font-size: 13px; color: var(--l-muted); }
.links-foot a { color: var(--l-muted); }
.links-foot a:hover { color: var(--l-ink); }

@media (max-width: 480px) {
  .links { padding-top: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .link-card, .latest-video, .link-arrow { transition: none; }
  .link-card:hover, .latest-video:hover { transform: none; }
}

.doc-col { max-width: 640px; }
.doc-back { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; font-size: 14px; font-weight: 600; color: var(--l-ink); text-decoration: none; padding: 6px 10px 6px 6px; margin-left: -6px; border-radius: 8px; }
.doc-back svg { width: 16px; height: 16px; }
.doc-back:hover { background: rgba(18, 25, 29, .06); }
.doc { margin-top: 20px; padding: 28px 24px; background: var(--l-card); border: 1px solid var(--l-line); border-radius: 16px; font-size: 15px; line-height: 1.65; color: var(--l-ink); }
.doc h1 { margin: 0; font-size: 26px; font-weight: 700; letter-spacing: -.4px; line-height: 1.2; }
.doc h1 + p { margin-top: 6px; font-size: 13px; color: var(--l-muted); }
.doc h1 + p strong { font-weight: 500; }
.doc h2 { margin: 28px 0 0; font-size: 17px; font-weight: 600; line-height: 1.35; }
.doc p { margin: 10px 0 0; }
.doc a { color: var(--l-accent); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 480px) {
  .doc { padding: 22px 18px; }
}

.doc-col--wide { max-width: 1120px; }
.doc-lead { margin: 10px 0 0; font-size: 16px; line-height: 1.6; color: var(--l-muted); }
.doc-photo { display: block; width: 100%; height: auto; margin: 20px 0 4px; border-radius: 12px; aspect-ratio: 4 / 5; object-fit: cover; }
.gear-list { list-style: none; margin: 8px 0 0; padding: 0; }
.gear-list li { display: flex; flex-direction: column; padding: 12px 0; border-top: 1px solid var(--l-line); }
.gear-list li:first-child { border-top: 0; padding-top: 6px; }
.gear-name { font-size: 15px; font-weight: 600; }
.gear-note { margin-top: 2px; font-size: 14px; line-height: 1.5; color: var(--l-muted); }

.pf-head { margin: 20px 0 0; max-width: 640px; }
.pf-head h1 { margin: 0; font-size: 26px; font-weight: 700; letter-spacing: -.4px; line-height: 1.2; }
.pf-grid { margin: 24px 0 0; columns: 3 300px; column-gap: 10px; }
.pf-item { margin: 0 0 10px; break-inside: avoid; }
.pf-item a { display: block; border-radius: 12px; overflow: hidden; background: #e4e4e7; }
.pf-item img { display: block; width: 100%; height: auto; transition: transform .3s ease; }
.pf-item a:hover img { transform: scale(1.02); }
.pf-item a:focus-visible { outline: 2px solid var(--l-accent); outline-offset: 3px; }

.cf { margin: 20px 0 0; }
.cf-fields { display: flex; flex-direction: column; gap: 14px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cf-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.cf-field input, .cf-field textarea { width: 100%; padding: 11px 14px; border: 1px solid rgba(18, 25, 29, .18); border-radius: 10px; background: #fff; font: inherit; font-size: 16px; font-weight: 400; color: var(--l-ink); }
.cf-field textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
.cf-field input:focus, .cf-field textarea:focus { outline: 2px solid var(--l-accent); outline-offset: 0; border-color: transparent; }
.cf-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-submit { align-self: flex-start; height: 46px; padding: 0 22px; margin-top: 4px; border: 0; border-radius: 10px; background: var(--l-ink); color: #fff; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.cf-submit:hover { background: var(--l-accent); }
.cf[aria-busy] .cf-submit { opacity: .6; cursor: progress; }
.cf[data-sent] .cf-fields { display: none; }
.cf-done { margin: 0; padding: 14px 16px; border-radius: 10px; background: #e7f0ef; color: var(--l-accent); font-weight: 500; }
.cf-error { margin: 12px 0 0; font-size: 14px; color: #b42318; }

.doc--center { text-align: center; padding: 40px 24px; }
.doc--center .doc-lead { margin-left: auto; margin-right: auto; max-width: 34ch; }
.doc-button { display: inline-flex; align-items: center; height: 46px; margin-top: 20px; padding: 0 22px; border-radius: 10px; background: var(--l-ink); color: #fff !important; font-size: 15px; font-weight: 600; text-decoration: none !important; }
.doc-button:hover { background: var(--l-accent); }

@media (max-width: 600px) {
  .pf-grid { columns: 2; column-gap: 8px; }
  .pf-item { margin-bottom: 8px; }
  .pf-item a { border-radius: 8px; }
  .cf-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .pf-item img { transition: none; }
  .pf-item a:hover img { transform: none; }
}
