:root {
  --ink: #202326;
  --muted: #5d6870;
  --blue: #32a8dd;
  --blue-dark: #1178a8;
  --sky: #e9f9ff;
  --paper: #fff5cf;
  --paper-deep: #e6cf91;
  --grass: #72bd62;
  --soil: #724b35;
  --soil-mid: #5b3c2f;
  --soil-dark: #2c211c;
  --gold: #f2b83d;
  --orange: #f28a1d;
  --white: #ffffff;
  --line: rgba(32, 35, 38, 0.16);
  --shadow: 0 28px 60px rgba(41, 52, 56, 0.16);
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, #f6fdff 0 52%, #eef9f2 100%);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  min-height: 74px;
  margin: 0 auto;
  padding: 12px 0;
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease,
    padding 180ms ease;
}

.site-header.is-scrolled {
  width: 100%;
  padding: 10px max(16px, calc((100% - 1180px) / 2));
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 34px rgba(32, 35, 38, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-badge {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border: 3px solid var(--soil-dark);
  background: var(--gold);
  color: var(--ink);
  font-size: 1.18rem;
  font-weight: 950;
  line-height: 1;
  box-shadow: 5px 5px 0 var(--blue);
}

.brand-name,
.brand-slogan {
  display: block;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 950;
}

.brand-slogan {
  color: var(--muted);
  font-size: 0.78rem;
  white-space: nowrap;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #25313a;
  font-size: 0.92rem;
  font-weight: 850;
}

.top-nav a {
  padding: 10px 12px;
  border: 1px solid transparent;
}

.top-nav a:hover,
.top-nav a:focus-visible {
  border-color: rgba(50, 168, 221, 0.34);
  background: rgba(255, 255, 255, 0.72);
  outline: none;
}

.hero {
  position: relative;
  min-height: calc(100svh - 74px);
  padding: 44px 0 76px;
  isolation: isolate;
}

.sky-decor,
.soil-world {
  position: absolute;
  inset-inline: 0;
  pointer-events: none;
}

.sky-decor {
  top: 0;
  height: 56%;
  z-index: -3;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, #e4f8ff 0%, #f8fdff 58%, #edf9f0 100%);
}

.cloud {
  position: absolute;
  display: block;
  width: 128px;
  height: 38px;
  border: 1px solid rgba(50, 168, 221, 0.14);
  background: rgba(255, 255, 255, 0.82);
}

.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  bottom: 12px;
  background: inherit;
  border: inherit;
}

.cloud::before {
  left: 18px;
  width: 44px;
  height: 44px;
}

.cloud::after {
  right: 20px;
  width: 58px;
  height: 58px;
}

.cloud-one {
  top: 88px;
  left: max(16px, calc((100% - 1180px) / 2 + 34px));
}

.cloud-two {
  top: 150px;
  right: max(16px, calc((100% - 1180px) / 2 + 18px));
  transform: scale(0.82);
}

.route-arc {
  position: absolute;
  top: 124px;
  left: 42%;
  width: 280px;
  height: 92px;
  border-top: 4px dashed rgba(50, 168, 221, 0.42);
  transform: rotate(-10deg);
}

.plane-mark {
  position: absolute;
  top: 100px;
  left: calc(42% + 228px);
  color: var(--blue-dark);
  font-size: 1.8rem;
  transform: rotate(15deg);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) 430px;
  gap: 30px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  align-items: center;
}

.treasure-map {
  position: relative;
  width: 248px;
  height: 300px;
  align-self: end;
  border: 2px solid rgba(91, 60, 47, 0.28);
  background:
    linear-gradient(90deg, transparent 0 22%, rgba(91, 60, 47, 0.12) 22% 23%, transparent 23% 54%, rgba(91, 60, 47, 0.1) 54% 55%, transparent 55%),
    linear-gradient(0deg, transparent 0 28%, rgba(91, 60, 47, 0.09) 28% 29%, transparent 29% 68%, rgba(91, 60, 47, 0.08) 68% 69%, transparent 69%),
    var(--paper);
  box-shadow: 12px 12px 0 rgba(242, 184, 61, 0.22);
  transform: rotate(-4deg);
}

.treasure-map::before,
.treasure-map::after {
  content: "";
  position: absolute;
  top: 0;
  width: 20px;
  height: 100%;
  background: rgba(230, 207, 145, 0.8);
}

.treasure-map::before {
  left: 0;
}

.treasure-map::after {
  right: 0;
}

.map-title,
.map-ticket,
.map-x {
  position: absolute;
  z-index: 2;
  color: #50392a;
  font-weight: 950;
}

.map-title {
  top: 24px;
  left: 34px;
  font-size: 1rem;
}

