@font-face {
  font-family: "DM Serif Display";
  src: url("assets/fonts/dm-serif-display.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Serif Display";
  src: url("assets/fonts/dm-serif-display-italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --teal: #003333;
  --mint: #ccffcc;
  --muted: #a6c7b6;
  --line: rgb(204 255 204 / 22%);
  --display: "DM Serif Display", Georgia, serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: radial-gradient(ellipse at 90% 15%, #175749 0, transparent 42%), radial-gradient(ellipse at 5% 80%, #08493f 0, transparent 42%), linear-gradient(150deg, #002c2e, var(--teal) 55%, #002527);
  color: var(--mint);
  font-family: var(--sans);
  min-height: 100svh;
}
a { color: inherit; }
button { font: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--mint); outline-offset: 6px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; }
.skip-link { position: fixed; top: 12px; left: 12px; padding: 12px; background: var(--teal); z-index: 10; transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.site-header { max-width: 1600px; padding: 24px 5%; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.wordmark { font-family: var(--display); font-size: 32px; letter-spacing: -.06em; text-decoration: none; }
.wordmark span { color: #79b49a; }
.site-nav { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(16px, 3vw, 44px); font: 13px var(--sans); }
.site-nav a { padding: 9px 0; text-decoration: none; color: var(--muted); position: relative; transition: color .2s; }
.site-nav a::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: var(--mint); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--mint); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.composition { position: relative; max-width: 1600px; margin: auto; container-type: inline-size; }
.home { aspect-ratio: 16 / 9; isolation: isolate; }
.hero-image { position: absolute; left: 27%; top: 9%; width: 68%; height: 81%; object-fit: cover; object-position: 52% center; border-radius: 3px; box-shadow: 0 32px 80px rgb(0 0 0 / 30%); z-index: -2; }
.home::before { content: ""; position: absolute; inset: 9% 5% 10% 27%; background: linear-gradient(90deg, rgb(0 44 46 / 75%), transparent 40%), linear-gradient(0deg, rgb(0 44 46 / 28%), transparent 50%); z-index: -1; pointer-events: none; }
.home-eyebrow, .page-eyebrow { color: var(--muted); font: 11px/1.5 var(--sans); text-transform: uppercase; letter-spacing: .2em; }
.home-eyebrow { position: absolute; top: 13%; left: 6%; }
.home-copy { position: absolute; top: 21%; left: 5.5%; display: flex; flex-direction: column; align-items: flex-start; gap: clamp(16px, 2cqw, 28px); }
.home-title { font-size: 9.3cqw; line-height: .97; letter-spacing: -.035em; text-shadow: 0 4px 40px rgb(0 30 30 / 15%); }
.home-title span { display: block; }
.home-role { font: italic 3cqw var(--display); }
.reel-button { display: flex; align-items: center; gap: 24px; padding: 17px 25px; border: 1px solid rgb(204 255 204 / 50%); border-radius: 100px; color: var(--mint); background: rgb(0 51 51 / 65%); backdrop-filter: blur(16px); font: 13px var(--sans); cursor: pointer; transition: background .2s, transform .2s; }
.reel-button:hover { background: #1b5e4f; transform: translateY(-2px); }
.play-icon { font-size: 10px; }
.gallery { padding: 68px 5% 110px; }
.gallery-title { font-size: clamp(56px, 6.5cqw, 104px); line-height: 1.1; letter-spacing: -.03em; margin-top: 12px; }
.not-found-copy { max-width: 600px; margin-top: 28px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.gallery-grid { display: grid; grid-template-columns: 1fr 1.07fr 1fr; gap: 4%; align-items: start; margin-top: 54px; }
.image-frame { border: 1px solid var(--line); background: linear-gradient(145deg, rgb(204 255 204 / 5%), rgb(0 28 28 / 16%)); padding: 14px; box-shadow: 0 24px 48px rgb(0 20 20 / 16%); transition: transform .3s, border-color .3s; }
.image-frame:nth-child(2) { margin-top: 75px; }
.image-frame:hover { transform: translateY(-5px); border-color: rgb(204 255 204 / 55%); }
.image-frame a { display: block; overflow: hidden; }
.image-frame img { display: block; width: 100%; height: auto; transition: transform .5s; }
.image-frame a:hover img { transform: scale(1.025); }
.photography .gallery-grid { align-items: center; }
.photography .image-frame:nth-child(2) { margin-top: 0; }
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; margin-top: 54px; }
.video-frame { min-width: 0; padding: 14px; border: 1px solid var(--line); background: linear-gradient(145deg, rgb(204 255 204 / 5%), rgb(0 28 28 / 16%)); box-shadow: 0 24px 48px rgb(0 20 20 / 16%); }
.video-frame:first-child { grid-column: 1 / -1; }
.video-frame figcaption { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px 24px; padding: 20px 4px 6px; }
.video-frame h2 { font-size: clamp(24px, 2.5cqw, 36px); line-height: 1.2; }
.video-frame figcaption a { color: var(--muted); font-size: 12px; text-underline-offset: 4px; }
.video-frame figcaption a:hover { color: var(--mint); }
.video-frame figcaption a span { margin-left: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.resume { max-width: 1440px; margin: auto; padding: 64px 5% 72px; container-type: inline-size; }
.resume-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding: 0 0 40px; }
.resume-header h1 { font-size: clamp(64px, 8cqw, 112px); line-height: 1.1; letter-spacing: -.03em; margin-top: 12px; }
.resume-header address { font: 14px var(--sans); color: var(--muted); padding-bottom: 10px; font-style: normal; }
.resume-header a { text-underline-offset: 6px; text-decoration-color: var(--line); }
.resume-body { display: grid; grid-template-columns: minmax(0, 2.9fr) minmax(0, 1fr); gap: clamp(28px, 4cqw, 58px); padding: clamp(28px, 4cqw, 58px); border: 1px solid rgb(204 255 204 / 40%); background: linear-gradient(135deg, #dcffdc, var(--mint) 60%, #b5e6c3); border-radius: 3px; color: #355548; font-size: clamp(16px, 1.3cqw, 19px); line-height: 1.6; box-shadow: 0 30px 70px rgb(0 20 20 / 15%); }
.resume-body h2 { margin: 0 0 24px; font-size: 2em; color: var(--teal); letter-spacing: -.02em; }
.resume-body h3 { margin: 0 0 6px; font-size: 1.25em; line-height: 1.25; color: var(--teal); }
.resume-main > section + section, .resume-sidebar > section + section { margin-top: 42px; }
.resume-entries { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px clamp(28px, 3cqw, 48px); }
.resume-role { font-style: italic; }
.resume-body .resume-meta { margin: 8px 0 14px; font-size: 11px; font-family: var(--sans); line-height: 1.6; color: #436550; }
.resume-sidebar { border-left: 1px solid rgb(0 51 51 / 18%); padding-left: 28px; }
.resume-sidebar article + article { margin-top: 28px; }
.resume-skills { margin: 0; padding-left: 1.1em; }
.resume-skills li + li { margin-top: 4px; }
.site-footer { max-width: 1440px; margin: auto; padding: 32px 5% 40px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 28px; font: 12px/1.6 var(--sans); color: var(--muted); }
.site-footer p span { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .13em; margin-top: 4px; }
.site-footer a { color: var(--mint); text-decoration: none; }
.site-footer a span { display: inline-block; margin-left: 15px; }
dialog { width: min(92vw, 1100px); max-width: none; max-height: 90svh; padding: clamp(16px, 3vw, 32px); border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(145deg, #0b4941, var(--teal)); color: var(--mint); box-shadow: 0 30px 100px rgb(0 0 0 / 45%); }
dialog::backdrop { background: rgb(0 20 20 / 85%); backdrop-filter: blur(8px); }
dialog h2 { margin: 0 0 20px; font-size: 36px; }
dialog p { font: 16px/1.5 var(--sans); }
dialog button { margin-top: 24px; border: 1px solid var(--line); border-radius: 100px; background: transparent; color: inherit; padding: 10px 24px; cursor: pointer; font: 13px var(--sans); }
dialog button:hover { background: rgb(204 255 204 / 10%); }
/* Clip a one-pixel overscan so Vimeo's edges stay hidden at fractional sizes. */
.reel-player { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.reel-player iframe { position: absolute; top: -1px; left: -1px; display: block; width: calc(100% + 2px); height: calc(100% + 2px); border: 0; }
dialog .reel-link { margin-top: 16px; font-size: 13px; }
@media (max-width: 1000px) {
  .resume-body { grid-template-columns: minmax(0, 1fr) minmax(0, .55fr); }
  .resume-entries { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .site-header { padding: 18px 6%; gap: 18px; }
  .wordmark { font-size: 28px; }
  .site-nav { gap: 14px; font-size: 11px; }
  .home { aspect-ratio: auto; min-height: 640px; height: 85svh; max-height: 850px; }
  .hero-image { top: 8%; left: 12%; width: 82%; height: 79%; object-position: 52% center; }
  .home::before { inset: 8% 6% 13% 12%; background: linear-gradient(0deg, rgb(0 44 46 / 90%), transparent 65%), linear-gradient(90deg, rgb(0 44 46 / 45%), transparent); }
  .home-eyebrow { top: 4%; left: 6%; font-size: 9px; }
  .home-copy { top: auto; bottom: 17%; left: 6%; gap: 18px; }
  .home-title { font-size: clamp(66px, 16vw, 100px); }
  .home-role { font-size: 30px; }
  .reel-button { padding: 15px 21px; gap: 22px; }
  .gallery { padding: 40px 6% 60px; }
  .gallery-title { font-size: clamp(46px, 12vw, 70px); }
  .gallery-grid { grid-template-columns: 1fr; gap: 32px; margin-top: 32px; }
  .video-grid { grid-template-columns: 1fr; gap: 32px; margin-top: 32px; }
  .video-frame { padding: 12px; }
  .image-frame { width: 100%; max-width: 460px; margin: auto; padding: 12px; }
  .image-frame:nth-child(2) { margin-top: 0; }
  .resume { padding: 40px 6% 48px; }
  .resume-header { align-items: flex-start; flex-direction: column; padding-bottom: 28px; gap: 20px; }
  .resume-header h1 { font-size: 68px; }
  .resume-header address { font-size: 13px; overflow-wrap: anywhere; padding: 0; }
  .resume-body { display: block; padding: 26px 22px; font-size: 16px; }
  .resume-sidebar { margin-top: 36px; padding: 32px 0 0; border-left: 0; border-top: 1px solid rgb(0 51 51 / 18%); }
  .resume-main > section + section, .resume-sidebar > section + section { margin-top: 36px; }
  .site-footer { padding: 28px 6%; font-size: 11px; gap: 20px; }
}
@media (max-width: 360px) {
  .site-header { flex-direction: column; gap: 8px; }
  .site-nav { gap: 22px; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
