:root {
  color-scheme: light;
  --paper: #f4f2ed;
  --black: #22211f;
  --muted: #6d6a66;
  --rule: rgba(38, 35, 32, .17);
  --max: 1460px;
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--black); font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button { font: inherit; }
.skip { position: absolute; left: 1rem; top: -6rem; z-index: 20; background: white; color: black; padding: .8rem 1rem; }
.skip:focus { top: 1rem; }
.hero {
  position: relative;
  isolation: isolate;
  min-height: 760px;
  min-height: 100svh;
  overflow: hidden;
  background: #3a3b38;
  color: #f7f5f1;
  display: flex;
  flex-direction: column;
}
.hero::before {
  content: '';
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image: var(--hero-image, linear-gradient(145deg, #575b56, #242728));
  background-size: cover;
  background-position: var(--hero-position, center center);
  transform: scale(1.005);
}
.hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 10, 10, .44) 0%, rgba(9, 10, 10, .14) 65%, rgba(9, 10, 10, .17) 100%), linear-gradient(0deg, rgba(9, 10, 10, .36), transparent 36%);
}
.hero.tone-dark { color: #20221f; background: #d7d5cb; }
.hero.tone-dark::before { background-image: var(--hero-image, linear-gradient(145deg, #ebe8df, #b5b6aa)); }
.hero.tone-dark::after { background: linear-gradient(90deg, rgba(255, 255, 252, .6), rgba(255, 255, 252, .09) 72%), linear-gradient(0deg, rgba(255, 255, 252, .15), transparent 33%); }
.site-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 2rem;
  padding: clamp(24px, 3.4vw, 54px) clamp(22px, 4.6vw, 76px);
  z-index: 2;
}
.wordmark { text-decoration: none; text-transform: uppercase; white-space: nowrap; letter-spacing: .22em; font-size: .76rem; font-weight: 600; line-height: 1.5; }
.site-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: clamp(18px, 2.7vw, 45px); }
.site-nav a {
  text-decoration: none;
  text-transform: uppercase;
  font-size: .67rem;
  font-weight: 500;
  letter-spacing: .18em;
  position: relative;
  opacity: .76;
  padding-bottom: 7px;
  transition: opacity 180ms ease;
}
.site-nav a:hover, .site-nav a:focus-visible, .site-nav a[aria-current="page"] { opacity: 1; }
.site-nav a[aria-current="page"]::after { content: ''; position: absolute; bottom: 0; left: 0; width: calc(100% - .18em); height: 1px; background: currentColor; }
a:focus-visible, button:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.hero-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(18px, 4.6vw, 76px);
  padding-top: 80px;
  padding-bottom: clamp(70px, 8.6vh, 116px);
  width: 100%;
}
.kicker { font-size: .64rem; line-height: 1.6; text-transform: uppercase; letter-spacing: .25em; font-weight: 500; margin: 0 0 20px 4px; }
h1 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: clamp(4.1rem, 10.2vw, 10.4rem); letter-spacing: -.066em; line-height: .98; margin: 0; max-width: 1300px; }
.hero[data-page="about"] h1 { font-size: clamp(4.25rem, 11vw, 10.8rem); }
.hero-sub { font-size: clamp(.85rem, 1.2vw, 1rem); letter-spacing: .02em; line-height: 1.8; max-width: 510px; margin: 27px 0 0 5px; font-weight: 400; }
.hero-footer {
  position: absolute;
  right: clamp(22px, 4.6vw, 76px);
  bottom: clamp(35px, 5.7vw, 80px);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .66rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  opacity: .88;
  text-decoration: none;
}
.hero-footer svg { height: 18px; width: 18px; }
.hero-footer.hidden { display: none; }
.content {
  padding: clamp(64px, 9vw, 145px) clamp(22px, 4.6vw, 76px) 120px;
  max-width: 1800px;
  margin: 0 auto;
  min-height: 220px;
}
.content-topline { border-top: 1px solid var(--rule); padding-top: 16px; display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: clamp(38px, 5vw, 85px); }
.section-label, .index-label { font-size: .65rem; text-transform: uppercase; letter-spacing: .22em; }
.index-label { color: var(--muted); }
.empty { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-style: italic; font-size: clamp(1.6rem, 3vw, 3rem); color: #8a8780; font-weight: 400; }
.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(11px, 2vw, 34px); }
.photo-card { margin: 0; }
.photo-button { width: 100%; background: #dfddd5; border: 0; padding: 0; display: block; cursor: zoom-in; overflow: hidden; }
.photo-button img { display: block; width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform 300ms ease; }
.photo-button:hover img { transform: scale(1.018); }
.photo-card figcaption { padding: 12px 0 0; font-size: .73rem; line-height: 1.6; color: #615e59; }
.projects-list { border-top: 1px solid var(--rule); }
.project { padding: clamp(26px, 4vw, 58px) 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: minmax(120px, .65fr) minmax(0, 2fr) minmax(180px, .9fr); gap: clamp(18px, 4vw, 65px); align-items: start; }
.project-type { font-size: .68rem; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); padding-top: 10px; }
.project-title { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: clamp(1.75rem, 3vw, 3.6rem); letter-spacing: -.04em; line-height: 1.12; }
.project-description { font-size: .87rem; line-height: 1.8; max-width: 560px; margin: 20px 0 0; color: #54514c; }
.project-links { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; padding-top: 10px; }
.project-links a { text-decoration: none; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 5px; }
.project-links a:hover { opacity: .55; }
.project-license { color: var(--muted); font-size: .72rem; line-height: 1.5; }
.contact-link { display: inline-block; color: inherit; text-underline-offset: .13em; }
.site-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid var(--rule); padding: 25px clamp(22px, 4.6vw, 76px); background: var(--paper); font-size: .65rem; color: var(--muted); letter-spacing: .15em; text-transform: uppercase; }
.photo-dialog { padding: 44px 22px 22px; border: none; background: #181918; color: #f8f7f5; max-width: min(96vw, 1300px); max-height: 96vh; position: fixed; }
.photo-dialog::backdrop { background: rgba(3, 4, 3, .9); }
.photo-dialog img { max-height: calc(96vh - 105px); width: auto; max-width: 90vw; object-fit: contain; display: block; margin: auto; }
.dialog-close { position: absolute; top: 9px; right: 12px; padding: 8px; border: none; background: none; color: inherit; cursor: pointer; font-size: 1.7rem; }
.dialog-caption { font-size: .72rem; letter-spacing: .07em; text-align: center; padding-top: 12px; }
@media (max-width: 860px) {
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project { grid-template-columns: 1fr; gap: 14px; }
  .project-links { padding-top: 4px; }
  .hero-footer { bottom: 28px; }
}
@media (max-width: 600px) {
  .hero { min-height: 620px; min-height: 100svh; }
  .hero::before { background-position: var(--hero-mobile-position, var(--hero-position, center center)); }
  .site-header { display: block; padding-top: 25px; }
  .site-nav { margin-top: 23px; justify-content: flex-start; gap: 17px 24px; }
  .site-nav a { font-size: .62rem; }
  .hero-main { padding-bottom: 110px; }
  .hero[data-page="about"] h1 { font-size: clamp(3.7rem, 15.2vw, 6.2rem); }
  h1 { font-size: clamp(3.45rem, 13.8vw, 6.3rem); }
  .hero-sub { max-width: 320px; font-size: .85rem; }
  .hero-footer { left: 22px; right: auto; bottom: 33px; }
  .photo-grid { grid-template-columns: 1fr; }
  .content { padding-bottom: 75px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *,*::before,*::after { transition-duration: .01ms !important; } }
