:root {
  --paper: #f4f1eb;
  --ink: #24322a;
  --muted: #62695f;
  --accent: #b65f32;
  --line: #d9d8cf;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Segoe UI Variable", "Segoe UI", Arial, sans-serif; line-height: 1.5; }
button { font: inherit; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.page { display: flex; width: min(100% - 96px, 1320px); min-height: 100svh; margin-inline: auto; flex-direction: column; }
main { flex: 1; }
.skip-link { position: fixed; z-index: 10; top: 12px; left: 12px; padding: 10px 14px; background: var(--paper); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.masthead { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding-block: clamp(36px, 6svh, 72px) 36px; }
.eyebrow { margin: 0 0 8px 4px; color: var(--muted); font-size: 11px; letter-spacing: .17em; text-transform: uppercase; }
h1 { margin: 0; font-family: "Baskerville", "Palatino Linotype", Georgia, serif; font-size: clamp(62px, 8.3vw, 116px); font-weight: 400; letter-spacing: -.065em; line-height: 1; }
h1 span { color: var(--accent); }
.site-note { margin: 0 0 8px; color: var(--muted); font-size: 13px; }
.landscape { margin: 0; }
.landscape img { display: block; width: 100%; height: clamp(340px, 57svh, 660px); object-fit: cover; object-position: center 53%; }
.landscape figcaption { margin-top: 14px; color: var(--muted); font-size: 11px; letter-spacing: .055em; }

.footer { display: flex; min-height: 94px; align-items: center; justify-content: space-between; gap: 20px; margin-top: 30px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.footer nav { display: flex; gap: 24px; }
.footer button { border: 0; padding: 8px 0; background: transparent; color: inherit; font-size: inherit; cursor: pointer; }
.footer button:hover, .footer button:focus-visible, .site-dialog a:hover { color: var(--accent); }

.site-dialog { width: min(720px, calc(100% - 32px)); max-height: calc(100svh - 32px); overflow: auto; border: 1px solid var(--line); background: var(--paper); color: var(--ink); padding: clamp(28px, 5vw, 64px); }
.site-dialog::backdrop { background: rgba(17, 27, 21, .72); }
.dialog-close { position: absolute; top: 12px; right: 14px; width: 40px; height: 40px; border: 0; background: none; color: inherit; font-size: 30px; line-height: 1; cursor: pointer; }
.site-dialog h2 { margin: 0 0 30px; padding-top: 10px; font-family: "Baskerville", "Palatino Linotype", Georgia, serif; font-size: clamp(34px, 6vw, 58px); font-weight: 400; line-height: 1.2; }
.site-dialog h3 { margin: 28px 0 8px; font-size: 16px; }
.site-dialog p { margin: 0; color: var(--muted); font-size: 14px; }
.site-dialog a { overflow-wrap: anywhere; }

@media (max-width: 800px) {
  .page { width: calc(100% - 48px); }
  .landscape img { height: clamp(340px, 54svh, 600px); object-position: 42% center; }
}

@media (max-width: 540px) {
  .page { width: calc(100% - 36px); }
  .masthead { align-items: start; flex-direction: column; gap: 18px; padding-block: 36px 28px; }
  h1 { font-size: clamp(62px, 16vw, 86px); }
  .eyebrow { margin-left: 2px; }
  .site-note { margin: 0 0 0 2px; font-size: 12px; }
  .landscape img { height: 49svh; min-height: 280px; max-height: 480px; object-position: 35% center; }
  .footer { min-height: 88px; margin-top: 26px; font-size: 10px; gap: 14px; }
  .footer nav { gap: 14px; }
}

@media (max-width: 350px) {
  .footer { align-items: start; flex-direction: column; justify-content: center; gap: 2px; padding-block: 12px; }
}
