/* ============================================================
   Powered By Founders — styles.css
   A company of StreamLab AI
   ============================================================ */

/* ── CSS Variables ──────────────────────────────────────────── */
:root {
  /* Base */
  --color-paper:       #F7F2E8;
  --color-paper-alt:   #FBF7EF;
  --color-ink:         #23201C;
  --color-charcoal:    #3A352F;

  /* Accent */
  --color-orange:      #E86F2C;
  --color-orange-dark: #C9551C;
  --color-terracotta:  #F29A6A;

  /* Neutrals */
  --color-border:      #D8D0C4;
  --color-muted:       #7A7167;
  --color-card:        #FFFDFC;

  /* Typography */
  --font-base: Inter, ui-sans-serif, system-ui, -apple-system,
               BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Spacing */
  --space-xs:   0.5rem;
  --space-sm:   1rem;
  --space-md:   1.5rem;
  --space-lg:   2.5rem;
  --space-xl:   4rem;
  --space-2xl:  6rem;
  --space-3xl:  9rem;

  /* Layout */
  --max-width:      1120px;
  --max-width-text: 720px;
  --section-pad:    var(--space-2xl) var(--space-sm);

  /* Transitions */
  --transition: 0.25s ease;
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-base);
  background-color: var(--color-paper);
  color: var(--color-ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

/* ── Typography Scale ───────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-base);
  color: var(--color-ink);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.6rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }

p {
  font-size: 1.0625rem;
  color: var(--color-charcoal);
  line-height: 1.8;
}

.text-muted { color: var(--color-muted); }
.text-small { font-size: 0.875rem; }

/* ── Layout Utilities ───────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

.container--narrow {
  max-width: var(--max-width-text);
}

section {
  padding: var(--section-pad);
}

/* ── Button ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-base);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background-color var(--transition), transform var(--transition),
              box-shadow var(--transition);
  text-decoration: none;
}

.btn--primary {
  background-color: var(--color-orange);
  color: #fff;
}

.btn--primary:hover {
  background-color: var(--color-orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(232, 111, 44, 0.28);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--ghost {
  background-color: transparent;
  color: var(--color-ink);
  border: 1.5px solid var(--color-border);
}

.btn--ghost:hover {
  border-color: var(--color-orange);
  color: var(--color-orange);
}

/* ── Divider / Orange Rule ──────────────────────────────────── */
.orange-rule {
  display: block;
  width: 40px;
  height: 3px;
  background-color: var(--color-orange);
  border: none;
  margin-bottom: var(--space-md);
}

/* ── Reveal Animations ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

/* ─────────────────────────────────────────────────────────────
   HEADER
───────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(247, 242, 232, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 2px 16px rgba(35, 32, 28, 0.07);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.header-logo {
  flex-shrink: 0;
}

.header-logo img {
  height: 44px;
  width: auto;
}

/* Nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.site-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-charcoal);
  letter-spacing: 0.01em;
  transition: color var(--transition);
  position: relative;
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-orange);
  transition: width var(--transition);
}

.site-nav a:hover {
  color: var(--color-orange);
}

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

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background-color: var(--color-ink);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition), width var(--transition);
  width: 100%;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
  width: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─────────────────────────────────────────────────────────────
   HERO
───────────────────────────────────────────────────────────── */
.hero {
  background-color: var(--color-paper);
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(242, 154, 106, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

.hero__eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: var(--space-md);
}

.hero__headline {
  max-width: 820px;
  margin-bottom: var(--space-md);
}

.hero__subheadline {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--color-charcoal);
  max-width: 600px;
  line-height: 1.65;
  margin-bottom: var(--space-md);
  font-weight: 400;
}

.hero__body {
  max-width: 560px;
  color: var(--color-muted);
  font-size: 0.9375rem;
  line-height: 1.8;
  margin-bottom: var(--space-xl);
}

.hero__cta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* ─────────────────────────────────────────────────────────────
   SECTION: This Started as a Habit
───────────────────────────────────────────────────────────── */
.section-habit {
  background-color: var(--color-paper-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.section-habit .habit-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: stretch;
  min-height: 500px;
}

/* Left column — acts as image container with heading at top */
.habit-heading-col {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: visible;
}

/* The pencil-sketch image fills the entire left column and bleeds
   slightly outside it, fading right so it merges with the body column */
.habit-sketch {
  position: absolute;
  top: -80px;
  left: -120px;  /* bleed to section edge */
  right: -10px;
  bottom: -80px;
  width: calc(100% + 130px);
  height: calc(100% + 160px);
  object-fit: cover;
  object-position: center 18%;
  /* Pencil-sketch effect: desaturate, lower contrast, lift brightness */
  filter: grayscale(100%) contrast(0.62) brightness(1.38);
  mix-blend-mode: multiply;  /* light areas dissolve into warm paper bg */
  opacity: 0.85;
  /* Fade right edge so sketch dissolves into the body column */
  -webkit-mask-image: linear-gradient(
    to right,
    black 0%,
    black 48%,
    rgba(0,0,0,0.55) 68%,
    rgba(0,0,0,0.15) 85%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    black 0%,
    black 48%,
    rgba(0,0,0,0.55) 68%,
    rgba(0,0,0,0.15) 85%,
    transparent 100%
  );
  pointer-events: none;
  user-select: none;
}

/* Heading text sits above the sketch image */
.habit-heading-text {
  position: relative;
  z-index: 2;
  padding-bottom: var(--space-sm);
}

.habit-heading-col h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  line-height: 1.15;
}

/* Right column — body text centred vertically */
.habit-body-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--space-md);
}

