/* ==========================================================================
   Kibo — homepage styles
   ========================================================================== */
@font-face {
    font-family: "PP Editorial New";
    src: url("assets/fonts/PPEditorialNew-Ultralight-BF644b21500d0c0.otf") format("opentype");
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "PP Editorial New";
    src: url("assets/fonts/PPEditorialNew-UltralightItalic-BF644b214ff1e9b.otf") format("opentype");
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "PP Editorial New";
    src: url("assets/fonts/PPEditorialNew-Regular-BF644b214ff145f.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "PP Editorial New";
    src: url("assets/fonts/PPEditorialNew-Italic-BF644b214fb0c0a.otf") format("opentype");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "PP Editorial New";
    src: url("assets/fonts/PPEditorialNew-Ultrabold-BF644b21500840c.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "PP Editorial New";
    src: url("assets/fonts/PPEditorialNew-UltraboldItalic-BF644b214faef01.otf") format("opentype");
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "PP Mori";
    src: url("assets/fonts/PPMori-Extralight.otf") format("opentype");
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "PP Mori";
    src: url("assets/fonts/PPMori-ExtralightItalic.otf") format("opentype");
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "PP Mori";
    src: url("assets/fonts/PPMori-Regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "PP Mori";
    src: url("assets/fonts/PPMori-RegularItalic.otf") format("opentype");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "PP Mori";
    src: url("assets/fonts/PPMori-SemiBold.otf") format("opentype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "PP Mori";
    src: url("assets/fonts/PPMori-SemiBoldItalic.otf") format("opentype");
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}
:root {
  /* colors */
  --cream: #fbf3e4;
  --cream-deep: #e7e0c9;
  --white: #ffffff;
  --ink: #2a1d13;
  --ink-soft: #4a3c30;
  --gray: #766f65;
  --gray-light: #a49c8f;

  --coral: #ea7b54;
  --coral-light: #f7ab8b;
  --coral-pale: #fbd9c6;
  --coral-deep: #dd5f38;

  --brown-900: #2a1408;
  --brown-800: #3a1f10;

  --mint-bg: #eaf7ef;
  --mint-text: #2f7d4f;
  --lavender-bg: #eef2ff;
  --lavender-text: #3d55c9;
  --amber-bg: #fff6df;
  --amber-text: #b3800f;
  --violet-bg: #f3eeff;
  --violet-text: #7048c9;

 /* type */
--font-display: 'PP Editorial New', Georgia, serif;
--font-body: 'PP Mori', -apple-system, BlinkMacSystemFont, sans-serif;

  /* misc */
  --radius-lg: 48px;
  --radius-md: 24px;
  --radius-sm: 14px;
  --ease: cubic-bezier(.22, .8, .32, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

/* FIX 2: PP Editorial New is only defined at weights 200 / 400 / 700.
   Headings previously used font-weight: 300, which isn't a registered
   weight for this family — the browser silently fell back to the
   default serif instead of rendering the custom font. Switched to 400
   (the Regular cut) so headings actually render in PP Editorial New. */
h1, h2, h3,h4,h5 {
  font-family: var(--font-display);
  font-weight: 200;
  margin: 0;
  color: #5D524B;
}

p { margin: 0; }

ul { list-style: none; margin: 0; padding: 0; }

button {
  font-family: inherit;
  border: none;
  cursor: pointer;
}

::selection { background: var(--coral-light); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
}

.logo {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.7rem;
  letter-spacing: .12em;
  color: var(--white);
}

/* -------------------------------------------------------------
   Buttons
   ------------------------------------------------------------- */

  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 10px;
    font-size: .95rem;
    text-transform: capitalize !important;
    font-weight: 500;
    white-space: nowrap;
    transition: transform .35s var(--ease),
                box-shadow .35s var(--ease),
                filter .35s var(--ease);
}


.btn--ghost {
  background: var(--white);
  color: var(--ink);
}

.btn--coral {
  background: linear-gradient(135deg, var(--coral-light), var(--coral-deep));
  color: var(--white);
}

.btn--ghost:hover,
.btn--coral:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(221, 95, 56, .28);
}

.btn--lg {
  padding: 16px 34px;
  font-size: 1rem;
  text-transform: lowercase;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: fixed;
  inset: 0;
  height: 100vh;
  width: 100%;
  z-index: 1;
  overflow: hidden;
  /* FIX 1: pin this fixed layer to its own GPU compositing layer so
     rounded, scrolling sections above it (process/proto/cta/footer)
     don't force it to repaint every frame — that repaint is what was
     causing the hero image to flash through on scroll. */
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.hero-spacer {
  height: 100vh;
}

.hero__bg {
  position: absolute;
  inset: 0;
    background-image: url(assets/hero.jpg.png);
  
  background-size:cover;
  animation: heroDrift 24s ease-in-out infinite alternate;
}

@keyframes heroDrift {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 6% 4%, 0 0; }
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 10, 4, .35) 0%, rgba(20, 10, 4, .1) 30%, rgba(20, 10, 4, .55) 100%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.hero__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 34px 56px;
}


.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    padding: 8px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}


.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 6px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
}

.hero__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  margin-top: -40px;
}

