*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #f8f5ef;
  --bg-dark: #161615;
  --fg: #161615;
  --fg-muted: #6b6b6b;
  --accent: #e8611c;
  --accent-light: #fff3eb;
  --surface: #ffffff;
  --border: #e8e4de;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAVBAR */
.navbar {
  padding: 20px 40px;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.5px;
  color: var(--fg);
}
.nav-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  font-weight: 400;
}

/* HERO */
.hero {
  background: var(--bg-dark);
  color: #fff;
  padding: 80px 40px 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 580px;
}
.hero-inner {
  max-width: 600px;
  flex-shrink: 0;
}
.hero-badge {
  display: inline-block;
  background: rgba(232,97,28,0.15);
  color: #ff8f5a;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 2px;
  margin-bottom: 24px;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1.5px;
  color: #fff;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  max-width: 480px;
  font-weight: 300;
}
.hero-graphic {
  margin-left: 60px;
  flex-shrink: 0;
}

/* Browser mockup */
.browser-mockup {
  width: 280px;
  background: #1e1e2a;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.06);
}
.mockup-bar {
  background: #2a2a38;
  padding: 10px 14px;
  display: flex;
  gap: 6px;
  align-items: center;
}
.dot { width: 10px; height: 10px; border-radius: 50%; background: #3a3a4a; }
.dot:nth-child(1) { background: #ff5f57; }
.dot:nth-child(2) { background: #febc2e; }
.dot:nth-child(3) { background: #28c840; }
.mockup-content { padding: 16px; }
.mockup-header { height: 32px; background: rgba(255,255,255,0.08); border-radius: 4px; margin-bottom: 12px; }
.mockup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.mockup-col { display: flex; flex-direction: column; gap: 8px; }
.mockup-block { background: rgba(255,255,255,0.06); border-radius: 4px; }
.mockup-block.tall { height: 48px; }
.mockup-block.short { height: 28px; }
.mockup-cta { height: 24px; background: var(--accent); border-radius: 4px; opacity: 0.9; }

/* NICHE SECTION */
.niches {
  padding: 80px 40px;
  max-width: 1100px;
  margin: 0 auto;
}
.section-header {
  margin-bottom: 48px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.8px;
  line-height: 1.15;
  margin-bottom: 12px;
}
.section-sub {
  color: var(--fg-muted);
  font-size: 16px;
  max-width: 480px;
}
.niches-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.niche-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 18px 20px;
  border-radius: 6px;
  transition: border-color 0.2s;
}
.niche-card:hover { border-color: var(--accent); }
.niche-icon { font-size: 20px; }
.niche-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
}
.niches-note {
  margin-top: 32px;
  font-size: 14px;
  color: var(--fg-muted);
  text-align: center;
}

/* OUTCOMES */
.outcomes {
  background: var(--bg-dark);
  color: #fff;
  padding: 80px 40px;
}
.outcomes .section-header { max-width: 1100px; margin: 0 auto 48px; }
.outcomes .section-title { color: #fff; }
.outcomes-list {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.outcome-item {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  padding: 32px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.outcome-item:last-child { border-bottom: none; }
.outcome-number {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 1px;
  flex-shrink: 0;
  padding-top: 4px;
  min-width: 32px;
}
.outcome-text h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}
.outcome-text p {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  max-width: 580px;
  font-weight: 300;
}

/* PRICING */
.pricing {
  padding: 80px 40px;
  max-width: 1100px;
  margin: 0 auto;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px 28px;
  position: relative;
}
.pricing-card.featured {
  border-color: var(--accent);
  background: var(--accent-light);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 4px 14px;
  border-radius: 2px;
  white-space: nowrap;
}
.pricing-tier {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 12px;
}
.pricing-price {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--fg);
  margin-bottom: 12px;
}
.pricing-desc {
  font-size: 14px;
  color: var(--fg-muted);
  margin-bottom: 20px;
  line-height: 1.55;
}
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pricing-features li {
  font-size: 13px;
  color: var(--fg);
  padding-left: 20px;
  position: relative;
}
.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.pricing-retainer {
  background: var(--bg-dark);
  color: #fff;
  border-radius: 6px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.retainer-label {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
  flex-shrink: 0;
}
.retainer-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

/* CLOSING */
.closing {
  background: var(--accent);
  padding: 80px 40px;
}
.closing-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.5vw, 46px);
  font-weight: 800;
  letter-spacing: -1px;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
}
.closing-body {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  line-height: 1.65;
  font-weight: 300;
}

/* FOOTER */
.footer {
  background: var(--bg-dark);
  padding: 40px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  margin-bottom: 6px;
  display: block;
}
.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  max-width: 320px;
}
.footer-meta p {
  font-size: 13px;
  color: rgba(255,255,255,0.25);
}

/* MOBILE */
@media (max-width: 768px) {
  .navbar { padding: 16px 20px; }
  .nav-tagline { display: none; }
  .hero { flex-direction: column; padding: 60px 20px; text-align: center; }
  .hero-inner { }
  .hero-sub { margin: 0 auto; }
  .hero-graphic { margin: 40px 0 0; }
  .browser-mockup { width: 100%; max-width: 300px; }
  .niches-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .outcome-item { flex-direction: column; gap: 8px; }
  .pricing-retainer { flex-direction: column; text-align: center; }
  .footer-inner { flex-direction: column; gap: 20px; text-align: center; }
}
/* PORTFOLIO PAGE */
.work-page {
  min-height: 100vh;
}
.work-hero {
  background: var(--bg-dark);
  color: #fff;
  padding: 80px 40px;
  text-align: center;
}
.work-hero-inner { max-width: 640px; margin: 0 auto; }
.work-badge {
  display: inline-block;
  background: rgba(232,97,28,0.15);
  color: #ff8f5a;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 2px;
  margin-bottom: 24px;
}
.work-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -1px;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.1;
}
.work-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.6);
  font-weight: 300;
  line-height: 1.65;
}
.case-study {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  border-bottom: 1px solid var(--border);
}
.case-study:last-of-type { border-bottom: none; }
.case-study--reverse { direction: rtl; }
.case-study--reverse > * { direction: ltr; }
.case-study-browser {
  background: #1e1e2a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.25);
}
.case-study-browser-bar {
  background: #2a2a38;
  padding: 10px 14px;
  display: flex;
  gap: 6px;
  align-items: center;
}
.case-study-browser-content {
  padding: 16px;
  min-height: 200px;
  background: var(--bg);
}
.case-study-info {}
.case-study-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.case-study-name {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--fg);
  margin-bottom: 12px;
  line-height: 1.2;
}
.case-study-desc {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.65;
  margin-bottom: 24px;
}
.case-study-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  font-size: 12px;
  background: var(--border);
  color: var(--fg-muted);
  padding: 4px 10px;
  border-radius: 3px;
  font-weight: 500;
}

