:root {
  color-scheme:light;
  --paper:#fafbf9;
  --ink:#26312e;
  --muted:#59645e;
  --accent:#3e6254;
  --on-accent:#fff;
  --line:#d9dfd9;
  --stage:#eef1ed;
  --project-surface:#f5f7f4;
  --project-outline:#e5eae4;
  --edge:#79847c;
  font-family:'Segoe UI',Arial,sans-serif;
  color:var(--ink);
  background:var(--paper)
}
[data-theme="dark"] {
  color-scheme:dark;
  --paper:#171c1a;
  --ink:#edf2ee;
  --muted:#b9c4bd;
  --accent:#9bc9b4;
  --on-accent:#171c1a;
  --line:#39443e;
  --stage:#202824;
  --project-surface:#1c231f;
  --project-outline:#445149;
  --edge:#91a198
}
* {
  box-sizing:border-box
}
body {
  margin:0
}
img {
  max-width:100%;
  height:auto;
  display:block
}
a {
  color:inherit;
  text-underline-offset:.24em
}
a:hover {
  color:var(--accent)
}
button {
  font:inherit;
  color:inherit;
  cursor:pointer
}
button,a {
  touch-action:manipulation
}
button:active,.button:active {
  transform:translateY(1px)
}
:focus-visible {
  outline:3px solid var(--accent);
  outline-offset:5px
}
p {
  line-height:1.7;
  margin:0 0 1.2rem
}
h1,h2,h3 {
  font-weight:500;
  line-height:1.16;
  margin:0;
  overflow-wrap:anywhere
}
h1,h2,.brand {
  font-family:'Segoe UI',Arial,sans-serif
}
h1 {
  font-size:clamp(2.6rem,5.4vw,5rem);
  letter-spacing:-.05em
}
h2 {
  font-size:clamp(2rem,3.4vw,3.1rem);
  letter-spacing:-.035em
}
h3 {
  font-size:clamp(1.4rem,2.2vw,1.85rem);
  letter-spacing:-.025em
}
ul {
  padding-left:1.2rem;
  line-height:1.7
}
[hidden] {
  display:none!important
}
.container {
  width:min(1160px,calc(100% - 96px));
  margin-inline:auto
}
.skip-link {
  position:absolute;
  top:-100px;
  left:20px;
  padding:14px;
  background:var(--paper);
  z-index:10
}
.skip-link:focus {
  top:12px
}
.site-header {
  border-bottom:1px solid var(--line)
}
.nav-wrap {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  min-height:88px
}
.brand {
  text-decoration:none;
  font-size:1.35rem;
  font-weight:600;
  letter-spacing:-.04em;
  white-space:nowrap
}
.brand span {
  color:var(--accent)
}
.site-nav {
  display:flex;
  gap:32px
}
.site-nav a {
  display:flex;
  align-items:center;
  min-height:44px;
  min-width:44px;
  text-decoration:none;
  font-size:.95rem
}
.site-nav a[aria-current] {
  text-decoration:underline;
  text-decoration-thickness:2px
}
.nav-toggle {
  display:none;
  min-height:44px;
  padding:8px 14px;
  border:1px solid var(--edge);
  background:transparent;
  border-radius:6px
}
.header-actions {
  display:flex;
  align-items:center;
  gap:12px;
  order:3
}
.theme-toggle {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  min-width:104px;
  padding:8px 14px;
  border:1px solid var(--edge);
  background:transparent;
  border-radius:6px
}
.theme-toggle:hover {
  background:var(--stage)
}
.eyebrow {
  font-size:.85rem;
  font-weight:600;
  letter-spacing:.015em;
  color:var(--muted);
  margin-bottom:26px
}
.muted {
  color:var(--muted)
}
.lead {
  font-size:clamp(1.1rem,1.7vw,1.3rem);
  max-width:40rem
}
.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:12px 22px;
  background:var(--ink);
  border:1px solid var(--ink);
  color:var(--paper);
  text-decoration:none;
  font-weight:600;
  border-radius:6px;
  transition:background .15s
}
.button:hover {
  background:var(--accent);
  border-color:var(--accent);
  color:var(--on-accent)
}
.text-link {
  display:inline-flex;
  align-items:center;
  min-height:48px;
  font-weight:600
}
.actions {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:14px 28px
}
.hero {
  padding:72px 0 64px
}
.hero-intro {
  display:grid;
  grid-template-columns:1.35fr 1fr;
  gap:64px;
  align-items:end
}
.hero h1 em {
  font-weight:500;
  font-style:normal;
  color:var(--accent)
}
.hero-copy {
  padding-bottom:6px
}
.hero-copy .lead {
  font-size:1.1rem
}
.hero-signature {
  margin-top:24px;
  font-size:.88rem
}
.hero-work {
  display:grid;
  grid-template-columns:1.8fr 1fr;
  gap:48px;
  margin-top:56px;
  align-items:center;
  padding:28px;
  background:var(--project-surface);
  border:1px solid var(--project-outline);
  border-radius:12px
}
.hero-project {
  margin:0;
  min-width:0
}
.hero-project>a {
  display:block;
  border-radius:6px
}
.hero-project img {
  width:100%;
  height:360px;
  object-fit:contain
}
.hero-project figcaption {
  display:flex;
  justify-content:space-between;
  gap:15px;
  margin-top:14px;
  font-size:.85rem
}
.hero-note {
  min-width:0
}
.hero-note h2 {
  font-size:1.7rem;
  margin-bottom:20px
}
.hero-note p {
  color:var(--muted);
  max-width:28rem
}
.section {
  padding:80px 0
}
.section-heading {
  display:flex;
  justify-content:space-between;
  gap:30px;
  align-items:end;
  margin-bottom:40px
}
.section-heading .eyebrow {
  margin-bottom:14px
}
.work-section {
  border-top:1px solid var(--line)
}
.project-list {
  display:grid;
  gap:56px
}
@media(min-width:701px) {
  #projects-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:48px 32px
  }
  #projects-grid .project-card {
    grid-template-columns:minmax(0,1fr);
    align-content:start;
    gap:24px
  }
}
.project-card {
  display:grid;
  grid-template-columns:1.45fr 1fr;
  gap:56px;
  align-items:center;
  min-width:0
}
.project-media {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:22px;
  background:var(--stage);
  border:1px solid var(--line);
  border-radius:10px;
  padding:32px;
  min-height:350px;
  text-decoration:none
}
.project-media img {
  width:100%;
  height:340px;
  object-fit:contain;
  min-width:0
}
.project-media.mobile img {
  width:calc(50% - 11px);
  height:360px
}
.project-media:hover {
  border-color:var(--ink)
}
.project-meta {
  font-size:.85rem;
  color:var(--muted);
  display:flex;
  flex-wrap:wrap;
  gap:8px 18px;
  margin-bottom:14px
}
.project-body h3 {
  margin-bottom:20px
}
.project-body h3 a {
  text-decoration:none
}
.summary {
  white-space:pre-line;
  color:var(--muted)
}
.project-body {
  min-width:0;
}
.summary, .hero-project figcaption {
  overflow-wrap:anywhere;
}
.project-body .text-link {
  margin-top:8px
}
.featured-list .project-card:nth-child(even) {
  grid-template-columns:1fr 1.45fr
}
.featured-list .project-card:nth-child(even) .project-media {
  order:2
}
.expertise {
  background:var(--stage);
  color:var(--ink);
  border-block:1px solid var(--line)
}
.featured-list .project-card {
  padding:32px;
  background:var(--project-surface);
  border:1px solid var(--project-outline);
  border-radius:12px
}
.featured-list .project-media {
  padding:0;
  background:transparent;
  border:0;
  border-radius:6px
}
.expertise-grid {
  display:grid;
  grid-template-columns:1fr 1.6fr;
  gap:64px
}
.expertise h2 {
  max-width:20rem
}
.expertise-row {
  display:grid;
  grid-template-columns:1fr 1.2fr;
  gap:32px;
  padding:26px 0;
  border-top:1px solid var(--line)
}
.expertise-row h3 {
  font-size:1.35rem
}
.expertise-row p {
  font-size:.95rem;
  margin:0;
  color:var(--muted)
}
.expertise a:hover {
  color:var(--accent)
}
.expertise :focus-visible {
  outline-color:var(--accent)
}
.personal {
  display:grid;
  grid-template-columns:.7fr 1.3fr;
  gap:80px;
  align-items:center
}
.personal figure {
  margin:0
}
.personal img {
  width:100%;
  max-height:460px;
  object-fit:contain;
  object-position:left
}
.personal h2 {
  margin-bottom:25px
}
.personal .lead {
  margin-top:28px
}
.page-intro {
  padding:64px 0 48px;
  max-width:1000px
}
.page-intro .lead {
  margin-top:28px
}
.project-approach {
  max-width:68ch;
  margin-top:32px;
  padding-top:24px;
  border-top:1px solid var(--line)
}
.project-approach h2 {
  font-size:1.15rem;
  font-weight:600;
  letter-spacing:0;
  margin-bottom:12px
}
.project-approach p {
  margin-bottom:0
}
.about-layout {
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:72px;
  align-items:start;
  padding-bottom:90px
}
.about-layout figure {
  margin:0
}
.about-layout img {
  width:100%;
  max-height:600px;
  object-fit:contain;
  object-position:left
}
.about-layout figcaption {
  font-size:.85rem;
  color:var(--muted);
  margin-top:15px
}
.about-copy {
  padding-top:12px
}
.about-copy h2 {
  margin-bottom:30px
}
.about-copy p {
  font-size:1.07rem
}
.competency {
  display:grid;
  grid-template-columns:1fr 2fr;
  gap:60px;
  border-top:1px solid var(--line);
  padding:32px 0
}
.competency h3 {
  font-size:1.45rem
}
.competency p {
  margin:0;
  max-width:45rem
}
.contact-layout {
  display:grid;
  grid-template-columns:1.6fr 1fr;
  gap:80px;
  padding:10px 0 110px
}
.contact-item {
  padding:24px 0;
  border-top:1px solid var(--line)
}
.contact-item p {
  font-size:.82rem;
  margin-bottom:10px;
  color:var(--muted)
}
.contact-item a,.contact-item .value {
  font-size:clamp(1.2rem,2.1vw,1.9rem);
  overflow-wrap:anywhere;
  display:inline-flex;
  align-items:center;
  min-height:44px
}
.contact-aside {
  border-top:1px solid var(--line);
  padding-top:24px
}
.contact-aside h2 {
  font-size:2rem;
  margin-bottom:24px
}
.contact-aside p {
  color:var(--muted)
}
.filters {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
  margin:0 0 48px;
  border-block:1px solid var(--line);
  padding:16px 0
}
.filter-btn {
  background:transparent;
  border:1px solid var(--edge);
  border-radius:6px;
  min-height:44px;
  padding:9px 20px
}
.filter-btn[aria-pressed=true] {
  background:var(--ink);
  color:var(--paper);
  text-decoration:underline;
  text-underline-offset:5px
}
.filter-btn:hover {
  border-color:var(--edge)
}
.result-count {
  margin:0 0 0 auto;
  font-size:.85rem;
  color:var(--muted)
}
.project-archive {
  padding-bottom:100px
}
.project-archive .project-card {
  padding-bottom:32px;
  border-bottom:1px solid var(--line)
}
.closing {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:32px;
  border-top:1px solid var(--line);
  padding:56px 0
}
.closing h2 {
  font-size:clamp(1.85rem,3vw,2.7rem)
}
.site-footer {
  border-top:1px solid var(--line);
  padding:28px 0
}
.footer-row {
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:12px 30px;
  font-size:.82rem;
  color:var(--muted)
}
.footer-row p {
  margin:0
}
.footer-row a {
  display:inline-flex;
  min-height:44px;
  align-items:center
}
.footer-row>div {
  display:flex;
  flex-wrap:wrap;
  gap:20px
}
.footer-row>p {
  align-self:center
}
dialog {
  color:var(--ink);
  background:var(--paper);
  border:1px solid var(--edge);
  padding:0;
  border-radius:12px;
  width:min(1420px,calc(100% - 48px));
  max-height:calc(100dvh - 48px);
  overscroll-behavior:contain
}
dialog::backdrop {
  background:rgb(20 24 20 / .8)
}
.dialog-header {
  position:sticky;
  top:0;
  z-index:2;
  background:var(--paper);
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:25px;
  padding:20px 28px;
  border-bottom:1px solid var(--line)
}
.dialog-header h2 {
  font-size:clamp(1.5rem,3vw,2.5rem)
}
.control {
  background:var(--paper);
  border:1px solid var(--edge);
  border-radius:6px;
  min-height:44px;
  padding:9px 16px;
  flex-shrink:0
}
.control:hover {
  background:var(--stage)
}
.viewer-layout {
  display:grid;
  grid-template-columns:1.6fr 1fr;
  gap:32px;
  padding:28px;
  align-items:start
}
.gallery {
  min-width:0
}
.stage {
  background:var(--stage);
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:300px;
  padding:16px
}
.stage img {
  height:53vh;
  max-height:600px;
  width:100%;
  object-fit:contain
}
.gallery-controls {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
  justify-content:space-between;
  margin:14px 0
}
.gallery-controls p {
  margin:0;
  font-size:.85rem
}
.original-link {
  font-size:.85rem;
  display:inline-flex;
  align-items:center;
  min-height:44px
}
.thumbs {
  display:flex;
  gap:10px;
  overflow-x:auto;
  padding:8px 5px 14px
}
.thumbs button {
  border:1px solid var(--edge);
  background:var(--stage);
  padding:4px;
  flex:0 0 64px;
  height:76px
}
.thumbs button[aria-pressed=true] {
  outline:2px solid var(--accent);
  outline-offset:2px
}
.thumbs img {
  height:100%;
  width:100%;
  object-fit:contain
}
.viewer-fields {
  min-width:0
}
.viewer-field {
  border-top:1px solid var(--line);
  padding:18px 0
}
.viewer-field h3 {
  font:600 .82rem 'Segoe UI',Arial,sans-serif;
  margin-bottom:10px
}
.viewer-field p {
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  margin-bottom:12px
}
.viewer-field p:last-child {
  margin-bottom:0
}
.viewer-field a {
  overflow-wrap:anywhere;
  display:inline-flex;
  align-items:center;
  min-height:44px
}
.viewer-note {
  font-size:.9rem;
  color:var(--muted)
}
.image-error {
  padding:20px;
  color:var(--muted)
}
body.modal-open {
  overflow:hidden
}
@media(max-width:1000px) {
  .container {
    width:calc(100% - 56px)
  }
  .hero-intro {
    gap:32px;
    grid-template-columns:1.3fr 1fr
  }
  .hero-work {
    grid-template-columns:1.5fr 1fr;
    gap:28px
  }
  .hero-project img {
    height:280px
  }
  .project-card,.featured-list .project-card:nth-child(even) {
    gap:30px;
    grid-template-columns:1.2fr 1fr
  }
  .project-media {
    padding:20px;
    min-height:300px
  }
  .project-media img,.project-media.mobile img {
    height:300px
  }
  .personal,.about-layout,.expertise-grid {
    gap:40px
  }
  .contact-layout {
    gap:45px
  }
  .viewer-layout {
    grid-template-columns:1fr
  }
  .stage img {
    height:55vh
  }
  .expertise-row {
    grid-template-columns:1fr;
    gap:12px
  }
}
@media(max-width:700px) {
  .container {
    width:calc(100% - 40px)
  }
  .nav-wrap {
    min-height:80px;
    flex-wrap:wrap;
    gap:0;
    padding-block:14px
  }
  .brand {
    font-size:1.25rem
  }
  .header-actions {
    margin-left:auto
  }
  .theme-toggle {
    min-width:96px;
    padding-inline:10px
  }
  .js .nav-toggle {
    display:block
  }
  .site-nav {
    order:4;
    width:100%;
    flex-wrap:wrap;
    gap:8px 25px;
    padding-top:14px
  }
  .js .site-nav:not(.open) {
    display:none
  }
  .site-nav a {
    min-width:60px
  }
  .hero {
    padding-top:40px
  }
  .hero-intro,.hero-work,.project-card,.featured-list .project-card:nth-child(even),.personal,.about-layout,.expertise-grid,.contact-layout,.competency {
    grid-template-columns:1fr;
    gap:28px
  }
  .hero h1 {
    font-size:clamp(2.5rem,10vw,4rem)
  }
  .hero-copy {
    padding:0
  }
  .hero-signature {
    margin-top:18px
  }
  .hero-work {
    margin-top:30px
  }
  .hero-work,.featured-list .project-card {
    padding:18px
  }
  .hero-project img {
    height:auto;
    max-height:320px
  }
  .hero-note h2 {
    font-size:1.75rem
  }
  .hero-project figcaption {
    flex-wrap:wrap
  }
  .section {
    padding:56px 0
  }
  .section-heading {
    align-items:start;
    flex-direction:column;
    gap:14px;
    margin-bottom:28px
  }
  .project-list {
    gap:38px
  }
  .featured-list .project-card:nth-child(even) .project-media {
    order:0
  }
  .project-media {
    min-height:0;
    padding:18px;
    gap:12px
  }
  .project-media img {
    height:auto;
    max-height:350px
  }
  .project-media.mobile img {
    width:calc(50% - 6px);
    height:300px
  }
  .project-body h3 {
    margin-bottom:15px
  }
  .project-meta {
    margin-bottom:12px
  }
  .personal img {
    max-height:460px;
    object-position:center
  }
  .page-intro {
    padding:44px 0 36px
  }
  .page-intro h1 {
    font-size:clamp(2.5rem,9vw,3.5rem)
  }
  .about-layout {
    padding-bottom:55px
  }
  .about-layout img {
    max-height:560px;
    object-position:center
  }
  .about-copy {
    padding:0
  }
  .competency {
    padding:25px 0;
    gap:14px
  }
  .contact-layout {
    padding-bottom:60px
  }
  .contact-item a {
    font-size:1.2rem
  }
  .filters {
    gap:5px
  }
  .filter-btn {
    padding-inline:16px
  }
  .result-count {
    width:100%;
    margin-top:8px
  }
  .closing {
    align-items:start;
    flex-direction:column;
    padding:40px 0
  }
  .footer-row {
    flex-direction:column
  }
  .footer-row>p {
    align-self:start
  }
  .eyebrow {
    margin-bottom:20px
  }
  .viewer-layout {
    padding:16px;
    gap:24px
  }
  dialog {
    width:calc(100% - 16px);
    max-height:calc(100dvh - 16px)
  }
  .dialog-header {
    padding:14px 16px;
    gap:12px
  }
  .dialog-header h2 {
    font-size:1.55rem
  }
  .stage {
    min-height:180px;
    padding:8px
  }
  .stage img {
    height:48vh
  }
  .gallery-controls {
    gap:8px
  }
  .gallery-controls .control {
    padding-inline:12px
  }
}
.brand {
  white-space:normal;
  max-width:100%;
  overflow-wrap:anywhere;
  min-height:44px;
  display:flex;
  align-items:center;
}
.project-body h3 a {
  display:inline-block;
  min-height:44px;
  min-width:44px;
  padding-block:4px;
}
.footer-row a {
  min-width:44px;
}
.dialog-header h2 {
  min-width:0;
  flex:1
}
.viewer-field li {
  overflow-wrap:anywhere
}
@media(max-width:700px) {
  .stage {
    min-height:0
  }
  .stage img {
    width:auto;
    height:auto;
    max-height:48vh
  }
  .nav-wrap {
    gap:8px 12px
  }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    scroll-behavior:auto!important;
    transition:none!important;
    animation:none!important
  }
}
