:root {
  --gold: #a8874f;
  --ink: #1f2a33;
  --muted: #737d84;
  --paper: #ffffff;
  --sky: #f4f8fb;
  --sky-deep: #e8f0f5;
  --blue: #7fa3b8;
  --rule: #e2e9ee;
  --radius: 6px;
  --pad: clamp(16px, 5vw, 64px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Jost", "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }

/* Hero */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  padding: clamp(96px, 16vh, 168px) var(--pad) clamp(48px, 8vh, 80px);
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 40%, var(--sky) 100%);
}

.hero h1 {
  font-weight: 300;
  font-size: clamp(3rem, 11vw, 9.5rem);
  line-height: .95;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.hero h1 span { color: var(--gold); }

/* Scroll indicator */
.scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink);
  transition: opacity .4s;
}
.scroll-hint.is-hidden { opacity: 0; pointer-events: none; }
.scroll-label { writing-mode: vertical-rl; }
.scroll-line {
  position: relative;
  width: 2px;
  height: 96px;
  background: #c9d3da;
  overflow: hidden;
}
.scroll-line::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 100%;
  background: var(--gold);
  animation: drip 2.2s cubic-bezier(.65, 0, .35, 1) infinite;
}
@keyframes drip {
  0%   { transform: translateY(-100%); }
  60%  { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

/* Venue cards */
.block {
  padding: clamp(64px, 9vw, 112px) var(--pad);
  border-top: 1px solid var(--rule);
}
.block h2 {
  font-weight: 400;
  font-size: .8rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 32px;
}
.venues {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
}
/* line that draws across the bottom on hover */
.card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.card:hover::after, .card:focus-within::after { transform: scaleX(1); }

.card-logo {
  position: relative;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12%;
  background: #fff;
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
  transition: background-color .5s;
}
.card:hover .card-logo { background: var(--sky); }
.card-logo img {
  max-height: 150px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}
.card:hover .card-logo img { transform: scale(1.07); }

.card-text {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 18px 22px;
  flex: 1;
}
.card h3 { font-weight: 400; font-size: 1.25rem; line-height: 1.3; }
.card p {
  color: var(--muted);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.card-link {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  font-size: .7rem;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color .3s, color .3s, border-color .3s;
}
.card-link .arrow { display: inline-block; transition: transform .3s; }
.card:hover .card-link .arrow { transform: translateX(4px); }
.card-link:hover, .card-link:focus-visible {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

#restaurants { background: linear-gradient(180deg, var(--sky) 0%, #ffffff 100%); }

/* Footer */
footer {
  display: flex;
  justify-content: space-between;
  padding: 28px var(--pad);
  border-top: 1px solid var(--rule);
  font-size: .8rem;
  color: var(--muted);
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
footer .credit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}
footer .credit img {
  height: 18px;
  width: auto;
  display: block;
}

@media (max-width: 960px) {
  .venues { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .venues { grid-template-columns: 1fr; }
  .card-logo { height: 240px; }
  .card-logo img { max-height: 130px; }
}
@media (min-width: 961px) and (max-width: 1180px) {
  .card-text { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-line::after { animation: none; transform: none; }
  .card *, .card::after { transition: none !important; }
}
