/* roomyportfolio.com — marketing site styles
 * Tier 1, desire-first. Cream world, honey as the one action,
 * the Portal rendered as an arch of warm light. */

* { box-sizing: border-box; }
html { scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html, body { margin: 0; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
img, svg { display: block; }
.lucide { stroke-width: 1.75px; }

.wrap { max-width: 1160px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* ---------------- Wordmark ---------------- */
.wm { display: inline-flex; align-items: baseline; gap: 11px; text-decoration: none; }
.wm-name { font-family: var(--font-serif); font-weight: 500; letter-spacing: -0.02em; line-height: 0.9; font-size: 27px; color: var(--ink); }
.wm-name .my { color: var(--honey); font-style: italic; }
.wm-sub { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 10.5px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink); }
.wm-sub .rule { width: 18px; height: 1.5px; background: var(--honey); border-radius: 1px; }
.wm-stack { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; }
.wm-stack .wm-name { font-size: 56px; }
.wm-stack .wm-sub { font-size: 13px; letter-spacing: 0.34em; margin-top: 10px; }
.wm-stack .wm-sub .rule { width: 26px; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-ui); font-weight: 600; font-size: 16px; line-height: 1;
  border-radius: var(--radius-md); border: 1px solid transparent;
  padding: 15px 24px; min-height: var(--touch-min);
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background var(--motion-standard) var(--ease-standard),
              border-color var(--motion-standard) var(--ease-standard),
              color var(--motion-standard) var(--ease-standard),
              transform var(--motion-fast) var(--ease-standard),
              box-shadow var(--motion-standard) var(--ease-standard);
}
.btn:active { transform: scale(0.97); }
.btn:focus-visible { outline: none; box-shadow: var(--ring); }
.btn .lucide { width: 18px; height: 18px; }
.btn-primary { background: var(--honey); color: var(--text-on-honey); box-shadow: 0 2px 10px rgba(233, 125, 43, 0.28); }
.btn-primary:hover { background: #D96F1F; box-shadow: 0 4px 16px rgba(233, 125, 43, 0.34); }
.btn-secondary { background: var(--paper); color: var(--ink); border-color: var(--border-firm); }
.btn-secondary:hover { background: var(--cream-warm); border-color: var(--border-firm); }
.btn-ghost { background: transparent; color: var(--ink-soft); padding: 12px 14px; }
.btn-ghost:hover { background: var(--cream-warm); color: var(--ink); }
.btn-lg { padding: 17px 28px; font-size: 17px; border-radius: 14px; }
.btn-sm { padding: 10px 16px; font-size: 14.5px; min-height: 0; }

/* ---------------- Nav ---------------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 40; transition: background var(--motion-medium) var(--ease-standard), box-shadow var(--motion-medium) var(--ease-standard); }
.nav .wrap { display: flex; align-items: center; gap: 28px; padding-top: 16px; padding-bottom: 16px; }
.nav.scrolled { background: rgba(251, 248, 244, 0.88); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--border-soft); }
.nav-links { display: flex; gap: 4px; margin-left: 12px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--ink-soft); text-decoration: none; padding: 9px 13px; border-radius: 10px; transition: background var(--motion-fast) var(--ease-standard), color var(--motion-fast) var(--ease-standard); }
.nav-links a:hover { background: var(--cream-warm); color: var(--ink); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-signin { font-size: 15px; font-weight: 500; color: var(--ink-soft); text-decoration: none; padding: 9px 13px; border-radius: 10px; transition: background var(--motion-fast) var(--ease-standard), color var(--motion-fast) var(--ease-standard); }
.nav-signin:hover { background: var(--cream-warm); color: var(--ink); }
.nav .btn { padding: 11px 18px; font-size: 15px; }
@media (max-width: 760px) {
  .nav-links, .nav-signin { display: none; }
}

/* ---------------- Reveal-on-scroll ---------------- */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease-standard), transform 0.85s var(--ease-emphasised); transition-delay: var(--d, 0s); }
  [data-reveal].in { opacity: 1; transform: none; }
  .casc > * { opacity: 0; transform: translateY(14px); transition: opacity 0.55s var(--ease-standard), transform 0.6s var(--ease-emphasised); }
  .in .casc > *, .casc.in > * { opacity: 1; transform: none; }
  .casc > *:nth-child(1) { transition-delay: 0.20s; }
  .casc > *:nth-child(2) { transition-delay: 0.30s; }
  .casc > *:nth-child(3) { transition-delay: 0.40s; }
  .casc > *:nth-child(4) { transition-delay: 0.50s; }
  .casc > *:nth-child(5) { transition-delay: 0.60s; }
  .casc > *:nth-child(6) { transition-delay: 0.70s; }
  .casc > *:nth-child(7) { transition-delay: 0.80s; }
  .casc > *:nth-child(8) { transition-delay: 0.90s; }
}

