@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/Wordmark.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/Display.woff") format("woff");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Montserrat;
  src: url("assets/Body.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Montserrat;
  src: url("assets/Bold.woff") format("woff");
  font-weight: 600 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #302d27;
  --muted: #675f54;
  --paper: #f7f5f1;
  --cream: #eeeae1;
  --line: #dcd7cc;
  --gold: #a3783e;
  --forest: #35473b;
  --rule: var(--line);
  --dark: var(--ink);
  --bronze: #875f2d;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: Montserrat, Arial, sans-serif;
  --mast-height: 88px;
  --home-header-height: var(--mast-height);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--mast-height) + 16px);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 1rem/1.7 var(--sans); }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.06; }
img { max-width: 100%; }
a { color: inherit; text-underline-offset: .3em; }
button, input, select { font: inherit; color: inherit; }
button, summary { cursor: pointer; }
a, button, summary { touch-action: manipulation; }
:where(a, button, summary, input, select, [tabindex]):focus-visible { outline: 2px solid var(--bronze); outline-offset: 4px; }
.shell { width: min(90%, 1296px); margin-inline: auto; }
.skip, .sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden; padding: 0;
  clip-path: inset(50%); white-space: nowrap;
}
.skip:focus { position: fixed; left: 1rem; top: .7rem; width: auto; height: auto; background: #fff; color: var(--ink); padding: .5rem 1rem; z-index: 99; clip-path: none; }
[hidden] { display: none !important; }

.site-header {
  position: sticky; top: 0; z-index: 35;
  background: rgb(247 245 241 / 98%); border-bottom: 1px solid var(--line);
}
.mast { width: 92%; max-width: 1680px; min-height: calc(var(--mast-height) - 1px); display: flex; align-items: center; justify-content: space-between; gap: 1.6rem; }
.brand { display: inline-flex; align-items: baseline; flex-shrink: 0; gap: 8px; text-decoration: none; white-space: nowrap; font: 400 30px/36px var(--serif); letter-spacing: -.75px; }
.alza-wordmark-name { color: #2a2622; font-weight: 600; }
.alza-wordmark-descriptor { color: #7c736a; font-weight: 400; }
.mast nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.1rem); }
.mast nav a { font: 600 .835rem/1.5 var(--sans); text-decoration: none; white-space: nowrap; }
.mast nav a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 400; }
.mast nav a:hover, .mast nav a[aria-current] { color: var(--bronze); }
.home-page .site-header { position: fixed; inset: 0 0 auto; transition: color .18s, background-color .18s, border-color .18s; }
.home-page .site-header:not(.is-scrolled) { color: #fff; background: transparent; border-color: #ffffff36; }
.home-page .site-header:not(.is-scrolled) .alza-wordmark-name { color: #fff; }
.home-page .site-header:not(.is-scrolled) .alza-wordmark-descriptor { color: #eeeae5; }
.home-page .site-header:not(.is-scrolled) nav a:hover { color: #ead4b2; }
.home-page .site-header:not(.is-scrolled) nav a[aria-current] { color: #fff; }
.home-page .site-header:not(.is-scrolled) a:focus-visible { outline-color: white; }

.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; gap: .65rem;
  border: 1px solid var(--ink); border-radius: 0; padding: .7rem 1.25rem; background: var(--ink); color: white;
  text-decoration: none; font: 600 .875rem/1.45 var(--sans); cursor: pointer;
}
.button:hover { background: var(--forest); border-color: var(--forest); }
footer { background: var(--paper); border-top: 1px solid var(--line); }
footer .shell { display: flex; gap: 22px; align-items: center; justify-content: space-between; padding-block: 30px; }
footer .shell > span { color: var(--muted); font-size: .875rem; }

dialog { width: min(980px, 96vw); max-height: 94dvh; border: 1px solid var(--line); background: var(--paper); color: var(--ink); padding: clamp(14px, 2vw, 24px); }
dialog::backdrop { background: rgb(22 25 22 / 83%); }
.vhead, .viewer-links { display: flex; align-items: center; gap: 12px 24px; }
.vhead { justify-content: space-between; }
.vhead h2 { font-size: clamp(1.85rem, 4vw, 2.8rem); letter-spacing: -.03em; }
.vhead button { background: transparent; border: 1px solid var(--line); min-height: 40px; padding: .4rem .9rem; font: 600 .875rem var(--sans); }
.vhead button:hover { background: var(--cream); }
.vbody { margin-block: 12px; background: #242823; }
.vbody img { display: block; width: 100%; height: min(63dvh, 700px); object-fit: contain; }
#view-description { color: var(--muted); font-size: .875rem; line-height: 1.6; margin: 0 0 .6rem; }
.viewer-links { flex-wrap: wrap; row-gap: .4rem; }
.fullsize { font-size: .875rem; font-weight: 600; }

@media (max-width: 760px) {
  :root { --mast-height: 100px; }
  .mast { width: 94%; min-height: calc(var(--mast-height) - 1px); display: grid; grid-template-columns: minmax(0,1fr); gap: 0; padding-block: 8px 2px; }
  .brand { font-size: 24px; line-height: 32px; letter-spacing: -.6px; }
  .mast nav { grid-column: 1 / -1; grid-row: 2; flex-wrap: wrap; gap: 0 clamp(6px, 2vw, 14px); }
  .mast nav a { min-height: 40px; font-size: .84rem; }
  footer .shell { align-items: flex-start; flex-direction: column; gap: .45rem; }
}
@media (max-width: 365px) {
  .mast nav { justify-content: space-between; column-gap: 4px; }
  .mast nav a { font-size: .76rem; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}
@media print {
  .site-header, .home-page .site-header { position: static; color: var(--ink); background: white; border-color: var(--line); }
  .site-header nav, .skip { display: none; }
  .mast { min-height: 0; padding-block: 10px; }
  .home-page .site-header:not(.is-scrolled) .brand span { color: var(--ink); }
}
