/* Updated color palette: Blue + Sage Green */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --ink: #1a1d1a;
  --paper: #fcfcf7;
  --accent: #3a6ea5;
  --accent-alt: #6b9080;
  --text: #2d2d2d;
  --border: #d1d1d1;
  --highlight: #c8d5bb;
  --font-serif: Georgia, "Times New Roman", serif;
  --font-sans:
    -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono: ui-monospace, "Cascadia Code", "Menlo", "Monaco", monospace;

  /* GENEROUS type scale - focus on readability */
  --text-xs: 0.875rem; /* 14px - small labels */
  --text-sm: 1rem; /* 16px */
  --text-base: 1.25rem; /* 20px - NEW: much larger base size */
  --text-lg: 1.5rem; /* 24px */
  --text-xl: 1.75rem; /* 28px */
  --text-2xl: 2.25rem; /* 36px */
  --text-3xl: 2.75rem; /* 44px */
  --text-4xl: 3.5rem; /* 56px */
  --text-5xl: 4rem; /* 64px */
}

body {
  font-family: var(--font-serif);
  line-height: 1.8; /* Even more line height for readability */
  color: var(--text);
  background: var(--paper);
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  counter-reset: section;
  font-size: var(--text-base); /* Now 20px base - much more readable! */
  font-weight: 400;
}

/* Create a handmade border effect */
body:before {
  content: "";
  position: fixed;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  border: 1px solid var(--accent);
  pointer-events: none;
  z-index: 1001;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Handcrafted header */
header {
  position: relative;
  padding: 3rem 0 1.5rem; /* More padding */
  background: var(--paper);
  margin-bottom: 1rem;
}

header:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: var(--ink);
}

.header-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.logo {
  font-family: var(--font-mono);
  font-size: 3rem; /* Larger logo */
  font-weight: 400;
  color: var(--ink);
  text-decoration: none;
  margin-bottom: 0.75rem;
  letter-spacing: -1px;
  position: relative;
}

.logo:after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-alt);
  transform: scaleX(0.3);
}

.tagline-small {
  font-family: var(--font-sans);
  font-size: 1.125rem; /* Larger tagline */
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

nav {
  display: flex;
  gap: 3rem; /* More spacing between nav items */
  margin-top: 1.5rem;
  padding: 1.25rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 1.125rem; /* Larger nav text */
  font-weight: 400;
  color: var(--text);
  text-decoration: none;
  text-transform: lowercase;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:before {
  content: "→";
  position: absolute;
  left: -1.5rem; /* Adjusted for larger text */
  opacity: 0;
  transition: opacity 0.3s;
}

.nav-link:hover:before {
  opacity: 1;
}

/* Hero with asymmetric layout */
.hero {
  padding: 5rem 0 9rem; /* More padding */
  position: relative;
}

.hero-content {
  max-width: 800px;
  margin-left: 10%;
}

.hero h1 {
  font-size: var(--text-5xl); /* 64px - bold and clear */
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 2rem; /* More spacing */
  position: relative;
  display: inline-block;
}

.hero h1:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px; /* Longer underline */
  height: 3px;
  background: var(--accent-alt);
}

.hero .tagline {
  font-family: var(--font-sans);
  font-size: var(--text-3xl); /* 44px - much larger */
  font-weight: 300;
  color: var(--accent);
  margin-bottom: 2.5rem;
  font-style: italic;
  line-height: 1.3;
}

.hero .description {
  font-size: var(--text-lg); /* 24px - much more readable */
  max-width: 800px; /* Slightly wider */
  margin-bottom: 3rem;
  padding-left: 2.5rem; /* More padding */
  border-left: 3px solid var(--accent); /* Thicker border */
  line-height: 1.8;
}

/* Paragraph improvements */
p {
  margin-bottom: 1.75rem;
  line-height: 1.9; /* Very generous line height */
  font-size: var(--text-base); /* 20px base */
}

/* Specifically target description/section-subtitle classes for extra readability */
.description,
.section-subtitle,
.section p,
.service-card p,
.contact-info p {
  font-size: var(--text-lg); /* 24px for important text */
  line-height: 1.8;
  font-weight: 400;
}

/* Button with handmade feel */
.btn {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 1.125rem; /* Larger button text */
  color: var(--ink);
  text-decoration: none;
  padding: 1rem 2.5rem; /* More padding for better touch target */
  background: transparent;
  border: 2px solid var(--ink);
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
  cursor: pointer;
}

.btn:before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--ink);
  transition: left 0.3s;
  z-index: -1;
}

.btn:hover {
  color: var(--paper);
  padding-right: 3.5rem;
}

.btn:hover:before {
  left: 0;
}