.hero__title {
  color: var(--white);
  font-size: clamp(2.4rem, 4.6vw, 4.6rem);
  line-height: 1.12;
  max-width: 20ch;
  text-wrap: balance;
}

.hero__sub {
  color: rgba(255, 250, 244, .88);
  font-size: 1.05rem;
  font-weight: 200;
  margin: 15px 0 34px;
  width: 45%;
  line-height: 1.5em;
}

.mobile-menu {
  display: none;
}

/* ==========================================================================
   Process section (overlaps hero on scroll)
   ========================================================================== */
.process 
{
  position: relative;
  z-index: 2;
  background: var(--cream);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  margin-top: -36px;
  padding: 130px 56px 140px;
  overflow: hidden;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.process__center{
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    width:820px;
    height:820px;
    display:flex;
    align-items:center;
    justify-content:center;
    pointer-events:none;
    z-index:1;
}

.process__heading{
    position:relative;
    z-index:5;
    width:360px;
    margin:0;
    text-align:center;
    color:var(--coral-light);
    font-size:clamp(2rem,3vw,3rem);
    line-height:1.15;
}

.process__grid{
    position:relative;
    z-index:3;
}

.process__rings{
    position:absolute;
    inset:0;
}

.ring{
    position:absolute;
    left:50%;
    top:50%;

    width:260px;
    height:260px;

    transform:translate(-50%,-50%) scale(.25);

    border-radius:50%;
    border:1px solid rgb(0 0 0);

    opacity:0;

    animation:ripple 6s cubic-bezier(.22,.61,.36,1) infinite;
}

.ring--1{
    animation-delay:0s;
}

.ring--2{
    animation-delay:2s;
}

.ring--3{
    animation-delay:4s;
}

@keyframes ripple{

    0%{
        transform:translate(-50%,-50%) scale(.25);
        opacity:0;
    }

    8%{
        opacity:.22;
    }

    35%{
        opacity:.12;
    }

    100%{
        transform:translate(-50%,-50%) scale(3.9);
        opacity:0;
    }

}

.process__grid {
  position: relative;
  max-width: 1780px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  column-gap: clamp(80px, 25vw, 480px);
  row-gap: 46px;
}

.process-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 46px 50px 40px;
  box-shadow: 0 30px 60px -30px rgba(42, 29, 19, .18);
}

.process-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.process-card h3 {
  font-size: 1.7rem;
  font-weight: 400;
}

.process-card__num {
  font-family: var(--font-display);
  font-size: 3.4rem;
  line-height: 1;
  color: var(--coral);
}

.process-card p {
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 200;
  max-width: 46ch;
}

/* ==========================================================================
   Product prototype ("glimpse") section
   ========================================================================== */

