/* ==========================================================================
   5&5 Studios — design system
   Brand tokens sourced from 5n5_Studios_intro_2026.pdf (June 2026)
   ========================================================================== */

:root{
  --sand:        #E5E2DC;
  --sand-light:  #F3F1EC;
  --white:       #FFFFFF;
  --cream:       #FCF7EC;
  --teal:        #3CA68F;
  --teal-dark:   #2B7A69;
  --coral:       #EF795A;
  --coral-light: #EFB185;
  --charcoal:    #485A58;
  --charcoal-dark: #2F3636;
  --ink:         #2F3636;
  --muted:       #7C8683;

  --gradient-coral: linear-gradient(90deg, var(--coral), var(--coral-light));

  --font: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1160px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-pill: 100px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4,p{ margin: 0; }

.wrap{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

h1,h2,h3,h4{ font-weight: 700; line-height: 1.15; }

h1{ font-size: clamp(34px, 5vw, 54px); }
h2{ font-size: clamp(26px, 3.4vw, 36px); }
h3{ font-size: 19px; }

p{ line-height: 1.7; color: var(--charcoal); }
.lede{ font-size: 18px; line-height: 1.65; color: var(--charcoal); }

/* ---------- eyebrow pill ---------- */
.eyebrow{
  display: inline-block;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  background: var(--gradient-coral);
  color: #7A2E14;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.eyebrow.on-dark{ color: #5c2412; }

/* ---------- buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, opacity .15s ease;
}
.btn:hover{ transform: translateY(-1px); opacity: .92; }
.btn-primary{ background: var(--gradient-coral); color: #5c2412; }
.btn-light{ background: var(--cream); color: var(--teal-dark); }
.btn-outline{ background: transparent; color: var(--ink); border: 1.5px solid var(--charcoal); }
.btn-outline.on-dark{ color: var(--white); border-color: rgba(255,255,255,.5); }

/* ---------- header ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(243,241,236,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(72,90,88,.08);
}
.site-header .wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.brand{
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
}
.brand img{ width: 30px; height: 30px; }
.main-nav{ display: flex; align-items: center; gap: 34px; }
.main-nav a{
  font-size: 14px;
  font-weight: 500;
  color: var(--charcoal);
}
.main-nav a:hover{ color: var(--teal-dark); }
.nav-toggle{ display: none; }

@media (max-width: 860px){
  .main-nav{
    position: fixed;
    inset: 84px 0 0 0;
    background: var(--sand-light);
    flex-direction: column;
    justify-content: flex-start;
    padding: 36px 32px;
    gap: 22px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .main-nav.open{ opacity: 1; pointer-events: auto; transform: translateY(0); }
  .main-nav a{ font-size: 18px; }
  .nav-toggle{
    display: block;
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
    color: var(--ink);
  }
}

/* ---------- sections ---------- */
section{ padding: 88px 0; }
@media (max-width: 700px){ section{ padding: 60px 0; } }

.bg-sand{ background: var(--sand); }
.bg-sand-light{ background: var(--sand-light); }
.bg-white{ background: var(--white); }
.bg-teal{ background: var(--teal); color: var(--white); }
.bg-charcoal{ background: var(--charcoal-dark); color: var(--white); }

/* ---------- hero ---------- */
.hero{
  padding-top: 72px;
  position: relative;
  overflow: hidden;
}
.hero-grid{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px){
  .hero-grid{ grid-template-columns: 1fr; }
}
.hero h1 span.teal{ color: var(--teal); }
.hero h1 span.charcoal{ color: var(--charcoal); }
.hero-actions{ display: flex; gap: 16px; margin-top: 34px; flex-wrap: wrap; }
.hero-photo{
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--sand);
}
.hero-photo img{ width: 100%; height: 100%; object-fit: cover; }
.blob{
  position: absolute;
  border-radius: 50%;
  opacity: .18;
  background: var(--teal);
}

/* ---------- pillar / stat strip ---------- */
.strip{
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 24px;
  text-align: center;
}
.strip .item{ font-weight: 700; font-size: 15px; }
.strip .item span{ display:block; font-size: 12px; font-weight: 500; opacity: .8; margin-top: 4px; }

.stat-strip{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
  padding: 36px 0;
  border-top: 1px solid rgba(72,90,88,.1);
  border-bottom: 1px solid rgba(72,90,88,.1);
}
.stat-strip .stat-num{ font-size: 24px; font-weight: 700; color: var(--ink); }
.stat-strip .stat-label{ font-size: 13px; color: var(--muted); margin-top: 2px; }

/* ---------- icon circle ---------- */
.icon-circle{
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid var(--coral);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-dark);
}
.icon-circle svg{ width: 24px; height: 24px; }
.icon-circle.lg{ width: 64px; height: 64px; min-width: 64px; }
.icon-circle.lg svg{ width: 28px; height: 28px; }

/* ---------- feature row ---------- */
.feature{
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.feature h4{ font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.feature p{ font-size: 14px; color: var(--muted); margin: 0; }

.grid-2{ display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
@media (max-width: 860px){
  .grid-3{ grid-template-columns: 1fr 1fr; }
  .grid-4{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .grid-2, .grid-3, .grid-4{ grid-template-columns: 1fr; }
}

/* ---------- service card ---------- */
.service-card{
  background: var(--white);
  border: 1px solid rgba(72,90,88,.1);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: border-color .2s ease, transform .2s ease;
}
.service-card:hover{ border-color: var(--coral); transform: translateY(-3px); }
.service-card h3{ margin: 18px 0 8px; }
.service-card p{ font-size: 14px; margin-bottom: 18px; }
.service-card .link{
  font-size: 13px;
  font-weight: 700;
  color: var(--teal-dark);
}

/* ---------- teal info card ---------- */
.teal-card{
  background: var(--teal);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
}
.teal-card h3, .teal-card h4{ color: var(--white); }
.teal-card p{ color: rgba(255,255,255,.88); }
.teal-card ul li{
  display: flex;
  gap: 10px;
  font-size: 14px;
  margin-bottom: 10px;
  color: rgba(255,255,255,.92);
}
.teal-card ul li svg{ width: 16px; height: 16px; min-width: 16px; margin-top: 3px; color: var(--coral-light); }

/* ---------- process steps ---------- */
.process{
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.process .step{ flex: 1; min-width: 130px; text-align: left; }
.process .num{
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--coral);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: 14px;
  font-size: 15px;
}
.process .step h4{ font-size: 14px; margin-bottom: 6px; }
.process .step p{ font-size: 13px; color: var(--muted); }
.process-arrow{ display:none; }

/* ---------- founder ---------- */
.founder{
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 860px){ .founder{ grid-template-columns: 1fr; } }
.founder-photo{
  background: var(--sand);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 380px;
}
.founder-photo img{ width: 100%; object-fit: contain; }
.founder-tag{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--teal);
  color: var(--white);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-top: 20px;
}
.founder-tag b{ font-weight: 700; }

/* ---------- CTA band ---------- */
.cta-band{
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
@media (max-width: 700px){ .cta-band{ padding: 36px; } }

/* ---------- footer ---------- */
.site-footer{ background: var(--charcoal-dark); color: rgba(255,255,255,.75); padding: 56px 0 28px; }
.footer-grid{
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-brand{ display: flex; align-items: center; gap: 10px; color: var(--white); font-weight: 700; font-size: 16px; }
.footer-brand img{ width: 26px; height: 26px; }
.footer-col h4{ color: var(--white); font-size: 13px; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col a{ display: block; font-size: 14px; margin-bottom: 10px; color: rgba(255,255,255,.75); }
.footer-col a:hover{ color: var(--coral-light); }
.footer-bottom{
  display: flex;
  justify-content: space-between;
  padding-top: 22px;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(255,255,255,.5);
}

/* ---------- form ---------- */
.form-field{ margin-bottom: 20px; }
.form-field label{ display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.form-field input, .form-field textarea, .form-field select{
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(72,90,88,.2);
  font-family: var(--font);
  font-size: 14px;
  background: var(--white);
  color: var(--ink);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus{ outline: none; border-color: var(--teal); }
.form-field textarea{ min-height: 130px; resize: vertical; }
.form-field select{ appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23485A58' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}

/* ---------- platform strip ---------- */
.platform-strip{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.platform-pill{
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(72,90,88,.18);
  font-size: 14px;
  font-weight: 700;
  color: var(--charcoal);
  background: var(--white);
}

/* ---------- diagram ---------- */
.diagram-panel{ text-align: center; }
.diagram-panel svg{ max-width: 460px; width: 100%; height: auto; }
.diagram-label{
  display: inline-block;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.diagram-label.without{ background: rgba(72,90,88,.12); color: var(--charcoal); }
.diagram-label.with{ background: var(--gradient-coral); color: #5c2412; }

/* ---------- blog ---------- */
.blog-card{
  background: var(--white);
  border: 1px solid rgba(72,90,88,.1);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: border-color .2s ease, transform .2s ease;
  display: block;
}
.blog-card:hover{ border-color: var(--coral); transform: translateY(-3px); }
.blog-tag{
  display: inline-block;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: var(--sand-light);
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.blog-card h3{ font-size: 20px; margin-bottom: 10px; }
.blog-card p{ font-size: 14px; margin-bottom: 16px; }
.blog-card .read-more{ font-size: 13px; font-weight: 700; color: var(--teal-dark); }
.blog-meta{ font-size: 13px; color: var(--muted); margin-bottom: 8px; }

.article-body{ max-width: 720px; margin: 0 auto; }
.article-body p{ font-size: 17px; line-height: 1.75; color: var(--charcoal); margin-bottom: 24px; }
.article-body h2{ font-size: 24px; margin: 40px 0 16px; color: var(--ink); }
.article-body strong{ color: var(--ink); }
.article-back{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: 24px;
}
.article-cta{
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
  margin-top: 48px;
}

.article-summary{
  background: var(--sand-light);
  border-left: 4px solid var(--coral);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin-bottom: 32px;
}
.article-summary p{ font-size: 15px; margin: 0; color: var(--charcoal); }
.article-summary p strong{ color: var(--ink); }

.faq-section{ margin-top: 48px; }
.faq-item{ margin-bottom: 22px; }
.faq-item h3{ font-size: 16px; margin-bottom: 6px; color: var(--ink); }
.faq-item p{ font-size: 15px; margin-bottom: 0; }

/* ---------- utility ---------- */
.center{ text-align: center; }
.mt-8{ margin-top: 8px; } .mt-16{ margin-top: 16px; } .mt-24{ margin-top: 24px; } .mt-32{ margin-top: 32px; } .mt-48{ margin-top: 48px; }
.max-560{ max-width: 560px; }
.max-640{ max-width: 640px; }
.max-680{ max-width: 680px; }