.habit-body-col p {
  margin-bottom: var(--space-sm);
}

.habit-body-col p:last-child {
  margin-bottom: 0;
}

.habit-quote {
  font-size: 1.125rem;
  font-style: italic;
  color: var(--color-charcoal);
  border-left: 3px solid var(--color-orange);
  padding-left: var(--space-sm);
  margin: var(--space-md) 0;
}

/* ─────────────────────────────────────────────────────────────
   SECTION: Why This Exists
───────────────────────────────────────────────────────────── */
.section-why {
  background-color: var(--color-paper);
}

.section-why .why-inner {
  max-width: var(--max-width-text);
}

.section-why h2 {
  margin-bottom: var(--space-lg);
}

.section-why p {
  margin-bottom: var(--space-sm);
}

.section-why p:last-child {
  margin-bottom: 0;
}

/* ─────────────────────────────────────────────────────────────
   SECTION: What We Do
───────────────────────────────────────────────────────────── */
.section-services {
  background-color: var(--color-paper-alt);
  border-top: 1px solid var(--color-border);
}

.section-services__intro {
  max-width: var(--max-width-text);
  margin-bottom: var(--space-xl);
}

.section-services__intro h2 {
  margin-bottom: var(--space-sm);
}

.section-services__intro p {
  font-size: 1.0625rem;
  color: var(--color-muted);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.service-card {
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: var(--space-lg);
  transition: box-shadow var(--transition), border-color var(--transition),
              transform var(--transition);
}

.service-card:hover {
  box-shadow: 0 8px 32px rgba(35, 32, 28, 0.07);
  border-color: var(--color-terracotta);
  transform: translateY(-2px);
}

.service-card__number {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: var(--space-sm);
}

.service-card h3 {
  font-size: 1.125rem;
  margin-bottom: var(--space-xs);
  color: var(--color-ink);
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--color-muted);
  line-height: 1.75;
}

.services-closing {
  max-width: 600px;
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-lg);
}

.services-closing p {
  color: var(--color-muted);
  font-size: 0.9375rem;
  margin-bottom: var(--space-xs);
}

.services-closing strong {
  display: block;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-ink);
  line-height: 1.5;
  margin-top: var(--space-xs);
}

/* ─────────────────────────────────────────────────────────────
   SECTION: Who This Is For
───────────────────────────────────────────────────────────── */
.section-who {
  background-color: var(--color-ink);
  color: #fff;
}

.section-who h2 {
  color: #fff;
  margin-bottom: var(--space-lg);
  max-width: 700px;
}

.section-who .orange-rule {
  background-color: var(--color-orange);
}

/* Two-column inner layout */
.who-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
  margin-top: 0;
}

.who-left p,
.who-right p {
  color: rgba(255,255,255,0.75);
  margin-bottom: var(--space-md);
}

.who-left p:last-child,
.who-right p:last-child {
  margin-bottom: 0;
}

