:root {
  color-scheme: dark;
  --night: #10161f;
  --cream: #f5ecda;
  --gold: #d9b77c;
  --muted: #a6a6ac;
  --line: rgba(217, 183, 124, .2);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { min-width: 320px; background: var(--night); scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; color: var(--cream); font-family: var(--sans); -webkit-font-smoothing: antialiased; background: radial-gradient(ellipse at 84% 18%, #25303966, transparent 42%), radial-gradient(ellipse at 8% 67%, #50312433, transparent 43%), var(--night); }
body.dialog-open { overflow: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
em { color: var(--gold); font-weight: 400; }
img { display: block; max-width: 100%; }
::selection { color: var(--night); background: var(--gold); }
.skip-link { position: fixed; z-index: 50; left: 20px; top: 10px; padding: 14px; color: var(--night); background: var(--cream); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.sky { position: absolute; inset: 0; pointer-events: none; overflow: hidden; min-height: 100%; background-image: radial-gradient(1px 1px at 21px 37px, #eee5d085 90%, transparent), radial-gradient(1px 1px at 164px 114px, #eee5d059 90%, transparent), radial-gradient(1px 1px at 106px 64px, #eee5d036 90%, transparent), radial-gradient(1.5px 1.5px at 50px 291px, #d9b77c66 90%, transparent); background-size: 277px 319px, 419px 367px, 179px 197px, 617px 539px; mask-image: linear-gradient(#000, #0008 65%, transparent); }
.site-shell { position: relative; max-width: 1200px; margin: auto; padding: 0 44px; }
.site-header { height: 99px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--serif); font-size: 32px; font-weight: 600; letter-spacing: -.9px; }
.brand-dot { color: var(--gold); }
.header-caption { color: #a9aaa9; font-size: 11px; letter-spacing: .02em; }
.today { display: flex; align-items: center; gap: 9px; color: #d7cbb5; font-size: 11px; white-space: nowrap; }
.today > span:first-child { color: var(--gold); font-size: 16px; }
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 494px; gap: 18px; padding: 26px 0 22px; }
.hero-copy { position: relative; z-index: 1; padding: 12px 0; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--gold); font-size: 10px; font-weight: 600; line-height: 1.5; text-transform: uppercase; letter-spacing: .17em; }
.tiny-orbit { width: 15px; height: 15px; display: inline-block; border: 1px solid var(--gold); border-radius: 50%; position: relative; }
.tiny-orbit::after { content: ""; position: absolute; width: 19px; height: 6px; top: 3px; left: -3px; border: 1px solid var(--gold); border-radius: 50%; transform: rotate(-35deg); }
h1 { position: relative; margin: 21px 0 19px; font-size: clamp(60px, 6.5vw, 86px); line-height: .99; letter-spacing: -.035em; }
h1 em { font-size: 1.07em; }
.title-star { display: inline-block; vertical-align: top; margin: 3px 0 0 16px; color: var(--gold); font-size: 43px; font-family: Georgia, serif; font-style: normal; }
.intro { color: #afb0b3; font-size: 13px; line-height: 1.9; }
.hero-note { display: flex; align-items: center; gap: 7px; margin-top: 15px; color: #96969e; font-size: 10px; }
.hero-note span { color: var(--gold); }
.coffee-universe { position: relative; width: 100%; max-width: 520px; aspect-ratio: 520 / 480; justify-self: end; }
.universe-halo { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, #c1965826 0, #b0865320 25%, #96764b08 59%, transparent 70%); }
.celestial-map { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-ring { stroke: #d9b77c33; stroke-width: .8px; }
.map-ring--dashed { stroke-dasharray: 1 12; stroke-width: 3px; stroke: #d9b77c57; }
.map-orbit { stroke: #d9b77c77; stroke-width: 1px; }
.constellation { stroke: #b9b9bf48; stroke-width: .8px; }
.constellation-dots { fill: #d9b77c; }
.compass { stroke: #d9b77ca3; stroke-width: 1px; }
.sky-specks { fill: #e3d4b4; }
.cosmic-cup { position: absolute; inset: 22.5% 25%; transform: rotate(-25deg); filter: drop-shadow(12px 19px 18px #0008); animation: cup-float 9s ease-in-out infinite; }
.saucer { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, #b8a184 48%, #dfcbb0 49%, #d6c4a7 57%, #eadcc6 65%, #b59e7e 67%, #ead8b9 69%, #8d7962 73%); box-shadow: inset 4px 5px 6px #fff6, inset -4px -8px 7px #5c4835ab, 0 1px 1px #f6e0be; }
.cup-rim { position: absolute; inset: 14%; padding: 7px; border-radius: 50%; background: linear-gradient(145deg, #faf0df, #bba180); box-shadow: 2px 5px 10px #4e342bc9, inset 0 1px 2px white; }
.cup-handle { position: absolute; z-index: 1; left: 78%; top: 39%; width: 24%; height: 19%; border: 9px solid #d9c5a7; border-radius: 40%; box-shadow: inset -2px 3px 5px #5a392d, 3px 4px 5px #31201580, inset 1px 1px 2px #fff; background: #20222a; }
.coffee-surface { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 50%; background: radial-gradient(ellipse at 60% 50%, #9e5329, #743513 65%, #be8646 71%, #4c291c 80%); box-shadow: inset 4px 4px 6px #47200e; }
.coffee-surface::after { content: ""; position: absolute; inset: 3%; border: 1px dashed #e8be7757; border-radius: 50%; }
.latte-art { position: absolute; inset: 2%; width: 96%; height: 96%; transform: rotate(25deg); filter: drop-shadow(0 1px 1px #30150a66); }
.orbit-bean { position: absolute; width: 26px; height: 38px; border-radius: 55%; background: linear-gradient(100deg, #3b241c, #a46d47 47%, #4e2b1c 54%, #b48255 61%, #4e2e20); box-shadow: inset -3px -2px 5px #27110ac9, 3px 5px 8px #0007; }
.orbit-bean::after { content: ""; position: absolute; top: 3px; left: 11px; width: 5px; height: 32px; border-left: 2px solid #2c1a12; border-radius: 50%; transform: rotate(-10deg); }
.orbit-bean--one { top: 21%; left: 16%; transform: rotate(31deg); }
.orbit-bean--two { right: 17%; bottom: 21%; transform: rotate(-40deg) scale(.7); }
.universe-label { position: absolute; color: #c6b89e; font-family: var(--serif); font-style: italic; font-size: 17px; letter-spacing: .01em; }
.universe-label--top { top: 10%; left: 27%; transform: rotate(-9deg); }
.universe-label--bottom { bottom: 14%; right: 4%; transform: rotate(-9deg); }
.universe-coordinate { position: absolute; bottom: 0; left: 0; width: 100%; color: #939399; text-align: center; font-size: 8px; letter-spacing: .16em; text-transform: uppercase; }
@keyframes cup-float { 50% { transform: translateY(-7px) rotate(-22deg); } }
.zodiac-section { padding-top: 30px; border-top: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 25px; }
.section-heading .eyebrow { font-size: 9px; margin-bottom: 5px; }
.section-heading h2 { font-size: 44px; line-height: 1.15; letter-spacing: -.025em; outline: none; }
.section-hint { padding-bottom: 4px; color: #a3a4aa; font-size: 11px; line-height: 1.8; }
.zodiac-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.zodiac-card { position: relative; display: flex; flex-direction: column; align-items: center; min-width: 0; padding: 22px 9px 17px; border: 1px solid #bea16c36; border-radius: 76px 76px 9px 9px; background: linear-gradient(160deg, #33333470, #171d2666 75%); transition: transform .25s, border-color .25s, background .25s, box-shadow .25s; }
.card-number { position: absolute; left: 12px; top: 68%; color: #8e806b; font-size: 8px; font-weight: 500; letter-spacing: .06em; }
.portrait { position: relative; width: 100%; max-width: 116px; aspect-ratio: 1; overflow: hidden; border: 3px solid #ccb280; border-radius: 50%; box-shadow: 0 0 0 5px #d9b77c0b, 0 7px 18px #0003; background: #e9d8b1; transition: transform .3s, box-shadow .3s; }
.portrait img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.sign-name { margin: 14px 0 3px; font-family: var(--serif); font-size: 25px; font-weight: 500; line-height: 1.1; }
.sign-dates { color: #acaaa8; font-size: 10px; white-space: nowrap; }
.card-star { display: block; margin-top: 9px; color: #c9a96d91; font-size: 15px; line-height: 1; transition: color .2s; }
@media (hover: hover) {
  .zodiac-card:hover { z-index: 1; border-color: #d9b77ca8; background: linear-gradient(160deg, #8b6e444d, #222931cc 75%); transform: translateY(-5px); box-shadow: 0 12px 30px #0004; }
  .zodiac-card:hover .portrait img { transform: scale(1.06); }
  .zodiac-card:hover .portrait { box-shadow: 0 0 0 5px #d9b77c14, 0 0 28px #d9b77c26; }
  .zodiac-card:hover .card-star { color: #f9deb1; }
}
.zodiac-card:active { transform: scale(.97); }
.ritual-note { display: flex; align-items: center; justify-content: center; gap: 19px; padding: 40px 0; color: var(--gold); }
.ritual-note p { color: #c7c0b5; text-align: center; font-family: var(--serif); font-size: 24px; font-style: italic; }
.ritual-note > span:not(.ritual-line) { font-size: 12px; }
.ritual-line { height: 1px; max-width: 95px; flex: 1; background: linear-gradient(90deg, transparent, #d9b77c4d); }
.ritual-line:last-child { transform: rotate(180deg); }
.mobile-break { display: none; }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 25px 0 30px; border-top: 1px solid var(--line); color: #a0a1a6; font-size: 10px; }
.site-footer > span:first-child { font-family: var(--serif); font-size: 24px; font-weight: 500; color: #c6b99f; }
.footer-detail span { margin-left: 5px; color: var(--gold); }
.noscript-message { padding: 20px 0; color: var(--gold); }

/* A native modal keeps keyboard focus in the open forecast. */
.forecast { width: min(840px, calc(100% - 48px)); max-height: calc(100dvh - 48px); padding: 0; border: 1px solid #bd9c6766; border-radius: 16px; margin: auto; overflow: auto; color: var(--cream); background: radial-gradient(ellipse at top left, #45413966, transparent 70%), #181e27; box-shadow: 0 35px 130px #000a; }
.forecast[open] { animation: arrive .3s ease-out; }
.forecast::backdrop { background: #070d15c9; backdrop-filter: blur(8px); }
.forecast-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 17px 22px; border-bottom: 1px solid var(--line); }
.forecast-top .eyebrow { font-size: 9px; }
.close-button { width: 36px; height: 36px; border: 1px solid #d9b77c33; border-radius: 50%; background: transparent; color: #d4c3a9; font-family: var(--sans); font-size: 25px; line-height: 1; transition: background .2s; }
.close-button:hover { background: #d9b77c1a; }
.forecast-layout { display: grid; grid-template-columns: 270px 1fr; }
.forecast-visual { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; padding: 64px 26px 28px; border-right: 1px solid var(--line); background: radial-gradient(circle at 50% 25%, #d9b77c13, transparent 70%); }
.forecast-orbit { position: absolute; top: 36px; width: 242px; height: 242px; border: 1px solid #d9b77c40; border-radius: 50%; }
.forecast-orbit::before { content: ""; position: absolute; inset: 11px; border: 1px dashed #d9b77c38; border-radius: 50%; }
.forecast-orbit::after { content: "✦"; position: absolute; right: 10px; top: 31px; color: var(--gold); font-size: 20px; }
.sign-badge { position: relative; width: 186px; height: 186px; overflow: hidden; border: 4px solid #cfb07c; border-radius: 50%; background: #e9d8b1; box-shadow: 0 0 40px #d9b77c12; }
.sign-badge img { width: 100%; height: 100%; object-fit: cover; }
.forecast-sign-name { margin-top: 42px; font-family: var(--serif); font-size: 35px; }
.forecast-sign-dates { margin-top: 5px; color: var(--muted); font-size: 11px; }
.forecast-visual-star { color: var(--gold); font-size: 27px; margin: 22px 0 16px; }
.forecast-visual-caption { color: #b4aa96; font-family: var(--serif); text-align: center; font-size: 19px; font-style: italic; line-height: 1.45; }
.forecast-content { padding: 30px; }
.forecast-date { display: block; margin-bottom: 21px; color: #afaaa1; font-size: 10px; }
.forecast-eyebrow { font-size: 9px; }
.forecast h2 { font-size: 59px; letter-spacing: -.02em; line-height: 1.1; margin: 1px 0 17px; }
.horoscope { color: #cbc7bf; font-size: 13px; line-height: 1.85; }
.drink-card { display: flex; align-items: center; gap: 12px; position: relative; margin: 23px 0 13px; padding: 19px 16px; border: 1px solid #ddbb7f80; border-radius: 7px; color: #30271d; background: linear-gradient(120deg, #efdfbd, #ddc59a); }
.drink-art { display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 45px; border-right: 1px solid #78563330; padding-right: 10px; }
.drink-art span { font-size: 29px; }
.drink-card p { margin-bottom: 4px; font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.drink-card h3 { padding-right: 12px; font-size: 29px; font-weight: 600; line-height: 1.05; margin-bottom: 5px; }
.drink-card #drinkNote { display: block; color: #625442; font-size: 10px; line-height: 1.65; }
.drink-star { position: absolute; top: 10px; right: 9px; font-size: 12px; color: #896c3b; }
.order-note { color: #b2aaa0; font-size: 11px; line-height: 1.8; }
.new-sign-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 44px; margin-top: 20px; padding: 5px 0; border: 0; border-bottom: 1px solid #d9b77c55; background: transparent; color: var(--gold); font-size: 11px; }
.new-sign-button span { font-size: 20px; }
.forecast-bottom { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 17px; color: #aaa69e; border-top: 1px solid var(--line); font-size: 9px; }
.forecast-bottom span { color: var(--gold); }
@keyframes arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

@media (min-width: 1500px) { .hero { min-height: 525px; } }
@media (max-width: 1000px) {
  .site-shell { padding: 0 30px; }
  .hero { min-height: 420px; }
  h1 { font-size: 66px; }
  .hero-note { font-size: 9px; }
  .zodiac-grid { gap: 11px; }
  .zodiac-card { padding: 20px 9px 14px; }
  .portrait { max-width: 100px; }
  .sign-name { font-size: 23px; }
  .card-number { display: none; }
  .sign-dates { font-size: 9px; }
}
@media (max-width: 760px) {
  .site-shell { padding: 0 24px; }
  .site-header { height: 82px; }
  .header-caption { display: none; }
  .hero { gap: 0; min-height: 365px; }
  h1 { font-size: 55px; }
  .title-star { font-size: 28px; margin-left: 8px; }
  .intro { font-size: 12px; }
  .desktop-break { display: none; }
  .hero-note { max-width: 235px; font-size: 9px; line-height: 1.6; }
  .universe-label { font-size: 15px; }
  .universe-coordinate { font-size: 6px; }
  .zodiac-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
  .sign-dates { font-size: 9px; }
  .forecast-layout { grid-template-columns: 210px 1fr; }
  .forecast-visual { padding: 55px 20px 25px; }
  .sign-badge { width: 146px; height: 146px; }
  .forecast-orbit { width: 186px; height: 186px; }
  .forecast-content { padding: 25px; }
}
@media (max-width: 560px) {
  html { scroll-padding-top: 17px; }
  .site-shell { padding: 0 20px; }
  .site-header { height: 75px; padding-top: env(safe-area-inset-top); gap: 12px; }
  .brand { gap: 5px; font-size: 28px; }
  .brand img { width: 31px; height: 31px; }
  .today { font-size: 10px; gap: 7px; }
  .today > span:first-child { font-size: 13px; }
  .hero { display: flex; flex-direction: column; gap: 0; padding: 32px 0 24px; min-height: 0; text-align: center; }
  .hero-copy { padding: 0; width: 100%; }
  .hero .eyebrow { justify-content: center; font-size: 9px; }
  .tiny-orbit { width: 12px; height: 12px; }
  .tiny-orbit::after { width: 16px; top: 2px; }
  h1 { margin: 16px 0 13px; font-size: clamp(49px, 13.2vw, 68px); line-height: .98; }
  .title-star { font-size: 30px; margin-top: 5px; }
  .intro { max-width: 310px; margin: auto; font-size: 11px; line-height: 1.8; }
  .hero-note { display: none; }
  .coffee-universe { width: 265px; margin: 8px 0 -3px; aspect-ratio: 520 / 442; }
  .celestial-map { top: -9px; }
  .cosmic-cup { inset: 18% 25% 23%; }
  .cup-rim { padding: 4px; }
  .cup-handle { border-width: 6px; }
  .orbit-bean { transform-origin: center; scale: .6; }
  .universe-label { font-size: 13px; }
  .universe-label--top { top: 7%; left: 22%; }
  .universe-label--bottom { bottom: 14%; right: -4%; }
  .universe-coordinate { bottom: -4px; font-size: 6px; }
  .zodiac-section { padding-top: 23px; }
  .section-heading { margin-bottom: 20px; gap: 8px; align-items: center; }
  .section-heading .eyebrow { font-size: 7px; letter-spacing: .13em; margin-bottom: 5px; }
  .section-heading h2 { font-size: 35px; }
  .section-hint { max-width: 112px; padding: 0; font-size: 9px; line-height: 1.7; }
  .zodiac-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px 10px; }
  .zodiac-card { padding: 15px 7px 12px; border-radius: 59px 59px 7px 7px; }
  .portrait { max-width: 93px; border-width: 2px; box-shadow: 0 0 0 4px #d9b77c0b, 0 7px 18px #0003; }
  .sign-name { font-size: 23px; margin-top: 12px; }
  .sign-dates { font-size: 9px; letter-spacing: -.01em; }
  .card-star { margin-top: 8px; font-size: 12px; }
  .ritual-note { padding: 31px 0; gap: 13px; }
  .ritual-note p { font-size: 23px; line-height: 1.25; }
  .ritual-line { max-width: 25px; }
  .mobile-break { display: initial; }
  .site-footer { flex-wrap: wrap; column-gap: 12px; row-gap: 11px; padding: 19px 0 max(25px, env(safe-area-inset-bottom)); font-size: 8px; }
  .site-footer > span:first-child { font-size: 23px; }
  .footer-detail { display: none; }
  .forecast { width: calc(100% - 24px); max-height: calc(100dvh - 24px); border-radius: 12px; }
  .forecast-top { padding: 9px 15px; }
  .forecast-top .eyebrow { font-size: 7px; letter-spacing: .13em; }
  .close-button { width: 35px; height: 35px; }
  .forecast-layout { display: block; }
  .forecast-visual { min-height: 150px; padding: 20px 22px; display: grid; grid-template-columns: 110px 1fr; grid-template-rows: 1fr 1fr; column-gap: 22px; border-right: 0; border-bottom: 1px solid var(--line); }
  .forecast-orbit { left: 12px; top: 10px; width: 130px; height: 130px; }
  .forecast-orbit::before { inset: 6px; }
  .forecast-orbit::after { top: 0; right: 4px; font-size: 15px; }
  .sign-badge { width: 110px; height: 110px; grid-row: 1 / 3; border-width: 2px; }
  .forecast-sign-name { align-self: end; margin: 0; font-size: 34px; position: relative; }
  .forecast-sign-dates { align-self: start; margin-top: 6px; font-size: 10px; }
  .forecast-visual-star, .forecast-visual-caption { display: none; }
  .forecast-content { padding: 22px; }
  .forecast-date { margin-bottom: 16px; font-size: 10px; }
  .forecast h2 { font-size: 49px; margin-bottom: 12px; }
  .horoscope { font-size: 12px; line-height: 1.85; }
  .drink-card { margin-top: 20px; padding: 16px 12px; gap: 10px; }
  .drink-card h3 { font-size: 28px; }
  .drink-art { flex-basis: 35px; width: 35px; }
  .drink-art span { font-size: 24px; }
  .new-sign-button { margin-top: 15px; }
  .forecast-bottom { padding: 15px 8px; font-size: 8px; }
}
@media (max-width: 360px) { .site-shell { padding: 0 16px; } .today { font-size: 9px; } .sign-name { font-size: 21px; } .section-heading h2 { font-size: 32px; } .section-hint { max-width: 95px; font-size: 8px; } .forecast-content { padding: 18px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
