@font-face {
  font-family: "Quest Sans";
  src: local("Arial");
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f2e8d2;
  --paper-light: #faf3e3;
  --ink: #17251d;
  --ink-soft: #526057;
  --forest: #163f2d;
  --forest-dark: #0d2a1d;
  --amber: #e9871b;
  --amber-hot: #ff9c2a;
  --cream: #fff8e9;
  --line: rgba(23, 37, 29, 0.22);
  --gutter: clamp(1.1rem, 4vw, 4.5rem);
  font-family: "Quest Sans", Arial, Helvetica, sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.7), transparent 24rem),
    var(--paper);
  color: var(--ink);
}

body.quest-open {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

button {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--cream);
  color: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
.quest-screen__header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5.6rem;
  padding: 0 var(--gutter);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand__mark {
  width: 2.25rem;
  height: 2.25rem;
  fill: var(--forest);
}

.brand__fill {
  fill: var(--amber);
}

.site-header__meta {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
}

.beta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink-soft);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.beta-pill span {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #2c884f;
  box-shadow: 0 0 0 0.25rem rgba(44, 136, 79, 0.1);
}

.text-button {
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  cursor: pointer;
}

.text-button span {
  display: inline-grid;
  width: 1.6rem;
  height: 1.6rem;
  margin-left: 0.3rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 0.62rem;
  place-items: center;
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100svh - 5.6rem);
  grid-template-columns: minmax(0, 1.22fr) minmax(23rem, 0.78fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 8rem);
  padding: clamp(3.5rem, 7vw, 7.5rem) var(--gutter);
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: -2;
  inset: 0 0 0 52%;
  background:
    linear-gradient(rgba(242, 232, 210, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 232, 210, 0.08) 1px, transparent 1px),
    var(--forest);
  background-size: 3.25rem 3.25rem;
  content: "";
}

.hero::after {
  position: absolute;
  z-index: -1;
  top: -25rem;
  right: -16rem;
  width: 55rem;
  height: 55rem;
  border: 1px solid rgba(242, 232, 210, 0.13);
  border-radius: 47% 53% 62% 38%;
  box-shadow:
    0 0 0 5rem rgba(242, 232, 210, 0.025),
    0 0 0 11rem rgba(242, 232, 210, 0.02);
  content: "";
  transform: rotate(18deg);
}

.hero__art {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
}

.hero__route {
  position: absolute;
  border: 2px dashed rgba(233, 135, 27, 0.43);
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
}

.route-one {
  top: 12%;
  right: 4%;
  width: 34vw;
  height: 24vw;
  transform: rotate(-22deg);
}

.route-two {
  right: 31%;
  bottom: -13%;
  width: 29vw;
  height: 18vw;
  transform: rotate(35deg);
}

.hero__target {
  position: absolute;
  top: 21%;
  right: 7%;
  display: grid;
  width: 3.25rem;
  height: 3.25rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  place-items: center;
}

.hero__target::before,
.hero__target::after {
  position: absolute;
  background: rgba(255, 255, 255, 0.5);
  content: "";
}

.hero__target::before {
  width: 4.4rem;
  height: 1px;
}

.hero__target::after {
  width: 1px;
  height: 4.4rem;
}

.hero__target span {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 0.4rem rgba(233, 135, 27, 0.18);
}

.map-label {
  position: absolute;
  color: rgba(255, 255, 255, 0.42);
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 0.57rem;
  letter-spacing: 0.12em;
}

.map-label--one { top: 9%; right: 26%; }
.map-label--two { right: 3%; bottom: 15%; }
.map-label--three { right: 39%; bottom: 7%; transform: rotate(-90deg); }

.hero__copy {
  width: min(100%, 54rem);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.5rem;
  color: var(--amber);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 1.8rem;
  height: 2px;
  background: currentColor;
  content: "";
}

.hero h1,
.manifesto h2,
.quest-intro h2,
.quest-log h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.065em;
}