.who-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--space-sm);
  border-left: 1px solid rgba(255,255,255,0.1);
  padding-left: var(--space-2xl);
}

.who-prompt {
  color: rgba(255,255,255,0.55) !important;
  font-size: 0.9375rem !important;
  margin-bottom: var(--space-xs) !important;
}

.who-signals {
  margin: var(--space-md) 0 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.who-signals li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.who-signals li::before {
  content: '→';
  color: var(--color-terracotta);
  font-size: 0.875rem;
  margin-top: 0.15em;
  flex-shrink: 0;
}

.who-quote {
  display: block;
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  font-style: italic;
  font-weight: 500;
  color: #fff;
  line-height: 1.4;
  margin: var(--space-xs) 0 var(--space-md);
  position: relative;
  padding-left: var(--space-md);
}

.who-quote::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  background-color: var(--color-orange);
}

.who-qualifier {
  color: var(--color-terracotta) !important;
  font-size: 0.9375rem !important;
  font-weight: 500;
  margin-top: 0 !important;
}

/* ─────────────────────────────────────────────────────────────
   SECTION: How We Work
───────────────────────────────────────────────────────────── */
.section-process {
  background-color: var(--color-paper);
  border-top: 1px solid var(--color-border);
}

.section-process h2 {
  margin-bottom: var(--space-xl);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.process-step {
  position: relative;
  padding-top: var(--space-md);
  border-top: 2px solid var(--color-border);
  transition: border-color var(--transition);
}

.process-step:hover {
  border-top-color: var(--color-orange);
}

.process-step__num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: var(--space-sm);
}

.process-step h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
  color: var(--color-ink);
}

.process-step p {
  font-size: 0.9375rem;
  color: var(--color-muted);
  line-height: 1.75;
}

/* ─────────────────────────────────────────────────────────────
   SECTION: Founders
───────────────────────────────────────────────────────────── */
.section-founders {
  background-color: var(--color-paper-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.founders-intro {
  max-width: var(--max-width-text);
  margin-bottom: var(--space-xl);
}

.founders-intro h2 {
  margin-bottom: var(--space-sm);
}

.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.founder-card {
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: var(--space-lg);
  transition: box-shadow var(--transition), border-color var(--transition),
              transform var(--transition);
}

.founder-card:hover {
  box-shadow: 0 8px 32px rgba(35, 32, 28, 0.07);
  border-color: var(--color-terracotta);
  transform: translateY(-2px);
}

/* Photo stacked above name */
.founder-card__header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.founder-card__photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--color-border);
  flex-shrink: 0;
  background-color: var(--color-paper-alt);
}

.founder-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.founder-card__identity {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.founder-card__name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-ink);
  margin: 0;
}

.founder-card__role {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin: 0;
}

.founder-card__divider {
  width: 32px;
  height: 2px;
  background-color: var(--color-border);
  margin-bottom: var(--space-md);
}

.founder-card p {
  font-size: 0.9375rem;
  color: var(--color-muted);
  line-height: 1.75;
}

.founders-together {
  background-color: var(--color-paper);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: var(--space-lg);
  max-width: 800px;
}

.founders-together p {
  font-size: 1rem;
  color: var(--color-charcoal);
  line-height: 1.8;
}

/* ─────────────────────────────────────────────────────────────
   SECTION: Contact
───────────────────────────────────────────────────────────── */
.section-contact {
  background-color: var(--color-paper);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.contact-lede h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  margin-bottom: var(--space-md);
  line-height: 1.25;
}

.contact-lede p {
  color: var(--color-muted);
  font-size: 0.9375rem;
  line-height: 1.8;
}

.form-heading {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: var(--space-md);
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-charcoal);
}

.form-group input {
  font-family: var(--font-base);
  font-size: 0.9375rem;
  color: var(--color-ink);
  background-color: var(--color-card);
  border: 1.5px solid var(--color-border);
  border-radius: 4px;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}

.form-group input::placeholder {
  color: var(--color-muted);
  font-size: 0.9rem;
}

.form-group input:focus {
  border-color: var(--color-orange);
  box-shadow: 0 0 0 3px rgba(232, 111, 44, 0.12);
}

.contact-form .btn {
  align-self: flex-start;
  margin-top: var(--space-xs);
}

