/* ================================
   12:34 Labs — Shared Stylesheet
   ================================ */

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

html { scroll-behavior: smooth; }

body {
  background: #fafaf9;
  color: #111;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.5px;
  line-height: 1.25;
}

em { font-style: italic; }

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

/* Layout */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ================================
   Navigation
   ================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fafaf9;
  border-bottom: 1px solid #e0e0dc;
}

.nav-inner {
  display: flex;
  align-items: center;
  padding: 14px 0;
}

.nav-logo {
  font-family: -apple-system, sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.5px;
  color: #111;
  white-space: nowrap;
  border: 1.5px solid #111;
  padding: 4px 9px;
  border-radius: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}

.nav-links a {
  font-size: 11px;
  color: #555;
  transition: color 0.15s;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active { color: #111; }

.nav-cta {
  margin-left: 20px;
  background: #111;
  color: #fff !important;
  font-size: 10px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 3px;
  white-space: nowrap;
  transition: opacity 0.15s;
}

.nav-cta:hover { opacity: 0.8; }

/* Hamburger (mobile) */
.nav-hamburger {
  display: none;
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #111;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  border-top: 1px solid #e0e0dc;
  padding: 12px 0;
}

.nav-mobile a {
  font-size: 14px;
  color: #555;
  padding: 10px 32px;
  display: block;
}

.nav-mobile a:hover { color: #111; }

.nav-mobile .nav-cta {
  margin: 8px 32px 4px;
  display: inline-block;
  text-align: center;
}

/* ================================
   Section Label
   ================================ */

.label {
  font-family: -apple-system, sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 16px;
  display: block;
}

/* ================================
   Buttons
   ================================ */

.btn {
  display: inline-block;
  font-family: -apple-system, sans-serif;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 3px;
  cursor: pointer;
  transition: opacity 0.15s;
  border: none;
}

.btn:hover { opacity: 0.75; }

.btn-primary {
  background: #111;
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: #111;
  border: 1px solid #ccc;
}

/* ================================
   Divider
   ================================ */

.divider { border: none; border-top: 1px solid #e0e0dc; }

/* ================================
   Page Header (inner pages)
   ================================ */

.page-header {
  padding: 64px 0 48px;
  border-bottom: 1px solid #e0e0dc;
}

.page-header h1 {
  font-size: 36px;
  margin-top: 10px;
  max-width: 560px;
}

/* ================================
   Footer
   ================================ */

.footer {
  border-top: 1px solid #e0e0dc;
  padding: 40px 0;
  text-align: center;
}

.footer p {
  font-size: 13px;
  color: #999;
  margin-top: 8px;
}

/* ================================
   Homepage — Hero
   ================================ */

.hero {
  min-height: calc(100vh - 49px);
  display: flex;
  align-items: center;
  border-bottom: 1px solid #e0e0dc;
  text-align: center;
}

.hero .container { width: 100%; }

.hero h1 {
  font-size: 48px;
  margin: 0 auto 16px;
  max-width: 560px;
}

.hero-sub {
  font-size: 14px;
  color: #666;
  margin: 0 auto 32px;
  max-width: 380px;
  line-height: 1.75;
}

.hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; justify-content: center; }

.hero-link {
  font-size: 13px;
  color: #888;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-link:hover { color: #111; }

/* ================================
   Homepage — Services Grid
   ================================ */

.services-section {
  padding: 80px 0 88px;
  border-bottom: 1px solid #e0e0dc;
  scroll-margin-top: 49px;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 56px;
}

.service-tile {
  display: flex;
  flex-direction: column;
  position: relative;
}

.service-tile:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -28px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #e0e0dc;
}

.service-tile .service-desc {
  flex: 1;
}

.service-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-tile h2 {
  font-size: 24px;
  margin-bottom: 14px;
  line-height: 1.3;
}

.service-desc {
  font-size: 14px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 24px;
}

.service-tile .btn {
  white-space: nowrap;
}

.service-meta {
  font-size: 11px;
  color: #888;
  margin-top: 10px;
  display: block;
}

/* ================================
   Homepage — Footer CTA
   ================================ */

.footer-cta {
  padding: 64px 0;
  text-align: center;
  border-bottom: 1px solid #e0e0dc;
}

.footer-cta h2 { font-size: 26px; margin-bottom: 10px; }

.footer-cta p {
  font-size: 14px;
  color: #888;
  margin-bottom: 24px;
}

/* ================================
   Pricing Page
   ================================ */

.pricing-section {
  padding: 80px 0 88px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.pricing-tile {
  padding-right: 64px;
  border-right: 1px solid #e0e0dc;
}

.pricing-tile:last-child {
  border-right: none;
  padding-right: 0;
}

.pricing-amount {
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  font-style: italic;
  color: #111;
  margin: 10px 0 20px;
}

.pricing-amount .currency {
  font-size: 12px;
  font-style: normal;
  color: #aaa;
  letter-spacing: 0.5px;
  margin-left: 2px;
}

.pricing-features {
  list-style: disc;
  padding-left: 18px;
  font-size: 13px;
  color: #555;
  line-height: 2.1;
  margin-bottom: 10px;
}

.pricing-note {
  font-size: 12px;
  color: #aaa;
  font-style: italic;
  margin-bottom: 24px;
}

.pricing-desc {
  font-size: 14px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 8px;
}

/* ================================
   Stories Page
   ================================ */

.story-item {
  padding: 36px 0;
  border-top: 1px solid #e0e0dc;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.story-logo {
  width: 40px;
  height: 40px;
  border-radius: 3px;
  object-fit: contain;
  background: #e8e8e4;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.story-logo img { width: 100%; height: 100%; object-fit: contain; }

.story-logo-placeholder {
  font-size: 9px;
  color: #bbb;
  font-family: -apple-system, sans-serif;
}

.story-body { flex: 1; }

.story-company {
  font-size: 13px;
  font-weight: 600;
  color: #111;
  margin-bottom: 2px;
}

.story-title {
  font-size: 12px;
  color: #999;
  margin-bottom: 10px;
}

.story-summary {
  font-size: 13px;
  color: #555;
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 14px;
}

.story-stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.story-stat-value {
  font-size: 13px;
  font-weight: 700;
  color: #111;
}

.story-stat-label {
  font-size: 12px;
  color: #999;
  margin-left: 4px;
}

/* ================================
   About Page
   ================================ */

.about-layout {
  display: flex;
  gap: 48px;
  padding: 56px 0;
  align-items: flex-start;
}

.about-photo {
  width: 220px;
  flex-shrink: 0;
  border-radius: 3px;
  overflow: hidden;
  background: #e8e8e4;
}

.about-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 3px;
}

.about-name {
  font-family: Georgia, serif;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.3px;
  margin-bottom: 4px;
}

.about-title {
  font-size: 13px;
  color: #999;
  margin-bottom: 24px;
}

.about-body p {
  font-size: 14px;
  color: #444;
  line-height: 1.85;
  margin-bottom: 16px;
  max-width: 520px;
}

/* ================================
   Contact Page
   ================================ */

.contact-layout {
  padding: 56px 0;
  max-width: 480px;
}

.form-field {
  margin-bottom: 24px;
}

.form-field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 8px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid #e0e0dc;
  padding: 8px 0;
  font-size: 14px;
  font-family: -apple-system, sans-serif;
  color: #111;
  outline: none;
  transition: border-color 0.15s;
  resize: none;
}

.form-field input:focus,
.form-field textarea:focus { border-bottom-color: #111; }

.form-field textarea { min-height: 100px; }

.form-submit { width: 100%; margin-top: 8px; padding: 12px; font-size: 14px; }

/* ================================
   Thanks Page
   ================================ */

.thanks-layout {
  padding: 100px 0;
  text-align: center;
}

.thanks-layout h1 { font-size: 32px; margin-bottom: 16px; }

.thanks-layout p { font-size: 14px; color: #666; margin-bottom: 28px; }

/* ================================
   Responsive
   ================================ */

@media (max-width: 700px) {
  .container { padding: 0 20px; }

  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile.open { display: flex; }

  .hero h1 { font-size: 30px; }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .service-tile::after { display: none; }
  .service-tile:not(:last-child) {
    border-bottom: 1px solid #e0e0dc;
    padding-bottom: 36px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .pricing-tile {
    border-right: none;
    border-bottom: 1px solid #e0e0dc;
    padding: 0 0 36px 0;
    margin-bottom: 36px;
  }
  .pricing-tile:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

  .about-layout { flex-direction: column; gap: 28px; }
  .about-photo { width: 120px; height: 120px; }

  .story-item { flex-direction: column; gap: 12px; }

  .page-header h1 { font-size: 26px; }
}