.hero h1 {
  max-width: 50rem;
  font-size: clamp(4.2rem, 8.3vw, 9.7rem);
  line-height: 0.77;
}

.hero h1 em {
  color: var(--amber);
  font-weight: 500;
}

.hero__intro {
  max-width: 37rem;
  margin: 2.5rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  line-height: 1.65;
}

.field-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2.25rem;
  margin-top: 3.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.field-notes b {
  margin-right: 0.5rem;
  color: var(--amber);
}

.quest-maker {
  position: relative;
  width: 100%;
  max-width: 34rem;
  justify-self: end;
  padding: clamp(1.5rem, 3vw, 2.6rem);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: var(--paper-light);
  box-shadow: 1.5rem 1.5rem 0 rgba(7, 26, 17, 0.42);
}

.quest-maker::before,
.quest-maker::after {
  position: absolute;
  width: 0.85rem;
  height: 0.85rem;
  border-color: var(--amber);
  content: "";
}

.quest-maker::before {
  top: 0.65rem;
  left: 0.65rem;
  border-top: 2px solid;
  border-left: 2px solid;
}

.quest-maker::after {
  right: 0.65rem;
  bottom: 0.65rem;
  border-right: 2px solid;
  border-bottom: 2px solid;
}

.quest-maker__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.quest-maker__number {
  color: var(--ink-soft);
}

.quest-maker__number b {
  color: var(--amber);
}

.form-field + .form-field {
  margin-top: 1.35rem;
}

.form-field label {
  display: block;
  margin-bottom: 0.6rem;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.form-field input {
  width: 100%;
  min-height: 3.8rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0;
  outline: 0;
  background: rgba(255, 255, 255, 0.5);
  color: var(--ink);
  font-size: 1rem;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.form-field input::placeholder {
  color: #8f938b;
}

.form-field input:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(22, 63, 45, 0.1);
}

.form-field input[aria-invalid="true"] {
  border-color: #a9472c;
}

.location-field {
  position: relative;
}

.location-field input {
  padding-right: 10.2rem;
}

.locate-button {
  position: absolute;
  top: 50%;
  right: 0.7rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem;
  border: 0;
  background: transparent;
  color: var(--forest);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  cursor: pointer;
  transform: translateY(-50%);
}

.locate-button svg,
.maker-note svg,
.quest-location svg {
  width: 1.05rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.locate-button[aria-busy="true"] svg {
  animation: locate-pulse 1s ease-in-out infinite;
}

@keyframes locate-pulse {
  50% { opacity: 0.35; transform: scale(0.8); }
}

.form-message,
.action-message {
  min-height: 1.1rem;
  margin: 0.8rem 0 0;
  color: #a9472c;
  font-size: 0.72rem;
  line-height: 1.45;
}

.primary-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 4.2rem;
  margin-top: 0.8rem;
  padding: 0 1.25rem;
  border: 0;
  background: var(--amber);
  color: #16130e;
  font-size: 0.73rem;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.primary-button:hover,
.primary-button:focus-visible {
  background: var(--amber-hot);
}

.primary-button:active {
  transform: translateY(1px);
}

.primary-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.primary-button svg {
  width: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.maker-note {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 1.4rem 0 0;
  color: var(--ink-soft);
  font-size: 0.68rem;
  line-height: 1.5;
}

.maker-note svg {
  flex: 0 0 auto;
  margin-top: 0.1rem;
}

.manifesto {
  display: grid;
  grid-template-columns: 9rem minmax(14rem, 0.85fr) minmax(17rem, 1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 7rem);
  padding: clamp(5rem, 10vw, 10rem) var(--gutter);
  border-top: 1px solid var(--line);
  background:
    linear-gradient(90deg, transparent 49.9%, rgba(23, 37, 29, 0.04) 50%, transparent 50.1%),
    var(--paper-light);
}

.manifesto__stamp {
  display: grid;
  width: 8rem;
  height: 8rem;
  border: 2px solid var(--amber);
  border-radius: 50%;
  color: var(--amber);
  text-align: center;
  transform: rotate(-9deg);
  place-content: center;
}

.manifesto__stamp span {
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.17em;
}

.manifesto__stamp b {
  font-family: Georgia, serif;
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 0.95;
}

.manifesto h2 {
  font-size: clamp(3.6rem, 7vw, 7rem);
  line-height: 0.82;
}

.manifesto__copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3.5rem);
}

.manifesto__copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.7;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem var(--gutter);
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-soft);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer a {
  text-underline-offset: 0.25rem;
}

