.story-card h2 a { text-decoration: none; }
.story-card__video { display: block; width: 100%; aspect-ratio: 1.3; object-fit: cover; background: #252825; }
.collection-empty { margin: 28px 0 0; padding: 28px; background: #e5e6e1; color: #676b66; }


/* Coordinated collection page colors and responsive galleries. */
body.page .site-main { background: linear-gradient(135deg, #e4e5e0 0%, #d5d8d3 100%); }
body .content-card { --page-accent: var(--yellow); background: #292c2b; border-color: rgba(255,255,255,.18); color: #f4f3ee; box-shadow: 0 18px 45px rgba(20,22,21,.16); }
body .content-card h1, body .content-card h2, body .content-card h3 { color: #fff; }
body .content-card .eyebrow { color: var(--page-accent); }
body .content-card a { color: var(--page-accent); }
body .content-card .story-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); }
body .content-card .story-card__type { color: rgba(244,243,238,.68); }
body .content-card .story-card h2 { color: #fff; }
body .content-card--professional { --page-accent: #d6ac2d; background: linear-gradient(135deg, #242a2b, #303638); }
body .content-card--photography { --page-accent: #df9b57; background: linear-gradient(135deg, #302b28, #39342e); }
body .content-card--videography { --page-accent: #d6ac2d; background: linear-gradient(135deg, #252b2d, #30383a); }
body .content-card--hiking { --page-accent: #9abe68; background: linear-gradient(135deg, #293127, #394331); }
body .content-card--games-hobbies { --page-accent: #78adcb; background: linear-gradient(135deg, #263138, #34434c); }
body .photo-gallery-page__header, body .video-gallery-page__header { max-width: 700px; margin-bottom: 34px; }
body .photo-gallery-page__header .eyebrow, body .video-gallery-page__header .eyebrow { margin-bottom: 8px; }
body .photo-gallery-page__header p:last-child, body .video-gallery-page__header p:last-child { color: rgba(244,243,238,.74); margin: 14px 0 0; }
body .photo-gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
body .photo-gallery-card { background: #171918; display: block; overflow: hidden; }
body .photo-gallery-card img { display: block; height: 100%; min-height: 190px; object-fit: cover; transition: transform .3s ease, opacity .3s ease; width: 100%; }
body .photo-gallery-card:hover img, body .photo-gallery-card:focus-visible img { opacity: .82; transform: scale(1.045); }
body .photo-gallery-card:focus-visible { outline: 2px solid var(--page-accent); outline-offset: 3px; }
body .gallery-pagination { align-items: center; display: flex; justify-content: space-between; gap: 16px; margin-top: 26px; }
body .gallery-pagination a { border: 1px solid currentColor; font-size: 11px; font-weight: 700; letter-spacing: .1em; padding: 9px 12px; text-decoration: none; text-transform: uppercase; }
body .gallery-pagination span { color: rgba(244,243,238,.65); font-size: 11px; letter-spacing: .08em; }
body .photo-gallery-page__local, body .video-gallery-page__local { border-top: 1px solid rgba(255,255,255,.18); margin-top: 48px; padding-top: 34px; }
body .photo-gallery-page__local > h2, body .video-gallery-page__local > h2, body .youtube-playlist-section > h2 { color: var(--page-accent); font-size: 15px; letter-spacing: .11em; margin: 0 0 22px; text-transform: uppercase; }
body .youtube-playlist-section { margin-top: 34px; }
@media (max-width: 980px) { body .photo-gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 680px) { body .photo-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } body .photo-gallery-card img { min-height: 150px; } body .gallery-pagination { align-items: stretch; flex-direction: column; text-align: center; } body .photo-gallery-page__local, body .video-gallery-page__local { margin-top: 34px; } }


/* Thumbnail grid with a large-photo popup viewer. */
body .photo-gallery-card { border: 0; cursor: pointer; padding: 0; width: 100%; }
body .photo-gallery-card:focus-visible { outline: 2px solid var(--page-accent); outline-offset: 3px; }
body .photo-lightbox[hidden] { display: none; }
body .photo-lightbox { align-items: center; background: rgba(9,11,10,.9); display: flex; inset: 0; justify-content: center; overflow-y: auto; padding: 28px; position: fixed; z-index: 1000; }
body.is-photo-lightbox-open { overflow: hidden; }
body .photo-lightbox__panel { background: #222624; border: 1px solid rgba(255,255,255,.22); box-shadow: 0 24px 70px rgba(0,0,0,.48); max-width: min(1100px, 100%); padding: 20px; position: relative; width: 100%; }
body .photo-lightbox__panel > .eyebrow { color: var(--page-accent); margin: 0 0 13px; }
body .photo-lightbox__close { align-items: center; background: transparent; border: 1px solid rgba(255,255,255,.42); color: #fff; cursor: pointer; display: inline-flex; font-size: 25px; height: 36px; justify-content: center; line-height: 1; position: fixed; right: 24px; top: 50px; z-index: 2; width: 36px; }
body .photo-lightbox__close:hover, body .photo-lightbox__close:focus-visible { background: var(--page-accent); border-color: var(--page-accent); color: #171918; outline: 0; }
body .photo-showcase__stage { background: #141615; overflow: hidden; position: relative; }
body .photo-showcase__main { display: block; height: min(62vw, 640px); min-height: 340px; }
body .photo-showcase__main img { display: block; height: 100%; object-fit: contain; width: 100%; }
body .photo-showcase__step, body .photo-showcase__rail-button { align-items: center; background: rgba(20,22,21,.76); border: 1px solid rgba(255,255,255,.52); color: #fff; cursor: pointer; display: inline-flex; font-size: 25px; justify-content: center; line-height: 1; transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease; }
body .photo-showcase__step { border-radius: 50%; height: 50px; position: absolute; top: 50%; transform: translateY(-50%); width: 50px; }
body .photo-showcase__step--previous { left: 18px; }
body .photo-showcase__step--next { right: 18px; }
body .photo-showcase__step:hover, body .photo-showcase__step:focus-visible, body .photo-showcase__rail-button:hover, body .photo-showcase__rail-button:focus-visible { background: var(--page-accent); border-color: var(--page-accent); color: #171918; outline: 0; }
body .photo-showcase__step--previous:hover { transform: translate(-3px,-50%); }
body .photo-showcase__step--next:hover { transform: translate(3px,-50%); }
body .photo-showcase__filmstrip { align-items: center; display: grid; gap: 10px; grid-template-columns: 42px minmax(0, 1fr) 42px; margin-top: 14px; }
body .photo-showcase__rail-button { height: 42px; width: 42px; }
body .photo-showcase__rail { display: flex; gap: 10px; overflow-x: auto; overscroll-behavior-inline: contain; padding: 3px; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-color: rgba(223,155,87,.75) rgba(255,255,255,.1); scrollbar-width: thin; }
body .photo-showcase__rail::-webkit-scrollbar { height: 7px; }
body .photo-showcase__rail::-webkit-scrollbar-thumb { background: rgba(223,155,87,.75); }
body .photo-showcase__thumb { background: #141615; border: 2px solid transparent; cursor: pointer; flex: 0 0 116px; height: 82px; overflow: hidden; padding: 0; scroll-snap-align: center; transition: border-color .2s ease, opacity .2s ease, transform .2s ease; }
body .photo-showcase__thumb img { display: block; height: 100%; object-fit: cover; width: 100%; }
body .photo-showcase__thumb:hover, body .photo-showcase__thumb:focus-visible { border-color: rgba(255,255,255,.7); outline: 0; transform: translateY(-2px); }
body .photo-showcase__thumb.is-active { border-color: var(--page-accent); opacity: 1; }
@media (max-width: 680px) { body .photo-lightbox { padding: 12px; } body .photo-lightbox__panel { padding: 14px; } body .photo-showcase__main { height: 62vw; min-height: 230px; } body .photo-showcase__step { height: 40px; width: 40px; } body .photo-showcase__step--previous { left: 9px; } body .photo-showcase__step--next { right: 9px; } body .photo-showcase__filmstrip { gap: 7px; grid-template-columns: 34px minmax(0, 1fr) 34px; } body .photo-showcase__rail-button { height: 34px; width: 34px; } body .photo-showcase__thumb { flex-basis: 88px; height: 62px; } }


/* Live Flickr gallery on the Photography page. */
body .flickr-gallery { border-top: 1px solid rgba(255,255,255,.18); margin-top: 48px; padding-top: 34px; }
body .flickr-gallery__header { align-items: end; display: flex; gap: 20px; justify-content: space-between; margin-bottom: 22px; }
body .flickr-gallery__header .eyebrow { margin-bottom: 8px; }
body .flickr-gallery__header h2 { color: var(--page-accent); font-size: 15px; letter-spacing: .11em; margin: 0; text-transform: uppercase; }
body .flickr-gallery__header > a { border: 1px solid currentColor; font-size: 11px; letter-spacing: .09em; padding: 8px 11px; text-decoration: none; text-transform: uppercase; white-space: nowrap; }
body .flickr-gallery__grid { display: grid; gap: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
body .flickr-gallery__card { background: #151716; display: block; overflow: hidden; position: relative; }
body .flickr-gallery__card::after { background: linear-gradient(180deg, transparent 48%, rgba(0,0,0,.55)); bottom: 0; content: ''; inset: 0; opacity: 0; pointer-events: none; position: absolute; transition: opacity .2s ease; }
body .flickr-gallery__card img { aspect-ratio: 1; display: block; height: 100%; object-fit: cover; transition: transform .3s ease, opacity .3s ease; width: 100%; }
body .flickr-gallery__card:hover img, body .flickr-gallery__card:focus-visible img { opacity: .82; transform: scale(1.05); }
body .flickr-gallery__card:hover::after, body .flickr-gallery__card:focus-visible::after { opacity: 1; }
body .flickr-gallery__card:focus-visible { outline: 2px solid var(--page-accent); outline-offset: 3px; }
body .flickr-gallery__loading { color: rgba(244,243,238,.7); grid-column: 1 / -1; margin: 0; }
@media (max-width: 680px) { body .flickr-gallery { margin-top: 34px; padding-top: 28px; } body .flickr-gallery__header { align-items: start; flex-direction: column; } body .flickr-gallery__grid { gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); } }


/* Every navigation page fills the space beside the fixed sidebar. */
body.page .content-wrap { margin: 0; min-height: 100vh; padding: 0; width: 100%; }
body.page .content-card { border: 0; box-shadow: none; min-height: 100vh; padding: clamp(42px, 5.5vw, 88px); width: 100%; }
body.page .site-footer { display: none; }
@media (max-width: 680px) { body.page .content-wrap { min-height: calc(100svh - 60px); } body.page .content-card { min-height: calc(100svh - 60px); padding: 34px 18px 48px; } }


/* Local photo views, likes, sharing, and comments. */
body.page .content-card.content-card--videography { background: linear-gradient(135deg, #252b2d, #30383a); }
body .photo-interactions { border-top: 1px solid rgba(255,255,255,.18); margin-top: 20px; padding-top: 18px; }
body .photo-interactions__toolbar { align-items: center; display: flex; flex-wrap: wrap; gap: 9px; }
body .photo-interactions__button, body .photo-interactions__stat { border: 1px solid rgba(255,255,255,.3); color: #f4f3ee; font-size: 11px; font-weight: 700; letter-spacing: .06em; line-height: 1; min-height: 34px; padding: 10px 11px; text-transform: uppercase; }
body .photo-interactions__button { background: transparent; cursor: pointer; }
body .photo-interactions__button b { color: var(--page-accent); font-size: 11px; margin-left: 3px; }
body .photo-interactions__button:hover, body .photo-interactions__button:focus-visible, body .photo-interactions__button.is-liked { background: var(--page-accent); border-color: var(--page-accent); color: #171918; outline: 0; }
body .photo-interactions__button:hover b, body .photo-interactions__button:focus-visible b, body .photo-interactions__button.is-liked b { color: #171918; }
body .photo-interactions__comments { margin-top: 21px; }
body .photo-interactions__comments h2 { color: var(--page-accent); font-size: 13px; letter-spacing: .1em; margin: 0 0 12px; text-transform: uppercase; }
body .photo-interactions__comment-list { display: grid; gap: 9px; margin-bottom: 15px; max-height: 180px; overflow-y: auto; }
body .photo-interactions__comment { background: rgba(255,255,255,.07); border-left: 2px solid var(--page-accent); padding: 10px 12px; }
body .photo-interactions__comment strong { color: #fff; display: block; font-size: 12px; }
body .photo-interactions__comment p { color: rgba(244,243,238,.78); font-size: 13px; line-height: 1.45; margin: 4px 0 0; }
body .photo-interactions__empty, body .photo-interactions__status { color: rgba(244,243,238,.68); font-size: 12px; margin: 0; }
body .photo-interactions__form { display: grid; gap: 10px; }
body .photo-interactions__form label { color: rgba(244,243,238,.78); display: grid; font-size: 11px; font-weight: 700; gap: 6px; letter-spacing: .06em; text-transform: uppercase; }
body .photo-interactions__form label em { font-style: normal; font-weight: 400; opacity: .72; }
body .photo-interactions__form input, body .photo-interactions__form textarea { background: rgba(0,0,0,.18); border: 1px solid rgba(255,255,255,.25); color: #fff; font: inherit; padding: 9px 10px; resize: vertical; }
body .photo-interactions__form input:focus, body .photo-interactions__form textarea:focus { border-color: var(--page-accent); outline: 0; }
body .photo-interactions__form button { background: var(--page-accent); border: 0; color: #171918; cursor: pointer; font-size: 11px; font-weight: 800; justify-self: start; letter-spacing: .08em; padding: 10px 13px; text-transform: uppercase; }
body .photo-interactions__status { min-height: 1.3em; }
@media (max-width: 680px) { body .photo-interactions__toolbar { gap: 6px; } body .photo-interactions__button, body .photo-interactions__stat { font-size: 10px; padding: 9px 8px; } }


/* Professional portfolio (resume-driven) */
body .content-card.content-card--professional {
	--page-accent: #7bc6c3;
	background: radial-gradient(circle at 86% 8%, rgba(123, 198, 195, .19), transparent 31rem), linear-gradient(135deg, #1f2c2e 0%, #26383a 52%, #202a2d 100%);
	color: #f3f5f1;
}
body .professional-profile { margin: 0 auto; max-width: 1280px; }
body .professional-profile__hero { border-bottom: 1px solid rgba(255,255,255,.2); display: grid; gap: 20px; padding: 0 0 clamp(38px, 5vw, 66px); }
body .professional-profile__eyebrow, body .professional-section__heading > p { color: var(--page-accent); font-size: 12px; font-weight: 800; letter-spacing: .16em; margin: 0; text-transform: uppercase; }
body .professional-profile h1 { color: #fff; font-size: clamp(44px, 7vw, 86px); letter-spacing: -.055em; line-height: .94; margin: 0; }
body .professional-profile__intro { color: rgba(243,245,241,.86); font-size: clamp(18px, 1.7vw, 24px); line-height: 1.55; margin: 0; max-width: 960px; }
body .professional-profile__focus { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 4px 0 0; padding: 0; }
body .professional-profile__focus li { background: rgba(255,255,255,.09); border: 1px solid rgba(123,198,195,.34); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .1em; padding: 10px 13px; text-transform: uppercase; }
body .professional-profile__layout { align-items: start; display: grid; gap: clamp(28px, 5vw, 78px); grid-template-columns: minmax(0, 1.45fr) minmax(275px, .8fr); padding-top: clamp(38px, 5vw, 74px); }
body .professional-section__heading { border-bottom: 1px solid rgba(255,255,255,.18); margin-bottom: 28px; padding-bottom: 20px; }
body .professional-section__heading h2, body .professional-side-card h2 { color: #fff; font-size: clamp(24px, 3vw, 38px); letter-spacing: -.035em; line-height: 1; margin: 7px 0 0; }
body .professional-timeline { list-style: none; margin: 0; padding: 0 0 0 26px; position: relative; }
body .professional-timeline::before { background: linear-gradient(var(--page-accent), rgba(123,198,195,.1)); content: ''; inset: 7px auto 28px 3px; position: absolute; width: 1px; }
body .professional-timeline li { margin: 0 0 30px; position: relative; }
body .professional-timeline li::before { background: var(--page-accent); border: 5px solid #27383a; border-radius: 50%; content: ''; height: 8px; left: -29px; position: absolute; top: 3px; width: 8px; }
body .professional-timeline h3 { color: #fff; font-size: 18px; letter-spacing: .02em; margin: 0; }
body .professional-timeline__meta { color: var(--page-accent); display: flex; flex-wrap: wrap; font-size: 11px; font-weight: 800; gap: 5px 10px; letter-spacing: .085em; line-height: 1.5; margin: 7px 0 11px; text-transform: uppercase; }
body .professional-timeline__meta span { color: rgba(243,245,241,.66); }
body .professional-timeline p:not(.professional-timeline__meta) { color: rgba(243,245,241,.82); line-height: 1.65; margin: 0; }
body .professional-profile__side { display: grid; gap: 18px; }
body .professional-side-card { background: rgba(5,12,13,.26); border: 1px solid rgba(255,255,255,.16); padding: clamp(22px, 3vw, 32px); }
body .professional-side-card h2 { font-size: 22px; margin-bottom: 20px; }
body .professional-skills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
body .professional-skills li { border-bottom: 1px solid rgba(123,198,195,.42); color: rgba(255,255,255,.9); font-size: 13px; line-height: 1.4; padding: 0 0 7px; }
body .professional-qualification { border-left: 2px solid var(--page-accent); display: grid; gap: 5px; margin-top: 22px; padding-left: 14px; }
body .professional-qualification:first-of-type { margin-top: 0; }
body .professional-qualification strong { color: #fff; font-size: 14px; letter-spacing: .02em; }
body .professional-qualification span { color: var(--page-accent); font-size: 12px; font-weight: 700; line-height: 1.45; }
body .professional-qualification p, body .professional-side-card--research p { color: rgba(243,245,241,.75); font-size: 13px; line-height: 1.55; margin: 3px 0 0; }
body .professional-side-card--research p + p { border-top: 1px solid rgba(255,255,255,.13); margin-top: 17px; padding-top: 17px; }
body .professional-side-card--research strong { color: #fff; font-size: 13px; line-height: 1.45; }
@media (max-width: 900px) {
	body .professional-profile__layout { grid-template-columns: 1fr; }
	body .professional-profile__side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body .professional-side-card--research { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
	body .content-card.content-card--professional { padding: 34px 22px 48px; }
	body .professional-profile__side { grid-template-columns: 1fr; }
	body .professional-side-card--research { grid-column: auto; }
	body .professional-timeline { padding-left: 22px; }
	body .professional-timeline li::before { left: -25px; }
}


/* Gallery engagement counters and locally stored video collection. */
body.page .content-card {
	background: radial-gradient(circle at 86% 8%, rgba(123, 198, 195, .19), transparent 31rem), linear-gradient(135deg, #1f2c2e 0%, #26383a 52%, #202a2d 100%);
}
body .photo-gallery-card { position: relative; }
body .photo-gallery-card__stats { align-items: center; background: linear-gradient(0deg, rgba(10,14,14,.85), rgba(10,14,14,.12)); bottom: 0; color: #f7f8f5; display: flex; gap: 8px; justify-content: space-between; left: 0; padding: 23px 10px 9px; pointer-events: none; position: absolute; right: 0; }
body .photo-gallery-card__stats > span { align-items: center; display: inline-flex; gap: 3px; min-width: 0; }
body .photo-gallery-card__stats i { color: var(--page-accent); font-size: 12px; font-style: normal; }
body .photo-gallery-card__stats b { font-size: 11px; }
body .photo-gallery-card__stats small { color: rgba(255,255,255,.7); font-size: 9px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
body .local-video-gallery { border-top: 1px solid rgba(255,255,255,.18); margin-top: 42px; padding-top: 34px; }
body .local-video-gallery__heading { align-items: end; display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; margin-bottom: 22px; }
body .local-video-gallery__heading h2 { color: var(--page-accent); font-size: 15px; letter-spacing: .11em; margin: 0; text-transform: uppercase; }
body .local-video-gallery__heading p, body .local-video-gallery__empty { color: rgba(244,243,238,.72); font-size: 14px; line-height: 1.5; margin: 0; max-width: 550px; }
body .local-video-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
body .local-video-card { background: rgba(5,12,13,.28); border: 1px solid rgba(255,255,255,.16); min-width: 0; overflow: hidden; }
body .local-video-card video { background: #101616; display: block; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
body .local-video-card__body { padding: 14px 15px 16px; }
body .local-video-card__body p { color: var(--page-accent); font-size: 10px; font-weight: 800; letter-spacing: .12em; margin: 0 0 6px; text-transform: uppercase; }
body .local-video-card__body h3 { color: #fff; font-size: 15px; line-height: 1.35; margin: 0; overflow-wrap: anywhere; }
@media (max-width: 980px) { body .local-video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { body .photo-gallery-card__stats { gap: 4px; padding: 20px 7px 7px; } body .photo-gallery-card__stats small { display: none; } body .local-video-grid { grid-template-columns: 1fr; } body .local-video-gallery { margin-top: 34px; padding-top: 28px; } }


/* Keep every portfolio page on the Professional page background. */
body.page .content-card.content-card--professional,
body.page .content-card.content-card--photography,
body.page .content-card.content-card--videography,
body.page .content-card.content-card--hiking,
body.page .content-card.content-card--games-hobbies {
	background: radial-gradient(circle at 86% 8%, rgba(123, 198, 195, .19), transparent 31rem), linear-gradient(135deg, #1f2c2e 0%, #26383a 52%, #202a2d 100%);
}