/* ---------------- Hero ---------------- */
.hero { position: relative; padding: 168px 0 0; overflow: clip; }
.hero-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(70% 46% at 50% 0%, rgba(244, 178, 122, 0.26), rgba(244, 178, 122, 0) 62%); }
.hero-copy { position: relative; text-align: center; max-width: 880px; margin: 0 auto; }
.eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--honey-ink); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before, .eyebrow::after { content: ""; width: 22px; height: 1.5px; background: var(--honey); border-radius: 1px; opacity: 0.7; }
.hero h1 { font-family: var(--font-serif); font-weight: 500; letter-spacing: var(--tracking-tight); line-height: 1.02; font-size: clamp(46px, 7.4vw, 88px); margin: 22px 0 0; text-wrap: balance; }
.hero h1 em { font-style: italic; color: var(--honey); }
.hero-sub { font-size: clamp(17px, 2vw, 20px); color: var(--ink-soft); line-height: 1.55; max-width: 56ch; margin: 22px auto 0; text-wrap: pretty; }
.hero-ctas { display: flex; gap: 12px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.hero-trust { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 20px; font-size: 13.5px; color: var(--ink-faint); flex-wrap: wrap; }
.hero-trust .lucide { width: 14px; height: 14px; color: var(--sage); }
.hero-trust b { color: var(--ink-soft); font-weight: 500; }

/* hero entrance (load choreography) */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease-standard), transform 0.9s var(--ease-emphasised); }
  body.live .hero-copy > * { opacity: 1; transform: none; }
  body.live .hero-copy > *:nth-child(1) { transition-delay: 0.05s; }
  body.live .hero-copy > *:nth-child(2) { transition-delay: 0.14s; }
  body.live .hero-copy > *:nth-child(3) { transition-delay: 0.26s; }
  body.live .hero-copy > *:nth-child(4) { transition-delay: 0.38s; }
  body.live .hero-copy > *:nth-child(5) { transition-delay: 0.48s; }
}

/* ----- hero stage: chaos settles into the command centre ----- */
.hero-stage { position: relative; max-width: 1060px; margin: 64px auto 0; padding: 0 24px 96px; }
.arch { position: absolute; left: 50%; top: -64px; transform: translateX(-50%); width: min(760px, 86%); height: 480px; border-radius: 380px 380px 40px 40px; background: radial-gradient(72% 78% at 50% 26%, rgba(244, 178, 122, 0.5), rgba(244, 178, 122, 0) 74%); filter: blur(10px); pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .arch { opacity: 0; transition: opacity 1.4s var(--ease-standard) 0.5s; }
  body.live .arch { opacity: 1; }
}

/* the app frame */
.hero-app { position: relative; z-index: 2; background: var(--paper); border: 1px solid var(--border-soft); border-radius: 20px; box-shadow: var(--shadow-focal); overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .hero-app { opacity: 0; transform: translateY(36px) scale(0.985); transition: opacity 1s var(--ease-standard) 0.3s, transform 1.1s var(--ease-emphasised) 0.3s; }
  body.live .hero-app { opacity: 1; transform: none; }
  .ha-row, .ha-road { opacity: 0; transform: translateY(12px); transition: opacity 0.6s var(--ease-standard), transform 0.7s var(--ease-emphasised); }
  body.live .ha-row, body.live .ha-road { opacity: 1; transform: none; }
  body.live .ha-row:nth-of-type(1) { transition-delay: 1.15s; }
  body.live .ha-row:nth-of-type(2) { transition-delay: 1.3s; }
  body.live .ha-row:nth-of-type(3) { transition-delay: 1.45s; }
  body.live .ha-road { transition-delay: 1.6s; }
}

