:root {
  --guild-ink: #fff1cf;
  --guild-muted: #e0c28b;
  --guild-dark: #080b07;
  --guild-green: #101d14;
  --guild-green-2: #18301f;
  --guild-amber: #d99a3e;
  --guild-brass: #f3c36d;
  --guild-copper: #a65f28;
  --guild-oxblood: #742d1d;
  --guild-parchment: #e8cf99;
  --guild-parchment-light: #f2dfb5;
  --guild-parchment-ink: #20140c;
  --guild-line: rgba(243, 195, 109, .34);
  --guild-shadow: rgba(0, 0, 0, .62);
}

html {
  scroll-behavior: smooth;
}

.factory-guild-shell {
  margin: 0;
  color: var(--guild-ink);
  background:
    radial-gradient(circle at 14% 18%, rgba(41, 82, 42, .24), transparent 20%),
    radial-gradient(circle at 88% 8%, rgba(146, 73, 24, .28), transparent 25%),
    linear-gradient(180deg, #080a07 0%, #0f1b12 44%, #080a07 100%);
  font-family: Georgia, "Times New Roman", serif;
}

.factory-guild-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(rgba(243, 195, 109, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 195, 109, .018) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: .42;
}

.factory-guild-shell::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 0% 0%, transparent 0 52%, rgba(0, 0, 0, .24) 72%),
    linear-gradient(90deg, rgba(0, 0, 0, .38), transparent 22%, transparent 78%, rgba(0, 0, 0, .42));
}

body,
button,
input,
select,
textarea {
  letter-spacing: 0;
}

.guild-header {
  min-height: 104px;
  padding: 0 clamp(20px, 4vw, 56px);
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) 132px;
  align-items: start;
  gap: 28px;
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  background: linear-gradient(180deg, rgba(7, 7, 5, .88), rgba(7, 7, 5, .46) 72%, transparent);
}

.guild-sign-logo {
  margin-top: 22px;
  min-height: 106px;
  padding: 16px 16px 14px;
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  column-gap: 10px;
  color: var(--guild-brass);
  text-decoration: none;
  background:
    linear-gradient(180deg, rgba(34, 48, 30, .96), rgba(48, 33, 19, .98));
  border: 3px solid #9a6330;
  box-shadow:
    inset 0 0 0 2px rgba(243, 195, 109, .22),
    0 16px 28px rgba(0, 0, 0, .52);
  clip-path: polygon(6% 0, 94% 0, 100% 14%, 96% 86%, 88% 100%, 12% 100%, 4% 86%, 0 14%);
}

.guild-logo-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  grid-row: 1 / 3;
  border: 2px solid var(--guild-brass);
  border-radius: 50%;
  color: var(--guild-brass);
  font-size: 14px;
  font-weight: 900;
}

.guild-logo-main {
  display: block;
  font-size: 31px;
  font-weight: 900;
  line-height: .88;
  text-transform: uppercase;
  text-shadow: 0 2px 0 #3f1f12;
}

.guild-logo-sub {
  width: fit-content;
  margin-top: 9px;
  padding: 5px 10px;
  grid-column: 1 / -1;
  justify-self: center;
  color: #f7d997;
  background: #5b2c18;
  border: 1px solid #bd7a3d;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.guild-header nav {
  min-height: 76px;
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 42px);
  border-bottom: 1px solid rgba(243, 195, 109, .2);
}

.guild-header nav a {
  padding-top: 40px;
  color: var(--guild-ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  text-shadow: 0 2px 5px #000;
}

.guild-header nav a:hover {
  color: var(--guild-brass);
}

.guild-banner-link {
  width: 124px;
  min-height: 150px;
  padding: 20px 12px 26px;
  display: grid;
  place-items: center;
  gap: 4px;
  color: #fff7da;
  text-align: center;
  text-decoration: none;
  background: linear-gradient(180deg, #17381f, #0e2417);
  border: 3px solid #b57931;
  border-top: 0;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .45);
  clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 100%, 0 80%);
}

