/* ==========================================================================
   kristoferdeyoung.com
   Hand-written, no framework, no build step.
   Sections: 1 tokens · 2 reset · 3 typography · 4 layout · 5 header/footer
             6 components · 7 page blocks · 8 utilities · 9 motion/print
   ========================================================================== */

/* 1 ── Tokens ────────────────────────────────────────────────────────────── */
:root {
  --paper:      #faf8f5;
  --paper-2:    #f2eee8;
  --card:       #ffffff;
  --ink:        #191817;
  --ink-2:      #55504a;
  --ink-3:      #6e665f;
  --rule:       #e5ded4;
  --rule-soft:  #efe9e1;
  --accent:     #a94f1d;
  --accent-ink: #8c4218;
  --accent-bg:  #f7ece3;
  --on-accent:  #ffffff;
  --shadow-sm:  0 1px 2px rgba(25,24,23,.05);
  --shadow-md:  0 1px 2px rgba(25,24,23,.04), 0 10px 28px -16px rgba(25,24,23,.28);

  --font-display: "Newsreader", ui-serif, Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --wrap: 1120px;
  --wrap-narrow: 720px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --radius: 10px;
  --radius-lg: 16px;

  color-scheme: light;
}

html[data-theme="dark"] {
  --paper:      #121110;
  --paper-2:    #1a1816;
  --card:       #1c1a18;
  --ink:        #f2ede6;
  --ink-2:      #b2a99f;
  --ink-3:      #8b8279;
  --rule:       #2d2926;
  --rule-soft:  #241f1d;
  --accent:     #e08a4f;
  --accent-ink: #eda36e;
  --accent-bg:  #251c15;
  --on-accent:  #17130f;
  --shadow-sm:  0 1px 2px rgba(0,0,0,.4);
  --shadow-md:  0 1px 2px rgba(0,0,0,.35), 0 12px 30px -18px rgba(0,0,0,.85);
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) {
    --paper:      #121110;
    --paper-2:    #1a1816;
    --card:       #1c1a18;
    --ink:        #f2ede6;
    --ink-2:      #b2a99f;
    --ink-3:      #8b8279;
    --rule:       #2d2926;
    --rule-soft:  #241f1d;
    --accent:     #e08a4f;
    --accent-ink: #eda36e;
    --accent-bg:  #251c15;
  --on-accent:  #17130f;
    --shadow-sm:  0 1px 2px rgba(0,0,0,.4);
    --shadow-md:  0 1px 2px rgba(0,0,0,.35), 0 12px 30px -18px rgba(0,0,0,.85);
    color-scheme: dark;
  }
}

/* 2 ── Reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

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

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg, video { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { padding: 0; list-style: none; }

a { color: var(--ink); text-decoration-color: var(--rule); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

::selection { background: var(--accent); color: var(--on-accent); }

/* 3 ── Typography ────────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

.h-xl   { font-size: clamp(2.6rem, 7vw, 4.5rem); line-height: 1.02; letter-spacing: -0.028em; }
.h-lg   { font-size: clamp(2rem, 4.4vw, 3rem); letter-spacing: -0.02em; }
.h-md   { font-size: clamp(1.5rem, 2.8vw, 2rem); }
.h-sm   { font-size: clamp(1.2rem, 2vw, 1.45rem); }

p { text-wrap: pretty; }

.lede {
  font-size: clamp(1.075rem, 1.9vw, 1.3rem);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 46ch;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: .7rem;
}
.eyebrow::after {
  content: "";
  flex: 0 0 2rem;
  height: 1px;
  background: var(--accent);
  opacity: .45;
}
.eyebrow.is-plain::after { display: none; }

.prose { max-width: 68ch; }
.prose p + p { margin-top: 1.1em; }
.prose h2 { margin: 2.4em 0 .6em; }
.prose h3 { margin: 2em 0 .5em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose a { color: var(--accent-ink); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.prose ul { margin: 1em 0; display: grid; gap: .45em; }
.prose ul li { padding-left: 1.35em; position: relative; color: var(--ink-2); }
.prose ul li::before {
  content: "";
  position: absolute;
  left: .1em; top: .72em;
  width: .42em; height: 1px;
  background: var(--accent);
}

.muted { color: var(--ink-2); }
.small { font-size: .875rem; }
.mono  { font-family: var(--font-mono); font-size: .82em; letter-spacing: -.01em; }

/* 4 ── Layout ────────────────────────────────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap-narrow { max-width: var(--wrap-narrow); }

section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
section.tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

.band { background: var(--paper-2); border-block: 1px solid var(--rule-soft); }
.band-ink {
  background: #171614;
  color: #f2ede6;
  border-block: 0;
}
html[data-theme="dark"] .band-ink { background: #0c0b0a; }
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .band-ink { background: #0c0b0a; }
}
.band-ink h2, .band-ink h3 { color: #f7f3ee; }
.band-ink p { color: #b8b0a7; }
.band-ink a { color: #f2ede6; }

.rule { height: 1px; background: var(--rule); border: 0; }

.section-head {
  display: grid;
  gap: .85rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.section-head p { max-width: 58ch; color: var(--ink-2); }

/* 5 ── Header & footer ───────────────────────────────────────────────────── */
.skip {
  position: absolute;
  left: .75rem; top: -10rem;
  z-index: 100;
  background: var(--accent);
  color: var(--on-accent);
  padding: .7rem 1.1rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: top .18s ease;
}
.skip:focus { top: .75rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.site-header.is-stuck { border-bottom-color: var(--rule); }

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 64px;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.06rem;
  letter-spacing: -.01em;
  text-decoration: none;
  white-space: nowrap;
  margin-right: auto;
}
.brand b { font-weight: 600; }
.brand span { color: var(--ink-3); }

