/* =========================
   About Page – Base helpers
========================= */
:root{
  --bg: #f5f0f4;
  --nav-bg: rgba(253, 250, 246, 0.9);
  --text: #1f1c16;
  --muted: #6b625a;
  --accent: #7b5b6a;
  --tag-bg: #eadde5;
  --line: rgba(31, 28, 22, 0.18);
}

body{
  background: radial-gradient(1200px 600px at 10% 0%, #f8f2f7 0%, rgba(248,242,247,0) 60%),
    radial-gradient(900px 520px at 90% 12%, #f2edf6 0%, rgba(242,237,246,0) 60%),
    var(--bg);
}

/* Container + section rhythm (won't override if you already define them later) */
.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section{
  padding: 28px 0;
}

/* small subtitle style for sections */
.section-subtitle{
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Buttons (match your card + shadow language) */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: var(--border);
  background: #111;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.2px;
  box-shadow: var(--shadow);
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
  white-space: nowrap;
}

.btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}

.btn:active{
  transform: translateY(0);
}

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

/* =========================
   About – Hero
========================= */
.about-hero{
  padding-top: 40px;
  padding-bottom: 18px;
}

.about-hero-title{
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--font-serif);
}

.about-hero-tagline{
  margin: 0 0 12px;
  font-size: 34px;
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--text);
  max-width: 24ch;
  font-family: var(--font-serif);
}

.about-hero-body{
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  max-width: 70ch;
}

/* =========================
   About – Focus cards
========================= */
.about-focus{
  padding-top: 22px;
}

.about-focus-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.about-card{
  background: var(--surface, #fff);
  border: var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 18px 18px 16px;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.about-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}

.about-card-title{
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--text);
  font-family: var(--font-serif);
}

.about-card-text{
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  opacity: 0.95;
}

/* =========================
   About – Skills
========================= */
.about-skills{
  padding-top: 26px;
}

.about-skills-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.skill-block{
  background: var(--surface, #fff);
  border: var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 18px 18px 16px;
}

.skill-block h3{
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--text);
  font-family: var(--font-serif);
}

.skill-block ul{
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.75;
  font-size: 14px;
}

.skill-block li{
  margin: 6px 0;
}

/* =========================
   About – Background
========================= */
.about-background{
  padding-top: 22px;
}

.about-background-text{
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  max-width: 78ch;
}

/* =========================
   About – CTA box
========================= */
.about-cta{
  padding-top: 26px;
  padding-bottom: 40px;
}

.about-cta-box{
  background: #fff;
  border: var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 18px 18px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.about-cta-text{
  margin: 0;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.2px;
  color: var(--title);
}

.about-cta-actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* =========================
   NoScript (if your global one doesn't exist)
========================= */
.noscript{
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  background: #111;
  color: #fff;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  opacity: 0.9;
}

/* =========================
   Responsive
========================= */
@media (max-width: 980px){
  .about-hero-tagline{
    font-size: 30px;
    max-width: 28ch;
  }
}

@media (max-width: 860px){
  .about-focus-grid{
    grid-template-columns: 1fr;
  }

  .about-skills-grid{
    grid-template-columns: 1fr;
  }

  .about-cta-box{
    align-items: flex-start;
  }

  .about-hero-tagline{
    font-size: 26px;
  }
}
