@font-face {
  font-family: Outfit;
  src: url("/assets/fonts/outfit-regular.ttf") format("truetype");
  font-weight: 400 600;
  font-display: swap;
}
@font-face {
  font-family: Outfit;
  src: url("/assets/fonts/outfit-bold.ttf") format("truetype");
  font-weight: 700 900;
  font-display: swap;
}
:root {
  --forest: #123e30;
  --forest-dark: #103528;
  --ink: #102721;
  --cream: #fffaf0;
  --yellow: #ffdb43;
  --light-green: #e4f3e9;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: Outfit, Arial, sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.skip-link { position: absolute; z-index: 20; top: -70px; left: 12px; padding: 10px 14px; background: white; }
.skip-link:focus { top: 12px; }
::selection { background: var(--yellow); color: var(--ink); }

.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 29px; font-weight: 800; letter-spacing: -.065em; text-decoration: none; white-space: nowrap; }
.brand img { width: 58px; height: 58px; border-radius: 13px; }
.scribble { font-family: "Bradley Hand", "Segoe Print", "Comic Sans MS", cursive; font-style: italic; font-weight: 400; letter-spacing: .01em; }
.scribble span { color: var(--yellow); font-size: 1.6em; line-height: .4; }

.hero { position: relative; height: 690px; overflow: hidden; background: #493723; isolation: isolate; }
.hero-shelf { position: absolute; inset: 0; background: url("/assets/redesign/hero-shelf.png") 50% 51% / cover no-repeat; }
.hero-panel {
  position: absolute; z-index: 2; inset: 0 auto 0 0; width: 31.5%; max-width: 365px;
  padding: 39px 24px 30px clamp(29px, 3.7vw, 54px);
  display: flex; flex-direction: column; align-items: flex-start;
  color: white; background: var(--forest);
  border-radius: 0 30% 28% 0 / 0 50% 50% 0;
}
.hero-brand { color: white; font-size: clamp(23px, 2.8vw, 30px); }
.hero-note { margin: 28px 0 23px 18px; color: #87e2bf; font-size: 17px; line-height: 1.2; transform: rotate(-8deg); }
.hero h1 { font-size: clamp(39px, 4.75vw, 58px); line-height: .99; letter-spacing: -.065em; font-weight: 800; margin: 8px 0 32px; }
.hero h1 span { display: inline-block; position: relative; white-space: nowrap; }
.hero h1 span::after, .clues-heading h2 span::after, .travel-copy h2 span::after {
  content: ""; position: absolute; height: 6px; background: var(--yellow);
  border-radius: 50%; left: 0; right: 0; bottom: -11px; transform: rotate(-2deg);
}
.hero-description { font-size: clamp(17px, 1.95vw, 23px); line-height: 1.24; margin: 0 0 25px; }
.store-badges { display: flex; flex-direction: column; gap: 8px; }
.store-badge {
  flex: none; display: flex; align-items: center; justify-content: flex-start; gap: 10px;
  width: 165px; height: 51px; padding: 5px 10px; border: 1px solid #dedede;
  border-radius: 8px; background: #080909; color: white; text-decoration: none;
}
a.store-badge { transition: transform .2s; }
a.store-badge:hover { transform: translateY(-2px); }
.badge-copy { display: flex; flex-direction: column; min-width: 0; line-height: 1.04; }
.badge-copy small { font: 400 9px/1.1 Arial, sans-serif; white-space: nowrap; }
.badge-copy strong { font: 700 18px/1.1 Arial, sans-serif; white-space: nowrap; letter-spacing: -.035em; }
.apple-mark { width: 28px; height: 28px; flex: none; position: relative; background: white; border-radius: 44% 45% 41% 42%; transform: scale(.78); }
.apple-mark::before { content: ""; position: absolute; top: -8px; right: 0; width: 11px; height: 6px; background: white; border-radius: 100% 0; transform: rotate(-34deg); }
.apple-mark::after { content: ""; position: absolute; top: 3px; right: -6px; width: 12px; height: 13px; background: #080909; border-radius: 50%; }
.play-mark { width: 29px; height: 31px; flex: none; background: conic-gradient(from 80deg at 30% 50%, #ffce34 0 25%, #ec443c 25% 48%, #4296f5 48% 70%, #31bb69 70%); clip-path: polygon(0 0,100% 50%,0 100%); }
.hero-signoff { margin: auto 0 0 16px; color: #89dfba; font-size: 16px; line-height: 1.1; transform: rotate(-6deg); }
.scan-corners { position: absolute; z-index: 1; left: 42.2%; top: 133px; width: 20%; height: 390px; pointer-events: none; }
.scan-corners i { position: absolute; width: 39px; height: 39px; border: 7px solid var(--yellow); border-radius: 4px; }
.scan-corners i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.scan-corners i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.scan-corners i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.scan-corners i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.hero-phone { position: absolute; z-index: 3; top: 72px; right: clamp(48px, 8.5vw, 125px); width: clamp(230px, 24vw, 287px); margin: 0; transform: perspective(1100px) rotateY(-11deg) rotateX(3deg) rotateZ(4deg); transform-origin: 50% 52%; transform-style: preserve-3d; filter: drop-shadow(15px 19px 15px #0009); }
.phone-frame { width: 100%; padding: 7px; border: 5px solid #151717; border-radius: 42px; background: linear-gradient(100deg, #100f0f 0%, #56514a 8%, #0d0e0e 13%, #111 88%, #8b8175 98%, #1b1b1b 100%); box-shadow: inset 0 0 0 2px #b2aaa2, 2px 2px 1px #d7c6b275, 0 8px 28px #0003; overflow: hidden; }
.phone-frame img { width: 100%; height: auto; aspect-ratio: 1320 / 2868; object-fit: contain; border-radius: 29px; background: white; }
.image-note { position: absolute; z-index: 3; right: 12px; bottom: 5px; margin: 0; color: white; text-shadow: 0 1px 3px #000; font-size: 10px; }

.section-shell { padding: 24px clamp(32px, 4vw, 66px) 32px; }
.clues { background: var(--cream); }
.clues-heading { display: grid; grid-template-columns: 1.25fr 1.3fr auto; align-items: center; gap: 25px; margin-bottom: 20px; }
.clues-heading h2, .result-copy h2, .travel-copy h2 { font-weight: 800; letter-spacing: -.058em; line-height: 1.02; margin: 0; }
.clues-heading h2 { font-size: clamp(38px, 4.6vw, 56px); }
.clues-heading h2 span, .travel-copy h2 span { display: inline-block; position: relative; white-space: nowrap; }
.clues-heading > p:not(.scribble) { max-width: 420px; margin: 6px 0 0; font-size: clamp(15px, 1.55vw, 19px); line-height: 1.35; }
.clues-heading .scribble { margin: 0; font-size: 16px; white-space: nowrap; transform: rotate(-8deg); }
.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.story-card img { width: 100%; height: clamp(210px, 22vw, 290px); object-fit: cover; border-radius: 4px; }
.story-card h3 { font-size: clamp(18px, 1.85vw, 23px); letter-spacing: -.035em; margin: 7px 0 2px; line-height: 1.15; }
.story-card p { font-size: clamp(14px, 1.5vw, 18px); line-height: 1.3; margin: 0; max-width: 320px; }

.result-section { position: relative; display: grid; grid-template-columns: minmax(300px, .82fr) 1.18fr; gap: clamp(20px, 5vw, 90px); align-items: center; min-height: 810px; padding: 60px clamp(35px, 7vw, 105px); background: linear-gradient(120deg, #e1f0e6, #f9f7e9 68%, #e5f2e9); overflow: hidden; }
.result-section::before { content: ""; position: absolute; width: 55%; height: 150%; left: -15%; top: -24%; background: radial-gradient(ellipse at center, #b5ddc5 0, #d9ecdf99 40%, transparent 68%); pointer-events: none; }
.result-section::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(to bottom, var(--cream), rgba(255, 250, 240, 0)) top / 100% 140px no-repeat,
    linear-gradient(to top, var(--cream), rgba(255, 250, 240, 0)) bottom / 100% 140px no-repeat;
}
.result-phone { position: relative; z-index: 1; width: min(100%, 330px); margin: auto; transform: perspective(1050px) rotateY(12deg) rotateX(-3deg) rotateZ(-5deg); transform-origin: 50% 50%; transform-style: preserve-3d; filter: drop-shadow(18px 23px 15px #1436275c); }
.result-copy { position: relative; z-index: 1; max-width: 570px; }
.eyebrow { color: #247352; font-size: 12px; font-weight: 800; letter-spacing: .17em; margin: 0 0 18px; }
.result-copy h2 { font-size: clamp(40px, 5vw, 66px); }
.result-copy h2 em { color: #207c59; font-style: normal; }
.result-copy > p:not(.eyebrow) { font-size: clamp(17px, 1.8vw, 20px); line-height: 1.4; margin: 22px 0 24px; }
.result-detail { display: grid; grid-template-columns: 44px 1fr; padding: 12px 0; border-top: 1px solid #a7c8b1; }
.result-detail:last-child { border-bottom: 1px solid #a7c8b1; }
.result-detail > span { color: #168055; font-weight: 800; }
.result-detail strong { font-size: 18px; }
.result-detail p { margin: 4px 0 0; font-size: 15px; line-height: 1.32; }

.travel-section { position: relative; min-height: 430px; background: var(--cream); overflow: hidden; isolation: isolate; }
.travel-image { position: absolute; inset: 0 0 0 34%; z-index: -2; }
.travel-image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 51%; }
.travel-copy { position: absolute; z-index: 2; inset: 0 auto 0 0; width: 31%; padding: 42px 4px 42px clamp(34px, 4vw, 65px); background: var(--cream); display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; }
.travel-wave { position: absolute; z-index: 1; left: 30%; top: 0; height: 100%; width: 160px; fill: var(--cream); }
.travel-copy h2 { font-size: clamp(38px, 4.2vw, 58px); }
.travel-copy h2 span { white-space: normal; }
.travel-copy > p { max-width: 270px; font-size: clamp(16px, 1.6vw, 20px); line-height: 1.4; margin: 26px 0 29px; }
.yellow-button { display: inline-flex; align-items: center; gap: 25px; background: var(--yellow); color: var(--ink); border-radius: 40px; text-decoration: none; font-size: 18px; font-weight: 800; padding: 16px 21px; white-space: nowrap; transition: transform .2s; }
.yellow-button:hover { transform: translateY(-2px); }
.yellow-button span { font-size: 23px; line-height: .7; }
.travel-overlay { position: absolute; z-index: 3; inset: 0 0 0 43%; pointer-events: none; }
.travel-annotation { position: absolute; top: 19px; left: 32%; margin: 0; padding: 5px 13px; border-radius: 40px; background: #fffaf0d9; font-size: 17px; line-height: 1.12; text-align: center; transform: rotate(-6deg); }
.country-tags { position: absolute; left: 8%; right: 10%; bottom: 46px; display: flex; justify-content: space-around; gap: 15px; }
.country-tags span { display: block; min-width: 138px; padding: 11px 13px; background: #fffaf0ed; border-radius: 10px; box-shadow: 0 4px 17px #33210d3d; font-size: 14px; font-weight: 800; text-align: center; }
.travel-context { position: absolute; left: 23%; right: 15%; bottom: 7px; color: white; font-size: 12px; text-align: center; text-shadow: 0 1px 4px #000; }

.site-footer { padding: 35px clamp(24px, 4vw, 65px) 20px; background: var(--forest-dark); color: #fff; }
.footer-main { display: flex; justify-content: space-between; gap: 35px; }
.footer-main .brand { font-size: 25px; }
.footer-main .brand img { width: 42px; height: 42px; border-radius: 9px; }
.footer-main p { margin: 8px 0 0; color: #d0e8dc; }
.footer-main nav { display: grid; grid-template-columns: repeat(3, max-content); gap: 10px 25px; align-content: start; }
.footer-main nav a { font-size: 14px; text-decoration: none; }
.footer-main nav a:hover { text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid #ffffff40; padding-top: 14px; margin-top: 31px; color: #cde4d7; font-size: 11px; }

@media (min-width: 1450px) {
  .hero { height: min(770px, 56vw); }
  .hero-panel { width: 29%; max-width: 420px; }
  .hero-phone { width: 290px; }
  .scan-corners { top: 19%; height: 52%; }
}
@media (max-width: 900px) and (min-width: 641px) {
  .hero { height: 640px; }
  .hero-panel { width: 36%; }
  .hero h1 { font-size: 43px; }
  .hero-phone { width: 230px; right: 54px; top: 78px; }
  .clues-heading { grid-template-columns: 1fr 1fr; }
  .clues-heading .scribble { display: none; }
  .result-section { padding: 55px 30px; grid-template-columns: minmax(280px, .83fr) 1.17fr; }
  .result-phone { margin-left: 24px; margin-right: auto; }
  .travel-copy { width: 38%; }
  .travel-wave { left: 37%; }
  .travel-image { left: 36%; }
  .travel-overlay { left: 49%; }
  .travel-copy h2 { font-size: 38px; }
  .yellow-button { font-size: 15px; }
}
@media (max-width: 640px) {
  .hero { height: 1015px; }
  .hero-shelf { background-position: 52% 59%; }
  .hero-panel { inset: 0 0 auto 0; width: 100%; max-width: none; height: 480px; padding: 24px 22px 33px; border-radius: 0 0 45% 10% / 0 0 8% 2%; }
  .hero-brand { font-size: 26px; }
  .brand img { width: 46px; height: 46px; border-radius: 10px; }
  .hero-note { margin: 25px 0 12px 7px; font-size: 15px; }
  .hero h1 { font-size: clamp(49px, 13.2vw, 65px); margin: 13px 0 25px; }
  .hero-description { font-size: 19px; margin-bottom: 20px; }
  .store-badges { width: 100%; flex-direction: row; gap: 10px; }
  .store-badge { width: min(50%, 165px); height: 52px; }
  .badge-copy strong { font-size: 16px; }
  .badge-copy small { font-size: 8px; }
  .apple-mark { margin-left: -3px; }
  .play-mark { width: 24px; height: 28px; }
  .hero-signoff { display: none; }
  .scan-corners { top: 518px; left: 18%; width: 43%; height: 245px; }
  .scan-corners i { width: 28px; height: 28px; border-width: 5px; }
  .hero-phone { top: 505px; right: 21px; width: min(54vw, 225px); transform: perspective(850px) rotateY(-7deg) rotateX(2deg) rotateZ(3deg); }
  .image-note { bottom: 5px; left: 10px; right: auto; }
  .section-shell { padding: 41px 20px 38px; }
  .clues-heading { display: block; margin-bottom: 22px; }
  .clues-heading h2 { font-size: clamp(37px, 10vw, 53px); }
  .clues-heading > p:not(.scribble) { font-size: 17px; margin-top: 22px; }
  .clues-heading .scribble { display: none; }
  .story-grid { grid-template-columns: 1fr; gap: 26px; }
  .story-card img { height: min(65vw, 290px); }
  .story-card h3 { font-size: 23px; margin-top: 9px; }
  .story-card p { font-size: 16px; }
  .result-section { display: flex; flex-direction: column; gap: 28px; padding: 43px 23px 51px; }
  .result-phone { width: min(72vw, 280px); transform: perspective(850px) rotateY(8deg) rotateX(-2deg) rotateZ(-3deg); }
  .result-copy h2 { font-size: clamp(40px, 10vw, 52px); }
  .result-copy > p:not(.eyebrow) { font-size: 17px; }
  .result-detail strong { font-size: 17px; }
  .result-detail p { font-size: 14px; }
  .travel-section { min-height: 705px; background: var(--cream); }
  .travel-image { inset: 280px 0 0; }
  .travel-image img { object-position: 47% center; }
  .travel-wave { display: none; }
  .travel-copy { inset: 0 0 auto; width: 100%; height: 340px; padding: 45px 23px 18px; background: var(--cream); border-radius: 0 0 48% 5% / 0 0 12% 2%; }
  .travel-copy h2 { font-size: clamp(39px, 10vw, 54px); }
  .travel-copy > p { max-width: 340px; font-size: 17px; margin: 23px 0 24px; }
  .yellow-button { font-size: 16px; padding: 13px 19px; }
  .travel-overlay { inset: 340px 0 0; }
  .travel-annotation { top: 12px; left: 32%; font-size: 13px; }
  .country-tags { bottom: 50px; left: 5%; right: 5%; gap: 8px; }
  .country-tags span { min-width: 0; flex: 1; font-size: 12px; }
  .travel-context { left: 10%; right: 10%; bottom: 13px; }
  .site-footer { padding: 33px 22px 20px; }
  .footer-main { flex-direction: column; gap: 25px; }
  .footer-main nav { grid-template-columns: repeat(2, max-content); gap: 13px 25px; }
  .footer-bottom { flex-direction: column; gap: 5px; margin-top: 28px; }
}
@media (max-width: 370px) {
  .hero { height: 960px; }
  .hero-panel { height: 475px; padding-inline: 17px; }
  .hero h1 { font-size: 45px; }
  .hero-phone { top: 503px; width: 53vw; right: 17px; }
  .store-badges { gap: 7px; }
  .store-badge { padding-inline: 6px; gap: 6px; }
  .travel-copy h2 { font-size: 37px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