.site-footer p {
  margin: 0;
  text-align: center;
}

.quest-screen {
  position: fixed;
  z-index: 30;
  inset: 0;
  overflow: auto;
  background:
    radial-gradient(circle at 20% 10%, rgba(47, 107, 73, 0.48), transparent 30rem),
    var(--forest-dark);
  color: var(--cream);
}

.quest-screen[hidden] {
  display: none;
}

.quest-screen__header {
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

.brand--dark .brand__mark {
  fill: var(--cream);
}

.close-quest {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cream);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.close-quest span {
  font-size: 1.5rem;
  font-weight: 300;
}

.quest-screen__body {
  display: grid;
  min-height: calc(100svh - 5.6rem);
  grid-template-columns: minmax(16rem, 0.7fr) minmax(25rem, 1fr);
  grid-template-rows: auto auto;
  align-content: center;
  gap: 2rem clamp(3rem, 8vw, 9rem);
  width: min(100%, 92rem);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 7rem) var(--gutter);
}

.quest-intro {
  align-self: center;
}

.quest-intro h2 {
  font-size: clamp(3.2rem, 6vw, 6.9rem);
  line-height: 0.84;
}

.quest-location {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 2.5rem;
  color: var(--amber-hot);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.quest-brief {
  max-width: 30rem;
  margin: 1.5rem 0 0;
  color: rgba(255, 248, 233, 0.64);
  line-height: 1.7;
}

.quest-brief strong {
  color: var(--cream);
}

.beer-card {
  position: relative;
  min-height: 36rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  overflow: hidden;
  background:
    linear-gradient(rgba(23, 37, 29, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 37, 29, 0.045) 1px, transparent 1px),
    var(--paper-light);
  background-size: 2.1rem 2.1rem;
  box-shadow: 1.5rem 1.5rem 0 rgba(0, 0, 0, 0.25);
  color: var(--ink);
}

.beer-card::after {
  position: absolute;
  right: -5rem;
  bottom: -6.5rem;
  width: 18rem;
  height: 18rem;
  border: 1px solid rgba(233, 135, 27, 0.28);
  border-radius: 50%;
  box-shadow:
    0 0 0 1.6rem rgba(233, 135, 27, 0.04),
    0 0 0 3.2rem rgba(233, 135, 27, 0.035);
  content: "";
}

.beer-card__topline,
.beer-card__footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.beer-card__topline {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.beer-card__main {
  display: flex;
  min-height: 18rem;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 0;
}

.beer-card__brewery {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
  color: var(--ink-soft);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.beer-card__brewery a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--forest);
  text-align: right;
  text-decoration: none;
}

.beer-card__brewery svg {
  width: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.beer-card h3 {
  max-width: 42rem;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 6vw, 6.6rem);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 0.78;
}

.beer-card__note {
  max-width: 34rem;
  margin: 1.6rem 0 0;
  color: var(--ink-soft);
  line-height: 1.55;
}

.tap-evidence {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-bottom: 1.2rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(22, 63, 45, 0.26);
  background: rgba(22, 63, 45, 0.06);
  color: var(--ink-soft);
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tap-evidence__status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--forest);
}

.tap-evidence__status i {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #2e8b57;
  box-shadow: 0 0 0 0.25rem rgba(46, 139, 87, 0.14);
}

.tap-evidence a {
  color: var(--forest);
  text-align: right;
  text-underline-offset: 0.25rem;
}

