/* =========================================================================
   COMING SOON COUNTDOWN — pre-launch page for "Brass & Bloom" (sample café)
   Palette: espresso black, saffron, copper, rose clay and cream
   Type: Bricolage Grotesque (display + numerals) · Instrument Serif (italic accents)
   Signature: drifting aurora gradient + film grain, brass dabara illustration
   with rising steam, rotating text ring, glass countdown tiles.
   ========================================================================= */

:root {
  --espresso: #140B08;
  --roast: #21130D;
  --roast-2: #2A1710;
  --saffron: #F0A43A;
  --saffron-2: #F6C168;
  --copper: #C8693A;
  --rose: #D9826B;
  --plum: #4A1F2C;
  --teal: #1F4744;
  --cream: #F6EADB;
  --cream-2: #EADBC6;
  --muted: #CDB9A4;
  --ink: #1C110C;
  --ink-muted: #5E4A3D;

  --display: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --container: 1280px;
  --gutter: clamp(1rem, 4vw, 3rem);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--display); font-size: 1.05rem; line-height: 1.6; color: var(--cream); background: var(--espresso); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
ul { list-style: none; padding: 0; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 300; background: var(--saffron); color: var(--ink); padding: .7rem 1rem; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--saffron); outline-offset: 3px; border-radius: 8px; }