.proto {
  position: relative;
  z-index: 2;
  background: var(--cream);
  padding: 110px 24px 240px;   /* was 170px — extra room = visible gap after the browser overlap */
  overflow: visible;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.proto__card {
  position: relative;
  max-width: 1360px;
  margin: 0 auto;                /* centers it, no bottom margin, no gap */
  background: var(--cream-deep);
  border-radius: 40px;
  padding: 70px 60px 0;
  overflow: visible;
}

.browser {
  max-width: 1260px;
  margin: 0 auto;
  position: relative;
  top: 90px;   /* was margin: 0 auto -160px — that collapsed with the parent instead of overlapping it */
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 60px 100px -50px rgba(42, 20, 8, .45);
}

.proto__heading {
  text-align: center;
  font-size: clamp(1.8rem, 2.6vw, 2.6rem);
  max-width: 18ch;
  margin: 0 auto 0px auto;
  line-height: 1.3;
}


.browser__bar {
  background: var(--brown-900);
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.browser__dots {
  display: flex;
  gap: 7px;
  flex-shrink: 0;
}

.browser__dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.browser__dots span:nth-child(1) { background: #e0685c; }
.browser__dots span:nth-child(2) { background: #e0b054; }
.browser__dots span:nth-child(3) { background: #66b573; }

.browser__url {
  background: rgba(255, 255, 255, .1);
  color: rgba(255, 250, 244, .8);
  font-size: .82rem;
  padding: 7px 16px;
  border-radius: 999px;
  margin: 0 auto;
}

.browser__body {
  background: var(--white);
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 560px;
}

.browser__nav,
.browser__panel {
  min-width: 0; /* prevent grid track blowout from long unbreakable content */
}

.browser__nav {
  background: #fbf7ef;
  border-right: 1px solid #eee3d1;
  padding: 26px 20px;
}

.browser__eyebrow {
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gray-light);
  font-weight: 600;
  margin-bottom: 14px;
  padding-left: 12px;
}

.browser__tabs { display: flex; flex-direction: column; gap: 3px; }

.tab-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  background: transparent;
  color: var(--ink-soft);
  font-size: .85rem;
  font-family: var(--font-body);
  padding: 10px 12px;
  border-radius: 10px;
  transition: background .25s var(--ease), color .25s var(--ease);
}

.tab-btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
}

.tab-btn:hover { background: #f2e9d8; }

.tab-btn.is-active {
  background: var(--brown-900);
  color: var(--white);
}

.tab-btn.is-active svg { fill: currentColor; }

.browser__panel {
  padding: 40px 46px;
}

.panel-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--coral);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.panel-title {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 500;
  line-height: 1.4;
  max-width: 34ch;
}

.panel-meta {
  color: var(--gray);
  font-size: .85rem;
  margin-top: 10px;
}

.panel-meta strong { color: var(--ink); }

.panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 28px;
}

.panel-box {
  border-radius: var(--radius-sm);
  padding: 22px 24px;
}

.panel-box--mint { background: var(--mint-bg); }
.panel-box--lavender { background: var(--lavender-bg); }
.panel-box--amber { background: var(--amber-bg); }
.panel-box--violet { background: var(--violet-bg); }

.panel-box h4 {
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0 0 12px;
}

.panel-box--mint h4 { color: var(--mint-text); }
.panel-box--lavender h4 { color: var(--lavender-text); }
.panel-box--amber h4 { color: var(--amber-text); }
.panel-box--violet h4 { color: var(--violet-text); }

.panel-box ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.panel-box li {
  font-size: .86rem;
  color: var(--ink-soft);
  line-height: 1.5;
  padding-left: 14px;
  position: relative;
}

.panel-box li::before {
  content: '·';
  position: absolute;
  left: 0;
  font-weight: 700;
}

.panel-cta {
  margin-top: 30px;
  background: var(--brown-900);
  color: var(--white);
  padding: 13px 26px;
  border-radius: 999px;
  font-size: .88rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap .25s var(--ease), background .25s var(--ease);
}

.panel-cta:hover { gap: 14px; background: var(--coral-deep); }

.panel-placeholder {
  color: var(--gray);
  font-size: .95rem;
  line-height: 1.7;
  max-width: 46ch;
  margin-top: 16px;
}

/* ==========================================================================
   Community pills
   ========================================================================== */

.community {
  position: relative;
  z-index: 2;
  background: var(--cream);
  padding: 170px 40px;
  overflow: hidden;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.community__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(48% 60% at 50% 50%, rgba(234, 123, 84, .18), transparent 70%);
  pointer-events: none;
}

.community__text {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
  line-height: 1.5;
  font-weight: 200;
  color: #5D524B;
}

.pill {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  padding: 8px 20px 8px 8px;
  border-radius: 999px;
  box-shadow: 0 18px 40px -14px rgba(42, 29, 19, .25);
  font-family: var(--font-display);
  font-style: italic;
  color: var(--coral);
  font-size: .98rem;
  white-space: nowrap;
  opacity: 0;
  transform: scale(.6);
  animation: floatY 6s ease-in-out infinite;
  animation-delay: var(--delay);
}

.pill.in-view {
  animation: pillPop .7s var(--ease) forwards, floatY 6s ease-in-out 1s infinite;
}

@keyframes pillPop {
  0% { opacity: 0; transform: scale(.5); }
  70% { opacity: 1; transform: scale(1.06); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes floatY {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

.pill__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-color: var(--coral-pale);
}

.pill__avatar--sessions { background-image: url(/assets/circle\ 1.png); }
.pill__avatar--community { background-image: url(/assets/circle\ 2.png); }
.pill__avatar--founders { background-image: url(/assets/circle\ 4.png); }
.pill__avatar--hours { background-image: url(/assets/circle\ 3.png); }

.pill[data-pos="tl"] { top: 14%; left: 6%; }
.pill[data-pos="tr"] { top: 12%; right: 6%; }
.pill[data-pos="bl"] { bottom: 10%; left: 14%; }
.pill[data-pos="br"] { bottom: 16%; right: 12%; }

/* ==========================================================================
   Showcase (3 image cards)
   ========================================================================== */

.showcase {
  position: relative;
  z-index: 2;
  background: var(--cream);
  padding: 0 40px 120px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1800px;
  margin: 0 auto;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.showcase-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 500px;
  isolation: isolate;
}

.showcase-card__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .8s var(--ease);
}

.showcase-card:hover .showcase-card__img { transform: scale(1.06); }

.showcase-card__img--pace {
  background: url('assets/Rectangle 43.png') center 25%/cover;
}
.showcase-card__img--adapts {
  background: url('assets/Rectangle 44.png') center/cover;
}
.showcase-card__img--corner {
  background: url('assets/Rectangle 45.png') center/cover;
}

.showcase-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(20, 8, 2, .82) 100%);
  z-index: 1;
}

