/* room for. website styles */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 100 1000;
  src: url('fonts/dm-sans-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 100 1000;
  src: url('fonts/dm-sans-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --plum: #4D2859;
  --lilac: #B9A2F6;
  --lilac-soft: #EAE3FD;
  --yellow: #FFF178;
  --cream: #FFF9EE;
  --tang: #FF713B;
  --body: #2E2233;
  --muted: #5C4A63;
  --line: rgba(77, 40, 89, .16);
  --radius: 20px;
  --wrap: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', 'Manrope', system-ui, sans-serif;
  color: var(--body);
  background: var(--cream);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--plum); }
:focus-visible { outline: 3px solid var(--tang); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; position: relative; }

/* type */
h1, h2, h3 { color: var(--plum); letter-spacing: -0.025em; }
h1 { font-weight: 800; font-size: clamp(2.6rem, 6.5vw, 4.6rem); line-height: 1.02; }
h2 { font-weight: 800; font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.08; }
h3 { font-weight: 700; font-size: 1.3rem; line-height: 1.25; letter-spacing: -0.01em; }
.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--plum); font-weight: 500; line-height: 1.5; }
.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 500; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--plum);
}
.label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--tang); }
.hl { background: var(--yellow); border-radius: 8px; padding: 0 .18em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.muted { color: var(--muted); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  padding: 15px 26px; border-radius: 999px; border: 2px solid var(--plum);
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--plum); color: var(--cream); }
.btn-ghost { background: transparent; color: var(--plum); }
.btn-ghost:hover { background: var(--plum); color: var(--cream); }
.btn-yellow { background: var(--yellow); color: var(--plum); border-color: var(--yellow); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 249, 238, .92); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; }
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { font-weight: 800; font-size: 1.5rem; color: var(--plum); text-decoration: none; letter-spacing: -0.03em; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { text-decoration: none; font-weight: 500; color: var(--plum); }
.nav-links a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--lilac); }
.nav-links .btn { padding: 10px 20px; font-size: .95rem; }
.nav-links a.btn-primary { color: var(--cream); }
.nav-links a.btn-primary[aria-current="page"] { box-shadow: none; }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; color: var(--plum); }
.menu-toggle span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px auto; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }

@media (max-width: 820px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: flex-start; gap: 22px;
    background: var(--cream); padding: 28px 24px 36px; border-bottom: 1px solid var(--line);
    transform: translateY(-120%); transition: transform .25s ease; z-index: -1;
  }
  .nav-links a { font-size: 1.2rem; }
  .nav-open .nav-links { transform: translateY(0); }
  .nav-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* sections */