.map-ticket {
  right: 28px;
  bottom: 28px;
  padding: 7px 10px;
  border: 2px solid rgba(80, 57, 42, 0.24);
  background: rgba(255, 255, 255, 0.42);
  font-size: 0.88rem;
}

.map-x {
  right: 58px;
  top: 96px;
  color: #d54c32;
  font-size: 2.2rem;
  transform: rotate(12deg);
}

.map-pin {
  position: absolute;
  width: 16px;
  height: 16px;
  z-index: 3;
  border: 3px solid #fff3ca;
  background: var(--blue);
  box-shadow: 0 0 0 2px rgba(17, 120, 168, 0.25);
}

.pin-one {
  left: 54px;
  top: 82px;
}

.pin-two {
  left: 128px;
  top: 142px;
}

.pin-three {
  right: 62px;
  bottom: 74px;
}

.map-route {
  position: absolute;
  height: 4px;
  border-top: 4px dashed rgba(17, 120, 168, 0.55);
  transform-origin: left center;
}

.route-one {
  left: 66px;
  top: 98px;
  width: 106px;
  transform: rotate(36deg);
}

.route-two {
  left: 136px;
  top: 156px;
  width: 88px;
  transform: rotate(42deg);
}

.hero-copy {
  position: relative;
  z-index: 4;
  padding: 68px 0 34px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--blue-dark);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 14px;
  font-size: 7.7rem;
  line-height: 0.84;
  letter-spacing: 0;
}

.motto {
  display: inline-block;
  margin-bottom: 18px;
  padding: 10px 14px;
  border: 2px solid rgba(44, 33, 28, 0.2);
  background: var(--gold);
  font-size: 1.15rem;
  font-weight: 950;
  transform: rotate(-1deg);
}

.hero-lead {
  max-width: 570px;
  margin-bottom: 0;
  color: #34424b;
  font-size: 1.2rem;
  line-height: 1.5;
}

.character-scene {
  position: relative;
  min-height: 460px;
  align-self: end;
}

.character-scene img {
  position: absolute;
  right: -10px;
  bottom: 58px;
  z-index: 5;
  width: 430px;
  filter: drop-shadow(0 30px 26px rgba(32, 35, 38, 0.18));
  transform: rotate(-4deg);
}

.hole {
  position: absolute;
  right: 62px;
  bottom: 25px;
  z-index: 3;
  width: 258px;
  height: 62px;
  border: 10px solid #7d543a;
  background: #1e1714;
  box-shadow: inset 0 10px 28px rgba(0, 0, 0, 0.62);
  transform: skewX(-15deg) rotate(-3deg);
}

.found-ticket {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 104px;
  height: 58px;
  border: 2px solid rgba(80, 57, 42, 0.24);
  background: #fff6d8;
  color: #24313a;
  font-size: 1.35rem;
  font-weight: 950;
  box-shadow: 8px 9px 0 rgba(50, 168, 221, 0.22);
}

.found-ticket::before,
.found-ticket::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 16px;
  height: 16px;
  background: var(--sky);
  transform: translateY(-50%);
}

.found-ticket::before {
  left: -9px;
}

.found-ticket::after {
  right: -9px;
}

.ticket-led {
  top: 48px;
  left: 12px;
  transform: rotate(10deg);
}

.ticket-ist {
  right: 28px;
  top: 176px;
  transform: rotate(-15deg);
}

.lantern {
  position: absolute;
  left: 28px;
  bottom: 108px;
  z-index: 4;
  width: 52px;
  height: 72px;
  border: 5px solid var(--soil-dark);
  background: rgba(242, 184, 61, 0.92);
  box-shadow: 0 0 38px rgba(242, 184, 61, 0.56);
  transform: rotate(8deg);
}

.lantern::before {
  content: "";
  position: absolute;
  left: 11px;
  top: -22px;
  width: 22px;
  height: 22px;
  border: 5px solid var(--soil-dark);
  border-bottom: 0;
}

.shovel {
  position: absolute;
  right: 38px;
  bottom: 128px;
  z-index: 1;
  width: 12px;
  height: 174px;
  background: #7b573f;
  transform: rotate(38deg);
}

.shovel::before {
  content: "";
  position: absolute;
  left: -18px;
  bottom: -36px;
  width: 48px;
  height: 58px;
  background: #b6c4c9;
  clip-path: polygon(50% 100%, 0 24%, 18% 0, 82% 0, 100% 24%);
}

.soil-world {
  bottom: 0;
  height: 42%;
  min-height: 310px;
  z-index: -2;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 3%, transparent 3% 10%, rgba(0, 0, 0, 0.08) 10% 11%, transparent 11% 34%, rgba(255, 255, 255, 0.05) 34% 35%, transparent 35%),
    linear-gradient(180deg, var(--grass) 0 16px, var(--soil) 16px 49%, var(--soil-mid) 49% 68%, var(--soil-dark) 68% 100%);
  border-top: 1px solid rgba(47, 93, 42, 0.6);
}