.showcase-card__text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 0 30px 40px;
  text-align: center;
  color: var(--white);
}

.showcase-card__text h3 {
  color: var(--white);
  font-size: 1.7rem;
  margin-bottom: 10px;
}

.showcase-card__text p {
  font-size: .92rem;
  font-weight: 200;
  color: rgba(255, 250, 244, .85);
  line-height: 1.6;
}

/* ==========================================================================
   CTA
   ========================================================================== */

/* FIX 3 (carried over + corrected): .cta is transparent so nothing paints
   behind cta__inner's rounded corners except the footer sitting beneath it.
   margin-bottom pulls the footer up so the dark footer shows through those
   corners, creating the overlap look from your reference screenshot. */
.cta {
  position: relative;
  z-index: 3;
  background: transparent;
  padding: 0px;
  margin-bottom: -70px;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.cta__inner {
  position: relative;
 border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: 120px 40px 150px;
  text-align: center;
  overflow: hidden;
 background: radial-gradient(120% 160% at var(--mx, 15%) var(--my, 20%), #F26141 0%, #f49872 38%, var(--coral) 68%, var(--coral-deep) 100%);
  transition: background-position 1.2s var(--ease);
}

.cta__inner h2 {
  position: relative;
  color: var(--white);
  font-size: clamp(2rem, 3.4vw, 3.1rem);
}

.cta__inner p {
  position: relative;
  color: rgba(255, 250, 244, .92);
  max-width: 46ch;
  margin: 22px auto 36px;
  font-size: 1rem;
  font-weight: 200;
  line-height: 1.6;
}

.btn--cta {
  position: relative;
  padding: 15px 38px;
  border-radius: 10px;
  color: var(--white);
  font-size: .95rem;
  font-weight: 500;
  background: linear-gradient(135deg, var(--coral-light), var(--coral-deep));
  background-size: 280% 280%;
  background-position: 0% 50%;
  box-shadow: 0 20px 40px -16px rgba(80, 30, 10, .5);
  transition: background-position 1.1s cubic-bezier(.16, .8, .28, 1), transform .35s var(--ease);
}

.btn--cta:hover {
  background-position: 100% 50%;
  transform: translateY(-3px);
}

/* ==========================================================================
   Footer
   ========================================================================== */

/* FIX 3 (corrected): z-index restored to 2 — it must stay ABOVE the fixed
   hero's z-index: 1 but BELOW the cta's z-index: 3, so the stacking order
   is hero(1) -> footer(2) -> cta(3). Dropping this to 1 (a mistake in an
   earlier pass) was what let the hero image show through the footer.
   padding-top is bumped by 70px (90px -> 160px) to offset the -70px
   margin on .cta above, so footer content isn't hidden underneath it. */
.footer {
  position: relative;
  z-index: 2;
  background: var(--brown-900);
  padding: 160px 56px 0;
  overflow: hidden;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.footer__top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 50px;
}

.footer__brand .logo--light { color: var(--white); margin-bottom: 14px; }

.footer__tagline {
  color: rgba(255, 250, 244, .6);
  font-size: .92rem;
  line-height: 1.6;
  font-weight: 200;
}

.footer__col { min-width: 140px; }

.footer__col h4 {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 18px;
}

.footer__col a {
  color: rgba(255, 250, 244, .65);
  font-size: .92rem;
  transition: color .25s var(--ease);
}

.footer__col a:hover { color: var(--coral-light); }

.footer__row { display: flex; gap: 10px; flex-wrap: wrap; }
.footer__row span { color: rgba(255, 250, 244, .3); }

.footer__divider {
  height: 1px;
  background: rgba(255, 250, 244, .14);
}

.footer__bottom {
  padding: 24px 0;
  color: rgba(255, 250, 244, .5);
  font-size: .85rem;
}

.footer__ghost {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(6rem, 20vw, 15rem);
  line-height: .72;
  color: rgba(255, 250, 244, .05);
  text-align: center;
  margin: 0;
  transform: translateY(18%);
  user-select: none;
  white-space: nowrap;
}

/* ==========================================================================
   Floating action button
   ========================================================================== */

.fab {
  position: fixed;
  left: 26px;
  bottom: 26px;
  z-index: 40;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #2f6fed;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px -8px rgba(20, 40, 120, .55);
  transition: transform .3s var(--ease);
}

.fab svg { width: 22px; height: 22px; animation: spin 9s linear infinite; }

.fab:hover { transform: scale(1.08); }

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.process-card.reveal { transition-delay: calc(var(--d) * .12s); }
.showcase-card.reveal { transition-delay: calc(var(--d) * .12s); }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1100px) {
  .process__grid { column-gap: 120px; }
  .ring--outer { width: 620px; height: 620px; }
  .ring--inner { width: 320px; height: 320px; }
  .showcase { grid-template-columns: 1fr; }
  .showcase-card { height: 480px; }
}

@media (max-width: 900px) {
  .browser__body { grid-template-columns: 1fr; }
  .browser__nav {
    border-right: none;
    border-bottom: 1px solid #eee3d1;
    padding: 18px 16px;
  }
  .browser__tabs {
    flex-direction: row;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 4px;
  }
  .browser__tabs::-webkit-scrollbar { display: none; }
  .tab-btn { flex-shrink: 0; padding: 9px 14px; background: #f2e9d8; border-radius: 999px; }
  .tab-btn.is-active { background: var(--brown-900); }
  .browser__eyebrow { display: none; }
  .panel-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .hero__nav { padding: 24px; }
  .nav-actions { display: none; }
  .nav-toggle { display: flex; }

  .mobile-menu {
    position: absolute;
    top: 74px;
    right: 24px;
    left: 24px;
    z-index: 5;
    background: rgba(20, 10, 4, .92);
    border-radius: 20px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: center;
    color: var(--white);
    transform-origin: top right;
    transform: scale(.9);
    opacity: 0;
    pointer-events: none;
    transition: transform .3s var(--ease), opacity .3s var(--ease);
  }

  .mobile-menu.is-open {
    transform: scale(1);
    opacity: 1;
    pointer-events: auto;
  }
.hero__bg {
     background-image: url(/assets/mobile-hero.png);
    background-position: left center !important;
    
}
  .hero__title { font-size: 2.1rem; margin-bottom: 20px; }
  .hero__sub { width: 100%; }
  .hero__content { margin-top: 0; }

  .process { padding: 70px 20px 60px; border-radius: 32px 32px 0 0; }
  .process__center{position: static;      /* was absolute, centered mid-section — pulled it out of flow entirely */
  width: auto;
  height: auto;
  transform: none;
  margin-bottom: 36px;}
  .process__rings { display: none; }
  .process__heading { width: 100%;
  max-width: 100%; color: #5D524B; }
  .process__grid { grid-template-columns: 1fr; row-gap: 24px; }
  .process-card { padding: 34px 28px 30px; }
  .process-card__num { font-size: 2.6rem; }
 
  .proto { padding: 60px 16px 80px; }
  .browser__panel { padding: 28px 22px; }

  .community { padding: 60px 20px; }
  /* FIX 4: remove the 4 floating pill cards on mobile per the reference
     screenshot — they clutter the small viewport and overlap the text. */
  .pill { display: none; }
  .community__text { max-width: 90%; }

  .showcase { padding: 0 20px 80px; gap: 18px; }
  .showcase-card { height: 420px; }

  /* FIX 3, mobile: same overlap logic, scaled down to match the smaller
     32px corner radius .cta__inner uses at this breakpoint. */
  .cta { margin-bottom: -40px; }
  .cta__inner { padding: 80px 24px 100px; border-radius: 0px 0px 32px 32px; }

  .footer { padding: 100px 24px 0; }
  .footer__top { flex-direction: column; text-align: center; align-items: center; gap: 36px; }
  .footer__brand .logo--light{ justify-self: center;
  }
  .footer__row { justify-content: center; }
  .footer__bottom { text-align: center; }

  .fab { width: 46px; height: 46px; left: 18px; bottom: 18px; }
}

/* ==========================================================================
   About page — hero
   ========================================================================== */

.about-hero {
  position: fixed;      /* was relative — this is what pins it while content scrolls over it */
  inset: 0;
  min-height: 100vh;
  width: 100%;
  z-index: 1;
  overflow: hidden;
  transform: translateZ(0);         /* prevents the repaint-flicker on scroll, same fix as homepage */
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.about-hero-spacer {
  height: 100vh;
}

.about-hero__bg {
  position: absolute;
  inset: 0;
  background:url(/assets/About-hero.png);
 background-size: cover;
  animation: heroDrift 24s ease-in-out infinite alternate;
}

.about-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 10, 4, .4) 0%, rgba(20, 10, 4, .12) 32%, rgba(20, 10, 4, .58) 100%);
}

.about-hero__inner {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: clamp(560px, 74vh, 760px);
  display: flex;
  flex-direction: column;
}

.about-hero__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px 90px;
}

