:root{color-scheme:light;--bg:#fafafa;--text:#252723;--muted:#70736d;--line:#dddfd9;--accent:#496442;--soft:#eef1e9;--paper:#f5f5f1}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.7}body.dark{color-scheme:dark;--bg:#191c18;--text:#edeee8;--muted:#a6aca1;--line:#394034;--accent:#bdd0a7;--soft:#293123;--paper:#22271e}a{color:inherit;text-underline-offset:5px;text-decoration-thickness:1px}a:hover{color:var(--accent)}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:5px}.shell{max-width:1080px;margin:100px auto 0;display:grid;grid-template-columns:190px minmax(0,650px);gap:100px;padding:0 40px;min-height:650px}header{position:sticky;top:70px;align-self:start}.wordmark{font:32px Georgia,serif;text-decoration:none;letter-spacing:-1.4px}.asterisk{display:inline-block;color:var(--accent);font-size:25px;margin-left:7px;vertical-align:top}.descriptor{font-size:14px;color:var(--muted);margin:12px 0 42px}nav{display:flex;flex-direction:column;align-items:flex-start;gap:13px}nav a{text-decoration:none;color:var(--muted);padding:0 0 0 14px;border-left:2px solid transparent}nav a[aria-current=page]{color:var(--text);border-left-color:var(--accent)}.sidebar-bottom{margin-top:140px;font-size:13px;color:var(--muted)}.sidebar-bottom span{display:block;max-width:140px}#theme{border:0;padding:14px 0;background:none;color:var(--muted);font-size:14px}.eyebrow{text-transform:uppercase;letter-spacing:2px;font-size:12px;color:var(--muted);margin:0 0 24px}h1,h2,h3{font-family:Georgia,'Times New Roman',serif;font-weight:400}h1{font-size:54px;line-height:1.13;letter-spacing:-2px;margin:0 0 29px}h2{font-size:26px;line-height:1.3;margin:0}h3{font-size:22px;margin:0 0 8px}.intro{font-size:20px;line-height:1.65;max-width:570px}.intro em{font-style:normal;color:var(--accent)}p{margin:0 0 20px}.muted{color:var(--muted)}.draft{font-size:13px;color:var(--muted);border-left:2px solid var(--line);padding-left:14px;margin:25px 0 40px}.section-head{display:flex;justify-content:space-between;align-items:baseline;gap:20px;margin:45px 0 22px;padding-top:26px;border-top:1px solid var(--line)}.section-head a{font-size:14px;color:var(--muted)}.featured{display:grid;grid-template-columns:180px 1fr;gap:25px;align-items:center}.art{aspect-ratio:1.2;background:var(--soft);display:grid;place-items:center;overflow:hidden}.art svg{width:76%;height:76%;color:var(--accent)}.tag{font-size:12px;letter-spacing:1px;text-transform:uppercase;color:var(--muted);display:block;margin:0 0 8px}.featured p{font-size:15px;color:var(--muted);margin-bottom:10px}.text-link{font-size:14px}.note-row{display:flex;justify-content:space-between;align-items:baseline;padding:17px 0;border-top:1px solid var(--line);gap:20px}.note-row a{text-decoration:none}.note-row span{font-size:13px;color:var(--muted);white-space:nowrap}.closing{margin:45px 0;font-family:Georgia,serif;font-style:italic;color:var(--muted);font-size:20px}.filters{display:flex;gap:8px;margin:28px 0 32px}.filters button{background:none;color:var(--muted);border:1px solid var(--line);border-radius:30px;padding:5px 17px;font-size:14px}.filters button[aria-pressed=true]{color:var(--bg);background:var(--text);border-color:var(--text)}.project{border-top:1px solid var(--line);padding:27px 0}.project .featured{grid-template-columns:150px 1fr}.project p{color:var(--muted)}details{margin-top:17px;font-size:15px}summary{cursor:pointer;color:var(--accent)}details p{padding:12px 0 0}.empty{padding:24px;background:var(--paper);color:var(--muted)}article p{max-width:580px}article .back{display:inline-block;margin-bottom:30px;font-size:14px;color:var(--muted)}footer{max-width:1000px;margin:70px auto 30px;padding:20px 0;border-top:1px solid var(--line);display:flex;justify-content:space-between;color:var(--muted);font-size:13px}.skip{position:absolute;top:-60px;left:20px;background:var(--bg);padding:10px;z-index:1}.skip:focus{top:10px}@media(max-width:800px){.shell{margin-top:45px;gap:45px;grid-template-columns:145px minmax(0,1fr);padding:0 28px}h1{font-size:45px}.featured{grid-template-columns:120px 1fr;gap:18px}footer{margin:50px 28px 25px}.sidebar-bottom{margin-top:90px}}@media(max-width:580px){.shell{display:block;margin:28px auto 0;padding:0 24px}header{position:static;margin-bottom:55px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:18px}.wordmark{font-size:28px}.descriptor,.sidebar-bottom span{display:none}nav{flex-direction:row;gap:17px}nav a{padding:0 0 4px;border-left:0;border-bottom:1px solid transparent;font-size:14px}nav a[aria-current=page]{border-bottom-color:var(--accent)}.sidebar-bottom{position:absolute;top:76px;right:24px;margin:0}#theme{font-size:12px;padding:0}h1{font-size:44px}.intro{font-size:18px}.featured,.project .featured{grid-template-columns:105px 1fr;gap:18px}.section-head{margin-top:35px}.note-row{gap:12px}.note-row a{font-size:15px}.note-row span{font-size:12px}footer{font-size:12px;margin:45px 24px 20px;gap:25px}h3{font-size:21px}}

.source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 15px;
}
.section-head + .project { border-top: 0; padding-top: 0; }

