/* ── GLOBAL RESET & VARIABLES ── */
*, *::before, *::after { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
}

:root {
  --cream: #F7F3EE;
  --warm-white: #FDFAF6;
  --terra: #B5603A;
  --terra-mid: #D4825E;
  --terra-pale: #F2E4DA;
  --sage: #7A9980;
  --sage-pale: #EBF1EC;
  --ink: #231710;
  --ink-mid: #5C3D2E;
  --ink-light: #9C7A6A;
  --ink-faint: #C8AFA3;
  --border: rgba(181,96,58,0.12);
  --border-mid: rgba(181,96,58,0.2);
}

html { 
  scroll-behavior: smooth; 
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
  font-size: 1.15rem; 
  line-height: 1.75;
}

/* ── NAVIGATION BAR ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.3rem 5rem;
  background: rgba(247,243,238,0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem; color: var(--ink);
  text-decoration: none; letter-spacing: 0.01em;
  font-weight: 700;
}
.nav-logo span { color: var(--terra); }

.nav-links { display: flex; gap: 2.8rem; list-style: none; }
.nav-links a {
  font-size: 0.95rem; font-weight: 500;
  letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--ink-mid); text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--terra); }

/* ── HERO SECTION ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  padding: 10rem 5rem 5rem;
  gap: 5rem;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 45%;
  background: linear-gradient(135deg, var(--terra-pale) 0%, var(--sage-pale) 100%);
  z-index: 0;
  clip-path: polygon(8% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.hero-content { position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.85rem; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--terra);
  margin-bottom: 2rem;
  animation: fadeUp 0.6s ease both;
}
.hero-eyebrow::before {
  content: '';
  width: 24px; height: 1.5px;
  background: var(--terra);
  display: block;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 5vw, 4.3rem);
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 1.8rem;
  animation: fadeUp 0.7s 0.1s ease both;
}

.hero h1 em {
  font-style: italic;
  color: var(--terra);
}

.hero-desc {
  font-size: 1.15rem; line-height: 1.85;
  color: var(--ink-mid);
  max-width: 550px;
  margin-bottom: 2.8rem;
  animation: fadeUp 0.7s 0.2s ease both;
}

.hero-cta {
  display: flex; gap: 1.2rem; flex-wrap: wrap;
  animation: fadeUp 0.7s 0.3s ease both;
}

.btn-primary {
  display: inline-block;
  background: var(--terra); color: white;
  font-size: 1rem; font-weight: 500;
  letter-spacing: 0.04em;
  padding: 1.1rem 2.4rem; border-radius: 0.3rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: #9e4f2c; transform: translateY(-2px); }

.btn-ghost {
  display: inline-block;
  border: 1.5px solid var(--ink-faint);
  color: var(--ink-mid);
  font-size: 1rem; font-weight: 500;
  letter-spacing: 0.04em;
  padding: 1.1rem 2.4rem; border-radius: 0.3rem;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
}
.btn-ghost:hover { border-color: var(--terra); color: var(--terra); transform: translateY(-2px); }

/* Hero Graphic Visual Stack */
.hero-visual {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  animation: fadeIn 0.9s 0.4s ease both;
}

.notion-stack {
  position: relative; width: 340px; height: 400px;
}

.n-card {
  position: absolute;
  background: white;
  border-radius: 0.9rem;
  padding: 1.5rem;
  box-shadow: 0 4px 24px rgba(35,23,16,0.1);
}

.nc1 {
  width: 310px; top: 0; left: 0;
  border-top: 3px solid var(--terra);
  animation: floatA 4.5s ease-in-out infinite;
}
.nc2 {
  width: 290px; top: 130px; left: 25px;
  border-top: 3px solid var(--sage);
  animation: floatB 5s ease-in-out infinite;
}
.nc3 {
  width: 270px; top: 250px; left: 15px;
  border-top: 3px solid var(--terra-mid);
  animation: floatC 4s ease-in-out infinite;
}

.nc-label {
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-faint);
  margin-bottom: 0.5rem;
}
.nc-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem; color: var(--ink); margin-bottom: 0.8rem;
}
.nc-row { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.45rem; }
.nc-bar-label { font-size: 0.75rem; color: var(--ink-light); width: 60px; flex-shrink: 0; }
.nc-bar-bg { flex: 1; height: 6px; background: var(--terra-pale); border-radius: 3px; }
.nc-bar-fill { height: 100%; border-radius: 3px; background: var(--terra); }
.nc-fill-sage { background: var(--sage); }
.nc-chip {
  display: inline-block;
  font-size: 0.7rem; padding: 0.2rem 0.65rem;
  border-radius: 2rem; margin-right: 0.3rem;
}
.chip-t { background: var(--terra-pale); color: var(--terra); }
.chip-s { background: var(--sage-pale); color: var(--sage); }