/* SERVICES PAGE */
.services-hero {
  background: var(--bg-dark);
  color: #fff;
  padding: 80px 40px;
  text-align: center;
}
.services-hero-inner { max-width: 640px; margin: 0 auto; }
.services-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -1px;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.1;
}
.services-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.6);
  font-weight: 300;
  line-height: 1.65;
}
.services-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px 28px;
}
.service-icon {
  font-size: 32px;
  margin-bottom: 16px;
}
.service-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 8px;
}
.service-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}
.service-price {
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
}
.process-section {
  background: var(--bg-dark);
  padding: 80px 40px;
}
.process-inner { max-width: 1100px; margin: 0 auto; }
.process-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
  margin-bottom: 48px;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.process-step {}
.process-step-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.process-step-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.process-step-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

/* CONTACT PAGE */
.contact-page { background: var(--bg); min-height: 100vh; }
.contact-layout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.contact-info {}
.contact-info-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.contact-info-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.8px;
  color: var(--fg);
  margin-bottom: 16px;
  line-height: 1.15;
}
.contact-info-body {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 40px;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}
.contact-detail-icon {
  width: 36px;
  height: 36px;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  color: var(--accent);
}
.contact-detail-text {}
.contact-detail-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}
.contact-detail-value {
  font-size: 15px;
  color: var(--fg);
  font-weight: 500;
}
.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 40px;
}
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 6px;
}
.form-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 15px;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  outline: none;
  transition: border-color 0.2s;
}
.form-input:focus { border-color: var(--accent); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-submit {
  width: 100%;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background 0.2s;
}
.form-submit:hover { background: #d45416; }
.form-success {
  background: #ecfdf5;
  border: 1px solid #10b981;
  border-radius: 6px;
  padding: 16px;
  color: #065f46;
  font-size: 14px;
  margin-bottom: 20px;
}
.form-error {
  background: #fef2f2;
  border: 1px solid #ef4444;
  border-radius: 6px;
  padding: 12px;
  color: #991b1b;
  font-size: 13px;
  margin-bottom: 16px;
}

/* PAGE HEADER (shared for work/services) */
.page-header {
  background: var(--bg-dark);
  color: #fff;
  padding: 60px 40px;
  text-align: center;
}
.page-header-inner { max-width: 640px; margin: 0 auto; }
.page-badge {
  display: inline-block;
  background: rgba(232,97,28,0.15);
  color: #ff8f5a;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 2px;
  margin-bottom: 20px;
}
.page-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 800;
  letter-spacing: -1px;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 16px;
}
.page-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.6);
  font-weight: 300;
  line-height: 1.65;
}

/* MOBILE RESPONSIVE UPDATES */
@media (max-width: 768px) {
  .nav-tagline { display: none; }
  .nav-links { gap: 16px; }
  .nav-link--cta { padding: 6px 14px; }
  .case-study { grid-template-columns: 1fr; gap: 32px; }
  .case-study--reverse { direction: ltr; }
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; padding: 40px 20px; gap: 40px; }
  .contact-form-wrap { padding: 24px; }
}