.nav { display: flex; align-items: center; gap: clamp(.5rem, 2vw, 1.6rem); }
.nav a {
  position: relative;
  font-size: .93rem;
  color: var(--ink-2);
  text-decoration: none;
  padding: .35rem 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--ink); }

.icon-btn {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  color: var(--ink-2);
  border: 1px solid var(--rule);
  flex: none;
}
.icon-btn:hover { color: var(--ink); border-color: var(--ink-3); }
.icon-btn svg { width: 17px; height: 17px; }
/* Toggle icon: show the theme you would switch TO. */
.theme-toggle .i-moon { display: block; }
.theme-toggle .i-sun  { display: none; }
html[data-theme="dark"] .theme-toggle .i-moon { display: none; }
html[data-theme="dark"] .theme-toggle .i-sun  { display: block; }
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .theme-toggle .i-moon { display: none; }
  html:not([data-theme="light"]) .theme-toggle .i-sun  { display: block; }
}

.site-footer {
  border-top: 1px solid var(--rule);
  padding-block: clamp(2.5rem, 5vw, 4rem) 2rem;
  background: var(--paper-2);
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.footer-grid h3 {
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: .9rem;
}
.footer-grid li { margin-bottom: .45rem; }
.footer-grid a { color: var(--ink-2); text-decoration: none; }
.footer-grid a:hover { color: var(--accent-ink); text-decoration: underline; }

.socials { display: flex; gap: .6rem; margin-top: 1.25rem; }
.socials a {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  color: var(--ink-2);
}
.socials a:hover { color: var(--accent-ink); border-color: var(--accent); }
.socials svg { width: 17px; height: 17px; fill: currentColor; }

.colophon {
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  justify-content: space-between;
  font-size: .82rem;
  color: var(--ink-3);
}

/* 6 ── Components ────────────────────────────────────────────────────────── */
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .72rem 1.3rem;
  border-radius: 999px;
  border: 1px solid var(--rule);
  font-size: .93rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
  background: var(--card);
  transition: transform .16s ease, border-color .16s ease, background .16s ease, color .16s ease;
}
.btn:hover { transform: translateY(-1px); border-color: var(--ink-3); }
.btn svg { width: 15px; height: 15px; flex: none; }

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}
.btn-primary:hover {
  background: var(--accent-ink);
  border-color: var(--accent-ink);
  color: var(--on-accent);
}

.btn-quiet { background: transparent; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--accent-ink);
  font-weight: 500;
  font-size: .93rem;
  text-decoration: none;
}
.link-arrow svg { width: 14px; height: 14px; transition: transform .18s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip {
  font-size: .8rem;
  line-height: 1;
  padding: .45rem .7rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--ink-2);
  background: var(--card);
  white-space: nowrap;
}
.chip-accent { background: var(--accent-bg); border-color: color-mix(in srgb, var(--accent) 28%, transparent); color: var(--accent-ink); }

.card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: .8rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--ink-3); }
.card h3 a { text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card-link { position: relative; }

.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.5rem); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 640px)  { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 860px)  { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--accent);
  line-height: 1;
}