.guild-banner-link span,
.guild-banner-link strong {
  display: block;
  line-height: 1.25;
}

.guild-banner-link strong {
  font-size: 15px;
}

.guild-banner-link i {
  width: 38px;
  height: 38px;
  margin-top: 12px;
  border: 2px solid var(--guild-amber);
  border-radius: 50%;
  position: relative;
}

.guild-banner-link i::before,
.guild-banner-link i::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 2px solid var(--guild-amber);
  transform: rotate(45deg);
}

.guild-banner-link i::after {
  inset: 15px -5px;
  border-width: 2px 0;
  transform: none;
}

.guild-hero {
  min-height: 920px;
  padding: 180px clamp(26px, 5vw, 68px) 76px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, 570px) minmax(0, 1fr);
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(8, 11, 7, .94) 0%, rgba(11, 22, 14, .82) 30%, rgba(8, 11, 7, .14) 56%, rgba(8, 11, 7, .58) 100%),
    linear-gradient(180deg, rgba(8, 11, 7, .24), rgba(8, 11, 7, .92)),
    url("tavern-printer.svg") center right / cover no-repeat;
  border-bottom: 1px solid #2e1b10;
}

.guild-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 58% 35%, rgba(255, 166, 52, .3), transparent 20%),
    radial-gradient(circle at 78% 58%, rgba(255, 186, 77, .28), transparent 16%),
    linear-gradient(180deg, transparent 73%, rgba(10, 9, 6, .9));
  pointer-events: none;
}

.guild-hero-copy {
  position: relative;
  z-index: 1;
}

.guild-hero h1 {
  max-width: 560px;
  margin: 0;
  color: #fff0cf;
  font-size: clamp(54px, 7vw, 76px);
  line-height: 1.03;
  font-weight: 900;
  text-shadow: 0 5px 18px #000;
}

.guild-rule {
  width: 300px;
  height: 22px;
  margin: 30px 0 24px;
  position: relative;
}

.guild-rule::before,
.guild-rule::after {
  content: "";
  position: absolute;
  top: 10px;
  width: 128px;
  height: 1px;
  background: rgba(243, 195, 109, .52);
}

.guild-rule::before {
  left: 0;
}

.guild-rule::after {
  right: 0;
}

.guild-rule {
  background: radial-gradient(circle at 50% 50%, var(--guild-brass) 0 4px, transparent 5px);
}

.guild-hero p {
  max-width: 420px;
  margin: 0;
  color: #fff1d6;
  font-size: 21px;
  line-height: 1.45;
  text-shadow: 0 3px 8px #000;
}

.guild-bullets {
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
  list-style: none;
}

.guild-bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffe9b2;
  font-size: 18px;
  font-weight: 800;
  text-shadow: 0 2px 6px #000;
}

.mini-icon {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--guild-brass);
  position: relative;
}

.mini-icon::before,
.mini-icon::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
}