.tap-evidence--recent .tap-evidence__status i {
  background: var(--amber);
  box-shadow: 0 0 0 0.25rem rgba(233, 135, 27, 0.14);
}

.tap-evidence--stale {
  border-color: rgba(169, 71, 44, 0.28);
  background: rgba(169, 71, 44, 0.06);
}

.tap-evidence--stale .tap-evidence__status,
.tap-evidence--stale a {
  color: #a9472c;
}

.tap-evidence--stale .tap-evidence__status i {
  background: #a9472c;
  box-shadow: 0 0 0 0.25rem rgba(169, 71, 44, 0.14);
}

.beer-specs {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.beer-specs div {
  min-width: 0;
  padding: 1rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.beer-specs dt {
  margin-bottom: 0.55rem;
  color: var(--ink-soft);
  font-size: 0.54rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.beer-specs dd {
  margin: 0;
  font-size: 0.77rem;
  font-weight: 900;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.beer-card__footer {
  position: relative;
  z-index: 1;
  margin-top: 1.6rem;
  color: var(--ink-soft);
}

.complete-stamp {
  position: absolute;
  z-index: 4;
  right: 2rem;
  bottom: 4.7rem;
  display: none;
  width: 9rem;
  height: 9rem;
  border: 0.25rem double #a9472c;
  border-radius: 50%;
  background: rgba(250, 243, 227, 0.78);
  color: #a9472c;
  text-align: center;
  transform: rotate(-12deg);
  place-content: center;
}

.complete-stamp span,
.complete-stamp b {
  display: block;
  text-transform: uppercase;
}

.complete-stamp span {
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.complete-stamp b {
  margin: 0.15rem 0;
  font-family: Georgia, serif;
  font-size: 1.25rem;
  font-style: italic;
}

.beer-card.is-complete .complete-stamp {
  display: grid;
  animation: stamp-in 320ms cubic-bezier(0.2, 0.9, 0.4, 1.35) both;
}

@keyframes stamp-in {
  from { opacity: 0; transform: scale(1.8) rotate(-6deg); }
}

.quest-actions {
  grid-column: 2;
}

.complete-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  min-height: 4.5rem;
  border: 0;
  background: var(--amber);
  color: #17130e;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  cursor: pointer;
}

.complete-button svg {
  width: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.complete-button:disabled {
  background: rgba(255, 248, 233, 0.14);
  color: rgba(255, 248, 233, 0.65);
  cursor: default;
}

.quest-actions__secondary {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 1.2rem;
}

.quest-actions__secondary button,
.quest-actions__secondary a {
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 248, 233, 0.35);
  background: transparent;
  color: rgba(255, 248, 233, 0.75);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.action-message {
  color: var(--amber-hot);
}

.travel-warning {
  max-width: 42rem;
  margin: 1rem 0 0;
  color: rgba(255, 248, 233, 0.58);
  font-size: 0.68rem;
  line-height: 1.55;
}

.quest-log {
  width: min(92vw, 44rem);
  max-height: min(82svh, 48rem);
  padding: 0;
  border: 0;
  background: var(--paper-light);
  color: var(--ink);
  box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.42);
}

.quest-log::backdrop {
  background: rgba(7, 24, 16, 0.78);
  backdrop-filter: blur(4px);
}

.quest-log__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 2rem;
  border-bottom: 1px solid var(--line);
}

.quest-log h2 {
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 0.8;
}

.quest-log__header button {
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 2rem;
  cursor: pointer;
}

.quest-log__list {
  max-height: 52svh;
  overflow: auto;
}

.log-entry {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--line);
}

.log-entry__tick {
  display: grid;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: var(--forest);
  color: var(--cream);
  font-size: 0.8rem;
  place-items: center;
}

.log-entry h3 {
  margin: 0 0 0.35rem;
  font-family: Georgia, serif;
  font-size: 1.25rem;
  font-weight: 500;
}

.log-entry p,
.log-entry time {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.quest-log__empty {
  padding: 3rem 2rem;
  color: var(--ink-soft);
  line-height: 1.6;
  text-align: center;
}

.noscript-message {
  position: fixed;
  z-index: 100;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  padding: 1rem;
  background: #a9472c;
  color: white;
  text-align: center;
}

.not-found {
  display: grid;
  min-height: 100svh;
  padding: 2rem;
  text-align: center;
  place-items: center;
}

.not-found__card {
  width: min(100%, 40rem);
  padding: clamp(2rem, 6vw, 5rem);
  border: 1px solid var(--line);
  background: var(--paper-light);
}

.not-found h1 {
  margin: 0;
  color: var(--amber);
  font-family: Georgia, serif;
  font-size: clamp(7rem, 24vw, 14rem);
  font-weight: 500;
  letter-spacing: -0.08em;
  line-height: 0.8;
}

.not-found p {
  margin: 2rem 0;
  color: var(--ink-soft);
}

.not-found a {
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 4px;
}

@media (max-width: 1000px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 5rem;
    padding-bottom: 6rem;
  }

  .hero::before {
    inset: 48% 0 0;
  }

  .hero__copy {
    width: 100%;
  }

  .quest-maker {
    max-width: 40rem;
    justify-self: center;
  }

  .manifesto {
    grid-template-columns: 8rem 1fr;
  }

  .manifesto__copy {
    grid-column: 1 / -1;
  }

  .quest-screen__body {
    grid-template-columns: 1fr;
    align-content: start;
  }

  .quest-intro {
    max-width: 42rem;
  }

  .quest-actions {
    grid-column: 1;
  }
}

@media (max-width: 650px) {
  .site-header,
  .quest-screen__header {
    min-height: 4.7rem;
  }

  .brand span {
    display: none;
  }

  .beta-pill {
    display: none;
  }

  .hero {
    min-height: calc(100svh - 4.7rem);
    gap: 4rem;
    padding-top: 3.5rem;
  }

  .hero h1 {
    font-size: clamp(4rem, 20vw, 6.2rem);
  }

  .hero__intro {
    font-size: 1rem;
  }

  .field-notes {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .quest-maker {
    padding: 1.35rem;
    box-shadow: 0.7rem 0.7rem 0 rgba(7, 26, 17, 0.42);
  }

  .location-field input {
    padding-right: 3.7rem;
  }

  .locate-button span {
    display: none;
  }

  .locate-button svg {
    width: 1.35rem;
  }

  .manifesto {
    grid-template-columns: 1fr;
  }

  .manifesto__stamp {
    width: 6.5rem;
    height: 6.5rem;
  }

  .manifesto__copy {
    grid-template-columns: 1fr;
    grid-column: auto;
  }

  .site-footer {
    flex-direction: column;
    padding-block: 2rem;
  }

  .quest-screen__body {
    min-height: calc(100svh - 4.7rem);
    gap: 2.5rem;
    padding-top: 3rem;
  }

  .quest-intro h2 {
    font-size: clamp(3.4rem, 17vw, 5.2rem);
  }

  .beer-card {
    min-height: 34rem;
    padding: 1.25rem;
    box-shadow: 0.7rem 0.7rem 0 rgba(0, 0, 0, 0.25);
  }

  .beer-card__brewery {
    align-items: flex-start;
    flex-direction: column;
  }

  .beer-card__brewery a {
    text-align: left;
  }

  .tap-evidence {
    grid-template-columns: 1fr;
  }

  .tap-evidence a {
    text-align: left;
  }

  .beer-card h3 {
    font-size: clamp(3.6rem, 16vw, 5.6rem);
  }

  .beer-specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .beer-card__footer {
    gap: 0.5rem;
    font-size: 0.52rem;
  }

  .complete-stamp {
    right: 1rem;
    bottom: 4.7rem;
    width: 7rem;
    height: 7rem;
  }

  .log-entry {
    grid-template-columns: auto 1fr;
    padding-inline: 1.25rem;
  }

  .log-entry time {
    grid-column: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