.stat { display: grid; gap: .3rem; }
.stat dt { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.stat dd { margin: 0; font-family: var(--font-display); font-size: clamp(1.7rem, 3.4vw, 2.3rem); line-height: 1.1; }

/* 7 ── Page blocks ───────────────────────────────────────────────────────── */

/* Hero */
.hero { padding-block: clamp(3rem, 8vw, 6rem) clamp(3rem, 7vw, 5.5rem); }
.hero-grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 880px) {
  .hero-grid { grid-template-columns: 1.25fr .85fr; }
}
.hero h1 { margin-block: 1.1rem .9rem; }
.hero .actions { margin-top: 2rem; }

.portrait {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 5 / 6;
  background: var(--paper-2);
  max-width: 380px;
  margin-inline: auto;
  width: 100%;
}
.portrait picture { display: block; width: 100%; height: 100%; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }

.now {
  margin-top: 2.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--rule);
  display: grid;
  gap: .35rem;
  font-size: .9rem;
  color: var(--ink-2);
  max-width: 46ch;
}
.now strong { color: var(--ink); font-weight: 600; }

.dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #2e9e5b;
  margin-right: .5rem;
  vertical-align: middle;
  box-shadow: 0 0 0 3px color-mix(in srgb, #2e9e5b 22%, transparent);
}

/* Pillars */
.pillar { display: grid; gap: .7rem; align-content: start; }
.pillar-mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--accent-bg);
  color: var(--accent-ink);
  margin-bottom: .3rem;
}
.pillar-mark svg { width: 19px; height: 19px; }
.pillar p { color: var(--ink-2); font-size: .95rem; }

/* Split feature */
.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 880px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split.media-first > :first-child { order: 2; }
}
.split figure { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.split figure picture { display: block; }
.split figure img { width: 100%; }

/* Case studies */
.case {
  border-top: 1px solid var(--rule);
  padding-top: clamp(2rem, 4vw, 3rem);
  margin-top: clamp(2rem, 4vw, 3rem);
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: 1fr;
  scroll-margin-top: 90px;
}
@media (min-width: 900px) {
  .case { grid-template-columns: 250px 1fr; }
}
.case:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }

.case-aside { display: grid; gap: 1.4rem; align-content: start; }
@media (min-width: 900px) {
  .case-aside { position: sticky; top: 92px; }
}
.case-meta { display: grid; gap: .3rem; }
.case-meta dt {
  font-size: .7rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.case-meta dd { margin: 0; font-size: .92rem; color: var(--ink-2); }

.case-body h3 { margin-bottom: .9rem; }
.case-body h4 {
  font-family: var(--font-sans);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 1.8rem 0 .55rem;
}

.callout {
  border-left: 2px solid var(--accent);
  padding: .1rem 0 .1rem 1.1rem;
  color: var(--ink-2);
  font-size: .95rem;
}

.note {
  background: var(--accent-bg);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  font-size: .9rem;
  color: var(--ink-2);
}
.note strong { color: var(--accent-ink); }

/* Timeline */
.timeline { display: grid; }
.role {
  display: grid;
  gap: .4rem 2rem;
  grid-template-columns: 1fr;
  padding-block: 1.6rem;
  border-top: 1px solid var(--rule-soft);
}
.role:first-child { border-top: 0; padding-top: .5rem; }
@media (min-width: 760px) {
  .role { grid-template-columns: 170px 1fr; }
}
.role-when {
  font-size: .84rem;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
  padding-top: .28rem;
}
.role-title { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.3; }
.role-where { font-size: .92rem; color: var(--ink-2); margin-bottom: .5rem; }
.role-where b { color: var(--ink); font-weight: 600; }
.role p { font-size: .95rem; color: var(--ink-2); max-width: 62ch; }
.role .chips { margin-top: .75rem; }

/* Skill groups */
.skillset { display: grid; gap: 1.6rem; }
.skillset > div { display: grid; gap: .7rem; }
.skillset h3 {
  font-family: var(--font-sans);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* Gallery (beyond) */
.gallery { display: grid; gap: clamp(1.25rem, 3vw, 2.25rem); grid-template-columns: 1fr; }
@media (min-width: 620px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.tile { display: grid; gap: .85rem; align-content: start; }
.tile figure {
  border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 3; background: var(--paper-2);
}
.tile figure picture { display: block; width: 100%; height: 100%; }
.tile figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.3,1); }
.tile:hover figure img { transform: scale(1.04); }
.tile h3 { font-size: 1.15rem; }
.tile p { font-size: .93rem; color: var(--ink-2); }

/* Contact band */
.contact-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 820px) { .contact-grid { grid-template-columns: 1.15fr .85fr; } }