/* scattered old-world scraps that settle into the app */
.scrap { position: absolute; z-index: 3; background: var(--paper); border: 1px solid var(--border-soft); border-radius: 12px; box-shadow: var(--shadow-card); padding: 11px 14px; font-size: 12.5px; font-weight: 600; color: var(--ink-soft); display: flex; align-items: center; gap: 8px; pointer-events: none; }
.scrap .lucide { width: 15px; height: 15px; color: var(--ink-faint); }
.scrap small { display: block; font-weight: 500; color: var(--ink-faint); font-size: 11px; margin-top: 2px; }
.scrap.s-note { background: var(--cream-warm); font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: 14.5px; color: var(--ink); }
.s1 { left: -2%; top: 2%; transform: rotate(-7deg); }
.s2 { right: -1%; top: -6%; transform: rotate(5deg); }
.s3 { left: 6%; bottom: 22%; transform: rotate(-4deg); }
.s4 { right: 4%; bottom: 30%; transform: rotate(6deg); }
@media (prefers-reduced-motion: no-preference) {
  .scrap { transition: transform 1s var(--ease-emphasised), opacity 0.8s var(--ease-exit); }
  body.live .s1 { transform: translate(160px, 130px) rotate(0deg) scale(0.75); opacity: 0; transition-delay: 1.05s; }
  body.live .s2 { transform: translate(-170px, 140px) rotate(0deg) scale(0.75); opacity: 0; transition-delay: 1.2s; }
  body.live .s3 { transform: translate(150px, -90px) rotate(0deg) scale(0.75); opacity: 0; transition-delay: 1.35s; }
  body.live .s4 { transform: translate(-150px, -110px) rotate(0deg) scale(0.75); opacity: 0; transition-delay: 1.5s; }
}
@media (prefers-reduced-motion: reduce) { .scrap { display: none; } }

/* floating proof cards over the frame */
.float-wrap { position: absolute; z-index: 4; }
.fw1 { top: 10%; right: -3%; }
.fw2 { bottom: 18%; left: -4%; }
.fw3 { bottom: -3%; right: 5%; }
.float { background: var(--paper); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); padding: 14px 16px; width: 296px; display: flex; gap: 12px; align-items: flex-start; }
.float .f-ico { width: 34px; height: 34px; border-radius: 10px; flex: none; display: flex; align-items: center; justify-content: center; }
.float .f-ico .lucide { width: 17px; height: 17px; }
.float .f-t { font-size: 13.5px; line-height: 1.42; color: var(--ink-soft); }
.float .f-t b { display: block; color: var(--ink); font-weight: 600; font-size: 13.5px; margin-bottom: 2px; }
.f-honey { background: var(--honey-tint); color: var(--honey-ink); }
.f-ai { background: var(--ai-tint); color: var(--ai-ink); }
.f-sage { background: var(--sage-tint); color: var(--sage-ink); }
@media (prefers-reduced-motion: no-preference) {
  .float { opacity: 0; transform: translateY(20px) scale(0.96); transition: opacity 0.7s var(--ease-standard), transform 0.8s var(--ease-emphasised); }
  body.live .fw1 .float { opacity: 1; transform: none; transition-delay: 1.9s; }
  body.live .fw2 .float { opacity: 1; transform: none; transition-delay: 2.15s; }
  body.live .fw3 .float { opacity: 1; transform: none; transition-delay: 2.4s; }
}
@media (max-width: 1160px) {
  .fw1 { right: 8px; top: -30px; }
  .fw2 { left: 8px; bottom: 30%; }
  .fw3 { right: 16px; bottom: -20px; }
  .float { width: 240px; padding: 12px 13px; }
  .s3, .s4 { display: none; }
}

/* ---------------- Sections ---------------- */
.section { padding: 128px 0 0; }
.sec-head { max-width: 720px; }
.sec-head.center { margin: 0 auto; text-align: center; }
.sec-head h2 { font-family: var(--font-serif); font-weight: 500; letter-spacing: -0.015em; line-height: 1.06; font-size: clamp(34px, 4.6vw, 56px); margin: 18px 0 0; text-wrap: balance; }
.sec-head h2 em { font-style: italic; color: var(--honey); }
.sec-head .lede { font-size: 18px; color: var(--ink-soft); margin: 18px 0 0; max-width: 58ch; text-wrap: pretty; }
.sec-head.center .lede { margin-left: auto; margin-right: auto; }