/* ── SHARED HEADINGS & REUSABLE LAYOUTS ── */
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.85rem; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--terra);
  margin-bottom: 0.9rem;
}
.section-eyebrow::before {
  content: '';
  width: 20px; height: 1.5px;
  background: var(--terra); display: block;
}

.section-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.3rem, 4vw, 3.3rem);
  color: var(--ink); line-height: 1.2;
  margin-bottom: 1.2rem;
}

.section-sub {
  font-size: 1.15rem; color: var(--ink-mid); line-height: 1.8;
}

/* ── ABOUT SECTION ── */
.about {
  background: var(--warm-white);
  padding: 8rem 5rem;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 6rem; align-items: center;
}

.about-img-wrap { position: relative; }

.about-img {
  width: 100%; aspect-ratio: 3/4;
  border-radius: 1.2rem;
  display: flex; flex-direction: column;
}

.about-body p {
  font-size: 1.15rem; line-height: 1.85; color: var(--ink-mid);
  margin-bottom: 1.2rem;
}

.about-cols {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2rem 2.5rem; margin-top: 2.5rem;
}

.about-col-label {
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--terra);
  margin-bottom: 0.9rem; display: block;
}

.about-list { list-style: none; }
.about-list li {
  font-size: 1.05rem; color: var(--ink-mid);
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: flex-start; gap: 0.7rem;
  line-height: 1.6;
}
.about-list li:last-child { border-bottom: none; }
.li-dot {
  width: 6px; height: 6px; background: var(--terra);
  border-radius: 50%; flex-shrink: 0; margin-top: 9px;
}

/* ── DUAL BADGE SYSTEM (MOCKUP STYLE) ── */
.profile-badges {
  position: absolute;
  bottom: -20px;
  right: -20px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 5;
  width: 100%;
  max-width: 270px;
}

.p-badge {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 1.4rem;
  background: #FFFFFF; 
  border-radius: 1.2rem; 
  box-shadow: 0 10px 25px rgba(35, 23, 16, 0.08); 
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid rgba(0, 0, 0, 0.02); 
}

.p-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(35, 23, 16, 0.12);
}

.p-badge-icon {
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.05));
}

.p-badge-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.p-badge-text strong {
  color: #000000; 
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-family: 'DM Sans', sans-serif;
}

.p-badge-text span {
  color: #565656; 
  font-size: 0.75rem;
  font-weight: 400;
}

.badge-notion, .badge-salesforce {
  align-self: flex-end;
  width: 100%;
}

/* ── SERVICES SECTION ── */
.services {
  padding: 8rem 5rem;
  background: var(--cream);
}
.services-header { max-width: 620px; margin-bottom: 4.5rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.svc-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2.2rem 1.8rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.svc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(35,23,16,0.08);
}

.svc-icon {
  width: 52px; height: 52px; border-radius: 0.7rem;
  background: var(--terra-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1.2rem;
}

.svc-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem; color: var(--ink);
  margin-bottom: 0.65rem; line-height: 1.3;
}
.svc-card p { font-size: 1rem; color: var(--ink-mid); line-height: 1.75; }

.svc-collab {
  font-size: 0.85rem; color: var(--sage);
  font-style: italic; margin-top: 0.8rem;
  display: block;
  line-height: 1.5;
}

/* ── PORTFOLIO SECTION ── */
.portfolio {
  background: var(--warm-white);
  padding: 8rem 5rem;
}
.portfolio-header { max-width: 600px; margin-bottom: 4rem; }

.portfolio-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.pf-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 1.1rem;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.pf-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(35,23,16,0.09);
}

.pf-preview {
  height: 240px;
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}

.pf-badge {
  position: absolute; top: 14px; right: 14px;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.06em;
  padding: 0.35rem 0.85rem; border-radius: 2rem;
  text-transform: uppercase;
  z-index: 2;
}
.badge-live { background: var(--terra); color: white; }

.pf-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.pf-card:hover .pf-img { transform: scale(1.03); }

