@font-face { font-family: "Crimson Pro"; src: url(crimson-pro.woff2) format("woff2"); font-weight: 200 900; font-display: swap; }

:root {
  --manila: #ebcd95;
  --ink: #000;
  --ink-soft: #2b2112;
}

* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--manila);
  color: var(--ink);
  font: 400 1.25rem/1.5 "Crimson Pro", Georgia, serif;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 4vh, 3rem);
  width: min(100%, 76rem);
  margin: 0 auto;
  padding: clamp(1.5rem, 5vh, 4rem) clamp(1rem, 3vw, 2rem);
  text-align: center;
}

.logo { position: relative; width: 100%; font-size: 1rem; line-height: 0; }
.logo img { display: block; width: 100%; height: auto; }

/* Lies exactly over the glass of the pole in the logo, so the client's own pole turns. */
.pole {
  position: absolute;
  left: 47.74%;
  top: 15.05%;
  width: 4.74%;
  height: 26.7%;
  overflow: hidden;
}
.turn { animation: turn 5s linear infinite; }
@keyframes turn { to { transform: translateY(-60px); } }

.line { font-size: clamp(1.4rem, 2.6vw, 2rem); color: var(--ink-soft); text-wrap: balance; }

.numbers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  border-block: 3px solid var(--ink);
}
.numbers a {
  flex: 1 1 18rem;
  padding: .55em .4em .6em;
  color: var(--ink);
  font-size: clamp(2.5rem, 5.6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  font-variant-numeric: lining-nums;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .15s, color .15s;
}
.numbers a + a { border-left: 3px solid var(--ink); }
.numbers a:hover { background: var(--ink); color: var(--manila); }
a:focus-visible { outline: 3px solid #1557d6; outline-offset: 3px; }

.visit {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
  width: 100%;
  text-align: left;
}
.visit h2 { margin-bottom: .35em; font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; line-height: 1.1; }
.visit section { padding-inline: .4em; }
.visit address { font-style: normal; font-size: 1.375rem; line-height: 1.4; }
.visit p { margin-top: .6em; }
.visit a { color: var(--ink); text-underline-offset: .2em; }
.visit table { width: 100%; border-collapse: collapse; font-size: 1.25rem; line-height: 1.35; }
.visit th, .visit td { padding: .35em 0; border-bottom: 1px solid var(--ink); vertical-align: top; font-variant-numeric: lining-nums; }
.visit th { padding-right: 1em; font-weight: 400; text-align: left; }
.visit td { font-weight: 600; text-align: right; white-space: nowrap; }

footer { padding: 0 1rem 1.5rem; text-align: center; font-size: 1.0625rem; color: var(--ink-soft); }
footer a { color: inherit; text-underline-offset: .2em; margin-left: .5em; white-space: nowrap; }

@media (max-width: 640px) {
  .logo { width: min(100%, 26rem); }
  .pole { left: 42.5%; top: 12.4%; width: 18.6%; height: 24.6%; }
  .numbers a { flex-basis: 100%; }
  .visit { grid-template-columns: minmax(0, 1fr); }
  .numbers a + a { border-left: 0; border-top: 3px solid var(--ink); }
}

@media (prefers-reduced-motion: reduce) {
  .turn { animation: none; }
  .numbers a { transition: none; }
}