/* ---------------- Statement (landlording has changed) ---------------- */
.statement { padding: 148px 0 20px; text-align: center; }
.old-chips { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 34px; }
.old-chip { display: inline-flex; align-items: center; gap: 8px; background: var(--paper); border: 1px solid var(--border-soft); border-radius: 10px; padding: 9px 13px; font-size: 13px; font-weight: 500; color: var(--ink-faint); box-shadow: var(--shadow-sm); }
.old-chip .lucide { width: 14px; height: 14px; }
.old-chip s { text-decoration-color: rgba(199, 60, 32, 0.5); text-decoration-thickness: 1.5px; }
.old-chip:nth-child(odd) { transform: rotate(-1.4deg); }
.old-chip:nth-child(even) { transform: rotate(1.2deg); }
.statement h2 { font-family: var(--font-serif); font-weight: 500; letter-spacing: var(--tracking-tight); line-height: 1.05; font-size: clamp(38px, 5.4vw, 68px); max-width: 20ch; margin: 0 auto; text-wrap: balance; }
.statement h2 em { font-style: italic; color: var(--honey); }
.statement .lede { font-size: 18px; color: var(--ink-soft); max-width: 52ch; margin: 24px auto 0; text-wrap: pretty; }

/* ---------------- Chapters ---------------- */
.chapters { display: flex; flex-direction: column; gap: 128px; margin-top: 96px; }
.chapter { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.chapter.flip .ch-copy { order: 2; }
.chapter.flip .ch-stage { order: 1; }
.ch-copy .eyebrow { color: var(--honey-ink); }
.ch-copy h3 { font-family: var(--font-serif); font-weight: 500; letter-spacing: -0.015em; line-height: 1.08; font-size: clamp(30px, 3.4vw, 44px); margin: 16px 0 0; text-wrap: balance; }
.ch-copy p { font-size: 17px; color: var(--ink-soft); margin: 16px 0 0; max-width: 46ch; text-wrap: pretty; }
.proof { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.proof li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; color: var(--ink-soft); }
.proof li b { color: var(--ink); font-weight: 600; }
.proof .lucide { width: 17px; height: 17px; color: var(--sage); flex: none; margin-top: 2px; }
.ch-stage { position: relative; display: flex; justify-content: center; }
.stage-glow { position: absolute; inset: -8% -6%; pointer-events: none; background: var(--glow-warm); }
@media (max-width: 900px) {
  .chapter, .chapter.flip { grid-template-columns: 1fr; gap: 40px; }
  .chapter.flip .ch-copy { order: 1; }
  .chapter.flip .ch-stage { order: 2; }
}

/* ---------------- Bento ---------------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; margin-top: 56px; }
.tile { background: var(--paper); border: 1px solid var(--border-soft); border-radius: var(--radius-xl); padding: 28px; position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 20px; transition: transform var(--motion-standard) var(--ease-standard), box-shadow var(--motion-standard) var(--ease-standard); }
.tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.tile h4 { font-family: var(--font-serif); font-weight: 500; font-size: 23px; letter-spacing: -0.01em; margin: 0; line-height: 1.15; }
.tile p { font-size: 14.5px; color: var(--ink-soft); margin: 8px 0 0; max-width: 40ch; text-wrap: pretty; }
.tile .t-art { margin-top: auto; }
.t-6 { grid-column: span 6; }
.t-4 { grid-column: span 4; }
.t-8 { grid-column: span 8; }
@media (max-width: 900px) { .t-6, .t-4, .t-8 { grid-column: span 12; } }

/* ---------------- Outcomes (ink) ---------------- */
.outcomes { margin-top: 148px; background: var(--ink); color: var(--cream); border-radius: 0; padding: 120px 0 128px; position: relative; overflow: clip; }
.outcomes::before { content: ""; position: absolute; left: 50%; top: -140px; transform: translateX(-50%); width: 900px; height: 560px; border-radius: 450px 450px 60px 60px; background: radial-gradient(70% 75% at 50% 30%, rgba(244, 178, 122, 0.14), rgba(244, 178, 122, 0) 72%); pointer-events: none; }
.outcomes .eyebrow { color: var(--honey-soft); }
.outcomes .eyebrow::before, .outcomes .eyebrow::after { background: var(--honey-soft); }
.outcomes h2 { font-family: var(--font-serif); font-weight: 500; letter-spacing: var(--tracking-tight); line-height: 1.05; font-size: clamp(36px, 5vw, 62px); margin: 18px 0 0; color: var(--cream); }
.outcomes h2 em { font-style: italic; color: var(--honey-soft); }
.oc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 72px; border-top: 1px solid rgba(251, 248, 244, 0.14); }
.oc { padding: 40px 44px 44px 0; border-bottom: 1px solid rgba(251, 248, 244, 0.14); }
.oc:nth-child(even) { padding-left: 44px; border-left: 1px solid rgba(251, 248, 244, 0.14); }
.oc .oc-n { font-family: var(--font-serif); font-style: italic; font-size: 17px; color: var(--honey-soft); }
.oc h3 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(26px, 2.8vw, 36px); letter-spacing: -0.01em; margin: 10px 0 0; color: var(--cream); }
.oc p { font-size: 16px; line-height: 1.6; color: rgba(251, 248, 244, 0.72); margin: 12px 0 0; max-width: 40ch; text-wrap: pretty; }
@media (max-width: 760px) {
  .oc-grid { grid-template-columns: 1fr; }
  .oc, .oc:nth-child(even) { padding: 32px 0; border-left: none; }
}

