@font-face { font-family: 'Lilita One'; src: url('assets/lilita.woff2') format('woff2'); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: Outfit; src: url('assets/outfit.woff2') format('woff2'); font-style: normal; font-weight: 400 900; font-display: swap; }
:root {
  --ink: #172841;
  --blue: #153794;
  --cream: #fff7e5;
  --yellow: #ffdc67;
  --pink: #ff84ac;
  --coral: #ff795e;
  --teal: #018279;
  --display: 'Lilita One', 'Arial Black', sans-serif;
  --body: Outfit, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font-family: var(--body); font-size: 1rem; background: var(--cream); }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #153794; outline-offset: 5px; }
.skip { position: fixed; left: 12px; top: 10px; z-index: 20; transform: translateY(-160%); background: #fff; padding: .75rem; border: 2px solid; }
.skip:focus { transform: none; }
.shell { width: min(1184px, calc(100% - 104px)); margin-inline: auto; }
.top { background: linear-gradient(105deg, #ffe47d, #ffca65); border-bottom: 2px solid var(--ink); }
.top-inner { min-height: 67px; display: flex; gap: 1.25rem; align-items: center; justify-content: space-between; }
.top-date { margin: 0; display: flex; gap: .7rem; align-items: center; font-weight: 900; letter-spacing: .09em; font-size: .9rem; }
.top-date span { color: #a82159; font-size: 1.75rem; line-height: 1; }
nav { display: flex; gap: clamp(.85rem, 2.5vw, 2.15rem); align-items: center; }
nav a { font-weight: 800; text-decoration: none; padding-block: .5rem; }
nav a:hover, footer a:hover { text-decoration: underline; text-underline-offset: .25em; }
.hero, .route, .weather { position: relative; isolation: isolate; overflow: hidden; }
.hero { background: linear-gradient(115deg, #ff8b63 0%, #ff805f 42%, #ffad70 100%); border-bottom: 2px solid var(--ink); }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -2; opacity: .66; background: radial-gradient(ellipse at 75% 35%, #ffc278 4%, transparent 50%), repeating-linear-gradient(-32deg, transparent 0 20px, #ffdc9b58 21px 22px); }
.hero::after { content: ''; z-index: -1; position: absolute; right: -12%; top: -36%; width: 60%; aspect-ratio: 1; border: 2px solid #ffe09388; border-radius: 50%; box-shadow: 0 0 0 22px #ffe09325, 0 0 0 44px #ffe09322, 0 0 0 66px #ffe09325, 0 0 0 88px #ffe09320; }
.hero > .shell, .route > .shell, .weather > .shell { position: relative; z-index: 1; }
.tropical-frame { position: absolute; z-index: 0; inset: 0; pointer-events: none; user-select: none; }
.tropical-frame img { position: absolute; display: block; height: auto; }
.hero-palms { width: clamp(23rem, 33vw, 32rem); left: -11.5rem; bottom: -4.4rem; transform: rotate(-5deg); }
.hero-hibiscus { width: clamp(17rem, 30vw, 28rem); right: -8rem; bottom: -7rem; transform: rotate(8deg); }
.route-hibiscus { width: clamp(13rem, 20vw, 21rem); left: -8.5rem; bottom: -9rem; transform: scaleX(-1) rotate(15deg); }
.weather-palms { width: clamp(18rem, 27vw, 28rem); right: -8.75rem; bottom: -12.5rem; transform: scaleX(-1) rotate(8deg); opacity: .57; }
.hero-inner { min-height: 650px; display: grid; grid-template-columns: 1.07fr .93fr; align-items: center; gap: clamp(1.8rem, 4.2vw, 4.5rem); padding-block: 4.4rem 4rem; }
.hero-copy { min-width: 0; position: relative; z-index: 3; }
.ribbon { margin: 0 0 1.5rem; padding: .53rem 1rem .57rem; color: var(--ink); background: var(--yellow); width: fit-content; border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); border-radius: 6px; font-size: .86rem; font-weight: 900; letter-spacing: .11em; transform: rotate(-4deg); }
h1, h2, .clock b, .route-metrics dd, .temps strong { font-family: var(--display); font-weight: 400; }
h1 { color: #fff1a2; letter-spacing: -.025em; font-size: clamp(3.75rem, 7.45vw, 7.6rem); line-height: .8; margin: 0; transform: rotate(-4deg); -webkit-text-stroke: 1.6px var(--ink); paint-order: stroke fill; text-shadow: 2px 4px var(--blue), 4px 8px var(--blue); }
h1 span { display: block; white-space: nowrap; }
h1 .floripa { margin-left: .32em; line-height: 1; color: var(--cream); font-size: .9em; }
h1 strong { color: #ffc9e1; font-weight: inherit; }
.hero-sub { margin: 1.6rem 0 1.6rem; font-weight: 800; font-size: clamp(1rem, 2vw, 1.25rem); }
.hero-sub span { padding-inline: .25em; color: #8b1550; }
.countdown { width: min(100%, 460px); padding: 1rem 1.15rem .85rem; border-radius: 17px; background: var(--cream); border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); }
#timer-label { margin: 0 0 .65rem; font-size: .81rem; letter-spacing: .095em; font-weight: 900; }
.clock { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: .5rem; }
.clock > div { display: grid; justify-items: center; gap: .15rem; padding: .5rem .2rem .45rem; border: 1.5px solid; border-radius: 10px; background: #ffd566; }
.clock > div:nth-child(2) { background: #ffafca; }
.clock > div:nth-child(3) { background: #a9eee0; }
.clock > div:nth-child(4) { background: #ffac82; }
.clock b { font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1; font-variant-numeric: tabular-nums; }
.clock span { font-size: .82rem; font-weight: 800; }
.clock-note { margin: .65rem 0 0; font-size: .8rem; font-weight: 600; }
.hero-art { position: relative; min-width: 0; padding-bottom: 3rem; align-self: center; }
.postcard { position: relative; z-index: 1; margin: 0; padding: .7rem; background: var(--cream); border: 2px solid var(--ink); border-radius: 13px; transform: rotate(6deg); box-shadow: 11px 12px 0 #173244; }
.postcard img { display: block; width: 100%; height: auto; aspect-ratio: 1.22; object-fit: cover; object-position: center 51%; border-radius: 5px; background: #77d7c5; }
.postcard figcaption { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .25rem .6rem; padding: .68rem .35rem .15rem; }
.postcard figcaption span { font-family: var(--display); font-size: clamp(1.3rem, 2.9vw, 2.35rem); line-height: 1; color: var(--blue); }
.postcard figcaption small { letter-spacing: .08em; font-size: .73rem; font-weight: 900; }
.postcard-controls { display: flex; gap: .5rem; position: absolute; left: 50%; bottom: -.4rem; z-index: 4; transform: translateX(-40%) rotate(6deg); }
.postcard-controls button { border: 1.5px solid var(--ink); border-radius: 99px; padding: .4rem .8rem; font-size: .86rem; color: var(--ink); background: var(--cream); font-weight: 800; cursor: pointer; box-shadow: 2px 2px 0 var(--ink); }
.postcard-controls button[aria-pressed='true'], .postcard-controls button:hover { background: var(--yellow); }
.sun-sticker, .flower-sticker { position: absolute; z-index: 2; line-height: 1; }
.sun-sticker { pointer-events: none; }
.sun-sticker { top: -2.2rem; right: -1.9rem; transform: rotate(-13deg); color: #ffda58; font-size: clamp(4.8rem, 10vw, 8.7rem); -webkit-text-stroke: 2px var(--ink); text-shadow: 3px 4px var(--ink); }
.flower-sticker { appearance: none; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #ff80bd; font-size: clamp(4.5rem, 9vw, 7.75rem); right: -2.5rem; bottom: 5.65rem; transform: rotate(15deg); -webkit-text-stroke: 2px var(--ink); text-shadow: 3px 4px var(--ink); cursor: pointer; }
.flower-sticker:hover, .flower-sticker:focus-visible { transform: rotate(7deg) scale(1.05); }
body:has(.frango-dialog[open]) { overflow: hidden; }
.frango-dialog { width: min(28rem, calc(100% - 2.5rem)); max-height: calc(100% - 2.5rem); margin: auto; padding: 0; border: 2px solid var(--ink); border-radius: 20px; background: var(--cream); color: var(--ink); box-shadow: 7px 7px 0 var(--ink); }
.frango-dialog::backdrop { background: #172841aa; }
.frango-reveal { display: grid; justify-items: center; text-align: center; padding: clamp(1rem, 4vw, 2rem); background: radial-gradient(ellipse at 50% 38%, #ffdb6980 5%, transparent 65%); }
.frango-reveal img { display: block; width: min(100%, 17.5rem, 46vh); height: auto; margin-bottom: .75rem; border: 2px solid var(--ink); border-radius: 10px; box-shadow: 3px 3px 0 var(--ink); }
.frango-reveal h2 { font-size: clamp(2.25rem, 8vw, 3.3rem); }
.frango-reveal p { margin: .7rem 0 1.1rem; font-size: 1.05rem; font-weight: 700; }
.frango-reveal button { border: 2px solid var(--ink); border-radius: 8px; background: var(--yellow); color: var(--ink); padding: .55rem .9rem; font-weight: 800; box-shadow: 3px 3px 0 var(--ink); cursor: pointer; }
.frango-reveal button:hover { background: #ffc9e1; }
@media (prefers-reduced-motion: no-preference) {
  .flower-sticker { transition: transform .18s ease-out; }
  .frango-dialog[open] img { animation: frango-surf .36s cubic-bezier(.18,.75,.28,1.25) both; }
  @keyframes frango-surf {
    from { transform: translate(-1.4rem, .7rem) rotate(-12deg) scale(.85); opacity: .25; }
    to { transform: none; opacity: 1; }
  }
}
.route { padding-block: clamp(3.2rem, 7vw, 6.6rem); background: radial-gradient(ellipse at 95% 105%, #ffe5ae, transparent 58%), var(--cream); }
.route-grid { display: grid; grid-template-columns: .79fr 1.21fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.eyebrow { margin: 0 0 .7rem; color: #70254b; font-size: .87rem; font-weight: 900; letter-spacing: .12em; }
h2 { font-size: clamp(2.9rem, 6vw, 5.6rem); line-height: .91; letter-spacing: -.025em; margin: 0; color: var(--blue); }
h2 em { font-style: normal; color: #a72c60; }
.stops { margin: 1.5rem 0 1.35rem; padding: 0; list-style: none; }
.stops li { position: relative; display: grid; grid-template-columns: 1.1rem 1fr; gap: .8rem; }
.stops li:not(:last-child) { padding-bottom: 1.12rem; }
.stops li:first-child::before { content: ''; position: absolute; left: .48rem; top: 1rem; height: calc(100% - .6rem); border-left: 2px dashed #7b6877; }
.stop-dot { position: relative; display: block; width: 1rem; height: 1rem; margin-top: .2rem; border-radius: 50%; border: 2px solid var(--ink); }
.stop-dot.start { background: #90e3bf; }
.stop-dot.finish { background: #ff8baf; }
.stops strong, .stops small, .stops div span { display: block; }
.stops small { font-weight: 900; font-size: .73rem; letter-spacing: .11em; }
.stops strong { font-size: 1.18rem; margin: .08rem 0; }
.stops div span, .route-note { color: #43536a; font-size: .91rem; }
.route-metrics { display: grid; grid-template-columns: .8fr 1.2fr; max-width: 27rem; gap: .6rem; margin: 0 0 1.25rem; }
.route-metrics div { border: 1.5px solid var(--ink); border-radius: 12px; background: #ffe49b; padding: .66rem .75rem .7rem; }
.route-metrics div + div { background: #baeade; }
.route-metrics dt { font-size: .82rem; font-weight: 800; }
.route-metrics dd { font-size: clamp(1.37rem, 2.4vw, 2rem); margin: .15rem 0 0; line-height: 1; white-space: nowrap; }
.map-link { display: inline-block; text-decoration: none; border-radius: 8px; border: 2px solid var(--ink); background: var(--blue); color: #fff; padding: .63rem .9rem; font-weight: 800; box-shadow: 3px 3px 0 var(--ink); }
.map-link:hover { background: #3156ba; }
.route-note { margin: .75rem 0 0; }
.map-card { position: relative; margin: 0 5px 5px 0; background: #b6eae3; border: 2px solid var(--ink); border-radius: 18px; overflow: hidden; box-shadow: 7px 7px 0 var(--ink); }
.map-card canvas { width: 100%; height: auto; display: block; aspect-ratio: 760/470; }
.map-controls { position: absolute; display: grid; gap: .3rem; top: .65rem; right: .65rem; }
.map-controls button { background: var(--cream); color: var(--ink); width: 2.35rem; height: 2.35rem; border: 1.5px solid; border-radius: 8px; box-shadow: 2px 2px; cursor: pointer; font-size: 1.35rem; line-height: 1; }
.map-controls button:disabled { opacity: .45; cursor: default; }
.map-controls button:enabled:hover { background: var(--yellow); }
.map-card figcaption { display: flex; gap: .25rem .7rem; flex-wrap: wrap; justify-content: space-between; border-top: 1.5px solid var(--ink); background: #e7f6e9; padding: .75rem .85rem; font-size: .81rem; font-weight: 700; }
.weather { background: radial-gradient(ellipse at 93% 105%, #63d4c3, transparent 65%), #a8e9dc; padding-block: clamp(3rem, 6vw, 5.5rem); border-block: 2px solid var(--ink); }
.weather-heading { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.weather-heading h2 em { color: #832249; }
.weather-sun { color: #ffda60; font-size: clamp(3rem, 9vw, 7rem); line-height: .7; -webkit-text-stroke: 2px var(--ink); transform: rotate(14deg); text-shadow: 3px 3px var(--ink); }
#weather-intro { font-weight: 600; margin: .85rem 0 1.4rem; }
.weather-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .75rem; margin: 0; padding: 0; list-style: none; }
.weather-grid li { display: grid; grid-template-rows: auto auto auto 1fr auto auto; justify-items: center; align-items: start; text-align: center; padding: 1.05rem .45rem .9rem; background: var(--cream); border: 1.5px solid var(--ink); border-radius: 15px; box-shadow: 3px 3px 0 var(--ink); }
.weather-grid li:nth-child(3n+2) { background: #ffe298; }
.weather-grid li:nth-child(3n+3) { background: #ffd2e2; }
.weekday { font-weight: 900; letter-spacing: .09em; font-size: .79rem; }
.weather-grid time { font-weight: 800; font-size: 1.07rem; }
.weather-icon { font-size: clamp(2rem, 4.7vw, 3.5rem); line-height: 1.25; min-height: calc(1.25em + .65rem); padding: .35rem 0 .3rem; }
.condition { font-weight: 800; font-size: .9rem; margin: .08rem 0 .35rem; }
.temps { margin: 0; font-size: 1rem; font-weight: 700; }
.temps strong { font-size: 1.8rem; color: var(--blue); }
.temps span { color: #43536a; }
.rain { margin: .12rem 0 0; font-size: .79rem; font-weight: 700; }
.forecast-type { margin-top: .6rem; padding: .15rem .45rem; color: #632254; background: #fff6ff9c; border: 1px solid #8b5582; border-radius: 5px; font-size: .75rem; font-weight: 800; }
.weather-source { margin: 1.3rem 0 0; font-size: .87rem; }
.weather-source a, .map-card figcaption a { text-underline-offset: .15em; font-weight: 800; }
footer { background: var(--yellow); padding-block: 1.5rem; }
.footer-inner { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .9rem 1.2rem; }
.footer-inner > p { margin: 0; font-family: var(--display); color: var(--blue); font-size: 1.45rem; }
.footer-inner > p span { color: #a72c60; }
.footer-inner > a, footer details { font-size: .91rem; font-weight: 700; }
footer summary { cursor: pointer; }
footer details p { margin: .5rem 0 0; font-weight: 500; }
@media (min-width: 1050px) {
  .hero-inner { padding-inline-start: clamp(1.5rem, 4.6vw, 5.2rem); }
  .hero-palms { width: clamp(20rem, 28vw, 30rem); left: -1.8rem; bottom: -2.65rem; mask-image: linear-gradient(to right, #000 42%, #0009 66%, transparent 96%); }
  .hero-sub { width: fit-content; margin-inline-start: -.35em; padding-inline: .35em; border-radius: .25em; background: linear-gradient(to right, #ff976d 7%, #ff976dc4 28%, transparent 58%); }
}
@media (max-width: 1000px) {
  .shell { width: calc(100% - 72px); }
  .hero-inner { min-height: 580px; }
  .hero-palms { left: -13rem; }
  .hero-hibiscus { right: -7rem; bottom: -6rem; }
  .flower-sticker { right: -1.65rem; }
  .sun-sticker { right: -1.15rem; }
}
@media (max-width: 720px) {
  .shell { width: calc(100% - 40px); }
  .top-inner { min-height: 58px; }
  .top-date { letter-spacing: .025em; font-size: .82rem; gap: .3rem; }
  .top-date span { font-size: 1.3rem; }
  nav { font-size: .88rem; gap: .8rem; }
  .hero-inner { display: block; padding-block: 3.3rem 2.5rem; }
  .hero-palms { width: clamp(17rem, 62vw, 21rem); left: auto; right: -2.85rem; top: -4.35rem; bottom: auto; transform: scaleX(-1) rotate(-4deg); mask-image: linear-gradient(to right, #000 40%, #0009 53%, transparent 76%); }
  .hero-hibiscus { width: clamp(13.5rem, 57vw, 19rem); left: -5.6rem; right: auto; bottom: -6.1rem; transform: scaleX(-1) rotate(8deg); }
  .route-hibiscus { width: 11.5rem; left: auto; bottom: auto; top: -4rem; right: -5.4rem; transform: rotate(22deg); }
  .weather-palms { width: 15rem; right: -10.35rem; bottom: -10.8rem; }
  h1 { font-size: clamp(3.55rem, 12.1vw, 6.8rem); }
  .hero-sub { margin: 1.35rem 0; }
  .hero-art { margin: 2.55rem auto 0; width: min(calc(100% - 12px), 460px); padding-bottom: 2.6rem; }
  .postcard { transform: rotate(4deg); box-shadow: 6px 7px 0 #173244; padding: .45rem; }
  .postcard img { aspect-ratio: 1.43; }
  .postcard-controls { transform: translateX(-50%) rotate(4deg); }
  .sun-sticker { top: -1.3rem; right: -.8rem; }
  .flower-sticker { right: -.8rem; bottom: 5rem; }
  .route-grid { grid-template-columns: 1fr; }
  .map-card { max-width: 620px; }
  .weather-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 370px) {
  .shell { width: calc(100% - 28px); }
  .top-inner { gap: .3rem; }
  nav { gap: .55rem; }
  h1 { font-size: clamp(3rem, 12.4vw, 3.6rem); }
  .weather-grid { gap: .45rem; }
  .weather-grid li { padding-inline: .25rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
