:root {
  --ivory: #fbf9f3;
  --ink: #141414;
  --muted: #4a463f;
  --gold: #c2a878;
  --display: "Cinzel", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --body: "Cormorant Garamond", Palatino, "Palatino Linotype", "Times New Roman", serif;
  --measure: 40.5rem;
  --page: 72rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.75rem;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 4px;
}

::selection {
  background: #efe4cc;
  color: var(--ink);
}

.skip {
  position: absolute;
  left: 1rem;
  top: 0;
  transform: translateY(-120%);
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--display);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.7rem 0.9rem;
  z-index: 20;
}

.skip:focus {
  transform: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--ivory);
  border-bottom: 1px solid rgba(194, 168, 120, 0.75);
}

.header-inner {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: inherit;
}

.brand img {
  width: 42px;
  height: 42px;
}

.brand span,
nav a,
h1,
h2,
h3,
.name,
.place,
.copy {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
}

.brand span {
  font-size: 0.84rem;
  letter-spacing: 0.18em;
  text-indent: 0.18em;
  line-height: 1;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.4rem;
}

nav a {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-indent: 0.16em;
  text-decoration: none;
  padding: 0.7rem 0.1rem;
  line-height: 1;
}

nav a:hover {
  text-decoration: underline;
  text-underline-offset: 0.35em;
  text-decoration-thickness: 1px;
}

.powered-by {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  text-decoration: none;
  flex-shrink: 0;
}

.powered-by-label {
  font-family: var(--display);
  font-size: 0.56rem;
  letter-spacing: 0.14em;
  text-indent: 0.14em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}

.powered-by img {
  width: auto;
  height: 22px;
}

.powered-by:hover {
  color: var(--ink);
}

.powered-by:hover img {
  opacity: 0.85;
}

.hero {
  padding: 4.75rem 1.25rem 5.25rem;
}

.hero-lockup {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-coin {
  width: min(15.5rem, 68vw);
}

h1 {
  margin: 1.85rem 0 0;
  max-width: 100%;
  font-size: clamp(1.32rem, 6.2vw, 3.5rem);
  letter-spacing: 0.14em;
  text-indent: 0.14em;
  line-height: 1.05;
  font-weight: 400;
}

.rule {
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 1.15rem;
  background: var(--gold);
}

.tagline {
  margin: 1.15rem 0 0;
  font-family: var(--body);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  line-height: 1.3;
  text-transform: none;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

section {
  padding: 4.25rem 1.25rem;
}

.section-inner {
  max-width: var(--page);
  margin: 0 auto;
}

.about-inner {
  max-width: var(--measure);
}

.contact-inner {
  max-width: 36rem;
  text-align: center;
}

h2 {
  margin: 0 0 2.25rem;
  text-align: center;
  font-size: 0.92rem;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  line-height: 1.3;
}

.about-inner p,
.columns p {
  margin: 0;
}

.about-inner p {
  font-size: 1.35rem;
  line-height: 1.58;
  text-wrap: pretty;
}

.about-inner p + p {
  margin-top: 1.15rem;
}

.columns {
  display: grid;
  gap: 2.75rem 3rem;
}

.columns article h3 {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-indent: 0.18em;
  line-height: 1.35;
}

.columns article h3::before {
  content: "";
  display: block;
  width: 2.25rem;
  height: 1px;
  margin: 0 0 1rem;
  margin-left: 0.18em;
  background: var(--gold);
}

.columns p {
  font-size: 1.22rem;
  line-height: 1.5;
  text-wrap: pretty;
}

address {
  font-style: normal;
}

.name,
.place,
address p {
  margin: 0;
}

.name {
  font-size: 1.2rem;
  letter-spacing: 0.2em;
  text-indent: 0.2em;
}

.place {
  margin-top: 0.85rem;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-indent: 0.24em;
}

address a {
  display: inline-block;
  max-width: 100%;
  margin-top: 1.15rem;
  font-family: var(--body);
  font-size: clamp(1.08rem, 4.4vw, 1.4rem);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  text-indent: 0;
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.08em;
  overflow-wrap: anywhere;
}

address a:hover {
  border-bottom-color: var(--ink);
}

.site-footer {
  padding: 3.25rem 1.25rem 4rem;
  text-align: center;
  border-top: 1px solid rgba(194, 168, 120, 0.75);
}

.copy {
  margin: 0 0 0.9rem;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-indent: 0.18em;
}

.disclaimer {
  max-width: 36rem;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.45;
}

@media (min-width: 720px) {
  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    padding: 1rem 2rem;
  }

  nav {
    justify-self: center;
  }

  .powered-by {
    justify-self: end;
  }

  .brand span {
    font-size: 0.92rem;
  }

  .hero {
    padding: 6.5rem 2rem 7.5rem;
  }

  section {
    padding: 6.25rem 2rem;
  }

  .columns-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .columns-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1040px) {
  .columns-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 719px) {
  html {
    scroll-padding-top: 9.25rem;
  }

  .header-inner {
    justify-content: space-between;
    align-items: center;
  }

  nav {
    justify-content: center;
    width: 100%;
    gap: 0.2rem 1.1rem;
    order: 3;
  }

  .powered-by {
    flex-direction: column;
    align-items: flex-end;
    gap: 0.28rem;
  }

  .powered-by img {
    height: 18px;
  }
}

@media (max-width: 360px) {
  html {
    scroll-padding-top: 11.25rem;
  }

  .powered-by-label {
    font-size: 0.5rem;
  }

  .powered-by img {
    height: 16px;
  }
}

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

@media print {
  .site-header,
  .skip {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }

  a {
    text-decoration: none;
  }

  section {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
}
