@font-face {
  font-family: Imbue;
  src: url('../dynamic/fonts/imbue/imbue.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../dynamic/fonts/dmsans/dmsans.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --ink: #161616;
  --paper: #ffffff;
  --wash: #f5f5f5;
  --muted: #646464;
  --accent: #f5a319;
  --accent-dark: #9b5700;
  --accent-text: #915000;
  --accent-light: #ffc04c;
  --line: #d3d3d3;
  --border-radius: 4px;
  --on-accent: #161616;
  --contact-bg: #161616;
  --contact-ink: #ffffff;
  --portrait-shadow: #ededed;
  --portrait-text-halo: #ffffffa6;
  --portfolio-header-height: 82px;
  --medium-nav-height: 78px;
  --page-bg: var(--paper);
  --text-color: var(--ink);
  --headings-color: var(--ink);
  --link-color: var(--ink);
  --link-color-hover: var(--accent);
  --nav-link-color: var(--ink);
  --nav-link-color-hover: var(--accent);
  --logo-color: var(--ink);
  --color: var(--accent-text);
  --white: var(--paper);
  --black: var(--ink);
  --helper: var(--paper);
  --dark: var(--ink);
  --gray: var(--muted);
  --light: var(--line);
  --lighter: var(--wash);
  --highlight-color: #dedede;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --paper: #171717;
    --wash: #232323;
    --ink: #f4f4f4;
    --muted: #bcbcbc;
    --line: #545454;
    --accent-text: #ffc04c;
    --contact-bg: #101010;
    --portrait-shadow: #292929;
    --portrait-text-halo: #000000cc;
    --highlight-color: #493410;
  }
}
html { scroll-behavior: smooth; }
img, button, .btn, .btn--icon, .medium-nav a { border-radius: var(--border-radius); }
::selection { background: var(--accent); color: var(--on-accent); }
body.home-template {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-variation-settings: normal;
  letter-spacing: 0;
}
body.home-template * { box-sizing: border-box; }
body.home-template .footer { display: none; }
body.home-template a { color: inherit; }
body.home-template button { font: inherit; }
body.home-template.art-modal-open { overflow: hidden; }
.skip-link {
  position: fixed;
  z-index: 50;
  top: -5rem;
  left: 1rem;
  padding: .7rem 1rem;
  background: var(--ink);
  color: var(--paper) !important;
}
.skip-link:focus { top: 1rem; }
.portfolio-header {
  position: fixed;
  z-index: 5;
  inset: 0 0 auto;
  height: var(--portfolio-header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(22px, 4.5vw, 76px);
  background: var(--paper);
  transition: background .2s, color .2s;
}
.wordmark {
  font-family: Imbue, Georgia, serif;
  font-size: 2rem;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: -.035em;
}
.portfolio-header nav { display: flex; gap: clamp(14px, 3vw, 44px); }
.portfolio-header nav a { text-decoration: none; font-size: .85rem; font-weight: 600; }
.portfolio-header nav span { font-size: .75rem; margin-left: .2em; }
.portfolio-header nav a:hover,
.portfolio-header nav a:focus-visible,
.portfolio-header nav a[aria-current] {
  color: var(--accent-text);
  text-decoration: underline;
  text-underline-offset: 6px;
}
body.home-template.view-contact .portfolio-header { background: var(--contact-bg); color: var(--contact-ink); }
body.home-template.view-contact .portfolio-header nav a:hover,
body.home-template.view-contact .portfolio-header nav a[aria-current] { color: var(--accent-light); }
.intro {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: 110px clamp(22px, 4.5vw, 76px) 26px;
  overflow: hidden;
  isolation: isolate;
  background: var(--paper);
}
.intro__botanical {
  position: absolute;
  z-index: -1;
  width: min(80vw, 1100px);
  height: auto;
  right: -17vw;
  top: -1vh;
  color: var(--ink);
  opacity: .065;
  pointer-events: none;
}
.intro__eyebrow,
.intro__footer,
.section-topline,
.medium-heading > span {
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 650;
}
.intro__eyebrow { display: flex; justify-content: flex-start; gap: 12px; }
.intro__eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--accent); align-self: center; }
.intro__body {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(220px, .75fr);
  align-items: center;
  gap: clamp(28px, 5vw, 90px);
  width: 100%;
  max-width: 1600px;
  margin: auto 0;
  padding: 42px 0;
}
.intro__text { min-width: 0; }
.intro__overline {
  font-family: Imbue, Georgia, serif;
  font-size: clamp(28px, 3vw, 48px);
  font-style: italic;
  margin: 0 0 12px;
}
.intro h1 {
  font-variation-settings: normal;
  font-family: Imbue, Georgia, serif;
  font-weight: 500;
  line-height: .87;
  letter-spacing: -.045em;
  font-size: clamp(78px, 10vw, 176px);
  margin: 0;
}
.intro h1 span,
.intro h1 em { display: block; }
.intro h1 em {
  font-weight: 400;
  font-size: .58em;
  letter-spacing: -.035em;
  color: var(--accent-text);
  margin-top: 16px;
}
.intro__copy {
  max-width: 440px;
  margin-top: 36px;
  font-size: clamp(1rem, 1.15vw, 1.15rem);
  line-height: 1.6;
  color: var(--muted);
}
.intro__copy p { margin: 0; }
.intro__portrait {
  border-radius: var(--border-radius);
  position: relative;
  width: 100%;
  max-width: 370px;
  aspect-ratio: 4 / 5;
  max-height: 56svh;
  margin: 0 0 18px;
  justify-self: end;
  background: var(--wash);
  border: 1px solid var(--line);
  box-shadow: -15px 18px 0 var(--portrait-shadow);
}
.intro__portrait::after {
  content: '';
  position: absolute;
  left: -1px;
  bottom: -1px;
  width: 30%;
  height: 3px;
  background: var(--accent);
}
.intro__portrait img { width: 100%; height: 100%; display: block; object-fit: cover; }
.intro__portrait-placeholder { width: 100%; height: 100%; min-height: 260px; display: grid; place-items: center; }
.intro__portrait-placeholder span { font-family: Imbue, Georgia, serif; font-size: 2rem; color: var(--muted); font-style: italic; }
.intro__footer { display: flex; justify-content: flex-end; }
.intro__footer a { text-decoration: none; white-space: nowrap; }
.intro__footer a span { padding-left: 15px; color: var(--accent-text); }
.intro__footer a:hover { text-decoration: underline; text-underline-offset: 5px; }
.work {
  padding: 65px clamp(22px, 4.5vw, 76px) 110px;
  background: var(--paper);
}
.work, .contact { scroll-margin-top: var(--portfolio-header-height); }
.section-topline { display: flex; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--ink); }
.work__intro { display: flex; align-items: end; justify-content: space-between; gap: 40px; padding: 65px 0 45px; }
.work h2, .contact h2 {
  font-variation-settings: normal;
  font-family: Imbue, Georgia, serif;
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .9;
  font-size: clamp(70px, 9vw, 155px);
  margin: 0;
}
.work h2 em, .contact h2 em { font-weight: 400; color: var(--accent-text); }
.work__intro > p { max-width: 230px; line-height: 1.55; margin: 0 0 10px; color: var(--muted); }
.medium-nav {
  position: sticky;
  top: var(--portfolio-header-height);
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 60px;
  padding: 12px 0;
  background: var(--paper);
}
.medium-nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 18px;
  border: 1px solid var(--line);
  background: var(--paper);
  text-decoration: none;
  font-size: .83rem;
  font-weight: 650;
  transition: background .2s, color .2s, border-color .2s;
}
.medium-nav a:hover, .medium-nav a:focus-visible { background: var(--accent); border-color: var(--accent-text); color: var(--on-accent); }
.medium-nav span { font-size: .65rem; }
.medium-section { scroll-margin-top: calc(var(--portfolio-header-height) + var(--medium-nav-height) + 18px); margin-top: 65px; }
.medium-heading { display: flex; align-items: baseline; gap: 28px; border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 25px; }
.medium-heading > span { color: var(--accent-text); }
.medium-heading h3 { font-variation-settings: normal; font-family: Imbue, Georgia, serif; font-size: clamp(50px, 6vw, 88px); font-weight: 400; line-height: 1; letter-spacing: -.035em; margin: 0; }
.art-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 22px; }
.art-card { min-width: 0; }
.art-card__open { position: relative; width: 100%; display: block; padding: 0; background: var(--wash); border: 0; border-radius: var(--border-radius); cursor: zoom-in; overflow: hidden; }
.art-card__open img { display: block; width: 100%; height: clamp(240px, 29vw, 500px); object-fit: cover; transition: transform .4s; }
.art-card__open:hover img, .art-card__open:focus-visible img { transform: scale(1.035); }
.art-card__view { border-radius: var(--border-radius); position: absolute; right: 12px; bottom: 12px; background: var(--paper); color: var(--ink); padding: 9px 12px; font-size: .75rem; opacity: 0; transform: translateY(5px); transition: opacity .2s, transform .2s; }
.art-card__open:hover .art-card__view, .art-card__open:focus-visible .art-card__view { opacity: 1; transform: none; }
.art-card__caption { padding: 14px 0 4px; }
.art-card__caption h4 { font-variation-settings: "wght" 750; color: var(--accent-text); font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 750; line-height: 1.35; letter-spacing: -.01em; margin: 0; }
.art-empty { grid-column: 1 / -1; min-height: 180px; background: var(--wash); border: 1px solid var(--line); display: grid; place-items: center; padding: 25px; }
.art-empty p { margin: 0; color: var(--muted); font-family: Imbue, Georgia, serif; font-size: 1.8rem; font-style: italic; }
.contact { min-height: 90svh; background: var(--contact-bg); color: var(--contact-ink); padding: 65px clamp(22px, 4.5vw, 76px) 28px; display: flex; flex-direction: column; }
.contact .section-topline { border-color: #777777; }
.contact__body { margin: auto 0; padding: 80px 0; }
.contact__body > p:first-child { font-size: .9rem; margin: 0 0 40px; color: #cccccc; }
.contact h2 { font-size: clamp(85px, 12vw, 200px); color: var(--contact-ink); }
.contact h2 em { color: var(--accent-light); }
.contact__email { display: inline-flex; align-items: baseline; gap: 20px; margin-top: 60px; padding-bottom: 12px; border-bottom: 1px solid currentColor; text-decoration: none; font-size: clamp(22px, 3.4vw, 55px); overflow-wrap: anywhere; }
.contact__email span { color: var(--accent-light); }
body.home-template .contact__email:hover { color: var(--accent-light); }
.contact__pending { margin-top: 60px; color: #bbbbbb; }
.contact__footer { display: flex; justify-content: space-between; gap: 20px; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.contact__footer a { text-decoration: none; }
.contact__footer a:hover { text-decoration: underline; }
/* The viewer fills the available viewport; artwork fits without cropping. */
dialog.art-dialog {
  position: fixed;
  inset: 0;
  width: calc(100vw - 32px);
  height: calc(100vh - 32px);
  height: calc(100dvh - 32px);
  max-width: none;
  max-height: none;
  margin: auto;
  border: 1px solid var(--line);
  border-radius: var(--border-radius);
  padding: 60px 24px 20px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 20px 80px #00000066;
  overflow: hidden;
}
dialog.art-dialog[open] { display: flex; flex-direction: column; }
.art-dialog::backdrop { background: #000000cc; }
.art-dialog figure { flex: 1; min-height: 0; margin: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 12px; }
/* Size the image box to the photo itself so the radius follows its visible edge. */
.art-dialog__stage { position: relative; min-width: 0; min-height: 0; }
.art-dialog__stage img { position: absolute; inset: 0; margin: auto; display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; border-radius: var(--border-radius); }
.gallery__item a, .gallery__item img, .pswp__img { border-radius: var(--border-radius); }
.art-dialog figcaption { align-self: start; display: flex; flex-direction: column; gap: .5rem; margin: 0; padding: 0; text-align: center; font-family: 'DM Sans', sans-serif; font-size: .9rem; font-weight: 650; color: var(--accent-text); }
#art-dialog-title { margin: 0; font-size: 1.05rem; font-weight: 750; line-height: 1.2; }
.art-dialog__controls { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .5rem 1rem; }
.art-dialog__controls[hidden] { display: none; }
.art-dialog__controls button { padding: 3px 12px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; }
.art-dialog__controls button:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.art-dialog__details { flex: 0 1 auto; max-width: 65ch; max-height: min(20dvh, 10rem); overflow: auto; margin: 0 auto; padding: 0 10px; text-align: center; font-weight: 400; line-height: 1.3; color: var(--ink); }
.art-dialog__details > :first-child, .art-dialog__details > :first-child > :first-child { margin-top: 0; }
.art-dialog__details > :last-child { margin-bottom: 0; }
.art-dialog__close { position: absolute; top: 12px; right: 24px; border: 0; border-radius: var(--border-radius); background: var(--accent); color: var(--on-accent); cursor: pointer; padding: 8px 14px; font-size: .8rem; }
.art-dialog__close:hover { background: var(--accent-light); }
@media (max-width: 900px) {
  :root { --medium-nav-height: 130px; }
  .intro__body { grid-template-columns: minmax(0, 1.4fr) minmax(190px, .8fr); gap: 30px; }
  .intro h1 { font-size: clamp(76px, 11vw, 110px); }
  .intro__portrait { max-height: 48svh; }
  .work__intro { display: block; }
  .work__intro > p { margin: 28px 0 0; max-width: 380px; }
  .medium-nav { grid-template-columns: repeat(2, 1fr); }
  .art-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .art-card__open img { height: clamp(260px, 43vw, 440px); }
}
@media (max-width: 620px) {
  :root { --portfolio-header-height: 72px; --medium-nav-height: 124px; }
  .portfolio-header { padding: 15px 22px; }
  .wordmark { font-size: 1.65rem; }
  .portfolio-header nav { gap: 14px; }
  .portfolio-header nav a { font-size: .72rem; }
  .portfolio-header nav span { display: none; }
  .intro { padding-top: 95px; }
  .intro__eyebrow { justify-content: flex-start; gap: 12px; }
  .intro__body { grid-template-columns: 1fr; padding: 38px 0; gap: 38px; }
  .intro h1 { font-size: clamp(76px, 17vw, 112px); }
  .intro__overline { font-size: 30px; }
  .intro__copy { margin-top: 26px; }
  .intro__portrait { width: min(76vw, 300px); justify-self: center; max-height: none; }
  .intro__botanical { width: 140vw; right: -58vw; top: 18%; }
  .intro__footer { padding: 10px 0 0; }
  .work { padding-top: 45px; }
  .work__intro { padding: 45px 0 25px; }
  .work h2 { font-size: clamp(66px, 14vw, 90px); }
  .medium-nav { margin-bottom: 40px; }
  .medium-nav a { padding: 13px 12px; font-size: .75rem; }
  .medium-heading { gap: 20px; }
  .medium-heading h3 { font-size: 60px; }
  .art-grid { grid-template-columns: 1fr; }
  .art-card__open img { height: auto; max-height: 600px; }
  .art-card__view { opacity: 1; transform: none; }
  .contact { padding-top: 45px; }
  .contact h2 { font-size: clamp(72px, 16vw, 105px); }
  dialog.art-dialog { width: calc(100vw - 12px); height: calc(100dvh - 12px); padding: 58px 10px 14px; }
  .art-dialog__close { right: 10px; }
}
/* Give the photograph the larger column and reserve its center for the subject. */
.intro__body--with-portrait {
  grid-template-columns: minmax(0, 36fr) minmax(0, 64fr);
  gap: 0;
}
.intro__body--with-portrait .intro__text {
  position: relative;
  z-index: 1;
}
.intro__body--with-portrait .intro__portrait {
  width: 100%;
  max-width: none;
  max-height: none;
  aspect-ratio: auto;
  margin: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.intro__body--with-portrait .intro__portrait::after { display: none; }
.intro__body--with-portrait .intro__portrait img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.intro__body--with-portrait h1 {
  font-size: clamp(65px, 8.7vw, 155px);
}
.intro__body--with-portrait h1 span {
  margin-right: calc(-1 * clamp(22px, 4vw, 64px));
  text-align: right;
  overflow-wrap: anywhere;
  text-shadow: 0 0 8px var(--portrait-text-halo);
}
.intro__body--with-portrait .intro__copy {
  padding-right: clamp(18px, 3vw, 45px);
}
@media (max-width: 620px) {
  .intro__body--with-portrait { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .intro__body--with-portrait h1 { font-size: clamp(65px, 15vw, 100px); }
  .intro__body--with-portrait h1 span { margin-right: 0; text-align: left; text-shadow: none; }
  .intro__body--with-portrait .intro__copy { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .portfolio-header, .art-card__open img, .art-card__view, .medium-nav a { transition: none; }
}
