@import url("https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&display=swap");

:root {
  --ink: #280905;
  --bg: #f3e9d2;
  --blue: #4f7a57;
  --side: clamp(16px, 6vw, 100px);
  --top: clamp(40px, 8vw, 80px);
  --max: 1100px;
  --titleSize: clamp(60px, 8vw, 120px);
  --board: clamp(560px, 66vw, 980px);
  --spot: clamp(160px, 18vw, 250px);
  --nice: #1e6fa8;
  --mento: #f4c42f;
  --monaco: #d62929;
  --cannes: #e86a1d;
  --antibus: #4f7a57;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: Georgia, serif;
}

.sf-inner {
  width: min(calc(100% - (var(--side) * 2)), var(--max));
  margin: 0 auto;
  padding: 0 0 2px;
}

.title {
  margin: 50px 0 0 300px;
  width: 200px;
  display: flex;
  flex-direction: column;
  font-family: "Dancing Script", Georgia, serif;
  font-weight: 200;
  line-height: 0.2;
  letter-spacing: 0.08em;
}

.title h1 {
  font-size: var(--titleSize);
}

.left {
  align-self: flex-end;
}

.right {
  align-self: flex-start;
}

.sf-canvas {
  position: relative;
  min-height: var(--board);
}

.sf-track {
  position: absolute;
  right: clamp(-220px, -120vw, -120px);
  top: clamp(-350px, -40vmin, -250px);
  width: calc(var(--board) + 250px);
  height: auto;
  display: block;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

.sf-spots {
  position: absolute;
  right: clamp(-150px, -50vw, -50px);
  top: clamp(-350px, -40vmin, -250px);
  width: calc(var(--board) + 300px);
  aspect-ratio: 1/1;
  z-index: 2;
}

.spot {
  position: absolute;
  width: var(--spot);
  padding: 0;
  border: 0;
  background: transparent;
  transform: translate(-50%, -50%);
}

.spot img {
  width: 165%;
  height: auto;
  display: block;
  transition: opacity 180ms ease;
}

.spot:hover img {
  opacity: 0.3;
}

.spot-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center right;
  font-family: "Dancing Script", serif;
  font-weight: 800;
  font-size: clamp(30px, 4vmin, 50px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 180ms ease;
  pointer-events: none;
}

.spot:hover .spot-label {
  opacity: 1;
}

.spot-blue {
  left: 65%;
  top: 5%;
}

.spot-blue .spot-label {
  color: var(--nice);
}

.spot-yellow {
  left: 80%;
  top: 38%;
}

.spot-yellow .spot-label {
  color: var(--mento);
}

.spot-red {
  left: 40%;
  top: 52%;
}

.spot-red .spot-label {
  color: var(--monaco);
}

.spot-orange {
  left: 56%;
  top: 76%;
}

.spot-orange .spot-label {
  color: var(--cannes);
}

.spot-green {
  left: 15%;
  top: 85%;
}

.spot-green .spot-label {
  color: var(--antibus);
}

.sf-statement {
  position: absolute;
  left: 0;
  top: clamp(6px, 8vmin, 100px);
  width: clamp(280px, 32vw, 420px);
  z-index: 3;
}

.sf-statement-title {
  margin: 0 0 10px 0;
  font-family: "Dancing Script", Georgia, serif;
  font-size: clamp(34px, 4.6vw, 58px);
  color: var(--blue);
  font-weight: 500;
  text-align: left;
}

.sf-statement-p {
  margin: 0;
  font-size: clamp(16px, 2.2vw, 20px);
  line-height: 1.6;
  font-family: Georgia, serif;
  max-width: 800px;
}

.site-footer {
  background: #4f7a57;
  opacity: 0.5;
}

.footer-inner {
  width: 70%;
  margin: 0 auto;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-note,
.footer-contact {
  font-family: Georgia, serif;
  color: #fff;
  font-size: 16px;
  letter-spacing: 0.1em;
  font-weight: 200;
  line-height: 1.5;
  text-transform: uppercase;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  line-height: 0.8;
}

.contact-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.contact-icon {
  display: inline-block;
  width: 20px;
  font-size: 30px;
  color: #fff;
}

.footer-contact a {
  color: #fff;
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}