.pf-mockup {
  width: 85%; padding: 1.4rem;
  background: white; border-radius: 0.7rem;
  box-shadow: 0 4px 16px rgba(35,23,16,0.08);
}
.pm-row { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; }
.pm-icon { font-size: 1rem; }
.pm-line { height: 8px; background: var(--terra-pale); border-radius: 4px; }
.pm-line.dk { background: rgba(181,96,58,0.3); }
.pm-line.s { width: 38%; }
.pm-line.m { width: 60%; }
.pm-line.l { width: 82%; }
.pm-chip {
  font-size: 0.65rem; padding: 0.2rem 0.6rem;
  border-radius: 2rem; white-space: nowrap;
}
.pm-chip.t { background: var(--terra-pale); color: var(--terra); }
.pm-chip.g { background: var(--sage-pale); color: var(--sage); }

.pf-body { padding: 1.8rem; }
.pf-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem; color: var(--ink); margin-bottom: 0.55rem;
}
.pf-body p { font-size: 1.05rem; color: var(--ink-mid); line-height: 1.75; margin-bottom: 1.2rem; }

.pf-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.4rem; }
.ptag {
  font-size: 0.8rem; padding: 0.3rem 0.85rem;
  border-radius: 2rem; border: 1px solid var(--border);
  background: var(--cream); color: var(--ink-mid);
}
.ptag.t { background: var(--terra-pale); color: var(--terra); border-color: transparent; }
.ptag.g { background: var(--sage-pale); color: var(--sage); border-color: transparent; }

/* ── FEATURED (FLAGSHIP) CARD — PrimeOS ── */
.pf-featured {
  position: relative;
  border:none;
  border-radius:24px;
  background:#fff;
  box-shadow:0 18px 45px rgba(35,23,16,.08);
  overflow:hidden;
}

.pf-flagship-tag {
  position: absolute;
  top: 1.6rem; left: 1.8rem;
  z-index: 3;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--ink); color: var(--warm-white);
  padding: 0.4rem 1rem; border-radius: 2rem;
}

.pf-featured-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.pf-preview-featured {
  height: 100%;
  min-height: 420px;
}

.pf-featured-body {
  padding: 3rem 3rem 3rem 2.5rem;
  display: flex; flex-direction: column;
}

.pf-featured-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; color: var(--ink);
  margin-bottom: 0.3rem;
}
.pf-trademark { font-size: 1.1rem; vertical-align: super; color: var(--terra); }

.pf-subtitle {
  font-size: 0.95rem; font-weight: 500; letter-spacing: 0.03em;
  color: var(--terra); margin-bottom: 1.1rem;
}

.pf-desc {
  font-size: 1.05rem; color: var(--ink-mid); line-height: 1.8;
  margin-bottom: 1.6rem;
}

.pf-highlights {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1.5rem;
  margin-bottom: 2rem;
}
.pf-highlights li {
  font-size: 0.98rem; color: var(--ink-mid);
  display: flex; align-items: flex-start; gap: 0.6rem;
  line-height: 1.5;
}
.pf-highlights .li-dot { margin-top: 8px; }

.pf-card-btns {
  display: flex; flex-wrap: wrap; gap: 1rem;
  margin-top: auto;
}
.pf-card-btns .btn-primary,
.pf-card-btns .btn-ghost {
  padding: 0.9rem 1.8rem;
  font-size: 0.95rem;
}

.pf-coming-soon {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
}

/* ── SECONDARY CARD — Solo Founder OS ── */
.pf-secondary {
  max-width: 560px;
}
.pf-secondary .pf-card-btns { margin-top: 0.3rem; }

/* ── MY PROCESS SECTION ── */
.process {
  padding: 8rem 5rem;
  background: var(--cream);
}
.process-header { text-align: center; max-width: 600px; margin: 0 auto 5rem; }

.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem; max-width: 1100px; margin: 0 auto;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute; top: 28px; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--terra-mid), transparent);
}

.step { text-align: center; }

.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--terra); color: white;
  font-family: 'Playfair Display', serif; font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem; position: relative; z-index: 1;
}

.step h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem; color: var(--ink); margin-bottom: 0.6rem;
}
.step p { font-size: 1rem; color: var(--ink-mid); line-height: 1.7; }

/* ── CONTACT & FOOTER ── */
.contact {
  background: var(--ink);
  padding: 8rem 5rem;
  text-align: center;
}

.contact .section-eyebrow { color: var(--terra-mid); justify-content: center; }
.contact .section-eyebrow::before { background: var(--terra-mid); }
.contact .section-heading { color: white; }
.contact .section-sub { color: rgba(255,255,255,0.65); max-width: 550px; margin: 0 auto 3rem; font-size: 1.2rem; }

