:root {
  color-scheme: dark;
  --bg: #090d18;
  --panel: #101727;
  --panel-2: #0c1322;
  --text: #eef3ff;
  --muted: #9aa8c0;
  --subtle: #64728c;
  --line: rgba(173, 194, 232, .14);
  --accent: #8be7d2;
  --accent-2: #b7a6ff;
  --content: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 76% 4%, rgba(74, 85, 160, .16), transparent 34rem),
    radial-gradient(ellipse at 8% 34%, rgba(47, 148, 139, .08), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.skip-link { position: absolute; left: 1rem; top: -5rem; z-index: 20; background: var(--accent); color: #07111b; padding: .7rem 1rem; border-radius: .4rem; }
.skip-link:focus { top: 1rem; }
.site-shell { width: min(calc(100% - 48px), var(--content)); margin: 0 auto; }
.site-header { display: flex; justify-content: space-between; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 12px; font-weight: 800; letter-spacing: .16em; }
.brand-muted { color: var(--accent); padding: 0 2px; }
.brand-mark { width: 21px; height: 21px; display: flex; align-items: end; gap: 3px; }
.brand-mark span { display: block; width: 5px; border-radius: 2px; background: var(--accent); }
.brand-mark span:nth-child(1) { height: 10px; opacity: .6; }
.brand-mark span:nth-child(2) { height: 16px; }
.brand-mark span:nth-child(3) { height: 21px; opacity: .8; }
.site-header nav { display: flex; align-items: center; gap: 27px; font-size: 12px; font-weight: 600; }
.nav-link { color: var(--muted); transition: color .2s ease; }
.nav-link:hover, .linkedin-link:hover, .closing-note a:hover { color: var(--accent); }
.linkedin-link { display: inline-flex; gap: 7px; align-items: center; color: var(--text); }
.linkedin-link span, .closing-note a span { color: var(--accent); font-size: 15px; }
.intro { padding: 42px 0 28px; max-width: 820px; }
.eyebrow, .section-kicker, .slide-index { font-size: 10px; letter-spacing: .19em; font-weight: 750; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--muted); }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px rgba(139, 231, 210, .6); }
h1 { font-size: clamp(42px, 7vw, 76px); line-height: .99; letter-spacing: -.065em; margin: 15px 0 12px; font-weight: 720; }
h1 span { color: var(--accent); }
.intro-copy { color: var(--muted); font-size: 15px; line-height: 1.6; max-width: 680px; margin: 0; }
.showcase { padding-bottom: 0; }
.showcase-topline { display: flex; align-items: end; justify-content: space-between; padding-bottom: 16px; }
.section-kicker { color: var(--accent); margin: 0 0 8px; }
.section-subtitle { display: none; }
.counter { font-variant-numeric: tabular-nums; font-size: 13px; font-weight: 700; letter-spacing: .08em; }
.counter-divider { color: var(--subtle); padding: 0 7px; font-weight: 400; }
#total-slides { color: var(--subtle); }
.viewer { position: relative; isolation: isolate; width: 100%; height: min(58vw, 62vh, 620px); min-height: 260px; max-height: 620px; display: grid; place-items: center; overflow: hidden; background: linear-gradient(135deg, #101a2d, #0a101d 65%); border: 1px solid rgba(173,194,232,.18); border-radius: 13px; box-shadow: 0 25px 90px rgba(0,0,0,.25); }
.viewer-grid { position: absolute; inset: 0; z-index: -1; opacity: .32; background-image: linear-gradient(rgba(147,170,212,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(147,170,212,.09) 1px, transparent 1px); background-size: 38px 38px; mask-image: linear-gradient(to bottom, black, transparent 85%); }
.image-open { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; width: 100%; height: 100%; padding: 30px 86px; border: 0; background: transparent; cursor: zoom-in; opacity: 0; transition: opacity .35s ease; }
.image-open.is-visible { opacity: 1; }
.image-open img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; object-position: center; filter: drop-shadow(0 12px 28px rgba(0,0,0,.25)); }
.image-open:hover img { filter: drop-shadow(0 14px 32px rgba(0,0,0,.34)); }
.image-open-hint { position: absolute; bottom: 15px; right: 16px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; background: rgba(7,12,23,.82); color: #dbe7f9; font-size: 9px; font-weight: 750; letter-spacing: .13em; opacity: 0; transform: translateY(4px); transition: opacity .2s ease, transform .2s ease; }
.image-open-hint span { color: var(--accent); margin-left: 4px; }
.image-open:hover .image-open-hint, .image-open:focus-visible .image-open-hint { opacity: 1; transform: translateY(0); }
.empty-state { max-width: 390px; text-align: center; padding: 30px; }
.empty-icon { width: 48px; height: 48px; margin: 0 auto 19px; display: grid; place-items: center; border: 1px solid rgba(139,231,210,.25); border-radius: 13px; background: rgba(139,231,210,.05); }
.empty-icon svg { width: 26px; stroke: var(--accent); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.empty-title { margin: 0 0 8px; font-size: 15px; font-weight: 650; }
.empty-copy { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
code { padding: 2px 5px; border-radius: 4px; background: rgba(255,255,255,.07); color: #c6d3ec; font-size: .95em; }
.viewer-vignette { position: absolute; z-index: 2; inset: 0; pointer-events: none; box-shadow: inset 0 0 70px rgba(0,0,0,.13); }
.viewer-arrow { position: absolute; z-index: 4; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 62px; height: 76px; padding: 0 12px; border: 1px solid rgba(190,210,246,.48); border-radius: 13px; background: rgba(7,13,25,.88); color: var(--text); box-shadow: 0 8px 28px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.08); cursor: pointer; transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.viewer-arrow-prev { left: 16px; }
.viewer-arrow-next { right: 16px; }
.viewer-arrow svg { width: 26px; height: 26px; flex: 0 0 auto; fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.viewer-arrow span { font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.viewer-arrow:hover { transform: translateY(-50%) scale(1.04); background: rgba(18,31,49,.98); border-color: var(--accent); box-shadow: 0 10px 32px rgba(0,0,0,.45), 0 0 0 3px rgba(139,231,210,.10); }
.viewer-arrow:active { transform: translateY(-50%) scale(.97); }
.viewer-arrow:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.viewer-arrow:disabled { opacity: .4; cursor: not-allowed; }
.slide-meta { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 0 16px; }
.slide-description { min-width: 0; }
.slide-index { margin: 0 0 8px; color: var(--accent); font-size: 9px; }
.slide-description h2 { margin: 0 0 6px; font-size: clamp(17px, 2.4vw, 22px); font-weight: 620; letter-spacing: -.025em; }
.slide-description > p:last-child { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.controls { display: flex; flex-shrink: 0; align-items: center; gap: 7px; }
.control-button { height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); border-radius: 7px; background: rgba(255,255,255,.025); color: var(--text); cursor: pointer; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.control-button:hover { background: rgba(139,231,210,.08); border-color: rgba(139,231,210,.42); }
.control-button:active { transform: scale(.97); }
.control-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.play-button { padding: 0 12px; font-size: 11px; font-weight: 650; }
.play-button .pause-icon { display: block; }
.play-button .play-icon { display: none; fill: currentColor; stroke: none; }
.play-button[aria-pressed="true"] .pause-icon { display: none; }
.play-button[aria-pressed="true"] .play-icon { display: block; }
.arrow-button { width: 40px; }
.control-separator { width: 1px; height: 24px; margin: 0 4px; background: var(--line); }
.progress-track { width: 100%; height: 2px; background: rgba(173,194,232,.12); overflow: hidden; }
.progress-bar { width: 0; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width .18s linear; }
.keyboard-hint { margin: 12px 0 0; color: var(--subtle); font-size: 10px; letter-spacing: .03em; }
.keyboard-hint span:not(.hint-dot) { display: inline-grid; place-items: center; min-width: 17px; height: 17px; margin-right: 3px; border: 1px solid var(--line); border-radius: 4px; color: var(--muted); }
.hint-dot { padding: 0 7px; }
.closing-note { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 38px; padding: 23px 0; border-top: 1px solid var(--line); }
.closing-rule { width: 25px; height: 2px; background: var(--accent); }
.closing-note p { flex: 1; margin: 0; color: #c4cde0; font-size: 12px; }
.closing-note a { color: var(--muted); font-size: 11px; font-weight: 650; transition: color .2s ease; }
.site-footer { display: flex; justify-content: space-between; padding: 20px 0 27px; border-top: 1px solid var(--line); color: var(--subtle); font-size: 9px; letter-spacing: .09em; text-transform: uppercase; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 620px) {
  .site-shell { width: min(calc(100% - 32px), var(--content)); }
  .site-header { padding: 21px 0; }
  .brand { font-size: 10px; gap: 8px; }
  .site-header nav { gap: 15px; font-size: 11px; }
  .intro { padding: 34px 0 24px; }
  .intro-copy { font-size: 13px; line-height: 1.55; max-width: 100%; }
  .viewer { height: min(72vw, 58vh); min-height: 220px; max-height: 520px; }
  .image-open { padding: 14px 48px; }
  .viewer-arrow { min-width: 42px; height: 54px; padding: 0 5px; gap: 2px; border-radius: 9px; }
  .viewer-arrow-prev { left: 8px; }
  .viewer-arrow-next { right: 8px; }
  .viewer-arrow svg { width: 23px; height: 23px; }
  .viewer-arrow span { font-size: 7px; letter-spacing: .03em; }
  .slide-meta { align-items: flex-start; flex-direction: column; padding: 20px 0; gap: 17px; }
  .controls { align-self: stretch; }
  .play-button { flex: 1; }
  .arrow-button { width: 45px; }
  .closing-note { margin-top: 28px; flex-wrap: wrap; }
  .closing-rule { display: none; }
  .closing-note p { flex-basis: 100%; }
  .site-footer { gap: 16px; font-size: 8px; }
}
@media (max-width: 390px) {
  .site-shell { width: calc(100% - 24px); }
  .site-header { gap: 10px; padding: 17px 0; }
  .brand { font-size: 9px; letter-spacing: .11em; }
  .brand-mark { width: 17px; height: 17px; gap: 2px; }
  .brand-mark span { width: 4px; }
  .brand-mark span:nth-child(1) { height: 8px; }
  .brand-mark span:nth-child(2) { height: 13px; }
  .brand-mark span:nth-child(3) { height: 17px; }
  .site-header nav { gap: 10px; font-size: 10px; }
  h1 { font-size: clamp(38px, 11vw, 46px); }
  .viewer-arrow { min-width: 36px; width: 36px; height: 48px; }
  .viewer-arrow span { display: none; }
  .image-open { padding: 12px 42px; }
  .site-footer { flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}


/* Editorial, understated visual pass */
:root {
  --bg: #111315;
  --panel: #191b1e;
  --panel-2: #151719;
  --text: #f0eee9;
  --muted: #b2b0aa;
  --subtle: #85847f;
  --line: rgba(240, 238, 233, .16);
  --accent: #d7c5a4;
  --accent-2: #d7c5a4;
}
body {
  background: var(--bg);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}
.site-header { padding: 22px 0; }
.brand { font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.brand-mark { display: none; }
.brand-muted, .linkedin-link span, .closing-note a span { color: var(--accent); }
.site-header nav { font-size: 13px; font-weight: 500; }
.intro { padding: 48px 0 30px; max-width: 780px; }
.eyebrow, .section-kicker, .slide-index { font-size: 10px; letter-spacing: .12em; font-weight: 650; }
.status-dot { background: var(--accent); box-shadow: none; }
h1 { font-size: clamp(40px, 6.4vw, 68px); line-height: 1.04; letter-spacing: -.05em; font-weight: 650; margin: 18px 0 14px; }
h1 span { color: var(--accent); }
.intro-copy { color: #c0beb8; font-size: 16px; line-height: 1.65; max-width: 650px; }
.section-kicker { color: var(--muted); margin-bottom: 0; }
.showcase-topline { padding-bottom: 12px; }
.viewer {
  height: min(54vw, 60vh, 600px);
  min-height: 250px;
  background: #1a1c1f;
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: none;
}
.viewer-grid { display: none; }
.viewer-vignette { box-shadow: none; }
.image-open { padding: 24px 82px; }
.image-open img { filter: none; }
.image-open:hover img { filter: none; }
.image-open-hint { border-radius: 3px; background: rgba(17,19,21,.9); letter-spacing: .06em; }
.viewer-arrow {
  min-width: 48px;
  width: 48px;
  height: 54px;
  padding: 0;
  gap: 0;
  border-color: rgba(240,238,233,.45);
  border-radius: 3px;
  background: rgba(17,19,21,.9);
  box-shadow: none;
}
.viewer-arrow-prev { left: 14px; }
.viewer-arrow-next { right: 14px; }
.viewer-arrow svg { color: var(--text); stroke: currentColor; width: 23px; height: 23px; }
.viewer-arrow span { display: none; }
.viewer-arrow:hover { transform: translateY(-50%); background: #2b2d30; border-color: var(--accent); box-shadow: none; }
.slide-meta { padding: 15px 0 13px; }
.slide-index { color: var(--muted); }
.slide-description h2 { font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.control-button { border-radius: 3px; background: transparent; }
.control-button:hover { background: rgba(255,255,255,.06); border-color: var(--accent); }
.progress-track { height: 2px; background: rgba(240,238,233,.12); }
.progress-bar { background: var(--accent); }
.keyboard-hint { margin-top: 10px; }
.keyboard-hint span:not(.hint-dot) { border-radius: 2px; }
.closing-note { margin-top: 30px; padding: 19px 0; }
.closing-rule { background: var(--accent); }
.closing-note p { color: #c0beb8; font-size: 13px; }
.closing-note a { font-size: 12px; }
.site-footer { font-size: 10px; letter-spacing: .04em; text-transform: none; }
.empty-icon { border-radius: 4px; background: transparent; border-color: var(--line); }
.empty-icon svg { stroke: var(--muted); }
code { background: rgba(255,255,255,.07); color: var(--text); border-radius: 2px; }
@media (max-width: 620px) {
  .site-header { padding: 18px 0; }
  .intro { padding: 34px 0 22px; }
  .intro-copy { font-size: 14px; }
  .viewer { height: min(70vw, 54vh); min-height: 220px; }
  .viewer-arrow { width: 40px; min-width: 40px; height: 46px; }
  .viewer-arrow-prev { left: 8px; }
  .viewer-arrow-next { right: 8px; }
  .image-open { padding: 12px 46px; }
  .slide-meta { padding: 14px 0; }
  .closing-note { margin-top: 22px; }
}

.linkedin-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 17px;
  border: 1px solid var(--accent);
  border-radius: 4px;
  background: var(--accent);
  color: #171817 !important;
  font-size: 12px !important;
  font-weight: 650 !important;
  white-space: nowrap;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.linkedin-cta span { color: inherit !important; font-size: 16px !important; }
.linkedin-cta:hover { background: #e4d7c0; border-color: #e4d7c0; color: #171817 !important; transform: translateY(-1px); }
.linkedin-cta:active { transform: translateY(0); }
@media (max-width: 620px) {
  .linkedin-cta { width: 100%; min-height: 46px; }
}

/* Keep  primary LinkedIn button visible in the top navigation */
.header-linkedin-cta { width: auto; min-height: 40px; padding: 0 16px; white-space: nowrap; }
@media (max-width: 520px) {
  .header-linkedin-cta { min-height: 36px; padding: 0 11px; font-size: 11px; }
}

.slide-description {
  display: none;
}

.slide-title {
  display: none;
}

/* Tighten the space above the intro */
.site-header {
  margin-bottom: 0;
  padding-bottom: 12px;
}

.intro {
  margin-top: 0;
  padding-top: 12px;
  padding-bottom: 16px;
}