.btn-margin {
  margin-top: 2rem;
}

.btn-margin-top {
  margin-top: 3rem;
}

/* Content sections with varied layouts */
.section {
  padding: 7rem 0; /* More padding */
  position: relative;
}

.section:nth-child(odd) {
  background: linear-gradient(
    90deg,
    rgba(58, 110, 165, 0.02) 0%,
    transparent 100%
  );
}

.section:nth-child(even) .container {
  margin-left: 10%;
}

.section-title {
  font-size: var(--text-4xl); /* 56px - very clear */
  font-weight: 400;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  line-height: 1.2;
}

.section-title:before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  width: 50px; /* Longer underline */
  height: 2px;
  background: var(--accent-alt);
}

.section-subtitle {
  font-family: var(--font-sans);
  font-size: var(--text-xl); /* 28px - much larger for subtitles */
  color: var(--accent);
  margin-bottom: 3rem;
  max-width: 700px; /* Wider for readability */
  font-style: italic;
  line-height: 1.6;
  font-weight: 400;
}

/* Services - Not a perfect grid */

.all-services.section {
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.services-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem; /* More gap */
  margin-top: 4rem; /* More margin */
}

.service-card {
  flex: 1;
  min-width: 300px;
  padding: 3rem; /* More padding */
  background: var(--paper);
  border: 1px solid var(--border);
  position: relative;
  transition: transform 0.3s;
}

.service-card:nth-child(2) {
  transform: translateY(20px);
}

.service-card:nth-child(3) {
  transform: translateY(40px);
}

.service-card h3 {
  font-family: var(--font-mono);
  font-size: 1.5rem; /* Larger headings */
  margin-bottom: 1.25rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.4;
}

.service-card p {
  font-size: var(--text-lg); /* 24px in service cards */
}

/* Clients section with handwritten style */
.clients-section {
  padding: 7rem 0; /* More padding */
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(107, 144, 128, 0.02) 10px,
    rgba(107, 144, 128, 0.02) 20px
  );
}

.clients-content {
  background: var(--paper);
  padding: 4rem; /* More padding */
  border: 1px solid var(--border);
  box-shadow: 20px 20px 0 rgba(107, 144, 128, 0.1);
}

.clients-content h3 {
  font-size: var(--text-3xl); /* 44px for client heading */
  margin-bottom: 2rem; /* More spacing */
  color: var(--ink);
  position: relative;
  display: inline-block;
  line-height: 1.3;
}

.clients-content h3:after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent-alt);
}

.clients-content p {
  font-size: var(--text-lg); /* 24px for client text */
}

/* Contact - Split with visual interest */
.contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 5rem; /* More gap */
  margin-top: 4rem; /* More margin */
}

.contact-info {
  padding-right: 4rem; /* More padding */
  border-right: 2px solid var(--border); /* Thicker border */
}

.contact-heading {
  font-size: var(--text-3xl); /* 44px */
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.contact-details {
  margin-top: 3rem; /* More spacing */
  padding-top: 3rem;
  border-top: 2px solid var(--border); /* Thicker border */
}

.contact-item {
  margin-bottom: 2rem; /* More spacing */
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-family: var(--font-mono);
  font-size: 1rem; /* Clear labels */
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem; /* More spacing */
}

.contact-value {
  font-size: var(--text-xl); /* 28px for contact info - easy to read */
  font-weight: 400;
}

/* Form with character */
.form-group {
  margin-bottom: 2.5rem; /* More spacing */
  position: relative;
}

.form-control {
  width: 100%;
  padding: 1rem 0; /* More padding */
  border: none;
  border-bottom: 3px solid var(--border); /* Thicker border */
  background: transparent;
  font-family: var(--font-sans);
  font-size: var(--text-lg); /* 24px form text */
  color: var(--text);
  transition: border-color 0.3s;
}

.form-control:focus {
  outline: none;
  border-bottom-color: var(--accent);
}

.form-control::placeholder {
  color: rgba(45, 45, 45, 0.5);
  font-size: var(--text-base);
}

/* Footer - Minimal but distinctive */
footer {
  padding: 5rem 0; /* More padding */
  background: var(--ink);
  color: var(--paper);
  position: relative;
}

footer:before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 2px;
  background: var(--accent-alt);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem; /* More margin */
}

.footer-logo {
  font-family: var(--font-mono);
  font-size: 1.75rem; /* Larger logo */
  color: var(--paper);
  text-decoration: none;
  opacity: 0.9;
}

.footer-links {
  display: flex;
  gap: 2rem; /* More spacing */
}

.footer-links a {
  font-family: var(--font-mono);
  font-size: 1rem; /* Clear footer links */
  color: var(--paper);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.7;
}