section { padding: 96px 0; position: relative; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head h2 { margin-top: 14px; }
.section-head p { margin-top: 16px; }
.bg-white { background: #fff; }
.bg-lilac { background: var(--lilac); }
.bg-plum { background: var(--plum); color: var(--cream); }
.bg-plum h2, .bg-plum h3, .bg-plum .label { color: var(--cream); }

/* hero */
.hero { padding: 72px 0 110px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero h1 { margin: 22px 0 26px; }
.hero .lead { max-width: 540px; margin-bottom: 36px; }
.hero-art { position: relative; aspect-ratio: 1; }
.circle { position: absolute; border-radius: 50%; }
.hero-art .c1 { inset: 0; background: var(--lilac); }
.hero-art .c2 { width: 30%; height: 30%; background: var(--yellow); left: -6%; bottom: 6%; }
.hero-art .c3 { width: 9%; height: 9%; background: var(--tang); right: 12%; top: 8%; }
.hero-art .ring { inset: 14%; border: 1.5px solid var(--plum); opacity: .35; }
.hero-art .word {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-weight: 800; color: var(--plum); font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -0.04em;
}
@media (max-width: 820px) {
  .hero { padding: 40px 0 80px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { max-width: 300px; width: 80%; margin: 10px auto 0; }
}

/* page hero (inner pages) */
.page-hero { padding: 72px 0 64px; overflow: hidden; }
.page-hero h1 { margin-top: 18px; max-width: 780px; font-size: clamp(2.3rem, 5.5vw, 3.8rem); }
.page-hero .lead { margin-top: 22px; max-width: 620px; }
.page-hero .deco { position: absolute; width: 380px; height: 380px; border-radius: 50%; background: var(--lilac); right: -140px; top: -170px; z-index: -1; }
.page-hero .deco2 { position: absolute; width: 70px; height: 70px; border-radius: 50%; background: var(--yellow); right: 210px; top: 150px; z-index: -1; }
@media (max-width: 820px) { .page-hero .deco { width: 240px; height: 240px; right: -120px; top: -120px; } .page-hero .deco2 { display: none; } }

/* pain points */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pain { border-top: 2px solid var(--plum); padding-top: 20px; }
.pain p { margin-top: 8px; }
@media (max-width: 820px) { .pains { grid-template-columns: 1fr; } }

/* service cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fff; border-radius: var(--radius); padding: 34px 30px; display: flex; flex-direction: column; gap: 14px;
  border: 1px solid var(--line);
}
.card .num { color: var(--tang); font-weight: 700; }
.card ul { list-style: none; display: grid; gap: 6px; margin-top: 4px; }
.card li, .list li { padding-left: 18px; position: relative; }
.card li::before, .list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--lilac); }
.card .more { margin-top: auto; padding-top: 10px; font-weight: 700; text-decoration: none; }
.card .more::after { content: " →"; color: var(--tang); }
.card.lilac { background: var(--lilac-soft); border-color: transparent; }
.card.yellow { background: #FFFBD6; border-color: transparent; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }

/* proof */
.proof { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center; background: #fff; border-radius: 28px; padding: 52px 56px; }
.proof .big { font-weight: 800; color: var(--plum); font-size: clamp(3.2rem, 8vw, 5.8rem); line-height: 1; letter-spacing: -0.05em; white-space: nowrap; }
.proof .big span { color: var(--tang); }
.proof .unit { display: block; font-size: .9rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; margin-top: 12px; color: var(--plum); }
.proof h3 { margin-bottom: 10px; }
@media (max-width: 820px) { .proof { grid-template-columns: 1fr; padding: 36px 28px; gap: 20px; } }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; }
.step { position: relative; padding-top: 64px; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: 0; left: 0; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: .95rem;
  background: var(--yellow); color: var(--plum);
}
.step p { margin-top: 8px; }
.bg-plum .step::before { background: var(--yellow); }
.bg-plum .step p { color: rgba(255, 249, 238, .85); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split p + p { margin-top: 14px; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: 36px; } }

/* photo placeholder */
.photo-ph {
  aspect-ratio: 4 / 5; border-radius: 28px; background: var(--lilac); position: relative; overflow: hidden;
  display: grid; place-items: center; text-align: center; color: var(--plum); font-weight: 500; padding: 24px;
}
.photo-ph::before { content: ""; position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; background: var(--yellow); right: -18%; bottom: -14%; }
.photo-ph span { position: relative; background: rgba(255, 249, 238, .85); border-radius: 12px; padding: 10px 16px; font-size: .9rem; }

/* values */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value { background: #fff; border-radius: var(--radius); padding: 32px 28px; }
.value .icon { width: 44px; height: 44px; margin-bottom: 18px; color: var(--plum); }
.value p { margin-top: 8px; }
@media (max-width: 820px) { .values { grid-template-columns: 1fr; } }

/* packages */
.pkg { background: #fff; border-radius: 28px; padding: 44px; display: grid; grid-template-columns: 1fr 1.25fr; gap: 44px; margin-bottom: 24px; border: 1px solid var(--line); }
.pkg.lilac { background: var(--lilac-soft); border-color: transparent; }
.pkg .what { font-weight: 500; color: var(--plum); margin-top: 6px; }
.pkg .price { margin-top: 24px; color: var(--plum); }
.pkg .price .from { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; display: block; }
.pkg .price .amt { font-weight: 800; font-size: 2.6rem; letter-spacing: -0.03em; line-height: 1.1; }
.pkg .price .per { font-weight: 500; }
.pkg .price .extra { display: block; margin-top: 4px; font-size: .95rem; }
.pkg .intro { margin-top: 18px; }
.pkg .k { font-weight: 600; color: var(--plum); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; }
.pkg .k:not(:first-child) { margin-top: 22px; }
.list { list-style: none; display: grid; gap: 7px; }
.list.plum li::before { background: var(--plum); }
.pkg.whole { background: var(--plum); color: var(--cream); border-color: transparent; }
.pkg.whole h2, .pkg.whole h3, .pkg.whole .what, .pkg.whole .price, .pkg.whole .k { color: var(--cream); }
.pkg.whole .list li::before { background: var(--yellow); }
.tag { display: inline-block; background: var(--yellow); color: var(--plum); font-weight: 700; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; border-radius: 999px; padding: 5px 12px; margin-bottom: 16px; }
.was { text-decoration: line-through; opacity: .7; font-size: 1.1rem; margin-right: 8px; font-weight: 500; }
@media (max-width: 820px) { .pkg { grid-template-columns: 1fr; padding: 32px 26px; gap: 20px; } }

.terms { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 48px; }
.term h3 { font-size: 1.1rem; }
.term h3 span { color: var(--tang); margin-right: 10px; }
.term p { margin-top: 6px; }
@media (max-width: 720px) { .terms { grid-template-columns: 1fr; } }

/* jump links */
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.jump a { text-decoration: none; font-weight: 500; font-size: .95rem; border: 1.5px solid var(--plum); border-radius: 999px; padding: 7px 16px; }
.jump a:hover { background: var(--plum); color: var(--cream); }

/* cta band */
.cta-band { background: var(--lilac); overflow: hidden; padding: 100px 0; }
.cta-band .c { position: absolute; width: 360px; height: 360px; border-radius: 50%; background: var(--yellow); right: -90px; bottom: -200px; }
.cta-band h2 { max-width: 640px; }
.cta-band p { max-width: 560px; margin: 18px 0 32px; color: var(--plum); font-size: 1.1rem; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 56px; align-items: start; }
form { background: #fff; border-radius: 28px; padding: 44px; display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label, fieldset legend { font-weight: 600; color: var(--plum); font-size: .95rem; }
.field .hint { font-size: .85rem; color: var(--muted); font-weight: 400; }
input[type="text"], input[type="email"], input[type="url"], textarea {
  font: inherit; color: var(--body); background: var(--cream); border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 16px; width: 100%;
}
input:focus, textarea:focus { outline: none; border-color: var(--plum); }
textarea { min-height: 140px; resize: vertical; }
fieldset { border: 0; display: grid; gap: 10px; }
.checks { display: flex; flex-wrap: wrap; gap: 10px; }
.check { position: relative; }
.check input { position: absolute; opacity: 0; }
.check span { display: inline-block; border: 1.5px solid var(--line); background: var(--cream); border-radius: 999px; padding: 9px 16px; cursor: pointer; font-weight: 500; color: var(--plum); }
.check input:checked + span { background: var(--plum); color: var(--cream); border-color: var(--plum); }
.check input:focus-visible + span { outline: 3px solid var(--tang); outline-offset: 2px; }
.consent { font-size: .85rem; color: var(--muted); }
.form-status { display: none; border-radius: 14px; padding: 16px 18px; font-weight: 500; }
.form-status.ok { display: block; background: var(--lilac-soft); color: var(--plum); }
.form-status.err { display: block; background: #FFE6DC; color: var(--plum); }
.hp { position: absolute; left: -9999px; }
.contact-side { display: grid; gap: 22px; }
.contact-side .box { background: #fff; border-radius: var(--radius); padding: 28px; }
.contact-side .box a { font-weight: 700; text-decoration: none; word-break: break-word; }
.contact-side .box .k { font-weight: 500; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--plum); margin-bottom: 6px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } form { padding: 30px 22px; } }

/* prose (privacy) */
.prose { max-width: 720px; }
.prose h2 { font-size: 1.5rem; margin: 40px 0 12px; }
.prose p, .prose ul { margin-top: 12px; }
.prose ul { padding-left: 20px; }

/* footer */
.site-footer { background: var(--plum); color: var(--cream); padding: 64px 0 32px; }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer .logo { color: var(--cream); }
.site-footer .tagline { margin-top: 12px; opacity: .85; max-width: 320px; }
.site-footer h4 { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; color: var(--lilac); margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.foot-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 249, 238, .18); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; opacity: .8; }
@media (max-width: 720px) { .foot-grid { grid-template-columns: 1fr; } }

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } .btn:hover { transform: none; } }

/* case study */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.stat { background: var(--cream); border-radius: var(--radius); padding: 30px 28px; }
.stat.lilac { background: var(--lilac-soft); }
.stat.yellow { background: #FFFBD6; }
.stat .n { font-weight: 800; color: var(--plum); font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1; letter-spacing: -0.04em; white-space: nowrap; }
.stat .n span { color: var(--tang); }
.stat p { margin-top: 12px; color: var(--plum); }
.timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.timeline > div { border-top: 2px solid var(--plum); padding-top: 14px; }
.timeline .when { font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--plum); }
.timeline p { margin-top: 6px; }
@media (max-width: 820px) { .stats, .timeline { grid-template-columns: 1fr; } }
.portrait { width: 100%; height: auto; border-radius: 28px; }

/* ---------- motion ---------- */
/* entrance: circles pop in, then float gently */
@keyframes popIn { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: scale(1); } }
@keyframes floatA { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(10px, -14px); } }
@keyframes floatB { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-12px, 10px); } }
@keyframes spinSlow { to { transform: rotate(360deg); } }
@keyframes riseIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

