:root {
  color-scheme: dark;
  --ink: #090807;
  --soot: #15110e;
  --parchment: #d2b98d;
  --paper: #bda477;
  --ember: #b56d32;
  --gold: #d8b56b;
  --bone: #f0e2c6;
  --muted: #b7a78f;
  --line: rgba(216, 181, 107, 0.36);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--bone);
  background:
    radial-gradient(circle at 15% 8%, rgba(181, 109, 50, 0.14), transparent 30rem),
    linear-gradient(180deg, #080706 0%, #110e0c 52%, #080706 100%);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  line-height: 1.7;
}

a { color: inherit; }

.skip {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 20;
  padding: .75rem 1rem;
  color: var(--ink);
  background: var(--gold);
}

.skip:focus { top: 1rem; }

.hero {
  min-height: 92vh;
  padding: 1.25rem clamp(1.1rem, 4vw, 4rem) 4rem;
  border-bottom: 1px solid var(--line);
}

.masthead {
  width: min(1240px, 100%);
  margin: 0 auto clamp(3rem, 7vw, 6rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.masthead a { text-decoration: none; }
.masthead a:hover, .masthead a:focus-visible { color: var(--gold); }
.brand { font-weight: 800; }

.hero-grid {
  width: min(1240px, 100%);
  margin: auto;
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(420px, 1.22fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.eyebrow {
  margin: 0 0 .65rem;
  color: var(--gold);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}

h1, h2 { text-wrap: balance; }

h1 {
  margin: 0;
  font-size: clamp(3.4rem, 8vw, 7.7rem);
  line-height: .82;
  letter-spacing: -.055em;
  text-transform: uppercase;
}

h1 span {
  display: inline-block;
  margin-top: .3em;
  color: var(--parchment);
  font-size: .48em;
  letter-spacing: .02em;
}

.lede {
  max-width: 34rem;
  margin: 2rem 0;
  color: var(--muted);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.button {
  display: inline-flex;
  gap: .7rem;
  padding: .85rem 1.15rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
}

.button:hover, .button:focus-visible {
  color: var(--ink);
  background: var(--gold);
}

.hero-art {
  margin: 0;
  transform: rotate(.35deg);
}

.hero-art img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  box-shadow: 0 2rem 6rem rgba(0, 0, 0, .55);
  filter: saturate(.84) contrast(1.03);
}

.hero-art figcaption {
  margin-top: .75rem;
  color: var(--muted);
  font-size: .86rem;
  font-style: italic;
  text-align: right;
}

main { padding: clamp(3.5rem, 8vw, 8rem) 1rem; }

.craft-note {
  width: min(760px, 100%);
  margin: 0 auto clamp(4rem, 8vw, 7rem);
  text-align: center;
}

.craft-note h2,
.ode-heading h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.03;
}

.craft-note > p:not(.eyebrow) {
  margin: 1rem auto;
  color: var(--muted);
  font-size: 1.08rem;
}

.craft-note .credit {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.ode {
  position: relative;
  width: min(900px, 100%);
  margin: auto;
  padding: clamp(2rem, 7vw, 5.5rem);
  color: #211a13;
  background:
    linear-gradient(rgba(255,255,255,.035), rgba(0,0,0,.035)),
    var(--parchment);
  border: 1px solid #8f7247;
  box-shadow: 0 2rem 6rem rgba(0, 0, 0, .5), inset 0 0 4rem rgba(75, 47, 21, .12);
}

.ode::before,
.ode::after {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(67, 43, 22, .22);
  pointer-events: none;
}

.ode::after { inset: 1.35rem; border-style: dashed; opacity: .45; }

.ode-heading {
  position: relative;
  z-index: 1;
  margin-bottom: 3.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(60, 39, 20, .3);
  text-align: center;
}

.ode-heading .eyebrow { color: #633817; }

.verse {
  position: relative;
  z-index: 1;
  max-width: 43rem;
  margin: auto;
  font-size: clamp(1.03rem, 1.8vw, 1.22rem);
  line-height: 1.78;
}

.verse p { margin: 0 0 1.45rem; }

.verse p:nth-of-type(3n) { margin-bottom: 2.8rem; }

blockquote {
  margin: 3.5rem 0 2rem;
  padding: 1.8rem 1rem;
  border-top: 2px solid rgba(73, 43, 20, .55);
  border-bottom: 2px solid rgba(73, 43, 20, .55);
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-style: italic;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

.signature {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .45rem 1rem;
  margin-top: 3rem;
  color: #4d321e;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: .84rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.closing-nav {
  width: min(900px, 100%);
  margin: 2rem auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .7rem 1.5rem;
  color: var(--gold);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.closing-nav a { text-underline-offset: .25rem; }

@media (max-width: 820px) {
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .lede { margin-left: auto; margin-right: auto; }
  .hero-art { width: min(680px, 100%); margin-inline: auto; }
}

@media (max-width: 520px) {
  .masthead { align-items: flex-start; font-size: .7rem; }
  .masthead a:last-child { max-width: 9rem; text-align: right; }
  h1 { font-size: clamp(3rem, 16vw, 5rem); }
  .ode { padding: 3.3rem 2rem; }
  .ode::before { inset: .65rem; }
  .ode::after { inset: .95rem; }
  .verse { font-size: 1rem; line-height: 1.7; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
/* Keep the Inksmith title clear of the sketch */
.hero-copy {
  min-width: 0;
}

.hero-copy h1 {
  font-size: clamp(2.5rem, 5vw, 5rem);
}

@media (max-width: 820px) {
  .hero-copy h1 {
    font-size: clamp(2.5rem, 12vw, 5rem);
  }
}