.mini-icon.coin::before {
  inset: 3px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.mini-icon.coin::after {
  width: 3px;
  height: 12px;
  border-inline: 1px solid currentColor;
}

.mini-icon.forge::before {
  width: 16px;
  height: 12px;
  bottom: 3px;
  border: 2px solid currentColor;
  border-top: 0;
  clip-path: polygon(0 20%, 100% 0, 82% 100%, 16% 100%);
}

.mini-icon.forge::after {
  width: 10px;
  height: 10px;
  top: 0;
  border: 2px solid currentColor;
  border-radius: 50% 50% 0 50%;
  transform: rotate(45deg);
}

.mini-icon.shield::before {
  inset: 2px 4px;
  border: 2px solid currentColor;
  clip-path: polygon(50% 0, 100% 20%, 88% 74%, 50% 100%, 12% 74%, 0 20%);
}

.mini-icon.lock::before {
  width: 16px;
  height: 12px;
  bottom: 2px;
  border: 2px solid currentColor;
  border-radius: 2px;
}

.mini-icon.lock::after {
  width: 10px;
  height: 10px;
  top: 1px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}

.mini-icon.trophy::before {
  inset: 3px 5px 8px;
  border: 2px solid currentColor;
  border-top-width: 4px;
  border-radius: 0 0 7px 7px;
}

.mini-icon.trophy::after {
  width: 12px;
  height: 5px;
  bottom: 2px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.mini-icon.chat::before {
  inset: 4px 2px 5px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.mini-icon.chat::after {
  width: 8px;
  height: 8px;
  right: 2px;
  bottom: 2px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(18deg);
}

.guild-primary-action {
  width: fit-content;
  min-height: 76px;
  margin-top: 48px;
  padding: 0 48px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #ffe8ac;
  background:
    linear-gradient(180deg, #8b3f1f 0%, #672713 50%, #3b170f 100%);
  border: 3px solid #c98236;
  box-shadow:
    inset 0 0 0 2px #3b170f,
    inset 0 0 0 5px rgba(243, 195, 109, .26),
    0 16px 30px rgba(0, 0, 0, .55);
  clip-path: polygon(7% 0, 93% 0, 100% 24%, 96% 78%, 88% 100%, 12% 100%, 4% 78%, 0 24%);
  font-size: 25px;
  line-height: 1;
  text-decoration: none;
  text-shadow: 0 2px 4px #000;
}

.guild-primary-action svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.guild-primary-action.compact {
  min-height: 52px;
  margin-top: 22px;
  padding: 0 42px;
  font-size: 21px;
}

.guild-hero-copy small {
  display: block;
  margin: 16px 0 0 68px;
  color: #f5dba9;
  font-size: 14px;
  text-shadow: 0 2px 6px #000;
}

.guild-side-sign {
  width: 150px;
  padding: 30px 18px;
  position: absolute;
  right: clamp(52px, 8vw, 140px);
  top: 236px;
  z-index: 2;
  color: #f3c36d;
  text-align: center;
  background: rgba(56, 29, 16, .88);
  border: 3px solid #9d642b;
  box-shadow: inset 0 0 0 2px rgba(243, 195, 109, .2), 0 14px 28px rgba(0, 0, 0, .45);
}

.guild-side-sign p {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
}

.parchment-panel {
  width: min(1270px, calc(100% - 28px));
  margin: 0 auto;
  color: var(--guild-parchment-ink);
  background:
    radial-gradient(circle at 10% 8%, rgba(123, 82, 33, .14), transparent 22%),
    radial-gradient(circle at 90% 92%, rgba(123, 82, 33, .16), transparent 22%),
    linear-gradient(rgba(118, 74, 31, .065) 1px, transparent 1px),
    var(--guild-parchment-light);
  background-size: auto, auto, 100% 28px, auto;
  border: 1px solid #9b6a36;
  box-shadow:
    inset 0 0 45px rgba(107, 68, 31, .22),
    0 22px 38px rgba(0, 0, 0, .44);
  position: relative;
}

.parchment-panel::before,
.parchment-panel::after {
  content: "";
  position: absolute;
  inset: 10px;
  pointer-events: none;
  border: 1px solid rgba(116, 76, 37, .18);
}

.verification-panel {
  margin-top: -6px;
  padding: 42px 70px 68px;
  border-radius: 10px 10px 18px 18px;
}

.ornate-heading {
  display: grid;
  grid-template-columns: 160px auto 160px;
  align-items: center;
  justify-content: center;
  gap: 28px;
  text-align: center;
}

.ornate-heading span {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(90, 57, 24, .6), transparent);
  position: relative;
}

.ornate-heading span::after {
  content: "";
  width: 8px;
  height: 8px;
  position: absolute;
  top: -4px;
  left: calc(50% - 4px);
  border: 1px solid currentColor;
  transform: rotate(45deg);
}

.ornate-heading h2 {
  margin: 0;
  font-size: clamp(31px, 4vw, 46px);
  line-height: 1.05;
}

.ornate-heading.dark {
  color: #ffe8b3;
  grid-template-columns: 90px auto 90px;
}

.section-intro {
  margin: 12px 0 42px;
  text-align: center;
  font-size: 17px;
}

.verification-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.verification-steps article {
  min-height: 265px;
  padding: 4px 34px 0;
  display: grid;
  justify-items: center;
  position: relative;
  text-align: center;
}

.verification-steps article + article {
  border-left: 1px solid rgba(91, 54, 22, .34);
}

.step-seal {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  position: absolute;
  top: -10px;
  left: 28px;
  z-index: 1;
  color: #ffe8b3;
  background: radial-gradient(circle, #8d3f24, #551d13);
  border: 2px solid #b57936;
  border-radius: 50%;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .34);
  font-size: 15px;
}

.artifact,
.road-icon,
.earning-icon {
  position: relative;
  display: grid;
  place-items: center;
}

.artifact {
  width: 150px;
  height: 138px;
  margin-bottom: 14px;
  background: rgba(255, 245, 211, .3);
  border: 1px solid rgba(92, 57, 25, .18);
  box-shadow: inset 0 0 28px rgba(85, 51, 20, .08);
}

.artifact::before,
.artifact::after,
.road-icon::before,
.road-icon::after,
.earning-icon::before,
.earning-icon::after,
.guild-mug::before,
.guild-mug::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
}

.artifact.quill::before {
  width: 84px;
  height: 22px;
  background: linear-gradient(90deg, #161b16, #5e5d4d);
  transform: rotate(-42deg);
  clip-path: polygon(0 50%, 78% 0, 100% 50%, 78% 100%);
}

.artifact.quill::after {
  width: 52px;
  height: 32px;
  bottom: 18px;
  border: 4px solid #2d1c12;
  border-top: 0;
  border-radius: 0 0 50% 50%;
}

.artifact.test-print::before {
  width: 88px;
  height: 80px;
  bottom: 28px;
  background: linear-gradient(135deg, #1d2921, #6b745a);
  border: 4px solid #1a201b;
  clip-path: polygon(22% 0, 82% 0, 100% 56%, 64% 100%, 6% 100%, 0 36%);
}

.artifact.test-print::after {
  width: 42px;
  height: 58px;
  top: 20px;
  border: 8px solid #243025;
  border-bottom-width: 14px;
  box-shadow: 0 34px 0 -18px #caa66a;
}

.artifact.envelope::before {
  width: 100px;
  height: 66px;
  background: #d4ad72;
  border: 3px solid #7a4b21;
  transform: rotate(-4deg);
}

.artifact.envelope::after {
  width: 70px;
  height: 70px;
  border: 3px solid #7a4b21;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg) translate(-2px, -18px);
}

.artifact.coin-stack::before {
  width: 88px;
  height: 88px;
  border: 8px solid #725122;
  border-radius: 50%;
  background:
    radial-gradient(circle, #f3c36d 0 8px, transparent 9px),
    radial-gradient(circle, #9f6a28, #4d3217);
  box-shadow: inset 0 0 0 5px #d6a34e;
}

.artifact.coin-stack::after {
  width: 5px;
  height: 48px;
  background: #4d3217;
  box-shadow: -12px 0 #4d3217, 12px 0 #4d3217;
}

.verification-steps h3,
.order-steps h3,
.earning-grid h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.1;
}

.verification-steps p,
.order-steps p,
.earning-grid p {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.35;
}

.order-road {
  width: min(1270px, calc(100% - 32px));
  margin: 34px auto;
  padding: 40px 60px 55px;
  color: #fff0cf;
  background:
    radial-gradient(circle at 50% 0%, rgba(217, 154, 62, .12), transparent 26%),
    linear-gradient(180deg, rgba(14, 29, 18, .96), rgba(6, 10, 7, .97));
  border: 1px solid rgba(144, 92, 42, .42);
  box-shadow: inset 0 0 55px rgba(0, 0, 0, .52), 0 20px 38px rgba(0, 0, 0, .42);
}

.order-steps {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 30px;
}

.order-steps article {
  min-height: 215px;
  display: grid;
  justify-items: center;
  align-content: start;
  position: relative;
  text-align: center;
}

.order-steps article:not(:last-child)::after {
  content: "";
  width: 38px;
  height: 18px;
  position: absolute;
  top: 86px;
  right: -34px;
  background:
    linear-gradient(90deg, transparent 0 4px, #9d642b 4px 10px, transparent 10px 15px, #9d642b 15px 21px, transparent 21px),
    linear-gradient(45deg, transparent 47%, #9d642b 48% 55%, transparent 56%);
  background-size: 24px 3px, 18px 18px;
  background-position: left center, right center;
  background-repeat: no-repeat;
}

.road-icon {
  width: 126px;
  height: 112px;
  margin-bottom: 18px;
}

.road-icon.notice::before {
  width: 96px;
  height: 72px;
  bottom: 13px;
  background: #49321f;
  border: 4px solid #a86d33;
  box-shadow: inset 0 0 0 2px rgba(243, 195, 109, .24);
}

.road-icon.notice::after {
  width: 52px;
  height: 48px;
  top: 0;
  border-radius: 50% 50% 6px 6px;
  border: 3px solid #d9a24e;
  border-bottom: 0;
  background: linear-gradient(180deg, #e7b05b, #7e4a21);
}

.road-icon.map::before {
  width: 100px;
  height: 70px;
  background: #c8a36c;
  border: 3px solid #7c4b21;
  transform: rotate(-8deg);
  clip-path: polygon(0 8%, 33% 0, 66% 8%, 100% 0, 100% 92%, 66% 100%, 33% 92%, 0 100%);
}

.road-icon.map::after {
  width: 28px;
  height: 38px;
  right: 12px;
  top: 22px;
  border: 4px solid #bd4e2d;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.road-icon.printer::before {
  width: 94px;
  height: 104px;
  border: 8px solid #141919;
  background: linear-gradient(180deg, #25312b, #101615);
  box-shadow: inset 0 -18px #27211a;
}

.road-icon.printer::after {
  width: 40px;
  height: 44px;
  bottom: 20px;
  background: #d0a85e;
  clip-path: polygon(50% 0, 78% 30%, 78% 100%, 20% 100%, 20% 30%);
}

.road-icon.parcel::before {
  width: 84px;
  height: 72px;
  bottom: 20px;
  background: linear-gradient(135deg, #899177, #414d40);
  border: 4px solid #242c24;
  clip-path: polygon(50% 0, 100% 22%, 100% 78%, 50% 100%, 0 78%, 0 22%);
}

.road-icon.parcel::after {
  width: 100px;
  height: 28px;
  bottom: 8px;
  background: #75481e;
  clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%);
}

.road-icon.purse::before {
  width: 74px;
  height: 72px;
  bottom: 16px;
  background: #6d3c18;
  border: 4px solid #a86d33;
  border-radius: 44% 44% 30% 30%;
  clip-path: polygon(14% 18%, 86% 18%, 100% 100%, 0 100%);
}

.road-icon.purse::after {
  width: 38px;
  height: 38px;
  right: 8px;
  bottom: 5px;
  border: 5px solid #d2a04f;
  border-radius: 50%;
  box-shadow: -24px -6px 0 -12px #d2a04f;
}

.earnings-panel {
  padding: 42px 52px 48px;
}

.earning-grid {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.earning-grid article {
  min-height: 250px;
  padding: 0 24px;
  text-align: center;
}

.earning-grid article + article {
  border-left: 1px solid rgba(91, 54, 22, .35);
}

.earning-icon {
  width: 126px;
  height: 104px;
  margin: 0 auto 18px;
}

.earning-icon.miniature::before {
  width: 38px;
  height: 80px;
  background: #3b3d30;
  clip-path: polygon(42% 0, 70% 22%, 58% 45%, 82% 100%, 12% 100%, 34% 46%, 20% 20%);
}

.earning-icon.miniature::after {
  width: 70px;
  height: 8px;
  bottom: 12px;
  background: #2d2418;
  border-radius: 50%;
}

.earning-icon.gear::before {
  width: 82px;
  height: 82px;
  border: 12px dashed #4a4a37;
  border-radius: 50%;
  background: radial-gradient(circle, transparent 0 18px, #9e8a5b 19px 24px, transparent 25px);
}

.earning-icon.organiser::before {
  width: 100px;
  height: 76px;
  background: #7b7868;
  border: 4px solid #37352e;
  transform: perspective(120px) rotateX(18deg);
  box-shadow: inset 0 0 0 6px rgba(255,255,255,.12);
}

.earning-icon.organiser::after {
  width: 86px;
  height: 4px;
  background: #37352e;
  box-shadow: 0 25px #37352e, 28px 0 #37352e, 58px 0 #37352e;
}

.earning-icon.helmet::before {
  width: 92px;
  height: 84px;
  background: linear-gradient(135deg, #90845f, #2b2a25);
  border: 4px solid #202018;
  border-radius: 50% 50% 18% 18%;
  clip-path: polygon(50% 0, 84% 14%, 100% 72%, 72% 100%, 52% 62%, 32% 100%, 0 72%, 16% 14%);
}

.earning-icon.chest::before {
  width: 96px;
  height: 74px;
  bottom: 13px;
  background: #7b421c;
  border: 4px solid #3a1d0f;
  border-radius: 26px 26px 8px 8px;
  box-shadow: inset 0 24px 0 rgba(243, 195, 109, .16), inset 31px 0 0 rgba(0,0,0,.14), inset -31px 0 0 rgba(0,0,0,.14);
}

.earning-icon.chest::after {
  width: 20px;
  height: 22px;
  bottom: 32px;
  background: #d1a451;
  border: 3px solid #3a1d0f;
  border-radius: 2px;
}

.earning-grid h3 {
  font-size: 23px;
}

.earning-grid strong {
  display: block;
  margin-top: 18px;
  font-size: 27px;
  line-height: 1.1;
}

.earning-grid p {
  font-size: 17px;
}

.guild-disclaimer {
  margin: 30px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 15px;
}

.guild-final {
  min-height: 282px;
  width: min(1270px, calc(100% - 32px));
  margin: 30px auto 0;
  padding: 56px 58px 26px;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 240px;
  align-items: center;
  gap: 20px;
  position: relative;
  overflow: hidden;
  color: #fff1cf;
  text-align: center;
  background:
    radial-gradient(circle at 80% 68%, rgba(174, 93, 31, .24), transparent 20%),
    radial-gradient(circle at 20% 18%, rgba(35, 85, 38, .22), transparent 24%),
    linear-gradient(180deg, #0c1b11, #050706);
  border: 1px solid rgba(144, 92, 42, .42);
}

.guild-final h2 {
  margin: 0;
  font-size: clamp(35px, 4vw, 48px);
}

.guild-final p {
  margin: 18px 0 0;
  color: #ead3a5;
  font-size: 18px;
}

.guild-final small {
  display: block;
  margin-top: 12px;
  color: #dcc08b;
  font-size: 14px;
}

.guild-final small a {
  color: var(--guild-brass);
}

.hanging-sign {
  width: 156px;
  min-height: 118px;
  padding: 22px 18px;
  justify-self: start;
  display: grid;
  place-items: center;
  color: #ffd889;
  background: #321b10;
  border: 3px solid #87501f;
  box-shadow: inset 0 0 0 2px rgba(243, 195, 109, .18), 0 14px 24px rgba(0,0,0,.44);
  font-size: 21px;
  line-height: 1.35;
}

.guild-mug {
  width: 160px;
  height: 150px;
  justify-self: end;
  position: relative;
}

.guild-mug::before {
  width: 86px;
  height: 112px;
  left: 24px;
  bottom: 0;
  background: linear-gradient(90deg, #3d2b1b, #7a4a22, #2f2117);
  border: 4px solid #b47a38;
  border-radius: 10px 10px 20px 20px;
  box-shadow: inset 0 0 0 4px rgba(255, 218, 139, .14);
}

.guild-mug::after {
  width: 52px;
  height: 56px;
  right: 10px;
  bottom: 36px;
  border: 9px solid #7a4a22;
  border-left: 0;
  border-radius: 0 35px 35px 0;
  box-shadow: 18px -62px 30px -20px rgba(222, 178, 111, .45);
}

.guild-footer {
  min-height: 96px;
  padding: 18px clamp(22px, 5vw, 92px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  color: #f3d9a6;
  background: #080806;
  border-top: 1px solid rgba(243, 195, 109, .2);
}

.guild-footer div {
  display: grid;
  grid-template-columns: auto 1fr;
  align-content: center;
  gap: 2px 14px;
  padding-left: 10px;
  border-left: 1px solid rgba(243, 195, 109, .25);
}

.guild-footer .mini-icon {
  grid-row: 1 / 3;
  align-self: center;
}

.guild-footer strong {
  font-size: 15px;
}

.guild-footer p {
  margin: 0;
  color: #d8bd82;
  font-size: 13px;
  line-height: 1.3;
}

@media (max-width: 1050px) {
  .guild-header {
    grid-template-columns: 220px 1fr;
  }

  .guild-banner-link {
    display: none;
  }

  .guild-hero {
    grid-template-columns: 1fr;
    min-height: 820px;
  }

  .guild-side-sign {
    display: none;
  }

  .verification-steps,
  .order-steps,
  .earning-grid,
  .guild-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .order-steps article:not(:last-child)::after,
  .earning-grid article + article {
    border-left: 0;
  }

  .order-steps article:not(:last-child)::after {
    display: none;
  }

  .guild-final {
    grid-template-columns: 1fr;
  }

  .hanging-sign,
  .guild-mug {
    justify-self: center;
  }
}

@media (max-width: 720px) {
  .guild-header {
    position: relative;
    min-height: auto;
    padding: 12px;
    grid-template-columns: 1fr;
    background: #090b07;
  }

  .guild-sign-logo {
    margin: 0;
    width: min(290px, 100%);
  }

  .guild-header nav {
    min-height: 0;
    padding-bottom: 8px;
    justify-content: flex-start;
    gap: 12px;
  }

  .guild-header nav a {
    padding-top: 0;
    font-size: 13px;
  }

  .guild-hero {
    min-height: 720px;
    padding: 42px 20px 54px;
    background-position: 60% center;
  }

  .guild-hero h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .guild-hero p {
    font-size: 18px;
  }

  .guild-primary-action {
    min-height: 62px;
    padding-inline: 26px;
    font-size: 20px;
  }

  .guild-hero-copy small {
    margin-left: 0;
  }

  .verification-panel,
  .earnings-panel,
  .order-road,
  .guild-final {
    width: calc(100% - 18px);
    padding: 30px 20px;
  }

  .ornate-heading {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ornate-heading span {
    display: none;
  }

  .verification-steps,
  .order-steps,
  .earning-grid,
  .guild-footer {
    grid-template-columns: 1fr;
  }

  .verification-steps article {
    min-height: 0;
    padding: 14px 10px 26px;
  }

  .verification-steps article + article {
    border-left: 0;
    border-top: 1px solid rgba(91, 54, 22, .28);
  }

  .step-seal {
    position: static;
    margin-bottom: 10px;
  }

  .earning-grid article {
    min-height: 0;
    padding: 24px 0;
  }

  .earning-grid article + article {
    border-top: 1px solid rgba(91, 54, 22, .28);
  }
}