.hero-art .c1 { animation: popIn .9s cubic-bezier(.2,.8,.2,1) both, floatA 9s ease-in-out 1s infinite; }
.hero-art .ring { border-style: dashed; animation: popIn .9s .15s cubic-bezier(.2,.8,.2,1) both, spinSlow 60s linear 1s infinite; }
.hero-art .c2 { animation: popIn .8s .35s cubic-bezier(.2,.8,.2,1) both, floatB 7s ease-in-out 1.2s infinite; }
.hero-art .c3 { animation: popIn .6s .55s cubic-bezier(.2,.8,.2,1) both, floatA 5s ease-in-out 1.2s infinite; }
.page-hero .deco { animation: popIn 1s cubic-bezier(.2,.8,.2,1) both, floatB 10s ease-in-out 1s infinite; }
.page-hero .deco2 { animation: popIn .7s .3s cubic-bezier(.2,.8,.2,1) both, floatA 6s ease-in-out 1s infinite; }
.cta-band .c { animation: floatA 8s ease-in-out infinite; }
.photo-ph::before { animation: floatB 8s ease-in-out infinite; }

/* hero text rises in on load */
.hero .label, .hero h1, .hero .lead, .hero .btns,
.page-hero .label, .page-hero h1, .page-hero .lead, .page-hero .jump { animation: riseIn .8s cubic-bezier(.2,.8,.2,1) both; }
.hero h1, .page-hero h1 { animation-delay: .1s; }
.hero .lead, .page-hero .lead { animation-delay: .2s; }
.hero .btns, .page-hero .jump { animation-delay: .3s; }