.about-hero__title {
  color: var(--white);
  font-size: clamp(2.1rem, 3.8vw, 3.6rem);
  line-height: 1.15;
  max-width: 18ch;
  text-wrap: balance;
  margin-bottom: 26px;
}

.about-hero__sub {
  color: rgba(255, 250, 244, .9);
  font-size: 1rem;
  font-weight: 200;
  line-height: 1.7;
  max-width: 62ch;
  margin: 0 auto 14px;
}

/* ==========================================================================
   About page — founder
   ========================================================================== */

.founder {
  position: relative;
  z-index: 2;
  background: var(--cream);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  margin-top: -48px;
  padding: 110px 56px 130px;
  transform: translateZ(0);   
  -webkit-transform: translateZ(0);   
}

.founder__grid {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;   /* was 1.15fr .85fr — flips the balance toward the photo */
  gap: 90px;
  align-items: center;
}

.founder__heading {
  font-size: clamp(1.8rem, 2.6vw, 2.5rem);
  line-height: 1.35;
  font-weight: 400;
  margin-bottom: 26px;
}

.founder__name {
  color: var(--coral);
  font-style: italic;
}

.founder__text p {
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.75;
  font-weight: 400;
  margin-bottom: 18px;
  max-width: 54ch;
}

.founder__sign {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  font-size: .95rem;
  color: var(--ink-soft);
}

