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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1a1a1a;
  background: #fafaf8;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── Layout ── */
.container {
  max-width: 640px;
  margin: 0 auto;
  padding: 5rem 1.5rem 3rem;
}

/* ── Hero / Header ── */
.hero {
  text-align: center;
  margin-bottom: 4rem;
}

.avatar {
  width: 110px;
  height: 110px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  background: #e8e6e1;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  font-size: 2rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.tagline {
  font-size: 0.95rem;
  color: #6b6b6b;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.bio {
  font-size: 1.05rem;
  color: #3a3a3a;
  max-width: 480px;
  margin: 0 auto 1.5rem;
}

.links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.links a {
  font-size: 0.9rem;
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 500;
  padding-bottom: 2px;
  border-bottom: 1.5px solid #c8c5bd;
  transition: border-color 0.2s;
}

.links a:hover {
  border-color: #1a1a1a;
}

/* ── Projects ── */
.projects {
  margin-bottom: 4rem;
}

.projects h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  font-size: 1.4rem;
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}

.project-card {
  padding: 1.75rem 0;
  border-top: 1px solid #e4e2dc;
}

.project-card:last-child {
  border-bottom: 1px solid #e4e2dc;
}

.project-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  margin-bottom: 0.6rem;
  /* Default style */
  color: #8b5a6b;
  background: #fce4ec;
}

/* Girly colour palette for tags */
.project-tag.rose       { color: #8b5a6b; background: #fce4ec; }
.project-tag.lavender   { color: #6a5a8e; background: #ede7f6; }
.project-tag.peach      { color: #8b6a50; background: #fff0e6; }
.project-tag.blush      { color: #7a5a6e; background: #fde4f0; }
.project-tag.lilac      { color: #7b6b8a; background: #f3e5f5; }

.project-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.project-card p {
  font-size: 0.95rem;
  color: #4a4a4a;
  margin-bottom: 0.75rem;
}

.methods {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
}

.methods li {
  font-size: 0.78rem;
  color: #6b6b6b;
  background: #f3f2ee;
  padding: 0.2rem 0.55rem;
  border-radius: 3px;
}

/* ── Read More Link ── */
.read-more {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: #1a1a1a;
  text-decoration: none;
  border-bottom: 1.5px solid #c8c5bd;
  padding-bottom: 1px;
  transition: border-color 0.2s;
}

.read-more:hover {
  border-color: #1a1a1a;
}

/* ── Case Study Page ── */
.back-link {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 500;
  color: #6b6b6b;
  text-decoration: none;
  transition: color 0.2s;
  margin-bottom: 2.5rem;
}

.back-link:hover {
  color: #1a1a1a;
}

.case-header {
  margin-bottom: 3rem;
}

.case-header h1 {
  font-size: 1.75rem;
  line-height: 1.3;
  margin-bottom: 1.25rem;
}

.case-meta {
  list-style: none;
  margin-bottom: 1rem;
}

.case-meta li {
  font-size: 0.9rem;
  color: #4a4a4a;
  padding: 0.2rem 0;
}

.case-meta strong {
  color: #1a1a1a;
}

.case-header .methods {
  margin-top: 1rem;
}

.case-body {
  margin-bottom: 3rem;
}

.case-section {
  margin-bottom: 2.5rem;
}

.case-section h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.case-section p {
  font-size: 0.95rem;
  color: #3a3a3a;
  margin-bottom: 0.75rem;
}

.case-section em {
  font-style: italic;
  color: #1a1a1a;
}

.case-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0 0.5rem;
}

.case-images figure {
  margin: 0;
}

.case-images img {
  width: 100%;
  border-radius: 6px;
  border: 1px solid #e4e2dc;
  display: block;
}

.case-images figcaption {
  font-size: 0.78rem;
  color: #6b6b6b;
  text-align: center;
  margin-top: 0.5rem;
}

.case-image-full {
  margin: 1.5rem 0 0.5rem;
}

.case-image-full figure {
  margin: 0;
}

.case-image-full img {
  width: 100%;
  border-radius: 6px;
  border: 1px solid #e4e2dc;
  display: block;
}

.case-image-full figcaption {
  font-size: 0.78rem;
  color: #6b6b6b;
  text-align: center;
  margin-top: 0.5rem;
}

.process-subhead {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.pattern-grid {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 1.5rem;
  margin: 0.5rem 0 1.25rem;
}

.pattern-grid li {
  font-size: 0.88rem;
  color: #4a4a4a;
  padding: 0.3rem 0 0.3rem 1rem;
  position: relative;
}

.pattern-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c8c5bd;
}

@media (max-width: 480px) {
  .pattern-grid {
    grid-template-columns: 1fr;
  }
}

.insight-list {
  list-style: none;
  margin: 0.5rem 0 0.75rem;
}

.insight-list li {
  font-size: 0.95rem;
  color: #3a3a3a;
  padding: 0.5rem 0 0.5rem 1.25rem;
  position: relative;
}

.insight-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c8c5bd;
}

.highlight-section {
  background: #f6f5f1;
  border-radius: 8px;
  padding: 1.75rem;
  margin-left: -1.75rem;
  margin-right: -1.75rem;
}

.pullquote {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 1.1rem !important;
  color: #1a1a1a !important;
  border-left: 3px solid #c8c5bd;
  padding-left: 1.25rem;
  margin-top: 1.25rem !important;
  margin-bottom: 0 !important;
}

.recommendation-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1rem 0 1.25rem;
}

.rec-card {
  background: #f6f5f1;
  border-radius: 6px;
  padding: 1.25rem;
}

.rec-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.rec-card p {
  font-size: 0.88rem;
  color: #4a4a4a;
  margin-bottom: 0;
}

.case-study footer {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e4e2dc;
}

.case-study footer .back-link {
  margin-bottom: 1rem;
}

@media (max-width: 480px) {
  .highlight-section {
    margin-left: -1.25rem;
    margin-right: -1.25rem;
    padding: 1.25rem;
  }

  .recommendation-cards {
    grid-template-columns: 1fr;
  }

  .case-images {
    grid-template-columns: 1fr;
  }

  .case-header h1 {
    font-size: 1.4rem;
  }
}

/* ── Stat Cards ── */
.stat-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1rem 0 1.25rem;
}

.stat-card {
  background: #fff;
  border-radius: 6px;
  padding: 1.25rem 1rem;
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 1.6rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.3rem;
}

.stat-label {
  display: block;
  font-size: 0.78rem;
  color: #6b6b6b;
  line-height: 1.4;
}

@media (max-width: 480px) {
  .stat-cards {
    grid-template-columns: 1fr;
  }
}

/* ── Footer ── */
footer {
  text-align: center;
  padding-top: 1rem;
}

footer p {
  font-size: 0.8rem;
  color: #9a9a9a;
}

/* ── Responsive ── */
@media (max-width: 480px) {
  .container {
    padding: 3rem 1.25rem 2rem;
  }

  h1 {
    font-size: 1.7rem;
  }

  .bio {
    font-size: 1rem;
  }
}