.grass-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 16px;
  background:
    repeating-linear-gradient(90deg, transparent 0 18px, rgba(47, 93, 42, 0.2) 18px 20px),
    var(--grass);
}

.tunnel {
  position: absolute;
  border: 14px solid rgba(125, 84, 58, 0.76);
  background: #1f1714;
  box-shadow: inset 0 16px 36px rgba(0, 0, 0, 0.7);
}

.tunnel-main {
  left: max(16px, calc((100% - 1180px) / 2 + 100px));
  bottom: 42px;
  width: 520px;
  height: 108px;
  transform: rotate(-3deg);
}

.tunnel-side {
  right: max(16px, calc((100% - 1180px) / 2 + 130px));
  bottom: 110px;
  width: 310px;
  height: 78px;
  transform: rotate(8deg);
}

.coin,
.gem,
.buried-ticket {
  position: absolute;
  z-index: 1;
}

.coin {
  width: 36px;
  height: 36px;
  border: 5px solid #c8841e;
  background: var(--gold);
}

.coin-one {
  left: 18%;
  bottom: 190px;
}

.coin-two {
  right: 22%;
  bottom: 54px;
}

.gem {
  width: 34px;
  height: 34px;
  background: var(--blue);
  clip-path: polygon(50% 0, 100% 36%, 76% 100%, 24% 100%, 0 36%);
}

.gem-one {
  left: 48%;
  bottom: 70px;
}

.gem-two {
  right: 12%;
  bottom: 196px;
  background: #68b96a;
}

.buried-ticket {
  display: grid;
  place-items: center;
  width: 84px;
  height: 44px;
  border: 2px solid rgba(255, 246, 216, 0.44);
  background: #fff6d8;
  color: #50392a;
  font-size: 0.86rem;
  font-weight: 950;
}

.buried-one {
  left: 33%;
  bottom: 164px;
  transform: rotate(14deg);
}

.buried-two {
  right: 34%;
  bottom: 132px;
  transform: rotate(-9deg);
}

.search-panel {
  position: relative;
  z-index: 8;
  width: min(1180px, calc(100% - 32px));
  margin: -18px auto 0;
  padding: 24px;
  border: 2px solid rgba(32, 35, 38, 0.18);
  background:
    linear-gradient(90deg, rgba(50, 168, 221, 0.12), transparent 46%),
    rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
}

.panel-heading,
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.search-panel h2,
.price-map-section h2 {
  margin-bottom: 0;
  font-size: 3rem;
  line-height: 1;
  letter-spacing: 0;
}

.panel-stamp {
  display: inline-grid;
  place-items: center;
  width: 86px;
  height: 86px;
  flex: 0 0 auto;
  border: 4px solid #d54c32;
  color: #d54c32;
  font-size: 1rem;
  font-weight: 950;
  transform: rotate(10deg);
}

.widget-frame {
  position: relative;
  width: 100%;
  margin-top: 22px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(233, 249, 255, 0.72), rgba(255, 255, 255, 0.94)),
    var(--white);
  overflow: hidden;
}

.widget-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(50, 168, 221, 0.08), transparent 34%),
    repeating-linear-gradient(90deg, transparent 0 56px, rgba(32, 35, 38, 0.025) 56px 57px);
}

.widget-frame > * {
  position: relative;
  z-index: 1;
}

.widget-frame iframe {
  width: 100% !important;
  max-width: 100% !important;
  border: 0 !important;
}

.search-widget {
  min-height: 294px;
}

.price-map-section {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 82px 0 72px;
}

.compass {
  position: relative;
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  flex: 0 0 auto;
  border: 2px solid rgba(91, 60, 47, 0.24);
  background: var(--paper);
  color: #50392a;
  font-weight: 950;
  transform: rotate(8deg);
}

.compass::before,
.compass::after {
  content: "";
  position: absolute;
  background: #d54c32;
}

.compass::before {
  width: 8px;
  height: 58px;
  clip-path: polygon(50% 0, 100% 44%, 50% 100%, 0 44%);
}

.compass::after {
  width: 58px;
  height: 8px;
  clip-path: polygon(0 50%, 44% 0, 100% 50%, 44% 100%);
}

.compass span {
  position: relative;
  z-index: 2;
  margin-top: -58px;
}

.map-stage {
  position: relative;
  margin-top: 24px;
}

.map-ornaments {
  position: absolute;
  inset: -36px 18px auto;
  height: 150px;
  z-index: 2;
  pointer-events: none;
}