/* ------------------------------ Shared ------------------------------ */
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #9A4A22; margin-bottom: 1rem; }
.eyebrow--sun { color: var(--saffron); }
.h2 { font-weight: 700; font-size: clamp(2rem, 4.6vw, 3.8rem); line-height: 1; letter-spacing: -.035em; color: var(--ink); }
.h2 em { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -.01em; color: var(--copper); }
.h2--light { color: var(--cream); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .95rem 1.5rem; border-radius: 999px; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; white-space: nowrap; transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease); }
.btn--sm { padding: .65rem 1.1rem; font-size: .92rem; }
.btn--sun { background: linear-gradient(135deg, var(--saffron-2), var(--saffron) 55%, #E98A33); color: var(--ink); box-shadow: 0 14px 30px -14px rgba(240, 164, 58, .8); }
.btn--sun:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -14px rgba(240, 164, 58, .95); }
.btn--dark { background: var(--ink); color: var(--cream); }
.btn--dark:hover { transform: translateY(-2px); background: #000; }

/* ------------------------------ Top bar (over hero) ------------------------------ */
.site-top { position: absolute; top: 0; left: 0; right: 0; z-index: 20; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 92px; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand__name { font-weight: 700; font-size: 1.3rem; letter-spacing: -.02em; }
.brand__name i, .footer__brand i { font-family: var(--serif); font-weight: 400; color: var(--saffron); padding-inline: .1rem; }
.topbar__place { display: inline-flex; align-items: center; gap: .45rem; font-size: .9rem; color: var(--muted); padding: .45rem .9rem; border: 1px solid rgba(246, 234, 219, .14); border-radius: 999px; background: rgba(20, 11, 8, .35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.topbar__place svg { color: var(--saffron); }
.socials { display: flex; gap: .45rem; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(246, 234, 219, .18); color: var(--cream); transition: background .25s, color .25s, border-color .25s; }
.socials a:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }

/* ------------------------------ Hero ------------------------------ */
.hero { position: relative; min-height: max(100vh, 760px); min-height: max(100svh, 760px); display: flex; flex-direction: column; justify-content: center; padding: 108px 0 64px; overflow: hidden; isolation: isolate; background: var(--espresso); }
.aurora { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.aurora span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .7; will-change: transform; }
.aurora span:nth-child(1) { width: 62vmax; height: 62vmax; right: -16vmax; top: -22vmax; background: radial-gradient(circle at 40% 40%, #E98A33 0%, rgba(200, 105, 58, .55) 38%, transparent 66%); animation: driftA 24s ease-in-out infinite alternate; }
.aurora span:nth-child(2) { width: 52vmax; height: 52vmax; left: -18vmax; bottom: -28vmax; background: radial-gradient(circle, rgba(74, 31, 44, .95) 0%, rgba(74, 31, 44, .4) 45%, transparent 70%); animation: driftB 30s ease-in-out infinite alternate; }
.aurora span:nth-child(3) { width: 40vmax; height: 40vmax; right: 8vmax; bottom: -20vmax; background: radial-gradient(circle, rgba(217, 130, 107, .75) 0%, transparent 65%); animation: driftC 22s ease-in-out infinite alternate; }
.aurora span:nth-child(4) { width: 36vmax; height: 36vmax; left: 22vmax; top: -18vmax; background: radial-gradient(circle, rgba(31, 71, 68, .9) 0%, transparent 65%); animation: driftD 34s ease-in-out infinite alternate; }
@keyframes driftA { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-6vmax, 4vmax) scale(1.08); } 100% { transform: translate(-2vmax, 9vmax) scale(.96); } }
@keyframes driftB { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(10vmax, -6vmax) scale(1.15); } }
@keyframes driftC { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(-12vmax, -8vmax) scale(1.1); } }
@keyframes driftD { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(8vmax, 10vmax) scale(.9); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(20, 11, 8, .82) 0%, rgba(20, 11, 8, .55) 45%, rgba(20, 11, 8, 0) 75%), linear-gradient(0deg, rgba(20, 11, 8, .7), transparent 30%); }
.grain { position: absolute; inset: 0; z-index: -1; background: url("images/grain.svg") 0 0 / 180px 180px repeat; opacity: .16; mix-blend-mode: overlay; pointer-events: none; }

.hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.pill { display: inline-flex; align-items: center; gap: .6rem; padding: .5rem 1rem; border-radius: 999px; background: rgba(246, 234, 219, .08); border: 1px solid rgba(246, 234, 219, .18); font-size: .9rem; font-weight: 600; color: var(--cream); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--saffron); box-shadow: 0 0 0 0 rgba(240, 164, 58, .7); animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(240, 164, 58, .7); } 100% { box-shadow: 0 0 0 12px rgba(240, 164, 58, 0); } }
.hero__title { font-weight: 800; font-size: clamp(3rem, 7.4vw, 7.1rem); line-height: .92; letter-spacing: -.045em; margin-top: 1.4rem; max-width: 10.5ch; }
.hero__title em { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -.02em; background: linear-gradient(100deg, var(--saffron-2) 0%, var(--saffron) 40%, var(--rose) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
.hero__lead { margin-top: 1.4rem; max-width: 50ch; color: var(--muted); font-size: clamp(1rem, 1.25vw, 1.12rem); }

/* Countdown */
.countdown { display: flex; align-items: stretch; gap: .6rem; margin-top: 2rem; }
.cd { flex: 1; min-width: 0; max-width: 150px; display: flex; flex-direction: column; align-items: center; padding: 1rem .5rem .85rem; border-radius: 22px; background: linear-gradient(180deg, rgba(246, 234, 219, .1), rgba(246, 234, 219, .03)); border: 1px solid rgba(246, 234, 219, .16); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 24px 40px -30px rgba(0, 0, 0, .8); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.cd__num { font-weight: 600; font-size: clamp(2.4rem, 5vw, 4.6rem); line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; color: #FFF6EA; display: inline-block; }
.cd__num.tick { animation: tick .45s var(--ease); }
@keyframes tick { 0% { transform: translateY(-14%); opacity: .25; } 100% { transform: none; opacity: 1; } }
.cd__label { margin-top: .55rem; font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.cd__sep { align-self: center; font-size: 2.2rem; font-weight: 300; color: rgba(246, 234, 219, .35); margin-top: -1.4rem; }
.countdown.is-live .cd__num { color: var(--saffron); }

/* Notify */
.notify { margin-top: 1.6rem; max-width: 620px; }
.notify__form, .notify__done { padding: 1.1rem; border-radius: 26px; background: rgba(20, 11, 8, .5); border: 1px solid rgba(246, 234, 219, .16); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.notify__head { display: flex; justify-content: space-between; align-items: center; gap: .8rem; flex-wrap: wrap; padding: 0 .3rem .8rem; }
.notify__title { font-weight: 700; font-size: 1rem; }
.toggle { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(246, 234, 219, .08); border: 1px solid rgba(246, 234, 219, .12); }
.toggle__btn { padding: .38rem .9rem; border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--muted); transition: background .2s, color .2s; }
.toggle__btn[aria-pressed="true"] { background: var(--cream); color: var(--ink); }
.notify__row { display: flex; align-items: center; gap: .5rem; padding: .35rem .35rem .35rem 1.1rem; border-radius: 999px; background: rgba(246, 234, 219, .95); color: var(--ink); }
.notify__row:focus-within { box-shadow: 0 0 0 3px rgba(240, 164, 58, .55); }
.notify__prefix { font-weight: 700; color: var(--ink-muted); padding-right: .2rem; border-right: 1px solid rgba(28, 17, 12, .2); padding-right: .6rem; }
.notify__row input { flex: 1; min-width: 0; border: 0; background: transparent; padding: .7rem 0; font-size: 1.02rem; color: var(--ink); }
.notify__row input:focus { outline: none; }
.notify__row input::placeholder { color: #7A6658; }
.notify__err { color: #FFB49A; font-size: .9rem; font-weight: 600; padding: .55rem .3rem 0; }
.notify__err:empty { display: none; }
.notify__form.has-error .notify__row { box-shadow: 0 0 0 3px rgba(255, 120, 90, .6); }
.notify__hint { font-size: .85rem; color: var(--muted); padding: .6rem .3rem 0; }
.notify__done { display: flex; gap: 1rem; align-items: flex-start; padding: 1.3rem; }
.notify__done[hidden] { display: none; }
.notify__done:focus { outline: none; }
.notify__check { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: var(--saffron); color: var(--ink); animation: pop .5s var(--ease); }
@keyframes pop { 0% { transform: scale(.4); } 70% { transform: scale(1.12); } 100% { transform: scale(1); } }
.notify__done-title { font-family: var(--serif); font-style: italic; font-size: 1.9rem; line-height: 1.1; color: #FFF6EA; }
.notify__done-text { color: var(--muted); margin-top: .3rem; overflow-wrap: anywhere; }
.notify__done-text strong { color: var(--cream); }
.notify__done-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.chip-btn { display: inline-flex; align-items: center; gap: .4rem; padding: .55rem .95rem; border-radius: 999px; background: var(--cream); color: var(--ink); font-size: .88rem; font-weight: 700; text-decoration: none; transition: transform .2s; }
.chip-btn:hover { transform: translateY(-1px); }
.chip-btn--wa { background: #0E7C41; color: #fff; }
.chip-btn--ghost { background: transparent; color: var(--muted); border: 1px solid rgba(246, 234, 219, .2); }

/* Art */
.hero__art { position: relative; justify-self: center; width: 100%; max-width: 520px; }
.art { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .45)); }
.art__ring { transform-box: view-box; transform-origin: 50% 50%; animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.art__steam path { stroke-dasharray: 60 150; animation: steam 3.2s ease-in-out infinite; }
.art__steam path:nth-child(2) { animation-delay: -1.1s; }
.art__steam path:nth-child(3) { animation-delay: -2.2s; }
@keyframes steam { 0% { stroke-dashoffset: 150; opacity: 0; } 30% { opacity: 1; } 100% { stroke-dashoffset: -60; opacity: 0; } }
.float { position: absolute; display: grid; gap: .2rem; padding: .85rem 1rem; border-radius: 18px; background: rgba(20, 11, 8, .62); border: 1px solid rgba(246, 234, 219, .16); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .8); }
.float__kicker { font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--saffron); }
.float__text { font-size: .9rem; line-height: 1.35; color: var(--cream); max-width: 22ch; }
.float--perk { left: -8%; bottom: 7%; }
.float--progress { right: -4%; top: 8%; min-width: 170px; }
.float__pct { font-size: 1.6rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.bar { display: block; height: 6px; border-radius: 6px; background: rgba(246, 234, 219, .14); overflow: hidden; margin-top: .3rem; }
.bar__fill { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--copper), var(--saffron)); }

.scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: .45rem; font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.scroll-cue svg { animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(4px); } }

/* ------------------------------ Teasers (cream section) ------------------------------ */
.teasers { background: var(--cream); color: var(--ink); padding-block: clamp(4.5rem, 9vw, 7.5rem); position: relative; }
.teasers::before { content: ""; position: absolute; inset: 0; background: url("images/grain.svg") 0 0 / 180px 180px repeat; opacity: .35; mix-blend-mode: multiply; pointer-events: none; }
.teasers .container { position: relative; }
.teasers__head { max-width: 860px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.teaser-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.3rem; }
.teaser { background: #FFF8EF; border: 1px solid var(--cream-2); border-radius: 28px; padding: 1rem 1rem 1.7rem; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.teaser:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: 0 30px 50px -34px rgba(60, 30, 15, .55); }
.teaser__art svg { width: 100%; height: auto; border-radius: 18px; }
.teaser__n { margin: 1.3rem .6rem 0; font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: #9A4A22; }
.teaser__title { margin: .1rem .6rem .5rem; font-weight: 700; font-size: 1.45rem; letter-spacing: -.02em; }
.teaser p:last-child { margin-inline: .6rem; color: var(--ink-muted); font-size: 1rem; }
.teasers__cta { display: flex; justify-content: center; margin-top: clamp(2.5rem, 4vw, 3.5rem); }

/* ------------------------------ Social ------------------------------ */
.social { position: relative; padding-block: clamp(4rem, 8vw, 6.5rem); background: radial-gradient(60% 120% at 100% 50%, rgba(200, 105, 58, .35), transparent 60%), radial-gradient(50% 100% at 0% 0%, rgba(74, 31, 44, .7), transparent 60%), var(--roast); overflow: hidden; }
.social__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 4rem; align-items: center; }
.social__lede { color: var(--muted); margin-top: 1rem; max-width: 44ch; }
.social__links { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.social__links a { display: flex; align-items: center; gap: .9rem; padding: 1.1rem 1.2rem; border-radius: 20px; text-decoration: none; background: rgba(246, 234, 219, .06); border: 1px solid rgba(246, 234, 219, .14); transition: background .25s, transform .25s, border-color .25s; }
.social__links a:hover { background: rgba(246, 234, 219, .12); border-color: rgba(240, 164, 58, .6); transform: translateY(-2px); }
.social__links svg { color: var(--saffron); flex-shrink: 0; }
.social__links strong { display: block; font-size: 1.02rem; }
.social__links small { color: var(--muted); font-size: .82rem; }

/* ------------------------------ FAQ ------------------------------ */
.faq { background: var(--cream); color: var(--ink); padding-block: clamp(4rem, 8vw, 6.5rem); }
.faq__inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 2rem 4rem; }
.qa { border-bottom: 1px solid rgba(28, 17, 12, .16); }
.qa:first-child { border-top: 1px solid rgba(28, 17, 12, .16); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.3rem 0; font-weight: 700; font-size: 1.12rem; letter-spacing: -.01em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; width: 14px; height: 14px; flex-shrink: 0; border-right: 2px solid var(--copper); border-bottom: 2px solid var(--copper); transform: translateY(-3px) rotate(45deg); transition: transform .3s var(--ease); }
.qa[open] summary::after { transform: translateY(3px) rotate(225deg); }
.qa p { padding: 0 2.5rem 1.4rem 0; color: var(--ink-muted); }
.qa a { color: #9A4A22; font-weight: 700; }

/* ------------------------------ Footer ------------------------------ */
.footer { background: var(--espresso); color: var(--muted); padding: 3rem 0 2.2rem; font-size: .92rem; text-align: center; }
.footer__inner { display: grid; gap: .7rem; justify-items: center; }
.footer__brand { font-weight: 700; font-size: 1.6rem; color: var(--cream); letter-spacing: -.02em; }
.footer a { color: var(--cream); }
.footer__credit { margin-top: .8rem; font-size: .84rem; }

/* ------------------------------ Mobile sticky CTA ------------------------------ */
.mcta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; display: none; align-items: center; justify-content: space-between; gap: 1rem; padding: .55rem .55rem .55rem 1.2rem; border-radius: 999px; background: rgba(20, 11, 8, .88); border: 1px solid rgba(246, 234, 219, .18); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .8); transition: transform .35s var(--ease), opacity .35s; }
.mcta__time { font-size: .92rem; color: var(--muted); }
.mcta__time b { color: var(--cream); font-size: 1.05rem; }
.mcta.is-hidden { transform: translateY(150%); opacity: 0; pointer-events: none; }

/* ------------------------------ Responsive ------------------------------ */
@media (max-width: 1100px) {
  .topbar__place { display: none; }
  .hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  .float--perk { left: -2%; }
  .float--progress { right: 0; }
}

@media (max-width: 860px) {
  .hero { min-height: 0; padding: 104px 0 80px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__title { max-width: 11ch; }
  .hero__art { max-width: 400px; margin-top: 1rem; }
  .scroll-cue { display: none; }
  .social__inner, .faq__inner { grid-template-columns: 1fr; }
  .teaser-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .mcta { display: flex; }
  .footer { padding-bottom: 6rem; }
}

@media (max-width: 560px) {
  .topbar { min-height: 80px; }
  .socials a { width: 36px; height: 36px; }
  .socials a:nth-child(3) { display: none; }
  .hero { padding-top: 92px; }
  .countdown { gap: .35rem; }
  .cd { padding: .8rem .2rem .7rem; border-radius: 16px; }
  .cd__sep { display: none; }
  .cd__label { font-size: .6rem; letter-spacing: .12em; }
  .notify__form { padding: .9rem; border-radius: 22px; }
  .notify__row { flex-wrap: wrap; border-radius: 18px; padding: .3rem .3rem .3rem .9rem; }
  .notify__row input { flex-basis: 60%; }
  .notify__row .btn { width: 100%; margin: 0 0 .05rem -.6rem; width: calc(100% + .6rem); border-radius: 14px; }
  .notify__done { flex-direction: column; }
  .float { padding: .65rem .8rem; }
  .float__text { font-size: .8rem; max-width: 18ch; }
  .float--perk { left: 0; bottom: 2%; }
  .float--progress { right: 0; top: 2%; min-width: 0; }
  .social__links { grid-template-columns: 1fr; }
  .qa p { padding-right: 0; }
}

@media (max-width: 380px) {
  .brand__name { font-size: 1.12rem; }
  .brand__mark svg { width: 34px; height: 34px; }
  .socials a:nth-child(2) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .001ms !important; }
  .art__steam path { stroke-dasharray: none; opacity: .8; }
}
