/* GLOBAL STYLES */

:root {
  --color-bg: #fffaf3;
  --color-bg-soft: #fff3f8;
  --color-primary: #f9b24c;   /* warm golden "glow" */
  --color-secondary: #ff8ba7; /* soft pink "love" */
  --color-teal: #6ec9c5;      /* calming teal "hope" */
  --color-lilac: #b0a5ff;     /* gentle purple "empath" */
  --color-text: #2f2f35;
  --color-muted: #77798a;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.06);
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-pill: 999px;
}

/* Reset-ish */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Prevent horizontal scrolling (FIX) */
html, body {
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Alegreya Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #ffe8f5 0, transparent 40%),
              radial-gradient(circle at top right, #fef5cf 0, transparent 45%),
              var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

/* Stop images from causing overflow (FIX) */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Typography defaults */
h1, h2, h3, h4 {
  font-family: "Frank Ruhl Libre", "Georgia", serif;
  margin: 0 0 0.75em;
  color: var(--color-text);
}

h1 {
  font-size: clamp(2.4rem, 3.4vw + 1.2rem, 3.4rem);
  line-height: 1.08;
}

h2 {
  font-size: clamp(2rem, 2.3vw + 1rem, 2.4rem);
}

h3 {
  font-size: 1.4rem;
}

p {
  margin: 0 0 0.9em;
  font-size: 1.02rem;
}

.lead {
  font-size: 1.15rem;
  font-weight: 400;
}

/* NAVIGATION */

.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  background: rgba(255, 252, 247, 0.85);
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  z-index: 999;
}

.logo-bubble {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: white;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 1.1rem;
  box-shadow: var(--shadow-soft);
}

.logo-bubble.small {
  padding: 8px 14px;
  font-size: 0.95rem;
}

.desktop-nav a {
  margin-left: 1.6rem;
  font-size: 0.98rem;
  text-decoration: none;
  color: var(--color-muted);
  position: relative;
  padding-bottom: 4px;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-teal));
  border-radius: 999px;
  transition: width 0.25s ease;
}

.desktop-nav a:hover {
  color: var(--color-text);
}

.desktop-nav a:hover::after {
  width: 100%;
}


/* Hamburger + overlay (mobile) */

.hamburger {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 1000;
  font-size: 1.6rem;
  padding: 8px 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
  color: #fff;
  display: none;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 10, 25, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 1100;
}

.overlay-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.closebtn {
  position: absolute;
  top: 22px;
  right: 28px;
  font-size: 2.1rem;
  border: none;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.overlay-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.overlay-content a {
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
}

/* HERO — IMPROVED */

.hero {
  min-height: 100vh;
  padding: 140px 10vw 80px; /* gives cleaner breathing room */
  display: flex;
  align-items: center;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr; /* better balance */
  gap: 5vw;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.8rem, 3.6vw + 1.4rem, 4rem);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 1rem;
}

.hero-text .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 0.8rem;
}

.hero-subtitle {
  max-width: 40rem;
  font-size: 1.15rem;
  line-height: 1.55;
  margin-bottom: 1.3rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.tag {
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.03);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.05);
}

/* Images */
.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  width: 100%;
  max-width: 540px; /* aligns with phone mockups visually */
  border-radius: 32px;
  transform: none; /* removes odd stretch */
  margin-left: 0;
  animation: float 5.5s ease-in-out infinite;
}

/* Light radial glow behind phones */
.hero-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, #ffe7d1 0%, transparent 70%);
  filter: blur(30px);
  opacity: 0.8;
  z-index: -1;
}

/* Mobile hero layout */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .hero-image {
    margin-top: 1rem;
  }

  .hero-image img {
    max-width: 420px;
  }
}

/* ---------------
   SECTIONS
---------------- */

.section {
  padding: 72px 7vw;
}

.section-soft {
  background: linear-gradient(180deg, rgba(255, 243, 248, 0.85), rgba(255, 250, 243, 0.95));
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section h2 {
  margin-bottom: 0.6em;
}

/* layout helpers */

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 3vw;
  align-items: flex-start;
}

.three-column {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.4rem;
  align-items: stretch;
}

.highlight-card,
.tool-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.8rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.highlight-card h3,
.tool-card h3 {
  margin-bottom: 0.6rem;
}

.bullet-list,
.checklist {
  padding-left: 1.2rem;
  margin: 0 0 0.8rem;
}

.bullet-list li,
.checklist li {
  margin-bottom: 0.3rem;
}

.checklist li::marker {
  content: "• ";
}

.small-note {
  font-size: 0.9rem;
  color: var(--color-muted);
}
/* INTRO SECTION GRID */
.intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.intro-text p {
  margin-bottom: 1.1rem;
}

/* PHOTO STYLING */
.intro-photo {
  text-align: center;
}

.intro-photo img {
  width: 100%;
  max-width: 360px;
  border-radius: 22px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
  display: block;
  margin: 0 auto;
}

.photo-caption {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-top: 0.75rem;
}

