/* shaunbechard.com — rebuilt from the Google Sites "Level"-style theme Shaun chose (2021–2026).
   Colors, fonts and sizes are taken from the original site's theme. */
:root {
  --ink: #212121;            /* body text on white */
  --accent: #0b645a;         /* titles and headings on white */
  --dark-bg: #2a4a46;        /* "emphasis 1" sections */
  --dark-text: #c4d2ca;
  --dark-head: #e1dfdb;
  --light-bg: #e1dfdb;       /* "emphasis 2" sections */
  --light-text: #0a473d;
  --wash-text: #0f4d42;      /* light photo headers */
  --bar: #1b1b1b;            /* navigation bar once scrolled */
  --rule-dark: rgba(0, 0, 0, .15);
  --rule-light: rgba(255, 255, 255, .15);
  --wrap: 1200px;
  --gutter: 24px;
  --nav-h: 56px;
  --f-body: "Source Sans 3", "Source Sans Pro", Arial, sans-serif;
  --f-title: Quicksand, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body { margin: 0; background: #fff; color: var(--ink); font: 400 16px/1.75 var(--f-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 15px 0 0; }
p:first-child { margin-top: 0; }
.skip { position: absolute; left: -9999px; top: 0; background: #fff; color: #000; padding: 8px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* ---------- navigation ---------- */
.nav { position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 50; display: flex; align-items: center; justify-content: flex-end;
  padding: 0 24px; transition: background-color .25s, box-shadow .25s; color: #fff; }
.nav.solid, .nav.scrolled { background: var(--bar); box-shadow: 0 1px 4px rgba(0,0,0,.3); }
.nav.on-white:not(.scrolled) { color: rgba(0,0,0,.8); }
.nav-brand { margin-right: auto; font: 300 18pt/1 var(--f-title); text-decoration: none; opacity: 0; pointer-events: none; transition: opacity .25s; }
.nav.scrolled .nav-brand { opacity: 1; pointer-events: auto; }
.nav-menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-menu > li { position: relative; }
.nav-menu a, .nav-menu button { font: 400 15px/1 var(--f-body); color: inherit; text-decoration: none; padding: 10px 10px; display: inline-flex; align-items: center; gap: 4px;
  background: none; border: 0; cursor: pointer; border-radius: 4px; opacity: .78; }
.nav-menu a:hover, .nav-menu button:hover, .nav-menu a:focus-visible, .nav-menu button:focus-visible { opacity: 1; background: rgba(255,255,255,.12); }
.nav.on-white:not(.scrolled) .nav-menu a:hover, .nav.on-white:not(.scrolled) .nav-menu button:hover { background: rgba(0,0,0,.06); }
.nav-menu a[aria-current="page"], .nav-menu .has-current > .nav-parent > a { opacity: 1; font-weight: 700; }
.nav-parent { display: flex; align-items: center; }
.nav-parent a { padding-right: 2px; }
.nav-parent button { padding-left: 2px; }
.nav-parent svg { width: 18px; height: 18px; transition: transform .2s; }
.nav-sub { display: none; position: absolute; right: 0; top: 100%; min-width: 220px; list-style: none; margin: 0; padding: 8px 0; background: #fff; color: rgba(0,0,0,.8);
  box-shadow: 0 2px 8px rgba(0,0,0,.25); border-radius: 2px; }
.nav-sub a { display: block; padding: 10px 16px; opacity: .85; }
.nav-sub a:hover, .nav-sub a:focus-visible { background: rgba(0,0,0,.06); opacity: 1; }
.has-sub.open > .nav-sub { display: block; }
.has-sub.open > .nav-parent svg { transform: rotate(180deg); }
@media (hover: hover) and (min-width: 901px) { .has-sub:hover > .nav-sub { display: block; } }
.nav-toggle { display: none; background: none; border: 0; color: inherit; padding: 8px; cursor: pointer; }
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-brand { opacity: 1; pointer-events: auto; font-size: 16pt; }
  .nav-menu { display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bar); color: #fff; padding: 12px 0; overflow-y: auto; }
  .nav.menu-open { background: var(--bar); color: #fff; }
  .nav.menu-open .nav-menu { display: flex; }
  .nav-menu a, .nav-menu button { font-size: 17px; padding: 14px 24px; opacity: .9; }
  .nav-parent { justify-content: space-between; }
  .nav-parent button { padding: 14px 24px; }
  .nav-sub { position: static; box-shadow: none; background: transparent; color: inherit; padding: 0 0 8px 16px; }
  .nav-sub a { padding: 10px 24px; }
}

/* ---------- sections and grid ---------- */
.sec { padding: 48px 0; position: relative; }
.sec.dark { background: var(--dark-bg); color: var(--dark-text); }
.sec.light { background: var(--light-bg); color: var(--light-text); }
.sec.rule { padding: 8px 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.row { display: flex; gap: 0; margin: 0 calc(var(--gutter) / -2); }
.row + .row { margin-top: 24px; }
.col { flex: 0 0 var(--w, 100%); max-width: var(--w, 100%); padding: 0 calc(var(--gutter) / 2); min-width: 0; }
.blk + .blk { margin-top: 16px; }
figure.img { margin: 0; }
figure.img + figure.img { margin-top: 16px; }
figure.img img { width: 100%; }
hr.divider { border: 0; border-top: 1px solid var(--rule-dark); margin: 0; }
.dark hr.divider { border-top-color: var(--rule-light); }
@media (max-width: 768px) {
  .row { flex-direction: column; }
  .col { max-width: 100%; flex-basis: auto; }
  .col + .col:not(.col-empty) { margin-top: 24px; }
  .col-empty { display: none; }
  .sec { padding: 36px 0; }
}

/* ---------- type ---------- */
.t-title, .t-heading, .t-sub { margin: 0; color: var(--accent); }
.t-title { font: 400 29pt/1.44 var(--f-title); letter-spacing: -1px; }
.t-heading { font: 400 20pt/1.56 var(--f-title); }
.t-sub { font: 600 13pt/1.75 var(--f-body); }
* + .t-title { margin-top: 25px; }
* + .t-heading { margin-top: 10px; }
* + .t-sub { margin-top: 16px; }
.dark .t-title, .dark .t-heading, .dark .t-sub { color: var(--dark-head); }
.light .t-title, .light .t-heading, .light .t-sub { color: var(--light-text); }
.blk ul, .blk ol { margin: 15px 0 0; padding-left: 0; }
.blk ul:first-child, .blk ol:first-child { margin-top: 0; }
.blk ul ul, .blk ul ol, .blk ol ul, .blk ol ol { margin-top: 0; }
.blk li { margin-left: 20pt; }
.blk li > p { margin: 0; }
.blk p.blank { min-height: 1em; }
.blk a { text-decoration: underline; }
.dark .blk a { color: var(--dark-head); }
@media (max-width: 600px) {
  .t-title { font-size: 24pt; }
  .t-heading { font-size: 17pt; }
}

/* ---------- buttons ---------- */
.btn-wrap { text-align: center; margin: 0; }
.btn { display: block; width: 100%; min-width: 120px; padding: 8px 24px; border: 1px solid; border-radius: 4px; font: 400 12pt/22px var(--f-body); text-decoration: none !important; text-align: center;
  transition: background-color .15s; }
.blk a.btn-filled { background: var(--dark-bg); border-color: var(--dark-text); color: var(--dark-text); }
.blk a.btn-filled:hover { background: #335a55; }
.blk a.btn-outline { border-color: var(--dark-bg); color: var(--dark-bg); }
.blk a.btn-outline:hover { background: rgba(42,74,70,.1); }
.dark .blk a.btn-filled, .hdr-img:not(.wash) .blk a.btn-filled { background: #fff; border-color: var(--accent); color: var(--accent); }
.dark .blk a.btn-filled:hover { background: #f0f0f0; }
.dark .blk a.btn-outline, .hdr-img:not(.wash) .blk a.btn-outline { border-color: #fff; color: #fff; }
.dark .blk a.btn-outline:hover { background: rgba(255,255,255,.1); }
.btn:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

/* ---------- page headers ---------- */
.hdr { position: relative; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hdr-img { min-height: 480px; padding: calc(60px + var(--nav-h) / 2) 0 60px; background: #2a4a46 var(--bg, none) center / cover no-repeat; }
.hdr-img::before { content: ""; position: absolute; inset: 0; background: #212121; opacity: .5; }
.hdr-img.tint::after { content: ""; position: absolute; inset: 0; background: #007e70; opacity: .3; }
.hdr-img.wash::before { background: #fff; opacity: .5; }
.hdr-img.plain-bg { background-image: radial-gradient(ellipse at 30% 110%, #6b6b6b 0%, #3d3d3d 35%, #262626 70%, #1f1f1f 100%); }
.hdr.full { min-height: 100vh; min-height: 100svh; }
.hdr > .wrap { position: relative; z-index: 1; width: 100%; }
.hdr h1 { margin: 0; font: 300 54pt/1.11 var(--f-title); letter-spacing: -.5px; color: inherit; }
.hdr .blk p { color: inherit; }
.title-box { display: block; border: 2px solid #fff; padding: 44px 56px; margin: 0 0 4px; }
.hdr-img.wash { color: var(--wash-text); }
.hdr-img.wash .title-box { border-color: var(--wash-text); }
.hdr-title { color: var(--accent); background: #fff; min-height: 200px; padding: calc(60px + var(--nav-h) / 2) 0 46px; }
.hdr-title h1 { font-size: 40pt; font-weight: 400; color: var(--accent); }
.hdr-down { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 1; color: #fff; opacity: .85; padding: 8px; }
.hdr-down svg { width: 36px; height: 36px; display: block; }
.hdr-down:hover { opacity: 1; }
@media (max-width: 900px) { .hdr h1[style*="margin-left"] { margin-left: 0 !important; padding-left: 0 !important; } }
@media (max-width: 600px) {
  .hdr-img { min-height: 360px; }
  .hdr h1 { font-size: 34pt; }
  .hdr-title h1 { font-size: 30pt; }
  .title-box { padding: 24px 20px; }
}

/* ---------- embeds ---------- */
.embed { position: relative; width: 100%; background: rgba(0,0,0,.06); border-radius: 2px; overflow: hidden; }
.embed::before { content: ""; display: block; padding-top: var(--ar, 75%); }
.embed > iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed.tall > iframe, .embed.form > iframe { position: static; height: var(--h, 900px); }
.embed.tall::before, .embed.form::before { display: none; }
.popout { position: absolute; top: 8px; right: 8px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 4px;
  background: rgba(0,0,0,.65); color: #fff !important; font-size: 13px; line-height: 1; text-decoration: none !important; }
.popout:hover, .popout:focus-visible { background: rgba(0,0,0,.85); }
.popout svg { width: 14px; height: 14px; }
.yt { display: block; position: relative; color: #fff; text-decoration: none !important; background: #000; border-radius: 2px; overflow: hidden; }
.yt img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; opacity: .85; transition: opacity .2s; }
.yt:hover img, .yt:focus-visible img { opacity: 1; }
.yt-play { position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; transform: translate(-50%, -50%); }
.yt-label { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 14px; background: linear-gradient(transparent, rgba(0,0,0,.8)); font-size: 14px; line-height: 1.4; }
.doc-actions { margin: 16px auto 0; max-width: 320px; }
.resume-preview { display: none; width: 100%; max-width: min(640px, 100%); margin: 0 auto; box-shadow: 0 1px 6px rgba(0,0,0,.25); }
@media (max-width: 768px) { .resume-frame { display: none; } .resume-preview { display: block; } }

/* ---------- footer ---------- */
.site-foot { padding: 28px 0 36px; font-size: 13px; color: rgba(0,0,0,.64); }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; }
.site-foot a { color: inherit; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ---------- polish (2026-11-07) ---------- */
figure.img img { border-radius: 4px; box-shadow: 0 2px 10px rgba(0,0,0,.18); transition: transform .25s, box-shadow .25s; cursor: zoom-in; }
figure.img img:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.24); }
.embed { border-radius: 4px; box-shadow: 0 2px 10px rgba(0,0,0,.18); }
.hdr-img:not(.wash) h1, .hdr-img:not(.wash) .blk p { text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.nav-menu a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.blk a:not(.btn) { text-underline-offset: 3px; }
.blk a:not(.btn):hover { text-decoration-thickness: 2px; }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--dark-bg); color: var(--dark-head); box-shadow: 0 2px 8px rgba(0,0,0,.3); opacity: 0; pointer-events: none; transition: opacity .25s; }
.to-top.show { opacity: .9; pointer-events: auto; }
.to-top:hover { opacity: 1; }
.to-top svg { width: 24px; height: 24px; display: block; margin: auto; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.88); display: flex; align-items: center; justify-content: center; padding: 24px; cursor: zoom-out; }
.lightbox img { max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: 4px; box-shadow: 0 8px 30px rgba(0,0,0,.5); }
.lightbox button { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.15); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.lightbox figcaption { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; color: #eee; font-size: 14px; padding: 0 60px; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } figure.img img:hover { transform: none; } }
@media print { .nav, .to-top, .hdr-down, .site-foot span + span { display: none !important; } .hdr { min-height: 0 !important; color: #000; background: none !important; } .hdr::before, .hdr::after { display: none; } .sec.dark, .sec.light { background: none; color: #000; } }