/* ─────────────────────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────────────────────── */
.site-footer {
  background-color: var(--color-ink);
  color: rgba(255,255,255,0.5);
  padding: var(--space-xl) var(--space-sm);
  border-top: 3px solid var(--color-orange);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.footer-logo img {
  height: 38px;
  width: auto;
  /* mix-blend-mode: screen makes the light logo background dissolve
     into the dark footer so the logo appears naturally without a box */
  mix-blend-mode: screen;
  opacity: 0.95;
}

.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  margin-top: 0.5rem;
  max-width: 260px;
  line-height: 1.6;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}

.footer-nav a:hover {
  color: var(--color-terracotta);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.5;
}

.footer-bottom a {
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}

.footer-bottom a:hover {
  color: var(--color-terracotta);
}

/* ─────────────────────────────────────────────────────────────
   THANK YOU PAGE
───────────────────────────────────────────────────────────── */
.thankyou-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.thankyou-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2xl) var(--space-sm);
}

.thankyou-card {
  max-width: 560px;
  text-align: center;
}

.thankyou-card .logo-wrap {
  margin-bottom: var(--space-xl);
  display: flex;
  justify-content: center;
}

.thankyou-card .logo-wrap img {
  height: 44px;
  width: auto;
}

.thankyou-card__icon {
  width: 56px;
  height: 56px;
  background-color: rgba(232, 111, 44, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
}

.thankyou-card__icon svg {
  width: 26px;
  height: 26px;
  color: var(--color-orange);
  stroke: var(--color-orange);
}

.thankyou-card h1 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  margin-bottom: var(--space-sm);
  color: var(--color-ink);
}

.thankyou-card p {
  color: var(--color-muted);
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: var(--space-xl);
}

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE — TABLET (≤ 860px)
───────────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  :root {
    --section-pad: 4rem 1rem;
  }

  .header-logo img { height: 36px; }

  .site-nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: fixed;
    inset: 72px 0 0;
    background-color: var(--color-paper);
    border-top: 1px solid var(--color-border);
    padding: var(--space-md);
    z-index: 99;
    overflow-y: auto;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.875rem 0;
    font-size: 1.0625rem;
    border-bottom: 1px solid var(--color-border);
    width: 100%;
  }

  .site-nav a::after { display: none; }

  .site-nav .btn {
    margin-top: var(--space-sm);
    width: 100%;
    justify-content: center;
  }

  .nav-toggle {
    display: flex;
  }

  /* Hero */
  .hero {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-2xl);
  }

  /* Habit — on mobile stack as: heading → image → body text, no overlap */
  .section-habit .habit-inner {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: auto;
  }

  .habit-heading-col {
    min-height: auto;
    overflow: visible;
    padding-bottom: 0;
  }

  /* On mobile the sketch becomes a normal flowing image — no absolute positioning */
  .habit-sketch {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    height: auto;
    max-height: 360px;
    object-fit: cover;
    object-position: center 15%;
    margin-top: var(--space-md);
    /* Fade bottom edge only so it dissolves into the next element */
    -webkit-mask-image: linear-gradient(
      to bottom,
      black 55%,
      rgba(0,0,0,0.5) 80%,
      transparent 100%
    );
    mask-image: linear-gradient(
      to bottom,
      black 55%,
      rgba(0,0,0,0.5) 80%,
      transparent 100%
    );
  }

  .habit-body-col {
    padding-top: var(--space-lg);
  }

  /* Who */
  .who-inner {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .who-right {
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-left: 0;
    padding-top: var(--space-lg);
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Process */
  .process-steps {
    grid-template-columns: 1fr;
  }

  /* Founders */
  .founders-grid {
    grid-template-columns: 1fr;
  }

  /* Contact */
  .contact-inner {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  /* Footer */
  .footer-top {
    flex-direction: column;
    gap: var(--space-md);
  }
}

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE — MOBILE (≤ 480px)
───────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  :root {
    --section-pad: 3rem 1rem;
  }

  .header-logo img { height: 30px; }

  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.6rem; }

  .hero__subheadline { font-size: 1.05rem; }

  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }

  .service-card { padding: var(--space-md); }
  .founder-card { padding: var(--space-md); }
  .founders-together { padding: var(--space-md); }
  .process-step { padding-top: var(--space-sm); }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