.photo { margin: 0 0 2.5rem; }
.photo a, .photo img { display: block; }
.photo img { width: 100%; height: auto; }
.photo figcaption { display: flex; justify-content: space-between; gap: .5rem; flex-wrap: wrap; margin-top: .6rem; }
.photo figcaption span, .signup-status { color: var(--muted); font-size: .875rem; }
.signup-button {
  display: inline-block;
  padding: .5rem 1.25rem;
  border: 1px solid var(--accent);
  border-radius: .35rem;
  background: var(--accent);
  color: var(--bg);
  text-decoration: none;
}
.signup-button:hover { color: var(--bg); }
.signup-button:disabled { background: var(--soft); color: var(--muted); border-color: var(--line); cursor: default; }
.signup-status { margin-top: .5rem; }
@media (max-width: 580px) {
  header { display: grid; grid-template-columns: 1fr auto; }
  header nav { grid-column: 1 / -1; flex-wrap: wrap; }
  .sidebar-bottom { position: static; grid-column: 2; grid-row: 1; }
}

.instagram-series {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}
.instagram-series p { margin: .35rem 0 1.25rem; color: var(--muted); }
.photo-triptych {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}
.photo-triptych figure { margin: 0; }
.photo-triptych a, .photo-triptych img { display: block; }
.photo-triptych img { width: 100%; height: auto; }
.photo-triptych figcaption { margin-top: .45rem; font-size: .9rem; }
@media (max-width: 580px) {
  .photo-triptych { grid-template-columns: 1fr; gap: 1.5rem; }
}

.close-up { margin: 0 0 3.5rem; }
.gallery-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 1rem;
}
.gallery-heading a { color: var(--muted); font-size: .875rem; }
.close-up-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 1rem;
}
.close-up-photos figure { margin: 0; }
.close-up-photos figure:first-child { grid-column: 1 / -1; }
.close-up-photos img, .close-up-photos a { display: block; }
.close-up-photos img { width: 100%; height: auto; }
.close-up-photos figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; flex-wrap: wrap; margin-top: .5rem; }
.close-up-photos cite { font: 1.15rem Georgia, serif; }
.close-up-photos small { color: var(--muted); font-size: .8125rem; }
@media (max-width: 580px) {
  .close-up-photos { grid-template-columns: 1fr; }
}

