@font-face {
  font-family: "Atelier Serif";
  src: url("assets/serif.woff") format("woff");
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atelier Serif";
  src: url("assets/serif-italic.woff") format("woff");
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("assets/sans.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("assets/sans-semibold.woff") format("woff");
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #22221c;
  --muted: #565146;
  --paper: #f8f5ee;
  --line: #dcd3c3;
  --accent: #715739;
  --gold: #e4c491;
  --white: #fcf9f0;
  --serif: "Atelier Serif", Georgia, serif;
  --sans: "Open Sans", Arial, sans-serif;
  --gutter: clamp(1.25rem, 5vw, 5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 1rem/1.65 var(--sans);
}
body:has(dialog[open]) { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
:where(a,button):focus-visible {
  outline: 3px solid #956e39;
  outline-offset: 4px;
}
p, h1, h2, h3, figure { margin: 0; }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: normal;
  line-height: 1.05;
  text-wrap: balance;
}
.shell {
  width: min(82rem, calc(100% - var(--gutter) - var(--gutter)));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  z-index: 10;
  top: .75rem;
  left: .75rem;
  padding: .6rem 1rem;
  transform: translateY(-180%);
  background: var(--white);
}
.skip-link:focus { transform: none; }
.site-header .shell {
  min-height: 5rem;
  padding-block: .7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem 2rem;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  display: inline-grid;
  gap: .36rem;
  padding: .3rem 0;
  text-decoration: none;
}
.wordmark strong {
  font: 1.2rem/1 var(--serif);
  letter-spacing: .105em;
}
.wordmark small {
  color: var(--muted);
  font-size: .75rem;
  line-height: 1.25;
  letter-spacing: .115em;
  text-transform: uppercase;
}
.nav {
  display: flex;
  align-items: center;
  gap: clamp(.7rem, 3.25vw, 2.65rem);
}
.nav a {
  font-size: .9rem;
  font-weight: 600;
  text-decoration-color: transparent;
  text-underline-offset: .35em;
}
.nav a:hover, .nav a[aria-current="page"] { text-decoration-color: currentColor; }
.nav .contact-nav {
  min-height: 2.6rem;
  display: inline-flex;
  align-items: center;
  padding: .36rem .95rem;
  border: 1px solid #bfb29d;
}
.nav .contact-nav:hover { border-color: var(--ink); text-decoration: none; }
.eyebrow {
  color: var(--accent);
  font-size: .83rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .145em;
  text-transform: uppercase;
}
.intro {
  padding-block: clamp(2.6rem, 5.6vw, 5rem) clamp(1.65rem, 3.9vw, 3.15rem);
  text-align: center;
}
.intro h1 {
  margin: .68rem 0 1.05rem;
  font-size: clamp(3rem, 7.2vw, 6rem);
  letter-spacing: -.055em;
}
.intro h1 em { display: inline-block; font-weight: normal; }
.intro-copy {
  max-width: 38rem;
  margin-inline: auto;
  color: var(--muted);
  font-size: clamp(1rem, 1.65vw, 1.12rem);
  text-wrap: pretty;
}
.univers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.85rem, 1.75vw, 1.5rem);
}
.univers-card {
  display: grid;
  align-items: end;
  position: relative;
  width: 100%;
  min-width: 0;
  aspect-ratio: 1.68;
  min-height: 13.6rem;
  isolation: isolate;
  overflow: hidden;
  background: #575045;
  color: #fffdf6;
  text-decoration: none;
}
.univers-card img, .univers-card::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.univers-card img {
  z-index: -2;
  object-fit: cover;
  transition: transform .45s ease;
}
.univers-card::after {
  content: "";
  z-index: -1;
  background: linear-gradient(0deg, #131110f2 0%, #171513bd 22%, #18151140 59%, #18151100 82%);
}
.univers-card:is(:hover, :focus-visible) img { transform: scale(1.035); }
.univers-card span {
  padding: clamp(1.1rem, 2.7vw, 2.2rem);
  font-size: clamp(.92rem, 1.5vw, 1.02rem);
}
.univers-card strong {
  display: block;
  margin-bottom: .38rem;
  font: normal clamp(2.2rem, 4.2vw, 3.7rem)/1 var(--serif);
  letter-spacing: -.03em;
}
.univers-card:is(:hover, :focus-visible) strong {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .16em;
}
.bio {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.22fr);
  align-items: start;
  gap: 2.2rem clamp(2rem, 7vw, 7rem);
  padding: clamp(3rem, 7.2vw, 6.2rem) 0;
}
.bio h2, .contact h2 {
  margin-top: .5rem;
  font-size: clamp(2.5rem, 5.2vw, 4.5rem);
  letter-spacing: -.045em;
  text-wrap: initial;
}
.bio-copy {
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.06rem;
}
.bio-copy p + p { margin-top: .95rem; }
.contact {
  padding: clamp(2.35rem, 5vw, 4.25rem) 0;
  color: var(--white);
  background: var(--ink);
}
.contact .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.35rem 2.5rem;
}
.contact .eyebrow { color: var(--gold); }
.contact h2 { margin-top: .45rem; }
.contact-actions {
  display: grid;
  justify-items: start;
  gap: .2rem;
}
.phone {
  font: 1.85rem/1.4 var(--serif);
  color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
  white-space: nowrap;
}
.contact-area { color: #e2d9cb; }
.contact :focus-visible, dialog :focus-visible { outline-color: var(--gold); }

.breadcrumb {
  display: flex;
  align-items: baseline;
  gap: .66rem;
  padding-top: 1.25rem;
  color: var(--muted);
  font-size: .87rem;
}
.breadcrumb a { text-underline-offset: .2em; }
.gallery-hero {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: stretch;
  min-height: 23rem;
  color: var(--white);
  background: var(--ink);
}
.gallery-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  gap: 1.1rem;
  padding: clamp(1.3rem, 3.7vw, 3.5rem);
}
.gallery-hero h1 {
  font-size: clamp(2.55rem, 5.4vw, 5.15rem);
  letter-spacing: -.045em;
  text-wrap: initial;
}
.gallery-hero p {
  max-width: 34rem;
  color: #eee8df;
}
.gallery-hero img {
  width: 100%;
  height: 100%;
  min-height: 20rem;
  object-fit: cover;
}
.book-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: .5rem .85rem;
  border: 1px solid #b39870;
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
}
.book-link:hover { color: var(--ink); background: var(--gold); }
.book-link:focus-visible { outline-color: var(--gold); }
.gallery {
  padding-block: clamp(2.5rem, 6vw, 5.5rem);
}
.gallery h2 {
  margin-bottom: 1.6rem;
  font-size: clamp(2.1rem, 4.1vw, 3.25rem);
  letter-spacing: -.025em;
  text-wrap: initial;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.9rem, 4.3vw, 3.9rem) clamp(1.1rem, 2.45vw, 2.35rem);
}
.gallery-photo {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #ebe4d8;
}
.gallery-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center var(--focal-y, 50%);
  transition: transform .35s ease;
}
.gallery-photo:hover img { transform: scale(1.04); }
.gallery-mosaic .gallery-photo img { object-fit: contain; }
.gallery-grid h3 {
  margin: .85rem 0 .38rem;
  font-size: clamp(1.42rem, 2.4vw, 1.9rem);
  text-wrap: initial;
}
.gallery-grid p { color: var(--muted); }
.viewer {
  width: min(63rem, calc(100% - 2rem));
  max-height: calc(100% - 2rem);
  margin: auto;
  padding: .85rem;
  border: 1px solid #777065;
  background: var(--ink);
  color: var(--white);
}
.viewer::backdrop { background: #171612df; }
.viewer button {
  display: block;
  min-height: 2.6rem;
  margin: 0 0 .75rem auto;
  padding: .36rem .8rem;
  border: 1px solid #b8aa90;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.viewer img {
  margin-inline: auto;
  object-fit: contain;
  max-height: 73vh;
  min-width: 0;
}
.viewer figcaption {
  margin-top: .45rem;
  text-align: center;
}

@media (max-width: 850px) {
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-hero { min-height: auto; }
  .gallery-hero img { min-height: 17rem; }
}
@media (max-width: 640px) {
  .site-header .shell {
    min-height: auto;
    flex-wrap: wrap;
    justify-content: center;
    padding-bottom: .55rem;
    text-align: center;
    gap: .44rem;
  }
  .wordmark { justify-items: center; width: 100%; }
  .nav { gap: 1.35rem; }
  .nav a {
    min-height: 2.45rem;
    display: inline-flex;
    align-items: center;
  }
  .nav .contact-nav { min-height: 2.15rem; padding: .24rem .6rem; }
  .intro h1 { margin: .54rem 0 .8rem; font-size: clamp(2.6rem, 10.4vw, 4rem); }
  .univers { grid-template-columns: minmax(0, 1fr); }
  .bio, .gallery-hero { grid-template-columns: minmax(0, 1fr); }
  .bio { gap: 1.15rem; }
  .contact .shell { align-items: flex-start; flex-direction: column; }
  .gallery-hero img { min-height: auto; height: auto; aspect-ratio: 1.7; }
}
@media (max-width: 460px) {
  .gallery-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .univers-card img, .gallery-photo img { transition: none; }
}
