/* ==========================================================================
   Bojescul.com
   Palette: Army West Point black, gray and gold.
   Type: Overpass (headings) + Vollkorn (text). Mark: Keystone.
   ========================================================================== */

/* Self-hosted fonts (SIL Open Font License, see assets/fonts)
   Overpass: inspired by Highway Gothic, the lettering on U.S. interstate signs (headings).
   Vollkorn: by German type designer Friedrich Althausen (reading text). */
@font-face { font-family: "Overpass"; font-weight: 100 900; font-display: swap; src: url("../fonts/overpass-latin-ext-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0100-02AF, U+1E00-1EFF; }
@font-face { font-family: "Overpass"; font-weight: 100 900; font-display: swap; src: url("../fonts/overpass-latin-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Vollkorn"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("../fonts/vollkorn-latin-ext-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0100-02AF, U+1E00-1EFF; }
@font-face { font-family: "Vollkorn"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("../fonts/vollkorn-latin-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Vollkorn"; font-style: italic; font-weight: 400 900; font-display: swap; src: url("../fonts/vollkorn-latin-ext-wght-italic.woff2") format("woff2-variations"); unicode-range: U+0100-02AF, U+1E00-1EFF; }
@font-face { font-family: "Vollkorn"; font-style: italic; font-weight: 400 900; font-display: swap; src: url("../fonts/vollkorn-latin-wght-italic.woff2") format("woff2-variations"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }

:root {
  /* color */
  --black: #000000;
  --granite: #2b2e30;      /* dark gray field */
  --slate: #4a4e51;        /* secondary text on light */
  --dress-gray: #8d9192;   /* rules, muted text on dark */
  --parade: #dfe0dd;       /* light gray field */
  --paper: #f4f4f2;        /* lightest field */
  --gold: #c2a265;         /* West Point gold, on dark */
  --gold-deep: #7a6232;    /* gold that passes contrast on light */

  /* type */
  --f-display: "Overpass", "Arial", sans-serif;
  --f-din: "Overpass", "Arial", sans-serif;
  --f-text: "Vollkorn", Georgia, "Times New Roman", serif;

  /* scale (1.333) */
  --t-sm: 0.875rem;
  --t-base: 1.125rem;
  --t-md: 1.333rem;
  --t-lg: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem);
  --t-xl: clamp(2.5rem, 1.8rem + 3vw, 4.25rem);
  --t-xxl: clamp(2.75rem, 1.6rem + 5vw, 6rem);

  /* layout */
  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 76rem;
  --section: clamp(4.5rem, 10vw, 9rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--black);
  font-family: var(--f-text);
  font-size: var(--t-base);
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  font-synthesis-weight: none;
  font-variant-numeric: lining-nums;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; }
cite { font-style: italic; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--gold); color: var(--black); padding: .6rem 1rem; text-decoration: none; font-weight: 600;
}
.skip:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- shared type ---------- */
.display {
  font-family: var(--f-display);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.display--lg  { font-size: var(--t-lg); }
.display--xl  { font-size: var(--t-xl); }
.display--xxl { font-size: var(--t-xxl); }

.prose { max-width: 36em; }
.prose p { line-height: 1.7; }
.prose__open { font-size: var(--t-md); line-height: 1.55; }

.text-link {
  color: var(--gold-deep);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .25em;
}
.text-link:hover { text-decoration-thickness: 2px; }

.section-head { display: grid; gap: 1.25rem; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
@media (min-width: 900px) {
  .section-head { grid-template-columns: 1fr 1fr; align-items: end; gap: 3rem; }
}
.section-head__dek { margin: 0; max-width: 30em; color: var(--slate); font-size: var(--t-md); line-height: 1.5; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: .75rem 1.5rem;
  font-family: var(--f-din); font-weight: 700; font-size: 1.05rem; letter-spacing: .01em;
  text-decoration: none; border: 2px solid var(--gold);
  transition: background-color .2s, color .2s;
}
.btn--gold { background: var(--gold); color: var(--black); }
.btn--gold:hover { background: transparent; color: var(--gold); }
.btn--line { color: var(--paper); border-color: var(--dress-gray); }
.btn--line:hover { border-color: var(--gold); color: var(--gold); }
.btn--big { font-size: 1.5rem; min-height: 4rem; padding: 1rem 2.5rem; }

/* ---------- masthead ---------- */
.masthead {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .75rem var(--gutter);
  background: var(--black); color: var(--paper);
  border-bottom: 1px solid var(--granite);
}
.masthead__mark { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
.masthead__mark img { width: auto; height: 32px; }
.masthead__mark span { font-family: var(--f-display); font-weight: 800; font-size: 1.2rem; letter-spacing: .08em; text-transform: uppercase; }
.masthead__toggle {
  font: 700 1rem var(--f-din); color: var(--paper); background: none;
  border: 1px solid var(--dress-gray); padding: .5rem .9rem; cursor: pointer;
}
.masthead__nav {
  display: none;
  position: absolute; left: 0; right: 0; top: 100%;
  flex-direction: column; background: var(--black);
  padding: .5rem var(--gutter) 1.5rem; border-bottom: 1px solid var(--granite);
}
.masthead__nav.is-open { display: flex; }
.masthead__nav a {
  font-family: var(--f-display); font-weight: 800; font-size: 1.5rem;
  text-decoration: none; padding: .55rem 0; border-bottom: 1px solid var(--granite);
}
.masthead__nav a:hover { color: var(--gold); }
.masthead__cta { color: var(--gold); }

@media (min-width: 900px) {
  .masthead__toggle { display: none; }
  .masthead__nav {
    display: flex; position: static; flex-direction: row; align-items: center; gap: 2rem;
    padding: 0; border: 0; background: none;
  }
  .masthead__nav a { font-family: var(--f-din); font-size: 1rem; padding: .25rem 0; border: 0; }
  .masthead__cta { border: 1px solid var(--gold) !important; padding: .4rem 1rem !important; }
  .masthead__cta:hover { background: var(--gold); color: var(--black) !important; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  display: grid;
  background: var(--black); color: var(--paper);
  overflow: hidden;
}
.hero__type {
  position: relative; z-index: 2;
  padding: clamp(3rem, 8vw, 7rem) var(--gutter) clamp(3rem, 6vw, 5rem);
}
.hero__name { font-family: var(--f-display); line-height: .9; margin-bottom: 1rem; }
.hero__say { display: flex; align-items: center; gap: .75rem; margin: 0 0 2rem; font-style: italic; font-size: var(--t-md); color: #c4c7c8; letter-spacing: .02em; }
.hero__say::before { content: ""; width: 2.5rem; height: 2px; background: var(--gold); flex: none; }
.hero__say b { font-weight: 600; font-style: italic; color: var(--paper); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero__first {
  display: block; font-weight: 600; color: var(--dress-gray);
  font-size: clamp(1.75rem, 1rem + 3.5vw, 3.75rem); letter-spacing: -.01em; margin-bottom: .1em;
}
.hero__last {
  display: block; font-weight: 800; color: var(--gold);
  font-size: clamp(3.9rem, .6rem + 15.5vw, 9.25rem);
  letter-spacing: -.035em; margin-left: -.04em;
}
.hero__role { font-size: var(--t-md); font-weight: 600; margin-bottom: .5em; max-width: 26em; }
.hero__creds { color: #c4c7c8; max-width: 30em; margin-bottom: 2.25rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.hero .photo--hero { --ratio: 4 / 5; margin: 0; border: 0; }

@media (min-width: 900px) {
  .hero { grid-template-columns: 1fr 1fr; min-height: min(92vh, 60rem); }
  .hero__type {
    align-self: center;
    padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  }
  /* the surname runs over the portrait */
  .hero__last { width: max-content; }
  .hero .photo--hero { position: absolute; inset: 0 0 0 auto; width: 46%; aspect-ratio: auto; }
}

/* one orchestrated load: surname rises, gold rule draws */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__last { clip-path: inset(100% 0 0 0); transform: translateY(.15em); }
  .js .hero__first, .js .hero__say, .js .hero__role, .js .hero__creds, .js .hero__actions { opacity: 0; }
  .js.is-loaded .hero__last {
    clip-path: inset(0 0 0 0); transform: none;
    transition: clip-path .9s cubic-bezier(.2,.7,.1,1) .15s, transform .9s cubic-bezier(.2,.7,.1,1) .15s;
  }
  .js.is-loaded .hero__first { opacity: 1; transition: opacity .6s ease .05s; }
  .js.is-loaded .hero__say,
  .js.is-loaded .hero__role,
  .js.is-loaded .hero__creds,
  .js.is-loaded .hero__actions { opacity: 1; transition: opacity .7s ease .8s; }
}

/* ---------- photo slots ---------- */
.photo {
  --ratio: 4 / 3;
  position: relative; margin: 0;
  aspect-ratio: var(--ratio);
  background: var(--parade);
  color: var(--slate);
  overflow: hidden;
}
.photo:not(.has-photo) {
  background:
    linear-gradient(var(--dress-gray), var(--dress-gray)) top left / 18px 1px no-repeat,
    linear-gradient(var(--dress-gray), var(--dress-gray)) top left / 1px 18px no-repeat,
    linear-gradient(var(--dress-gray), var(--dress-gray)) bottom right / 18px 1px no-repeat,
    linear-gradient(var(--dress-gray), var(--dress-gray)) bottom right / 1px 18px no-repeat,
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(0,0,0,.035) 14px 15px),
    var(--parade);
}
.r-3x2 { --ratio: 3 / 2; } .r-16x10 { --ratio: 16 / 10; } .r-4x3 { --ratio: 4 / 3; } .r-21x9 { --ratio: 21 / 9; } .r-4x5 { --ratio: 4 / 5; }
.photo > img { width: 100%; height: 100%; object-fit: cover; }
.photo--hero > img { object-position: 50% 15%; }
.feature__photo > img { object-position: 50% 62%; }
.photo.has-photo .photo__brief { display: none; }
.photo.has-placeholder .photo__brief {
  top: auto; padding-top: 4rem;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,.88) 40%);
}
.photo.has-placeholder .photo__notes { max-width: 30em; }
.photo.has-placeholder { color: #d3d5d5; }
.photo.has-placeholder .photo__subject { color: var(--paper); }
.photo.has-placeholder .photo__code { color: var(--gold); }
.entry__photo.has-placeholder .photo__notes,
.entry__photo.has-placeholder .photo__subject { display: none; }
.photo.entry__photo.has-placeholder .photo__brief { padding: .6rem; background: none; flex-direction: row; align-items: flex-end; justify-content: flex-start; gap: 0; }
.entry__photo.has-placeholder .photo__code { margin: 0; background: var(--black); border-color: var(--gold); }
.entry__photo.has-placeholder .photo__spec { margin-left: .4rem; padding: .15rem .45rem; background: rgba(0,0,0,.8); color: #d3d5d5; font-size: .75rem; line-height: 1.6; }
@media (max-width: 899px) { .photo.has-placeholder .photo__notes, .photo.has-placeholder .photo__subject { display: none; } .photo.has-placeholder .photo__brief { padding-top: 2rem; background: linear-gradient(to bottom, transparent, rgba(0,0,0,.8) 60%); } }
.photo__brief {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(1rem, 3vw, 1.75rem);
  font-size: var(--t-sm); line-height: 1.45;
}
.photo__code {
  align-self: flex-start;
  font-family: var(--f-display); font-weight: 800; font-size: 1rem; letter-spacing: .06em;
  color: var(--gold-deep); border: 1px solid currentColor; padding: .1rem .45rem; margin-bottom: .6rem;
}
.photo__subject { font-family: var(--f-display); font-weight: 800; font-size: 1.4rem; color: var(--black); margin: 0 0 .35rem; }
.photo__notes { margin: 0 0 .6rem; max-width: 34em; }
.photo__spec { font-style: italic; opacity: .85; }

.photo--dark, .hero .photo { background-color: var(--granite); color: #b9bdbe; }
.photo--dark:not(.has-photo), .hero .photo:not(.has-photo) {
  background:
    linear-gradient(var(--dress-gray), var(--dress-gray)) top left / 18px 1px no-repeat,
    linear-gradient(var(--dress-gray), var(--dress-gray)) top left / 1px 18px no-repeat,
    linear-gradient(var(--dress-gray), var(--dress-gray)) bottom right / 18px 1px no-repeat,
    linear-gradient(var(--dress-gray), var(--dress-gray)) bottom right / 1px 18px no-repeat,
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(255,255,255,.04) 14px 15px),
    var(--granite);
}
.photo--dark .photo__subject, .hero .photo__subject { color: var(--paper); }
.photo--dark .photo__code, .hero .photo__code { color: var(--gold); }
.photo--archive.has-photo img { filter: grayscale(1) contrast(1.05); }

/* ---------- story ---------- */
.story { padding: var(--section) 0; background: var(--paper); }
.story__grid { display: grid; gap: 3rem; }
.story__lead { display: grid; gap: 2.5rem; align-content: start; }
@media (min-width: 900px) {
  .story__grid { grid-template-columns: 5fr 6fr; gap: 5rem; }
  .story__body { padding-top: .5rem; }
}
.prose__open::first-letter {
  float: left; font-family: var(--f-display); font-weight: 800; color: var(--gold-deep);
  font-size: 4.4em; line-height: .8; margin: .06em .1em 0 0;
}

.family {
  margin-top: 2.5rem; padding: 1.5rem 1.5rem 1.25rem;
  background: var(--parade); border-left: 4px solid var(--gold);
}
.family__label { font-family: var(--f-display); font-weight: 800; font-size: 1.35rem; margin-bottom: .35rem; }
.family p:not(.family__label) { margin-bottom: .75rem; }

/* ---------- status chip ---------- */
.status {
  display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 .9rem;
  font-family: var(--f-din); font-weight: 700; font-size: 1rem; color: var(--gold);
}
.dot { width: .6rem; height: .6rem; border-radius: 50%; background: var(--gold); }

/* ---------- portfolio ---------- */
.portfolio { padding: var(--section) 0; background: var(--parade); }
.feature {
  display: grid; background: var(--black); color: var(--paper);
  margin-bottom: clamp(3rem, 7vw, 5rem);
}
.feature__text { padding: clamp(1.5rem, 4vw, 3rem); align-self: end; }
.feature__text .entry__role { color: #c4c7c8; }
.feature__text p:last-child { margin: 0; max-width: 28em; }
.feature .entry__year { color: var(--gold); }
@media (min-width: 900px) { .feature { grid-template-columns: 3fr 2fr; } }

.ledger { display: grid; gap: clamp(3rem, 6vw, 4.5rem); }
.ledger__group { display: grid; gap: 1rem; border-top: 3px solid var(--black); padding-top: 1.25rem; }
.ledger__title { font-family: var(--f-display); font-weight: 800; font-size: var(--t-lg); line-height: 1; }
@media (min-width: 900px) {
  .ledger__group { grid-template-columns: 16rem 1fr; gap: 3rem; }
  .ledger__title { position: sticky; top: 5.5rem; align-self: start; }
}

.entry {
  display: grid; grid-template-columns: 4.25rem 1fr; gap: .25rem 1.25rem;
  padding: 1.5rem 0; border-bottom: 1px solid var(--dress-gray);
}
.entry:first-child { padding-top: .25rem; }
.entry:last-child { border-bottom: 0; }
.entry__year {
  font-family: var(--f-display); font-weight: 800; font-size: 1.6rem; line-height: 1;
  color: var(--gold-deep); margin: 0; font-variant-numeric: lining-nums tabular-nums;
}
.feature .entry__year { font-size: 2rem; margin-bottom: .75rem; }
.entry__name { font-family: var(--f-display); font-weight: 800; font-size: var(--t-lg); line-height: 1; margin-bottom: .4rem; }
.entry__role { font-style: italic; margin: 0 0 .35rem; }
.entry__desc { margin: 0; color: var(--slate); }
.entry__photo { grid-column: 1 / -1; margin-top: 1rem; }
@media (min-width: 700px) {
  .entry--photo { grid-template-columns: 4.25rem 1fr 15rem; }
  .entry__photo { grid-column: auto; margin-top: 0; }
}
@media (min-width: 1100px) { .entry--photo { grid-template-columns: 4.25rem 1fr 19rem; } }

/* ---------- logo in a photo slot ---------- */
.photo--logo.has-photo { background: #fff; }
.photo--logo > img { object-fit: contain; padding: 10% 8%; }
.entry__link { margin: .6rem 0 0; font-size: 1rem; }
.entry__credit { margin: .5rem 0 0; font-size: .85rem; font-style: italic; color: var(--slate); }
.photo--drawing.has-photo { background: #fff; }
/* If the optional community photo is removed, let the pillars take the full width */
.service__grid:not(:has(.service__photo)) { grid-template-columns: 1fr; }

/* ---------- project partners ---------- */
.partners { padding: var(--section) 0; background: var(--paper); border-bottom: 1px solid var(--parade); }
.partners__list { display: grid; gap: 0; border-top: 3px solid var(--black); }
@media (min-width: 800px) { .partners__list { grid-template-columns: repeat(3, 1fr); } }
.partner { padding: 1.5rem 0; border-bottom: 1px solid var(--dress-gray); }
@media (min-width: 800px) {
  .partner { padding: 1.75rem 2rem 1.75rem 0; border-bottom: 0; }
  .partner + .partner { padding-left: 2rem; border-left: 1px solid var(--dress-gray); }
}
.partner__role { margin: 0 0 .5rem; font-family: var(--f-din); font-weight: 700; font-size: .95rem; color: var(--gold-deep); }
.partner__name { font-family: var(--f-display); font-weight: 800; font-size: var(--t-lg); line-height: 1.05; letter-spacing: -.015em; margin-bottom: .5rem; }
.partner__note { margin: 0 0 .6rem; color: var(--slate); }

/* ---------- record ---------- */
.record { padding: var(--section) 0; background: var(--paper); }
.record__grid { display: grid; gap: 3.5rem; }
@media (min-width: 900px) { .record__grid { grid-template-columns: 7fr 4fr; gap: 5rem; align-items: start; } }

.timeline { position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 4.4rem; top: .4rem; bottom: .4rem; width: 2px; background: var(--gold);
}
.timeline li {
  position: relative; display: grid; grid-template-columns: 4.4rem 1fr; gap: 1.5rem;
  padding-bottom: 1.6rem;
}
.timeline li::after {
  content: ""; position: absolute; left: calc(4.4rem - 5px); top: .45rem;
  width: 12px; height: 12px; background: var(--paper); border: 2px solid var(--gold-deep);
}
.timeline__year {
  font-family: var(--f-display); font-weight: 800; font-size: 1.35rem; line-height: 1.2;
  font-variant-numeric: tabular-nums; padding-right: .75rem;
}
.timeline p { margin: 0; padding-left: .5rem; max-width: 34em; }
.timeline strong { font-weight: 600; }

.record__side { display: grid; gap: 1.25rem; align-content: start; }
.record__subhead { font-family: var(--f-display); font-weight: 800; font-size: 1.6rem; margin-top: 1.25rem; }
.honors li { padding: .6rem 0; border-bottom: 1px solid var(--parade); font-size: 1rem; line-height: 1.5; }
.honors strong { font-weight: 600; }

/* ---------- service: teach, mentor, coach, serve, give ---------- */
.service { padding: var(--section) 0; background: var(--parade); }
.service__grid { display: grid; gap: 3rem; }
@media (min-width: 1000px) { .service__grid { grid-template-columns: 1fr 22rem; gap: 4rem; align-items: start; } }
.service__photo { order: -1; }
@media (min-width: 1000px) { .service__photo { order: 0; position: sticky; top: 5.5rem; } }

.pillars { display: grid; gap: 0; }
.pillar {
  display: grid; gap: .5rem 2rem;
  padding: 1.75rem 0; border-top: 1px solid var(--dress-gray);
}
.pillar:first-child { border-top: 3px solid var(--black); }
@media (min-width: 700px) { .pillar { grid-template-columns: 12rem 1fr; } }
.pillar__verb {
  font-family: var(--f-display); font-weight: 800; line-height: .9;
  font-size: clamp(2.5rem, 1.8rem + 2.5vw, 3.75rem); color: var(--black);
}
.pillar:nth-child(odd) .pillar__verb { color: var(--gold-deep); }
.pillar li { position: relative; padding: .3rem 0 .3rem 1.25rem; max-width: 36em; }
.pillar li::before {
  content: ""; position: absolute; left: 0; top: .95em; width: .55rem; height: 2px; background: var(--gold-deep);
}

/* ---------- contact ---------- */
.contact { padding: var(--section) 0; background: var(--black); color: var(--paper); }
.contact__inner { display: grid; justify-items: start; gap: 1.5rem; }
.contact__inner .display { color: var(--gold); max-width: 12em; }
.contact__dek { font-size: var(--t-md); max-width: 28em; color: #d3d5d5; margin: 0 0 .75rem; }
.contact__where { color: var(--dress-gray); margin: .5rem 0 0; }

/* ---------- footer ---------- */
.footer { background: var(--black); color: var(--dress-gray); border-top: 1px solid var(--granite); font-size: var(--t-sm); }
.footer__brand { display: inline-flex; align-items: center; gap: .6rem; }
.footer__mark { width: auto; height: 22px; }
.footer__inner { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding-top: 1.5rem; padding-bottom: 1.5rem; }
.footer p { margin: 0; }
.footer__note { color: #c4c7c8; }

/* ---------- heritage ---------- */
.heritage {
  display: grid; grid-template-columns: 8rem 1fr; gap: 1.5rem; align-items: center;
  padding: 1.75rem; background: var(--black); color: var(--paper);
}
.heritage img { width: 8rem; height: auto; }
.heritage__title { font-family: var(--f-display); font-weight: 800; font-size: 1.35rem; line-height: 1.15; color: var(--gold); margin: 0 0 .5rem; }
.heritage p { margin: 0; font-size: 1rem; line-height: 1.55; color: #c4c7c8; }
@media (max-width: 420px) { .heritage { grid-template-columns: 1fr; } }

/* wolf's tooth border from Romanian embroidery, used twice: under the hero and above the footer */
.band { height: 12px; background: var(--black) url("../img/band.svg") repeat-x 0 0 / 24px 12px; }
.hero > .band { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; }

/* ---------- 404 ---------- */
.notfound { min-height: 80vh; display: grid; place-content: center; gap: 1.5rem; padding: var(--gutter); background: var(--black); color: var(--paper); }
.notfound .display { color: var(--gold); }

@media print {
  .masthead, .hero__actions, .photo:not(.has-photo) { display: none; }
  body { background: #fff; }
}