.footer-links a:hover {
  opacity: 1;
}

.copyright {
  font-family: var(--font-mono);
  font-size: 1rem; /* Readable copyright */
  color: rgba(255, 255, 255, 0.7); /* Better contrast */
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4rem; /* More spacing */
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Hand-drawn elements */
.hand-drawn-line {
  height: 2px;
  background: var(--accent);
  width: 100px;
  margin: 3rem 0; /* More margin */
  position: relative;
}

.hand-drawn-line:before {
  content: "";
  position: absolute;
  top: -2px;
  left: -5px;
  right: -5px;
  bottom: -2px;
  border: 2px solid var(--accent);
  opacity: 0.2;
}

/* Quote styling */
.quote {
  font-size: var(--text-2xl); /* 36px quotes */
  font-style: italic;
  color: var(--accent);
  padding: 3rem; /* More padding */
  margin: 4rem 0; /* More margin */
  border-left: 4px solid var(--accent-alt); /* Thicker border */
  background: linear-gradient(
    90deg,
    rgba(58, 110, 165, 0.05) 0%,
    transparent 100%
  );
  line-height: 1.7;
}

/* Numbered sections */
.numbered-section {
  counter-increment: section;
  position: relative;
  padding-left: 5rem; /* More padding */
}

.numbered-section:before {
  content: counter(section, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-mono);
  font-size: 4rem; /* Larger numbers */
  color: rgba(58, 110, 165, 0.2);
  font-weight: 700;
}

/* Mobile menu button lines */
.menu-line {
  display: block;
  width: 28px; /* Larger for touch */
  height: 3px; /* Thicker */
  background: var(--ink);
  margin: 6px 0; /* More spacing */
}

/* Mobile adjustments */
.mobile-menu-btn {
  display: none;
  position: fixed;
  top: 2.5rem; /* Adjusted */
  right: 2.5rem;
  background: var(--paper);
  border: 2px solid var(--border); /* Thicker border */
  padding: 1rem; /* More padding */
  z-index: 1002;
  cursor: pointer;
  border-radius: 3px;
}

/* Add ONLY these new styles to your existing CSS */

/* Contact Page */
.contact-hero {
  padding: 8rem 0 4rem;
  text-align: center;
}

.contact-title {
  font-size: var(--text-5xl);
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: var(--ink);
}

.contact-subtitle {
  font-size: var(--text-xl);
  color: var(--accent);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.contact-section {
  padding: 6rem 0;
}

.contact-form-wrapper {
  padding: 2rem;
  border: 1px solid var(--border);
  background: var(--paper);
}

.contact-tips {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.contact-tips ul {
  list-style: none;
  margin-top: 1rem;
}

.contact-tips li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.contact-tips li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent-alt);
}

.faq-list {
  margin-top: 2rem;
}

.faq-item {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--accent);
}

/* About Page */
.philosophy-content {
  font-size: var(--text-lg);
  line-height: 1.8;
  max-width: 800px;
}

.philosophy-content p {
  margin-bottom: 1.5rem;
}

.team-simple {
  margin: 2rem 0;
  padding: 2rem;
  background: rgba(107, 144, 128, 0.05);
  border-left: 3px solid var(--accent-alt);
}

/* ===== SERVICES PAGE ===== */
.services-hero {
  padding: 8rem 0 6rem;
  text-align: center;
}

.services-title {
  font-size: var(--text-5xl);
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: var(--ink);
}

.services-subtitle {
  font-size: var(--text-xl);
  color: var(--accent);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Services Grid */
.all-services {
  padding: 4rem 0 8rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 3rem;
  margin-top: 2rem;
}

/* Service Card */
.service-card {
  background: var(--paper);
  border: 1px solid var(--border);
  padding: 2.5rem;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-alt);
  box-shadow: 10px 10px 0 rgba(107, 144, 128, 0.05);
}

/* Service Badges */
.service-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 0.25rem 0.75rem;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.service-badge-authors {
  background: rgba(58, 110, 165, 0.1);
  color: var(--accent);
  border: 1px solid rgba(58, 110, 165, 0.2);
}

.service-badge-business {
  background: rgba(107, 144, 128, 0.1);
  color: var(--accent-alt);
  border: 1px solid rgba(107, 144, 128, 0.2);
}

.service-badge-creative {
  background: rgba(200, 213, 187, 0.2);
  color: #8a9a7b;
  border: 1px solid rgba(200, 213, 187, 0.3);
}

/* Service Icon */
.service-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

.service-title {
  font-family: var(--font-sans);
  font-size: var(--text-xl);
  color: var(--ink);
  margin-bottom: 1.25rem;
  line-height: 1.3;
}

