:root {
  color-scheme: light;
  --pine: #103532;
  --ink: #183c39;
  --muted: #435954;
  --paper: #fbf6e9;
  --cream: #fff5de;
  --gold: #f6c574;
  --line: #cdc9b6;
  --serif: "Baskervville", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.6 var(--sans);
}
img { display: block; max-width: 100%; }
button { font: inherit; }
[hidden] { display: none !important; }
a { color: #18534c; text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #a74e15; outline-offset: 4px; }
.masthead :focus-visible, .hero :focus-visible, footer :focus-visible { outline-color: var(--gold); }
.wrap { width: min(73rem, calc(100% - 4rem)); margin-inline: auto; }
.skip {
  position: absolute;
  z-index: 2;
  top: .5rem;
  left: .5rem;
  padding: .55rem 1rem;
  background: white;
  transform: translateY(-180%);
}
.skip:focus { transform: none; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h2 { font-size: clamp(2.35rem, 4.1vw, 3.65rem); line-height: 1.05; letter-spacing: -.045em; }
h3 { font-size: 1.48rem; line-height: 1.21; letter-spacing: -.026em; }
section[id] { scroll-margin-top: 1rem; }

.masthead, .hero, footer { background: var(--pine); color: var(--cream); }
.nav-inner {
  min-height: 4.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  border-bottom: 1px solid #43605a;
}
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--cream); text-decoration: none; }
.brand img { border-radius: .45rem; }
.brand span { font: 1.32rem/1 var(--serif); letter-spacing: -.035em; }
nav { display: flex; flex-wrap: wrap; gap: .3rem clamp(1rem, 3vw, 2.1rem); }
nav a, footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--cream);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
}
nav a:hover, footer a:hover { color: var(--gold); text-decoration: underline; }
.hero { border-bottom: 4px solid #d5a55d; }
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr);
  gap: clamp(2rem, 4.5vw, 4.4rem);
  align-items: center;
  padding: clamp(3rem, 5vw, 5.1rem) 0;
}
.intro h1 {
  font-size: clamp(3.6rem, 7.1vw, 6.65rem);
  line-height: .98;
  letter-spacing: -.058em;
}
.intro h1 em { display: block; color: var(--gold); font-weight: 400; }
.intro p { max-width: 33ch; margin: 1.3rem 0 1.55rem; font-size: clamp(1.03rem, 1.45vw, 1.17rem); color: #e2e9df; line-height: 1.58; }
.primary-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 1.25rem;
  padding: .6rem 1.05rem;
  border-radius: .25rem;
  background: var(--gold);
  color: #1d3328;
  font-weight: 700;
  text-decoration: none;
}
.primary-link:hover { background: #ffdaa1; }
.stamp { min-width: 0; transform: rotate(1.4deg); filter: drop-shadow(0 1.1rem .65rem #04211e75); }
.stamp-paper {
  padding: clamp(.55rem, 1vw, .92rem);
  padding-bottom: .3rem;
  background: #f7e6bf;
  color: #383b2d;
  mask: linear-gradient(#000 0 0) center / calc(100% - 12px) calc(100% - 12px) no-repeat,
        radial-gradient(circle, transparent 3px, #000 3.8px) -7px -7px / 14px 14px repeat;
}
.town { width: 100%; height: auto; aspect-ratio: 1.88; object-fit: cover; object-position: 40% 52%; border: 1px solid #675638; }
figcaption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .2rem 1rem; padding: .35rem .25rem .25rem; }
figcaption span:first-child { font: italic clamp(1.18rem, 2.15vw, 1.8rem)/1.2 var(--serif); }
figcaption span:last-child { font: 600 .73rem/1.5 var(--sans); letter-spacing: .09em; text-transform: uppercase; }

.guide { padding: clamp(2.8rem, 5.7vw, 5rem) 0; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.35rem, 4vw, 3.5rem); padding: 0; margin: 1.85rem 0 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; border-top: 1px solid #a29167; padding-top: .8rem; }
.steps li::before { content: counter(step, decimal-leading-zero); color: #78531f; font: italic 1.07rem/1 var(--serif); }
.steps h3 { margin: .38rem 0 .4rem; }
.steps p, .contact p, .privacy p, details p { color: var(--muted); }
.support { background: #f1e7d0; border-block: 1px solid #dbd1ba; }
.support, .privacy { padding: clamp(3rem, 6vw, 5.25rem) 0; }
.columns { display: grid; grid-template-columns: minmax(0, .77fr) minmax(0, 1.23fr); gap: clamp(2.5rem, 7vw, 6rem); }
.contact > p, .privacy .dateline + p { max-width: 31ch; margin: .9rem 0; }
.email { font-weight: 700; overflow-wrap: anywhere; }
.copy {
  display: block;
  min-height: 44px;
  margin-top: .65rem;
  padding: .4rem .95rem;
  color: var(--ink);
  background: transparent;
  border: 1px solid #78847a;
  border-radius: .25rem;
  cursor: pointer;
}
.copy:hover { background: #e7ddc6; }
.copy-status { display: block; font-size: .91rem; }
.copy-status:not(:empty) { margin-top: .5rem; }
details { border-top: 1px solid #adae98; }
details:last-child { border-bottom: 1px solid #adae98; }
summary {
  position: relative;
  padding: 1rem 2.4rem 1rem 0;
  cursor: pointer;
  list-style: none;
  font: 1.26rem/1.3 var(--serif);
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "";
  position: absolute;
  right: .45rem;
  top: 50%;
  width: .5rem;
  height: .5rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
}
details[open] summary::after { transform: translateY(-20%) rotate(225deg); }
summary:hover { color: #256353; }
details p { margin: 0 1.6rem .9rem 0; }
.dateline { margin: .85rem 0; font-weight: 600; font-size: .88rem; }
.policy { max-width: 66ch; }
.policy h3:not(:first-child) { margin-top: 1.8rem; }
.policy p { margin-top: .55rem; }
.policy a { overflow-wrap: anywhere; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: .1rem 1.5rem; padding-block: .95rem; font-size: .86rem; }
.footer-inner > span { margin-right: auto; }
footer a { gap: .35rem; }

@media (max-width: 50rem) {
  .wrap { width: min(40rem, calc(100% - 2.6rem)); }
  .hero-inner, .columns { grid-template-columns: minmax(0, 1fr); }
  .hero-inner { gap: 2rem; padding-block: 2.65rem 2.25rem; }
  .intro h1 { font-size: clamp(3.3rem, 10.8vw, 5.8rem); }
  .intro p { max-width: 40ch; }
  .town { aspect-ratio: 2.4; }
  .columns { gap: 1.65rem; }
  .steps { grid-template-columns: 1fr; gap: 1.1rem; }
  .steps li { display: grid; grid-template-columns: 1.55rem 1fr; gap: .3rem .55rem; }
  .steps li::before { padding-top: .25rem; }
  .steps h3 { margin: 0; }
  .steps p { grid-column: 2; }
  .contact > p, .privacy .dateline + p { max-width: 47ch; }
}
@media (max-width: 34rem) {
  .wrap { width: calc(100% - 2.4rem); }
  .nav-inner { flex-wrap: wrap; align-content: center; gap: 0; padding-top: .7rem; }
  .brand { min-height: 40px; }
  nav { width: 100%; gap: 1.4rem; }
  nav a { min-height: 44px; }
  .footer-inner { gap: 0 1.25rem; }
  .footer-inner > span { flex-basis: 100%; }
}