/* MOBILE RESPONSIVE */
@media (max-width: 900px) {
  .intro-grid {
    grid-template-columns: 1fr;
  }
  
  .intro-photo img {
    max-width: 320px;
  }
}

/* pills / chips */

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.2rem 0 0.8rem;
}

.pill {
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius-pill);
  padding: 7px 14px;
  font-size: 0.88rem;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.05);
}

/* images strip */

.image-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
  margin-top: 2.1rem;
}

.image-strip figure {
  margin: 0;
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.image-strip img {
  width: 100%;
  display: block;
}

.image-strip figcaption {
  font-size: 0.9rem;
  padding: 0.8rem 1rem 1rem;
  color: var(--color-muted);
}
/* RESEARCH SECTION LAYOUT */
.research-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 4rem 7vw;
}

.research-row.reverse {
  grid-template-columns: 1fr 1.1fr;
}

.research-row.reverse .research-image {
  order: 2;
}
.research-row.reverse .research-text {
  order: 1;
}

.research-image img {
  width: 100%;
  max-width: 650px;
  border-radius: 22px;
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.15);
}

.research-text h3 {
  margin-bottom: 1rem;
  font-size: 1.7rem;
}

.research-text p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.research-text ul {
  margin: 1rem 0 1.2rem;
  padding-left: 1.2rem;
}

.research-text li {
  margin-bottom: 0.45rem;
}

/* RESPONSIVE BEHAVIOR */
@media (max-width: 900px) {
  .research-row,
  .research-row.reverse {
    grid-template-columns: 1fr;
    padding: 2.5rem 4vw;
  }

  .research-row.reverse .research-image,
  .research-row.reverse .research-text {
    order: unset;
  }

  .research-image img {
    max-width: 100%;
  }
}


/* deliverables */

.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 1.6rem;
}

.deliverable-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.6rem 1.2rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.deliverable-card img {
  width: 100%;
  border-radius: 18px;
  margin-top: 0.4rem;
}
/* ================================ */
/* LADDER MOCKUP GALLERY */
/* ================================ */

.mockup-ladder {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 4.5rem; /* spacing between rows */
}

.ladder-row {
  width: 100%;
  display: flex;
}

.ladder-row img {
  width: 85%;                 /* Larger visuals */
  max-width: 1100px;          /* Ensures they scale big on desktop */
  border-radius: 28px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.18);
}

/* Alternating “ladder” alignment */
.ladder-row.left {
  justify-content: flex-start;
}

.ladder-row.right {
  justify-content: flex-end;
}

/* Extra spacing before Figma embed */
.figma-spacer {
  height: 6rem;  /* adjust larger if needed */
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .ladder-row img {
    width: 100%;
  }

  .ladder-row.left,
  .ladder-row.right {
    justify-content: center;
  }

  .figma-spacer {
    height: 3rem;
  }
}


/* FOOTER */

.footer {
  padding: 50px 7vw 32px;
  background: #1b1725;
  color: #fefaf8;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.6rem;
  align-items: flex-start;
}

.footer-brand p {
  font-size: 0.98rem;
  margin-top: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-links h3 {
  margin-bottom: 0.6rem;
  font-size: 1.05rem;
}

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

.footer-links li {
  margin-bottom: 0.4rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-meta {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 1.4rem;
  padding-top: 0.9rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ANIMATIONS */

/* Section reveal */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Floating hero phones */

@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

/* RESPONSIVE */

@media (max-width: 960px) {
  .desktop-nav {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .hero {
    padding-top: 110px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .hero-text {
    order: 2;
  }

  .hero-image {
    order: 1;
    margin-bottom: 1.4rem;
  }

  .two-column {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 64px 6vw;
  }

  .top-nav {
    padding: 0 4vw;
    height: 68px;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.7rem;
  }
}
/* NAV LOGO */
.nav-logo {
  height: 48px;
  width: auto;
  display: block;
}

/* FOOTER LOGO */
.footer-logo {
  height: 60px;
  width: auto;
  display: block;
  margin-bottom: 12px;
}
/* ========================== */
/* PROCESS SECTION LAYOUT FIX */
/* ========================== */

.process-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin: 4rem 0;
}

.process-row.reverse {
  grid-template-columns: 1fr 1.1fr;
}

.process-row.reverse .process-image {
  order: 2;
}

.process-row.reverse .process-text {
  order: 1;
}

.process-image img {
  width: 100%;
  max-width: 650px;
  border-radius: 22px;
  box-shadow: 0 25px 55px rgba(0,0,0,0.15);
  display: block;
}

.process-text h3 {
  margin-bottom: 1rem;
  font-size: 1.7rem;
}

.process-text p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* MOBILE */
@media (max-width: 900px) {
  .process-row,
  .process-row.reverse {
    grid-template-columns: 1fr;
  }

  .process-row.reverse .process-image,
  .process-row.reverse .process-text {
    order: unset;
  }

  .process-image img {
    max-width: 100%;
  }
}