.contact-btns { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }

.cbtn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 1.2rem 2.6rem; border-radius: 0.3rem;
  font-size: 1.05rem; font-weight: 500; letter-spacing: 0.03em;
  text-decoration: none; transition: transform 0.15s, opacity 0.2s;
}
.cbtn:hover { transform: translateY(-2px); opacity: 0.92; }
.cbtn-fill { background: var(--terra); color: white; }
.cbtn-outline { border: 1.5px solid rgba(255,255,255,0.25); color: white; }
.cbtn-outline:hover { border-color: var(--terra-mid); }

.contact-note {
  margin-top: 3.5rem;
  font-size: 0.9rem; color: rgba(255,255,255,0.35);
  letter-spacing: 0.06em; text-transform: uppercase;
}

footer {
  background: #170D08;
  padding: 1.8rem 5rem;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-brand {
  font-family: 'Playfair Display', serif;
  color: var(--terra-mid); font-size: 1.1rem; font-weight: 700;
}
.footer-copy { font-size: 0.9rem; color: rgba(255,255,255,0.3); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes floatA {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}
@keyframes floatB {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}
@keyframes floatC {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
}

/* ── RESPONSIVE MEDIA QUERIES ── */
@media (max-width: 1120px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
  .process-steps::before { display: none; }
  .pf-featured-inner { grid-template-columns: 1fr; }
  .pf-preview-featured { min-height: 300px; }
  .pf-highlights { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { gap: 1.5rem; }
  .hero { grid-template-columns: 1fr; padding: 8rem 1.5rem 4rem; gap: 3rem; }
  .hero::after { display: none; }
  .hero-visual { display: none; }
  .about { grid-template-columns: 1fr; padding: 5rem 1.5rem; gap: 3.5rem; }
  .about-badge { right: 0; }
  .services { padding: 5rem 1.5rem; }
  .portfolio { padding: 5rem 1.5rem; }
  .pf-secondary { max-width: 100%; }
  .pf-featured-body { padding: 2.2rem 1.6rem; }
  .process { padding: 5rem 1.5rem; }
  .contact { padding: 5rem 1.5rem; }
  footer { padding: 1.5rem 1.5rem; flex-direction: column; gap: 0.6rem; text-align: center; }
}

@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .about-cols { grid-template-columns: 1fr; gap: 1.5rem; }
  .process-steps { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
  .profile-badges {
    right: 0;
    left: 0;
    margin: 0 auto;
    bottom: -45px;
    width: 92%;
  }
}


/* ===== Version 3 PrimeOS Polish ===== */

.pf-preview-featured{
  background:var(--terra-pale);
  padding:1.75rem;
  margin-bottom:3.5rem;
}

.pf-preview-featured img{
  border-radius:16px;
}

.pf-featured-title{
  margin-top:.5rem;
  margin-bottom:.75rem;
}

.pf-subtitle{
  margin-bottom:1.5rem;
}

.pf-desc{
  margin-bottom:3rem;
  max-width:850px;
}

.pf-framework{
  margin-top:3.5rem;
  padding-top:2.5rem;
  border-top:1px solid var(--border);
}

.pf-framework-title{
  text-align:center;
  margin-bottom:.75rem;
}

.pf-framework-sub{
  text-align:center;
  max-width:760px;
  margin:0 auto 2.5rem;
}

.framework-grid{
 display:grid;
 grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
 gap:1.5rem;
}

.pillar-card{
 border:1px solid var(--border);
 border-radius:18px;
 padding:1.5rem;
 background:#fff;
 transition:.3s;
}

.pillar-card:hover{
 transform:translateY(-5px);
 box-shadow:0 12px 25px rgba(0,0,0,.08);
}

.pf-card-btns{
 margin-top:3rem;
 gap:1rem;
}

@media(max-width:960px){
 .framework-grid{grid-template-columns:1fr;}
 .pf-preview-featured{padding:1rem;margin-bottom:2rem;}
}


/* ===== VERSION 4 ===== */
.pf-fullwidth{max-width:100%;}
.pf-preview-secondary{height:420px;}
.pf-secondary .pf-body{padding:2.5rem;}
.pf-secondary h3{font-size:2rem;}
.pf-secondary p{max-width:850px;}
.pf-secondary .pf-card-btns{margin-top:2rem;}
.portfolio-grid{gap:3rem;}
@media(max-width:960px){.pf-preview-secondary{height:300px;}}