.founder__sign-name {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--coral);
  font-size: 1.7rem;
  margin: 2px 0;
}

.founder__sign-role {
  color: var(--gray-light);
  font-size: .85rem;
}

.founder__photo {
   aspect-ratio: 1.45 / 1;   /* landscape ratio matching your reference (891×607) */
  border-radius: var(--radius-md);
  overflow: hidden;
  background: url(/assets/Mana.png) center / cover;   /* also added "cover" — see note below */
  box-shadow: 0 40px 70px -30px rgba(42, 29, 19, .3);
}

/* ==========================================================================
   About page — core pillars
   ========================================================================== */

.pillars {
  position: relative;
  z-index: 2;
  background: var(--cream);
  padding: 0 56px 130px;
}

.pillars__heading {
  text-align: center;
  color: var(--ink-soft);
  font-weight: 400;
  font-size: clamp(1.6rem, 2.2vw, 2.3rem);
  margin: 0 auto 54px;
}

.showcase--compact {
  padding: 0;
}

.showcase--compact .showcase-card {
  height: 440px;
}

.showcase-card__img--courage {
  background: url('assets/Courage.png') 15% 20%/cover;
}
.showcase-card__img--community {
  background: url('assets/Community.png') center/cover;
}
.showcase-card__img--momentum {
  background: url('assets/Momentum.png') center 30%/cover;
}