/* ---------------- Pricing ---------------- */
.pricing { padding: 148px 0 0; }
.price-card { position: relative; max-width: 720px; margin: 48px auto 0; background: var(--paper); border: 1px solid var(--border-soft); border-radius: 28px; box-shadow: var(--shadow-focal); padding: clamp(36px, 5vw, 60px); text-align: center; overflow: hidden; }
.price-card::before { content: ""; position: absolute; left: 50%; top: -180px; transform: translateX(-50%); width: 560px; height: 360px; border-radius: 280px 280px 40px 40px; background: radial-gradient(70% 80% at 50% 40%, rgba(244, 178, 122, 0.3), rgba(244, 178, 122, 0) 74%); filter: blur(6px); pointer-events: none; }
.price-card > * { position: relative; }
.price-pill { display: inline-flex; align-items: center; gap: 7px; background: var(--honey-tint); color: var(--honey-ink); border-radius: var(--radius-pill); padding: 7px 14px; font-size: 13px; font-weight: 600; }
.price-pill .lucide { width: 14px; height: 14px; }
.price-card h3 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.015em; line-height: 1.08; margin: 20px 0 0; text-wrap: balance; }
.price-card .p-lede { font-size: 17px; color: var(--ink-soft); margin: 14px auto 0; max-width: 44ch; text-wrap: pretty; }
.wl { display: flex; gap: 10px; max-width: 480px; margin: 30px auto 0; }
.wl input { flex: 1; min-width: 0; font-family: var(--font-ui); font-size: 16px; color: var(--ink); background: var(--cream); border: 1px solid var(--border-firm); border-radius: 14px; padding: 15px 18px; transition: border-color var(--motion-fast) var(--ease-standard), box-shadow var(--motion-fast) var(--ease-standard); }
.wl input::placeholder { color: var(--ink-faint); }
.wl input:focus { outline: none; border-color: var(--honey); box-shadow: 0 0 0 3px rgba(233, 125, 43, 0.18); }
.wl-done { display: none; align-items: center; justify-content: center; gap: 10px; margin: 30px auto 0; font-size: 16.5px; font-weight: 500; color: var(--sage-ink); background: var(--sage-tint); border-radius: 14px; padding: 16px 22px; max-width: 480px; }
.wl-done .lucide { width: 19px; height: 19px; color: var(--sage); flex: none; }
.waitlist.done .wl { display: none; }
.waitlist.done .wl-done { display: flex; animation: wl-in 0.5s var(--ease-emphasised); }
@keyframes wl-in { from { opacity: 0; transform: translateY(10px) scale(0.98); } to { opacity: 1; transform: none; } }
.p-note { font-size: 13.5px; color: var(--ink-faint); margin: 16px 0 0; }
@media (max-width: 560px) { .wl { flex-direction: column; } }

/* ---------------- Footer ---------------- */
.footer { margin-top: 148px; border-top: 1px solid var(--border-soft); padding: 72px 0 48px; }
.foot-grid { display: flex; gap: 48px; justify-content: space-between; flex-wrap: wrap; align-items: flex-start; }
.foot-tag { font-size: 14.5px; color: var(--ink-soft); margin: 16px 0 0; font-weight: 500; }
.foot-cols { display: flex; gap: clamp(40px, 6vw, 88px); flex-wrap: wrap; }
.foot-col h5 { font-size: 12px; font-weight: 700; letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--ink-faint); margin: 0 0 14px; }
.foot-col a { display: block; font-size: 15px; color: var(--ink-soft); text-decoration: none; padding: 5px 0; transition: color var(--motion-fast) var(--ease-standard); }
.foot-col a:hover { color: var(--ink); }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--border-soft); font-size: 13px; color: var(--ink-faint); }