.service-description {
  font-size: var(--text-base);
  line-height: 1.8;
  margin-bottom: 2rem;
  flex-grow: 1;
  color: var(--text);
}

.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.feature-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 0.375rem 0.875rem;
  background: rgba(107, 144, 128, 0.1);
  color: var(--accent-alt);
  border-radius: 20px;
}

.btn-small {
  font-size: 0.9rem;
  padding: 0.75rem 1.5rem;
  align-self: flex-start;
  margin-top: auto;
}

.service-card {
  transition: all 0.3s ease;
}

/* Make section spacing consistent */
.section:first-of-type {
  padding: 3rem 0;
}

/* Reduce space between intro and grid */
.section + .section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

/* Make service cards work for tools too */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

.service-card {
  background: var(--paper);
  border: 1px solid var(--border);
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-alt);
  box-shadow: 10px 10px 0 rgba(107, 144, 128, 0.05);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .services-hero,
  .tools-hero {
    padding: 6rem 0 4rem;
  }

  .services-title,
  .tools-title {
    font-size: var(--text-4xl);
  }

  .services-subtitle,
  .tools-subtitle {
    font-size: var(--text-lg);
  }

  .services-grid,
  .tools-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-card,
  .tool-card {
    padding: 2rem;
  }

  .tools-hero-illustration {
    gap: 1rem;
  }

  .tool-emoji {
    font-size: 3rem;
  }
}

@media (max-width: 480px) {
  .service-card,
  .tool-card {
    padding: 1.5rem;
  }

  .service-title,
  .tool-title {
    font-size: 1.25rem;
  }

  .tool-emoji {
    font-size: 2.5rem;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .contact-hero,
  .hero {
    padding: 6rem 0 3rem;
  }

  .contact-title {
    font-size: var(--text-4xl);
  }

  .contact-subtitle {
    font-size: var(--text-lg);
  }

  .contact-form-wrapper {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .contact-form-wrapper {
    padding: 1.25rem;
  }

  .team-simple {
    padding: 1.5rem;
  }
}

/* Responsive Design - Adjusted for larger text */
@media (max-width: 768px) {
  body:before {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    display: none;
    z-index: 1001;
    gap: 2rem;
  }

  nav.active {
    display: flex;
  }

  .nav-link {
    font-size: 1.5rem; /* Larger for mobile touch */
    padding: 1rem 0;
  }

  .hero-content {
    margin-left: 0;
  }

  .hero h1 {
    font-size: var(--text-4xl); /* Still large on mobile */
  }

  .hero .tagline {
    font-size: var(--text-2xl); /* Still readable on mobile */
  }

  .section:nth-child(even) .container {
    margin-left: 0;
  }

  .services-container {
    flex-direction: column;
    gap: 2rem;
  }

  .service-card:nth-child(2),
  .service-card:nth-child(3) {
    transform: none;
  }

  .service-card {
    padding: 2rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-info {
    padding-right: 0;
    border-right: none;
    border-bottom: 2px solid var(--border);
    padding-bottom: 3rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .section-title {
    font-size: var(--text-3xl); /* Still clear on mobile */
  }

  .section-subtitle {
    font-size: var(--text-lg); /* Adjusted but still readable */
  }

  .numbered-section {
    padding-left: 0;
  }

  .numbered-section:before {
    position: relative;
    margin-bottom: 1.5rem;
    font-size: 3rem;
  }

  /* Mobile text size adjustments */
  body {
    font-size: var(--text-base); /* Keep 20px on mobile */
    line-height: 1.7;
  }

  .hero .description {
    font-size: var(--text-lg); /* Keep 24px on mobile */
  }

  .description,
  .section-subtitle,
  .section p,
  .service-card p,
  .contact-info p {
    font-size: var(--text-base); /* Slightly smaller on mobile but still 20px */
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.5rem;
  }

  .hero h1 {
    font-size: var(--text-3xl); /* Still good size on small screens */
  }

  .hero .tagline {
    font-size: var(--text-xl); /* Adjusted but readable */
  }

  .section {
    padding: 4rem 0;
  }

  .clients-content {
    padding: 2.5rem;
  }

  .btn {
    padding: 1rem 2rem;
    font-size: 1rem;
  }

  .service-card {
    padding: 1.75rem;
  }

  .quote {
    font-size: var(--text-xl);
    padding: 2rem;
  }

  /* Slightly smaller but still readable text on very small screens */
  body {
    font-size: 1.125rem; /* 18px minimum */
  }

  .description,
  .section-subtitle {
    font-size: 1.25rem; /* 20px minimum */
  }
}