/* ==========================================================================
   About page — responsive
   ========================================================================== */

@media (max-width: 1100px) {
  .founder__grid { grid-template-columns: 1fr; gap: 50px; }
  .founder__photo { width: 100%; max-width: 420px; margin: 0 auto; }
  .founder__text { text-align: left; }
}

@media (max-width: 760px) {
  .about-hero__content { padding: 20px 22px 70px; }
  .about-hero__title { font-size: 2rem; }
.about-hero__bg{
      background:url(/assets/about-hero.png);
            background-position: center left !important;
        background-size: cover;
}
  .founder { padding: 70px 22px 90px; border-radius: 32px 32px 0 0; }
  .founder__grid { gap: 40px; }
  .founder__heading { font-size: 1.6rem; }

  .pillars { padding: 0 20px 90px; }
  .proto {
  padding: 0px 0 130px;   /* no side padding — card now touches edges */
}
.proto__card {
  max-width: 100%;
  margin: 0;
  border-radius: 0;         /* removes rounded card look on mobile */
  padding: 40px 16px 0;     /* inner spacing so heading/browser aren't flush to screen edge */
}
.browser {
  margin: 0 auto -60px;     /* smaller overlap, scaled for narrow screens */
  border-radius: 16px;
}
  .showcase--compact .showcase-card { height: 380px; }
}