:root {
  color-scheme:light;
  --paper:#f3f2ee;
  --ink:#1a252b;
  --muted:#546068;
  --navy:#080f19;
  --line:#d4d8d6;
  --accent:#b8d5e7;
  --gutter:clamp(20px,5.5vw,88px);
}
* {
  box-sizing:border-box;
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:28px;
}
body {
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:Arial,Helvetica,sans-serif;
  -webkit-font-smoothing:antialiased;
}
body.modal-open {
  overflow:hidden;
}
a {
  color:inherit;
  text-decoration:none;
}
button {
  font:inherit;
  cursor:pointer;
}
img {
  max-width:100%;
  display:block;
}
button,a,summary {
  -webkit-tap-highlight-color:transparent;
}
a:focus-visible,button:focus-visible,summary:focus-visible {
  outline:3px solid #4188ae;
  outline-offset:6px;
}
button:disabled {
  cursor:default;
  opacity:.5;
}
p {
  line-height:1.65;
}
h1,h2,h3,h4,p,figure {
  margin:0;
}
h1,h2,h3 {
  font-weight:500;
  letter-spacing:-.045em;
  text-wrap:balance;
}
h2 {
  font-size:clamp(36px,4.5vw,68px);
  line-height:1.08;
}
.wrap {
  max-width:1440px;
  margin-inline:auto;
  padding-inline:var(--gutter);
}
.eyebrow {
  font-size:12px;
  letter-spacing:.14em;
  text-transform:uppercase;
  font-weight:600;
}
.skip-link {
  position:fixed;
  left:20px;
  top:-100px;
  padding:15px;
  background:white;
  color:#111;
  z-index:100;
}
.skip-link:focus {
  top:12px;
}
.site-header {
  position:absolute;
  z-index:2;
  top:0;
  left:0;
  right:0;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
  padding:28px var(--gutter);
  color:#fff;
}
.wordmark {
  font-size:20px;
  font-weight:600;
  letter-spacing:-.025em;
}
.wordmark span {
  display:block;
  font-size:11px;
  line-height:1.7;
  font-weight:400;
  letter-spacing:.035em;
  color:#c5d1da;
}
.site-header nav {
  display:flex;
  gap:30px;
  font-size:13px;
}
.site-header nav a {
  padding:12px 0;
  border-bottom:1px solid transparent;
}
.site-header nav a:hover {
  border-color:currentColor;
}
.hero {
  min-height:700px;
  min-height:min(790px,100svh);
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:var(--navy);
  color:#f6f6f2;
  display:flex;
  align-items:center;
  padding:150px var(--gutter) 100px;
}
.hero-media,.hero-shade {
  position:absolute;
  inset:0;
  z-index:-2;
}
.hero-media img {
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center top;
}
.hero-shade {
  z-index:-1;
  background:linear-gradient(90deg,rgba(5,12,21,.93) 0%,rgba(5,12,21,.75) 34%,rgba(5,12,21,.1) 75%),linear-gradient(0deg,rgba(5,12,21,.28),transparent 40%);
}
.hero-content {
  max-width:740px;
}
.hero-content>.eyebrow {
  color:#b6cbd9;
  margin-bottom:26px;
}
.hero h1 {
  font-size:clamp(48px,5.6vw,86px);
  line-height:1.06;
  letter-spacing:-.055em;
}
.hero h1 em {
  font-family:Georgia,'Times New Roman',serif;
  font-weight:400;
  color:#bfdaeb;
}
.hero-intro {
  font-size:17px;
  max-width:430px;
  color:#c8d2db;
  margin:28px 0 34px;
}
.button {
  display:inline-flex;
  gap:35px;
  align-items:center;
  padding:17px 23px;
  font-size:14px;
  font-weight:600;
  transition:background .2s,transform .2s;
}
.button-light {
  background:#f3f2ee;
  color:var(--navy);
}
.button:hover {
  background:#d5e6f0;
  transform:translateY(-2px);
}
.button span {
  font-size:20px;
  font-weight:400;
}
.motion-toggle {
  position:absolute;
  right:var(--gutter);
  bottom:28px;
  min-height:44px;
  padding:10px 15px;
  color:#e9f0f5;
  background:#0a1422c9;
  border:1px solid #718092;
  border-radius:0;
  font-size:12px;
}
.motion-toggle:hover {
  background:#1c2b3a;
}
.motion-toggle[hidden] {
  display:none;
}
.portfolio-intro {
  padding-top:85px;
  padding-bottom:0;
}
.portfolio-intro h2 {
  margin-top:18px;
}
.portfolio-intro>p:not(.eyebrow) {
  margin-top:24px;
  color:var(--muted);
  max-width:550px;
  font-size:17px;
}
.project-nav {
  display:flex;
  flex-wrap:wrap;
  gap:12px 28px;
  margin-top:34px;
  padding-bottom:32px;
  border-bottom:1px solid var(--line);
  font-size:14px;
}
.project-nav a {
  min-height:44px;
  display:flex;
  align-items:center;
}
.project-nav a:hover {
  text-decoration:underline;
  text-underline-offset:6px;
}
.project-section {
  padding-top:70px;
}
.section-heading {
  max-width:660px;
  margin-bottom:30px;
}
.section-heading .eyebrow {
  color:#536778;
  margin-bottom:12px;
}
.section-heading h3 {
  font-size:clamp(28px,3.2vw,44px);
  line-height:1.14;
}
.section-heading>p:last-child {
  margin-top:16px;
  color:var(--muted);
  max-width:590px;
  font-size:15px;
}
.project-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:32px 24px;
}
.project {
  min-width:0;
}
.gallery-item {
  display:block;
  overflow:hidden;
  background:#e2e3df;
}
.gallery-item img {
  width:100%;
  height:auto;
  aspect-ratio:3/2;
  object-fit:cover;
  transition:filter .25s;
}
.gallery-item:hover img {
  filter:brightness(1.06);
}
.project figcaption {
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding-top:14px;
  line-height:1.5;
}
.project h4 {
  font-size:15px;
  font-weight:500;
}
.project figcaption>span {
  font-size:12px;
  color:var(--muted);
  text-align:right;
}
.more-projects {
  margin-top:65px;
  margin-bottom:85px;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.more-projects summary {
  padding:25px 0;
  cursor:pointer;
  font-size:20px;
}
.more-projects summary span {
  float:right;
  font-size:13px;
  color:var(--muted);
  line-height:26px;
}
.more-projects[open]>.project-grid {
  padding-bottom:30px;
}
.about {
  background:#dfe6e8;
  padding-block:78px;
}
.about-layout {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:65px;
}
.about h2 {
  margin:20px 0 30px;
}
.text-link {
  display:inline-flex;
  gap:32px;
  align-items:center;
  border-bottom:1px solid #87969e;
  padding-block:12px;
  font-size:14px;
}
.text-link span {
  font-size:12px;
  color:var(--muted);
}
.about-copy {
  padding-top:3px;
  max-width:560px;
}
.about-copy p {
  font-size:16px;
  color:#445159;
  margin-bottom:20px;
}
.about-copy .lead {
  font-size:24px;
  line-height:1.4;
  color:var(--ink);
  letter-spacing:-.025em;
}
.about-copy .about-note {
  margin-bottom:0;
  padding-top:20px;
  border-top:1px solid #b9c6cc;
}
.contact {
  padding-block:90px;
}
.contact h2 {
  margin-top:22px;
}
.contact-email {
  font-size:clamp(22px,4vw,56px);
  letter-spacing:-.04em;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  border-bottom:1px solid #abb7bd;
  padding:34px 0 22px;
}
.contact-email:hover {
  color:#33607b;
}
.contact-bottom {
  display:flex;
  justify-content:space-between;
  gap:30px;
  align-items:center;
  margin-top:24px;
}
.contact-bottom p {
  font-size:14px;
  color:var(--muted);
}
.contact-bottom a {
  font-size:20px;
}
.site-footer {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  padding-block:25px;
  border-top:1px solid var(--line);
  font-size:12px;
  color:var(--muted);
}
.lightbox {
  color-scheme:dark;
  background:#0b111a;
  color:#f3f5f7;
  border:0;
  padding:0;
  max-width:100%;
  max-height:100%;
  width:100%;
  height:100dvh;
  margin:0;
}
.lightbox::backdrop {
  background:#0b111a;
}
.lightbox-shell {
  min-height:100%;
  display:flex;
  flex-direction:column;
  max-width:1500px;
  margin:auto;
  padding:16px 32px;
  gap:12px;
}
.lightbox-top,.lightbox-bottom {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.lightbox-top {
  color:#b9c8d6;
  font-size:13px;
}
.lightbox button,.lightbox-bottom a {
  border:1px solid #4a596b;
  background:transparent;
  color:#eef3f7;
  min-height:44px;
  padding:10px 17px;
  font-size:13px;
}
.lightbox button:hover,.lightbox-bottom a:hover {
  background:#253346;
}
.lightbox-image {
  display:flex;
  flex:1;
  align-items:center;
  justify-content:center;
  position:relative;
  min-height:150px;
}
.lightbox-image img {
  width:auto;
  height:auto;
  max-width:100%;
  max-height:calc(100dvh - 220px);
  object-fit:contain;
}
.lightbox-image img[hidden] {
  display:none;
}
#lightbox-error {
  padding:30px;
  max-width:550px;
  color:#d5dce4;
  text-align:center;
}
.lightbox-caption {
  text-align:center;
}
.lightbox-caption h2 {
  font:500 20px/1.3 Arial,Helvetica,sans-serif;
  letter-spacing:-.02em;
}
.lightbox-caption p {
  font-size:13px;
  color:#aebdcc;
  margin-top:5px;
}
.lightbox-bottom {
  padding-bottom:8px;
}
.lightbox-bottom a {
  text-align:center;
}
@media(min-width:1001px) {
  #moped-retro .project:first-child {
    grid-column:1 / -1;
  }
  #moped-retro .project:first-child img {
    max-height:540px;
    object-fit:contain;
    background:#dbddda;
  }
  .hero {
    min-height:700px;
  }
}
@media(max-width:1000px) {
  .hero h1 {
    font-size:62px;
  }
  .hero-shade {
    background:linear-gradient(90deg,#050c15e6,#050c1566 85%);
  }
  .about-layout {
    gap:35px;
  }
  .project figcaption {
    display:block;
  }
  .project figcaption>span {
    display:block;
    margin-top:3px;
    text-align:left;
  }
}
@media(max-width:640px) {
  .site-header {
    padding:22px 20px;
    align-items:flex-start;
    gap:12px;
  }
  .wordmark {
    font-size:17px;
  }
  .wordmark span {
    font-size:10px;
  }
  .site-header nav {
    gap:16px;
    font-size:12px;
  }
  .site-header nav a {
    padding:9px 0;
  }
  .site-header nav a:nth-child(2) {
    display:none;
  }
  .hero {
    min-height:700px;
    padding:280px 20px 90px;
    align-items:flex-end;
  }
  .hero-media img {
    object-position:66% top;
  }
  .hero-shade {
    background:linear-gradient(0deg,#050c15 0%,#050c15e8 30%,#050c1570 64%,#050c1533);
  }
  .hero h1 {
    font-size:47px;
  }
  .hero-content>.eyebrow {
    font-size:10px;
    letter-spacing:.11em;
    margin-bottom:19px;
  }
  .hero-intro {
    font-size:15px;
    max-width:330px;
    margin:20px 0 24px;
  }
  .button {
    padding:14px 20px;
    font-size:13px;
  }
  .motion-toggle {
    bottom:17px;
    right:20px;
    font-size:11px;
  }
  .portfolio-intro {
    padding-top:52px;
  }
  .portfolio-intro h2 {
    font-size:38px;
  }
  .portfolio-intro>p:not(.eyebrow) {
    font-size:15px;
    margin-top:20px;
  }
  .project-nav {
    gap:0 22px;
    margin-top:23px;
    padding-bottom:20px;
  }
  .project-section {
    padding-top:45px;
  }
  .project-grid {
    grid-template-columns:1fr;
    gap:27px;
  }
  .section-heading {
    margin-bottom:23px;
  }
  .section-heading h3 {
    font-size:31px;
  }
  .section-heading>p:last-child {
    font-size:14px;
  }
  .project h4 {
    font-size:15px;
  }
  .project figcaption {
    padding-top:12px;
  }
  .more-projects {
    margin-block:45px 55px;
  }
  .more-projects summary {
    font-size:18px;
  }
  .more-projects summary span {
    font-size:11px;
  }
  .about {
    padding-block:52px;
  }
  .about-layout {
    grid-template-columns:1fr;
    gap:35px;
  }
  .about h2 {
    font-size:39px;
    margin-bottom:20px;
  }
  .about-copy .lead {
    font-size:22px;
  }
  .about-copy p {
    font-size:15px;
  }
  .contact {
    padding-block:55px;
  }
  .contact h2 {
    font-size:39px;
  }
  .contact-email {
    font-size:25px;
    padding-top:28px;
  }
  .contact-bottom {
    align-items:flex-start;
    flex-direction:column;
    gap:20px;
  }
  .site-footer {
    flex-wrap:wrap;
    font-size:11px;
    gap:16px;
  }
  .lightbox-shell {
    padding:12px 8px;
  }
  .lightbox-image img {
    max-height:calc(100dvh - 230px);
    width:100%;
  }
  .lightbox button,.lightbox-bottom a {
    padding:10px 9px;
    font-size:11px;
  }
  .lightbox-caption h2 {
    font-size:18px;
  }
  .lightbox-bottom {
    gap:6px;
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }
  *,*::before,*::after {
    animation:none!important;
    transition:none!important;
  }
  .button:hover {
    transform:none;
  }
}
