:root { color-scheme: light; --ink:#292d29; --muted:#686e66; --line:#dfe3da; --accent:#687643; --paper:#fff; }
* { box-sizing:border-box; }
body { margin:0; background:var(--paper); color:var(--ink); font-family:Arial,Helvetica,sans-serif; font-size:16px; line-height:1.65; }
a { color:inherit; text-underline-offset:4px; }
a:hover { color:var(--accent); }
a:focus-visible, button:focus-visible { outline:3px solid var(--accent); outline-offset:5px; }
img { max-width:100%; }
.site-shell { display:grid; grid-template-columns:220px minmax(0,800px); gap:64px; max-width:1180px; margin:0 auto; padding:56px 36px 32px; align-items:start; }
.sidebar { position:sticky; top:40px; }
.brand { display:flex; flex-direction:column; gap:14px; text-decoration:none; font-size:23px; font-weight:600; line-height:1.3; }
.brand img { object-fit:contain; object-position:left center; width:60px; height:60px; }
.brand small { display:block; margin-top:6px; color:var(--muted); font-size:12px; font-weight:400; letter-spacing:.025em; }
.site-nav { margin-top:36px; border-top:1px solid var(--line); padding-top:14px; }
.nav-link { display:block; padding:8px 0; text-decoration:none; }
.nav-parent { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.nav-parent .nav-link { flex:1; }
.site-nav [aria-current="page"] { color:var(--accent); font-weight:700; }
.site-nav [aria-current="page"]::before { content:""; display:inline-block; width:5px; height:5px; margin:0 8px 3px 0; background:var(--accent); }
.menu-toggle { width:32px; height:32px; flex:none; border:1px solid var(--line); background:#fff; border-radius:0; cursor:pointer; color:var(--ink); display:grid; place-items:center; }
.menu-toggle span::before { content:"+"; font-size:20px; line-height:1; }
.menu-toggle[aria-expanded="true"] span::before { content:"−"; }
.project-menu { list-style:none; margin:4px 0 12px; padding:0 0 0 14px; border-left:1px solid var(--line); }
.project-menu a { display:block; text-decoration:none; font-size:13px; line-height:1.5; padding:7px 0; overflow-wrap:anywhere; }
[hidden] { display:none !important; }
.sidebar-note { margin-top:32px; color:var(--muted); font-size:12px; }
.content { min-width:0; }
h1 { margin:0 0 22px; font-size:clamp(29px,3.5vw,38px); line-height:1.2; font-weight:500; letter-spacing:-.035em; }
h2 { margin:34px 0 12px; font-size:23px; line-height:1.3; font-weight:500; letter-spacing:-.02em; }
h3 { font-weight:500; }
p { margin:0 0 18px; }
li { margin-bottom:8px; }
.lead { font-size:18px; line-height:1.7; max-width:700px; color:#4d554a; }
.eyebrow { color:var(--muted); font-size:12px; text-transform:uppercase; letter-spacing:.12em; margin-bottom:12px; }
.page-intro { margin-bottom:40px; }
.image-list { display:flex; flex-direction:column; gap:44px; }
.image-entry { margin:0; }
.image-entry-link { display:block; text-decoration:none; }
.entry-photo { background:#f4f4f0; width:100%; aspect-ratio:4 / 3; display:flex; align-items:center; justify-content:center; overflow:hidden; }
.entry-photo img { display:block; width:100%; height:100%; object-fit:contain; transition:opacity .15s ease; }
.image-entry-link:hover img { opacity:.9; }
.image-entry h2 { margin:15px 0 7px; font-size:25px; }
.image-entry h2 span { font-size:18px; color:var(--muted); white-space:nowrap; }
.image-entry p { color:var(--muted); font-size:15px; margin:0; }
.entry-photo-about { aspect-ratio:3 / 1; background:#fafaf7; }
.entry-photo-about img { width:auto; max-width:50%; padding:25px; }
.coming-next { margin-top:48px; border-top:1px solid var(--line); padding-top:8px; }
.site-footer { margin-top:56px; padding-top:20px; border-top:1px solid var(--line); color:var(--muted); font-size:12px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; }
.site-footer p { margin:0; }
.site-footer a { text-decoration:none; }
.breadcrumb { margin-bottom:24px; font-size:13px; color:var(--muted); }
.about-emblem { float:right; margin:0 0 24px 32px; width:150px; }
.about-emblem img { width:100%; height:auto; }
.project-progress { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; margin:30px 0 36px; }
.project-progress figure { margin:0; min-width:0; }
.project-progress img { display:block; width:100%; height:auto; aspect-ratio:4 / 3; object-fit:contain; background:#f4f4f0; }
.project-progress figcaption { margin-top:10px; color:var(--muted); font-size:13px; line-height:1.6; }
.project-progress strong { display:block; color:var(--ink); font-size:17px; font-weight:500; margin-bottom:4px; }
.facts { display:flex; flex-wrap:wrap; gap:24px; padding:20px 0; border-block:1px solid var(--line); margin:28px 0; }
.facts div { flex:1 1 150px; }
.facts dt { font-size:24px; }
.facts dd { margin:4px 0 0; color:var(--muted); font-size:14px; }
@media(max-width:850px) { .site-shell { grid-template-columns:185px minmax(0,1fr); gap:36px; padding:36px 24px; } }
@media(max-width:640px) {
  .site-shell { display:block; padding:24px 20px; }
  .sidebar { position:static; border-bottom:1px solid var(--line); padding-bottom:20px; margin-bottom:32px; }
  .brand { flex-direction:row; align-items:center; gap:14px; font-size:21px; }
  .brand img { width:48px; height:48px; }
  .site-nav { margin-top:20px; padding-top:10px; }
  .sidebar-note { display:none; }
  .project-menu a { font-size:14px; }
  .project-progress { grid-template-columns:1fr; gap:28px; }
  .image-list { gap:34px; }
  .image-entry h2 { font-size:22px; }
  .page-intro { margin-bottom:30px; }
  .about-emblem { width:100px; margin-left:20px; }
}
@media(prefers-reduced-motion:reduce) { .entry-photo img { transition:none; } }

.skip-link { position:absolute; left:20px; top:-100px; background:white; padding:10px 16px; z-index:10; }
.skip-link:focus { top:10px; }

/* Home page slideshow */
.visually-hidden { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
.home-slideshow { margin:0 0 44px; }
.slide-link { display:block; text-decoration:none; }
.home-slide h2 { min-height:2.6em; display:flex; align-items:flex-end; margin:0 0 20px; font-size:clamp(26px,3vw,36px); line-height:1.3; letter-spacing:-.03em; }
.slide-photo { width:100%; aspect-ratio:4 / 3; display:flex; align-items:center; justify-content:center; background:#f4f4f0; }
.slide-photo img { display:block; width:100%; height:100%; object-fit:contain; }
.slide-photo-about img { width:auto; max-width:70%; height:80%; }
.slide-caption { color:var(--muted); font-size:15px; margin:14px 0 0; min-height:3.3em; }
.slideshow-controls { display:flex; align-items:center; flex-wrap:wrap; gap:12px; margin-top:18px; }
.slideshow-controls button { font:inherit; font-size:13px; color:var(--ink); background:#fff; border:1px solid var(--line); padding:8px 12px; cursor:pointer; }
.slideshow-controls button:hover { border-color:var(--accent); color:var(--accent); }
.slide-count { color:var(--muted); font-size:13px; min-width:36px; text-align:center; }
[data-slide-pause] { margin-left:auto; }
.home-intro { margin:0; padding-top:28px; border-top:1px solid var(--line); }
.home-intro h2 { margin-top:0; }
@media(max-width:640px) {
  .home-slide h2 { font-size:26px; }
  .slideshow-controls { gap:8px; }
  .slideshow-controls button { padding:8px 10px; }
  [data-slide-pause] { margin-left:0; }
}

/* Smaller Home slideshow images and an About photo collage. */
.home-slideshow .slide-photo { width:76.5%; }
.home-slideshow .slide-photo-about { background:#f1eee7; display:block; }
.slide-photo-about > .polaroid-scatter { width:100%; height:100%; }
.polaroid-scatter { position:relative; width:100%; aspect-ratio:4 / 3; overflow:hidden; background:radial-gradient(ellipse at center,#f8f6ef,#e8e3d8); isolation:isolate; }
.polaroid { position:absolute; display:block; width:29%; padding:1.4% 1.4% 5.5%; background:#fffdf8; box-shadow:1px 3px 9px #322b2845; }
.polaroid img { display:block; width:100% !important; max-width:none !important; height:auto !important; aspect-ratio:1 / 1; object-fit:contain; background:#edece7; padding:0 !important; }
.polaroid-1 { left:5%; top:9%; transform:rotate(-12deg); z-index:2; }
.polaroid-2 { left:36%; top:5%; transform:rotate(7deg); z-index:1; }
.polaroid-3 { left:65%; top:10%; transform:rotate(13deg); z-index:2; }
.polaroid-4 { left:5%; top:51%; transform:rotate(6deg); z-index:4; }
.polaroid-5 { left:65%; top:51%; transform:rotate(-10deg); z-index:4; }
.polaroid-6 { left:35%; top:57%; transform:rotate(-6deg); z-index:5; }
.polaroid-7 { left:34%; top:29%; transform:rotate(-7deg); z-index:3; }
.about-collage { margin:0 0 30px; width:90%; }

/* Keep all site photos in the About collage as projects are added. */
.polaroid { width:26%; padding:1.2% 1.2% 4.8%; }
.polaroid-1 { left:6%; top:4%; transform:rotate(-10deg); z-index:1; }
.polaroid-2 { left:36%; top:3%; transform:rotate(6deg); z-index:2; }
.polaroid-3 { left:67%; top:5%; transform:rotate(11deg); z-index:1; }
.polaroid-4 { left:5%; top:34%; transform:rotate(5deg); z-index:3; }
.polaroid-5 { left:67%; top:34%; transform:rotate(-9deg); z-index:3; }
.polaroid-6 { left:37%; top:62%; transform:rotate(-5deg); z-index:6; }
.polaroid-7 { left:36%; top:33%; transform:rotate(-6deg); z-index:4; }
.polaroid-8 { left:6%; top:63%; transform:rotate(8deg); z-index:5; }
.polaroid-9 { left:68%; top:62%; transform:rotate(6deg); z-index:5; }