/* parallax: JS sets --py; uses the separate `translate` property so it doesn't fight the float animation */
.hero-art, .page-hero .deco, .page-hero .deco2, .cta-band .c { translate: 0 var(--py, 0px); }

/* scroll reveal: slide up, or in from the sides */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.from-left { transform: translateX(-50px); }
.reveal.from-right { transform: translateX(50px); }
.reveal.in { opacity: 1; transform: none; }

/* cards in a row arrive one after another */
.pains > .reveal:nth-child(2), .cards > .reveal:nth-child(2), .steps > .reveal:nth-child(2), .values > .reveal:nth-child(2), .terms > .reveal:nth-child(2) { transition-delay: .12s; }
.pains > .reveal:nth-child(3), .cards > .reveal:nth-child(3), .steps > .reveal:nth-child(3), .values > .reveal:nth-child(3), .terms > .reveal:nth-child(3) { transition-delay: .24s; }
.steps > .reveal:nth-child(4), .terms > .reveal:nth-child(4) { transition-delay: .36s; }
.stats .stat { opacity: 0; transform: translateY(30px) scale(.96); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.stats.in .stat { opacity: 1; transform: none; }
.stats.in .stat:nth-child(2) { transition-delay: .12s; }
.stats.in .stat:nth-child(3) { transition-delay: .24s; }

/* cards lift on hover */
.card, .value, .stat { transition: transform .25s ease, box-shadow .25s ease; }
.card:hover, .value:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(77, 40, 89, .10); }

@media (prefers-reduced-motion: reduce) {
  *, *::before { animation: none !important; transition: none !important; }
  .reveal, .stats .stat { opacity: 1 !important; transform: none !important; }
  .hero-art, .page-hero .deco, .page-hero .deco2, .cta-band .c { translate: none; }
}