/* Embed */
.embed {
  position: relative;
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper-2);
  aspect-ratio: 16 / 10;
}
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 700px) { .embed { aspect-ratio: 3 / 4; } }

/* 8 ── Utilities ─────────────────────────────────────────────────────────── */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.stack   { display: grid; gap: 1rem; }
.stack-s { display: grid; gap: .5rem; }
.stack-l { display: grid; gap: 2rem; }
.center  { text-align: center; justify-items: center; }
.center .lede, .center p { margin-inline: auto; }
.center .eyebrow { justify-content: center; }

/* 9 ── Motion & print ────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(14px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.3,1); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .skip, .actions, .theme-toggle { display: none !important; }
  body { background: #fff; color: #000; }
  section { padding-block: 1rem; }
  a::after { content: " (" attr(href) ")"; font-size: .75em; color: #555; }
}

/* ── Narrow screens: header folds to two rows ─────────────────────────────── */
@media (max-width: 720px) {
  .site-header .wrap {
    flex-wrap: wrap;
    row-gap: .1rem;
    min-height: 0;
    padding-block: .55rem;
  }
  .brand span { display: none; }
  .nav {
    order: 3;
    width: 100%;
    gap: 1.15rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: .1rem;
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { font-size: .88rem; white-space: nowrap; }
}
@media (max-width: 400px) {
  .nav { gap: .95rem; }
  .nav a { font-size: .83rem; }
  .brand { font-size: 1rem; }
}

/* ── Gallery ──────────────────────────────────────────────────────────────── */
.shots {
  column-count: 1;
  column-gap: clamp(1rem, 2.5vw, 1.6rem);
}
@media (min-width: 620px)  { .shots { column-count: 2; } }
@media (min-width: 1000px) { .shots { column-count: 3; } }

.shot {
  break-inside: avoid;
  margin: 0 0 clamp(1rem, 2.5vw, 1.6rem);
  display: grid;
  gap: .55rem;
}
.shot-btn {
  display: block;
  padding: 0;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-2);
  line-height: 0;
  box-shadow: var(--shadow-sm);
}
.shot-btn img {
  width: 100%;
  height: auto;
  transition: transform .55s cubic-bezier(.2,.7,.3,1), filter .3s ease;
}
.shot-btn:hover img { transform: scale(1.035); }
.shot figcaption {
  font-size: .845rem;
  line-height: 1.45;
  color: var(--ink-2);
  padding-inline: .1rem;
}

/* Lightbox */
.lightbox[hidden] { display: none !important; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(10, 9, 8, .93);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  animation: lb-in .2s ease;
}
@keyframes lb-in { from { opacity: 0 } to { opacity: 1 } }

.lightbox-inner {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}
.lb-figure {
  display: grid;
  gap: 1rem;
  justify-items: center;
  max-width: min(1100px, 100%);
  max-height: 100%;
}
.lb-figure picture { display: block; min-height: 0; }
.lb-figure img {
  max-width: 100%;
  max-height: calc(100vh - 11rem);
  width: auto;
  border-radius: 6px;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.9);
}
.lb-figure figcaption {
  color: #d8d1c8;
  font-size: .92rem;
  text-align: center;
  max-width: 58ch;
}

.lb-close, .lb-nav {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  color: #f2ede6;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  transition: background .18s ease, transform .18s ease;
}
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,.18); }
.lb-close {
  top: 0; right: 0;
  width: 44px; height: 44px;
  font-size: 1.6rem; line-height: 1;
}
.lb-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  font-size: 2rem; line-height: 1;
  padding-bottom: .18em;
}
.lb-nav:hover { transform: translateY(-50%) scale(1.06); }
.lb-prev { left: 0; }
.lb-next { right: 0; }
@media (max-width: 620px) {
  .lb-nav { top: auto; bottom: 0; transform: none; }
  .lb-nav:hover { transform: scale(1.06); }
  .lb-prev { left: 15%; }
  .lb-next { right: 15%; }
  .lb-figure img { max-height: calc(100vh - 14rem); }
}
body.lb-open { overflow: hidden; }