.filters { flex-wrap: wrap; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.75rem 1.5rem; }
.portfolio-card { padding: 0; border: 0; }
.project-cover, .project-cover img { display: block; width: 100%; }
.project-cover { margin-bottom: 1rem; }
.project-cover img { height: auto; border-radius: 4px; }
.portfolio-card h3 { line-height: 1.2; margin-bottom: .6rem; }
.portfolio-card p { line-height: 1.55; margin-bottom: .8rem; }
.essay-feature { background: var(--soft); border-radius: 5px; overflow: hidden; }
.essay-art, .essay-art img { display: block; width: 100%; }
.essay-art img { height: clamp(150px, 22vw, 225px); object-fit: contain; background: #223c36; }
.essay-copy { padding: clamp(1.3rem, 4vw, 2.3rem); }
.essay-copy h2 { font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -.04em; line-height: 1.08; margin-bottom: 1rem; }
.essay-copy h2 a { text-decoration: none; }
.essay-copy p:not(.tag) { max-width: 52ch; }
.essay-read { font-weight: 600; }
.newsletter-welcome { text-align: center; margin: 1rem 0 1.5rem; padding: clamp(1.25rem, 5vw, 2.5rem) 1rem; background: var(--paper); border-radius: .5rem; }
.newsletter-welcome h2 { font-size: clamp(2.1rem, 6vw, 3.2rem); letter-spacing: -.05em; }
.newsletter-welcome .newsletter-form { max-width: 25rem; margin: 0 auto; padding: .5rem 0 0; border: 0; }
.publication { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1rem; padding: 1.25rem 0; border-top: 1px solid var(--line); }
.publication p { margin: 0; color: var(--muted); }
@media (max-width: 650px) { .project-grid { grid-template-columns: 1fr; gap: 2rem; } }

.drone-gallery { margin-bottom: 3.5rem; }
.drone-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1rem; }
.drone-grid figure { margin: 0; }
.drone-grid a, .drone-grid img { display: block; }
.drone-grid img { width: 100%; height: auto; }
.drone-grid figcaption { margin-top: .5rem; font: 1.125rem Georgia, serif; }
.flight-feature { position: relative; isolation: isolate; margin: 0 0 2rem; border-radius: 6px; overflow: hidden; background: #141b19; }
.flight-feature video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.flight-feature:has(:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.flight-cover:not([hidden]) {
  position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0;
  display: block; color: white; background: #141b19; cursor: pointer;
}
.flight-cover img { display: block; width: 100%; height: 100%; object-fit: contain; }
.flight-action {
  position: absolute; left: 1rem; bottom: 1rem; display: flex; align-items: center;
  gap: .5rem; padding: .55rem .85rem; border-radius: 2rem; background: rgb(16 23 22 / 85%); font-size: .95rem;
}
.flight-action small { color: #dae2dd; font-variant-numeric: tabular-nums; }
.flight-play-icon { border: solid transparent; border-width: 5px 0 5px 8px; border-left-color: currentColor; }
.flight-cover:is(:hover,:focus-visible) .flight-action { background: #172520; }
@media (prefers-reduced-motion: no-preference) {
  .flight-action { transition: background-color .16s ease-out; }
}
@media (max-width: 580px) {
  .drone-grid { grid-template-columns: 1fr; }
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .75rem 1.5rem;
  overflow-wrap: anywhere;
}

.portfolio-card h3 a { text-decoration: none; }
.portfolio-card h3 a:hover { text-decoration: underline; }
.intro a { text-decoration-color: var(--line); }
.intro a:hover { text-decoration-color: var(--accent); }
.story-cover { display: block; width: 100%; height: auto; margin: 1.8rem 0; border-radius: 4px; }
.project-story .source-links { margin-top: 1.5rem; border-top: 1px solid var(--line); padding-top: 1rem; }

.project-gallery { margin: 1.75rem 0; }
.project-gallery figure { margin: 0 0 .5rem; }
.project-gallery figure a { display: grid; place-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 5px; }
.project-gallery img { display: block; width: 100%; height: clamp(215px, 55vw, 390px); padding: .6rem; object-fit: contain; }
.project-gallery figcaption { margin-top: .5rem; }
.project-gallery:has(.gallery-controls:not([hidden])) figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.gallery-controls:not([hidden]), .puzzle-controls { display: flex; align-items: center; justify-content: space-between; gap: .6rem; flex-wrap: wrap; }
.gallery-controls output, .puzzle-controls output { color: var(--muted); font-size: .9rem; }
.gallery-controls button, .puzzle-controls button { color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 4px; padding: .4rem .7rem; margin-left: .25rem; }
.puzzle { max-width: 32rem; padding: 1.25rem; border: 1px solid var(--line); border-radius: 5px; background: var(--soft); }
.puzzle p { margin: .5rem 0 1rem; }
.tile-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; max-width: 15rem; margin: 0 auto 1rem; }
.tile-board button { aspect-ratio: 1; font: 1.75rem Georgia,serif; background: var(--bg); color: var(--text); border: 1px solid var(--accent); border-radius: 4px; }
.tile-board button:disabled { color: var(--muted); border-color: var(--line); cursor: default; }
.tile-board button:empty { background: transparent; border-style: dashed; }

/* The router moves focus here to announce the page after navigation. */
main[tabindex="-1"]:focus { outline: none; }

.home-contact { font-size: .95rem; margin: 1.25rem 0 2rem; }
.newsletter-signup { margin: .5rem 0 2rem; max-width: 27rem; font-size: 1rem; }
.newsletter-signup summary {
  display: inline-flex; min-height: 44px; align-items: center; gap: .65rem;
  list-style: none; color: var(--accent); cursor: pointer;
}
.newsletter-signup summary::-webkit-details-marker { display: none; }
.newsletter-signup summary::after {
  content: ""; width: .43rem; height: .43rem; border: solid currentColor;
  border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg);
}
.newsletter-signup[open] summary::after { transform: translateY(2px) rotate(225deg); }
.newsletter-signup summary:hover { text-decoration: underline; text-underline-offset: .25em; }
.newsletter-form {
  margin: .25rem 0 0; padding: 1rem; border: 1px solid var(--line);
  border-radius: .5rem; background: var(--paper);
}
.newsletter-form small { display: block; margin-top: .5rem; color: var(--muted); font-size: .8rem; }
@media (prefers-reduced-motion: no-preference) {
  .newsletter-signup summary::after { transition: transform 160ms ease-out; }
}
.newsletter-form label { display: block; margin-bottom: .6rem; }
.newsletter-form label em { font-family: Georgia, serif; }
.signup-row { display: flex; gap: .5rem; }
.signup-row input, .signup-row button {
  border: 1px solid var(--line); border-radius: .35rem; padding: .65rem .85rem; font: inherit;
}
.signup-row input { flex: 1; min-width: 0; background: var(--bg); color: var(--text); }
.signup-row input::placeholder { color: var(--muted); }
.signup-row input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.signup-row button { background: var(--text); color: var(--bg); border-color: var(--text); }
.signup-row button:hover, .signup-row button:focus-visible { background: var(--accent); border-color: var(--accent); }
.home-work { border-top: 1px solid var(--line); padding-top: 1.25rem; }
.home-work h2 { margin-bottom: .7rem; }
.notebook-entry { display: flex; align-items: center; gap: 1rem; padding: .7rem 0; text-decoration: none; line-height: 1.4; }
.notebook-entry img { flex-shrink: 0; width: 5rem; height: 3.35rem; object-fit: cover; border-radius: 3px; }
.notebook-entry small { display: block; font-size: .82rem; color: var(--muted); }
.notebook-entry:is(:hover,:focus-visible) span { color: var(--accent); }
.project-cover { overflow: hidden; border-radius: 4px; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .asterisk, .notebook-entry img, .project-cover img, .signup-row button {
    transition: transform 200ms ease-out, background-color 160ms ease-out;
  }
  .wordmark:is(:hover,:focus-visible) .asterisk { transform: rotate(45deg); }
  .notebook-entry:is(:hover,:focus-visible) img { transform: translateY(-2px) rotate(-2deg); }
  .project-cover:is(:hover,:focus-visible) img { transform: scale(1.025); }
  .signup-row button:active { transform: translateY(1px); }
}