.dash {
  position: absolute;
  border-top: 4px dashed rgba(50, 168, 221, 0.42);
}

.dash-one {
  left: 4%;
  top: 44px;
  width: 210px;
  transform: rotate(7deg);
}

.dash-two {
  right: 22%;
  top: 18px;
  width: 170px;
  transform: rotate(-10deg);
}

.dash-three {
  right: 5%;
  top: 96px;
  width: 120px;
  transform: rotate(16deg);
}

.marker {
  position: absolute;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 3px solid var(--white);
  background: var(--gold);
  color: var(--ink);
  font-weight: 950;
  box-shadow: 5px 5px 0 rgba(50, 168, 221, 0.22);
}

.marker-one {
  left: 23%;
  top: 20px;
}

.marker-two {
  right: 16%;
  top: 74px;
}

.map-widget {
  min-height: 500px;
  box-shadow: 0 24px 60px rgba(31, 53, 64, 0.12);
}

.map-widget iframe {
  min-height: 500px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer span:first-child {
  color: var(--ink);
  font-weight: 950;
}

@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 390px;
    grid-template-areas:
      "copy character"
      "map character";
  }

  .treasure-map {
    grid-area: map;
    width: 230px;
    height: 250px;
    align-self: start;
  }

  .hero-copy {
    grid-area: copy;
  }

  .character-scene {
    grid-area: character;
  }

  h1 {
    font-size: 6rem;
  }
}

@media (max-width: 860px) {
  .site-header,
  .site-header.is-scrolled {
    width: 100%;
    padding: 10px 16px;
  }

  .brand-slogan {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 20px;
  }

  .route-arc,
  .plane-mark,
  .cloud-two {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "character"
      "map";
    gap: 10px;
  }

  .hero-copy {
    padding: 32px 0 4px;
  }

  h1 {
    font-size: 5rem;
  }

  .hero-lead {
    max-width: 620px;
    font-size: 1.08rem;
  }

  .character-scene {
    min-height: 350px;
  }

  .character-scene img {
    right: 50%;
    bottom: 46px;
    width: 360px;
    transform: translateX(50%) rotate(-4deg);
  }

  .hole {
    right: 50%;
    bottom: 10px;
    width: 248px;
    transform: translateX(50%) skewX(-15deg) rotate(-3deg);
  }

  .lantern,
  .shovel {
    display: none;
  }

  .ticket-led {
    left: calc(50% - 166px);
    top: 38px;
  }

  .ticket-ist {
    right: calc(50% - 166px);
    top: 160px;
  }

  .treasure-map {
    width: min(100%, 360px);
    height: 210px;
    justify-self: start;
    margin-top: -4px;
  }

  .soil-world {
    height: 30%;
    min-height: 260px;
  }

  .search-panel {
    margin-top: 8px;
  }

  .panel-heading,
  .section-heading {
    align-items: start;
  }

  .panel-stamp,
  .compass {
    display: none;
  }

  .search-panel h2,
  .price-map-section h2 {
    font-size: 2.35rem;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 66px;
    gap: 14px;
  }

  .brand-badge {
    width: 38px;
    height: 38px;
    border-width: 2px;
    box-shadow: 4px 4px 0 var(--blue);
  }

  .brand-name {
    font-size: 1rem;
  }

  .top-nav {
    gap: 2px;
    font-size: 0.84rem;
  }

  .top-nav a {
    padding: 8px 7px;
  }

  .hero-grid,
  .search-panel,
  .price-map-section,
  .site-footer {
    width: min(100% - 24px, 1180px);
  }

  h1 {
    font-size: 4rem;
  }

  .motto {
    font-size: 0.98rem;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .character-scene {
    min-height: 300px;
  }

  .character-scene img {
    width: 310px;
  }

  .found-ticket {
    width: 78px;
    height: 44px;
    font-size: 1rem;
  }

  .ticket-led {
    left: 18px;
    top: 32px;
  }

  .ticket-ist {
    right: 18px;
    top: 132px;
  }

  .treasure-map {
    display: none;
  }

  .soil-world {
    min-height: 250px;
  }

  .buried-ticket,
  .coin-two,
  .gem-two,
  .tunnel-side {
    display: none;
  }

  .tunnel-main {
    left: 34px;
    width: 320px;
  }

  .search-panel {
    padding: 18px 12px 12px;
  }

  .search-panel h2,
  .price-map-section h2 {
    font-size: 2.05rem;
  }

  .search-widget {
    min-height: 360px;
  }

  .price-map-section {
    padding: 56px 0 48px;
  }

  .map-ornaments {
    display: none;
  }

  .map-widget,
  .map-widget iframe {
    min-height: 440px;
  }

  .site-footer {
    display: grid;
    justify-items: start;
    padding-bottom: 28px;
  }
}
