/* =====================================================================
   Asha Abdulkadir, ashaabdulkadir.com
   Earthbound Elegance, landing page
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Earthbound Elegance, raw palette */
  --color-espresso:        #2B1F1A;
  --color-ivory:           #FAF6EF;
  --color-sand:            #EDE0D0;
  --color-clay:            #B66A50;
  --color-mauve:           #A9788B;
  --color-sage:            #7A7F59;
  --color-gold:            #C8A45D;
  --color-charcoal-brown:  #2A2522;
  --color-taupe:           #756A61;
  --color-card:            #FFFDF8;

  /* Semantic aliases */
  --bg:           var(--color-ivory);
  --bg-secondary: var(--color-sand);
  --bg-dark:      var(--color-espresso);
  --bg-card:      var(--color-card);
  --text:         var(--color-charcoal-brown);
  --text-muted:   var(--color-taupe);
  --text-on-dark: var(--color-ivory);
  --primary:      var(--color-clay);
  --primary-soft: rgba(182, 106, 80, 0.12);
  --primary-deep: #9A5640;
  --mauve:        var(--color-mauve);
  --sage:         var(--color-sage);
  --gold:         var(--color-gold);

  --border:         rgba(42, 37, 34, 0.10);
  --border-strong:  rgba(42, 37, 34, 0.18);
  --border-on-dark: rgba(250, 246, 239, 0.15);
  --shadow-sm:      0 2px 10px rgba(42, 37, 34, 0.06);
  --shadow-md:      0 14px 36px rgba(42, 37, 34, 0.10);
  --shadow-lg:      0 26px 64px rgba(42, 37, 34, 0.14);
  --shadow-dark:    0 14px 36px rgba(0, 0, 0, 0.30);

  /* Type */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono:    ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;

  /* Scale */
  --step--1: clamp(0.83rem, 0.80rem + 0.18vw, 0.94rem);
  --step-0:  clamp(1.00rem, 0.95rem + 0.26vw, 1.13rem);
  --step-1:  clamp(1.20rem, 1.13rem + 0.39vw, 1.41rem);
  --step-2:  clamp(1.44rem, 1.33rem + 0.55vw, 1.76rem);
  --step-3:  clamp(1.73rem, 1.57rem + 0.78vw, 2.20rem);
  --step-4:  clamp(2.07rem, 1.85rem + 1.10vw, 2.75rem);
  --step-5:  clamp(2.49rem, 2.18rem + 1.55vw, 3.44rem);
  --step-6:  clamp(2.99rem, 2.55rem + 2.18vw, 4.30rem);
  --step-7:  clamp(3.58rem, 2.95rem + 3.15vw, 5.50rem);
  --step-8:  clamp(4.30rem, 3.40rem + 4.50vw, 7.00rem);

  /* Space */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4.5rem;
  --space-7: 6.5rem;
  --space-8: 9rem;

  /* Layout */
  --max-content: 72rem;
  --max-prose:   38rem;
  --radius:      12px;
  --radius-lg:   20px;
  --radius-xl:   28px;

  /* Aliases used by 404.html (kept for compatibility with that page's inline styles) */
  --accent:        var(--mauve);
  --accent-soft:   rgba(169, 120, 139, 0.14);
  --bg-elevated:   var(--bg-card);
  --bg-deeper:     var(--bg-dark);
  --text-dim:      rgba(42, 37, 34, 0.55);
  --shadow:        var(--shadow-md);
  --gradient-hero: radial-gradient(ellipse at top left, rgba(182, 106, 80, 0.16), transparent 55%),
                   radial-gradient(ellipse at bottom right, rgba(169, 120, 139, 0.14), transparent 55%),
                   linear-gradient(160deg, var(--bg) 0%, var(--bg-secondary) 60%, var(--bg) 100%);
}

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,700;9..144,800&display=swap');

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { padding: 0; list-style: none; }

/* ---------- Base ---------- */
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}

a {
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 160ms ease, color 160ms ease;
}
a:hover { border-bottom-color: currentColor; }
a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: var(--text);
}

h1 { font-size: var(--step-6); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }

p { max-width: var(--max-prose); }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  top: -40px;
  left: var(--space-2);
  background: var(--primary);
  color: var(--text-on-dark);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius);
  z-index: 100;
  transition: top 160ms ease;
}
.skip-link:focus { top: var(--space-2); border-bottom: none; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max-content);
  margin-inline: auto;
  padding-inline: var(--space-3);
}
.container--narrow { max-width: 56rem; }

section { padding-block: var(--space-7); }

/* ---------- Site nav ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 239, 0.90);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-block: var(--space-2);
}
.site-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 700;
  color: var(--text);
  border-bottom: none;
  letter-spacing: -0.01em;
}
.site-nav__brand img { width: 32px; height: 32px; }
.site-nav__links {
  display: flex;
  gap: var(--space-3);
  align-items: center;
}
.site-nav__links a {
  color: var(--text-muted);
  font-size: var(--step--1);
  font-weight: 500;
  border-bottom: none;
  padding-block: var(--space-1);
}
.site-nav__links a:hover { color: var(--text); }
.site-nav__links .btn { padding: 0.5rem 1rem; font-size: var(--step--1); }
@media (max-width: 640px) {
  .site-nav__links .nav-link-text { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: var(--step-0);
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease, transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}
.btn:hover { transform: translateY(-1px); border-bottom: 1.5px solid transparent; box-shadow: var(--shadow-sm); }
.btn .arrow { display: inline-block; transition: transform 200ms ease; }
.btn:hover .arrow { transform: translateX(3px); }

.btn--primary {
  background: var(--primary);
  color: var(--color-ivory);
  border-color: var(--primary);
}
.btn--primary:hover { background: var(--primary-deep); border-color: var(--primary-deep); }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn--ghost:hover { background: var(--bg-card); border-color: var(--primary); color: var(--primary); }

.btn--on-dark {
  background: var(--primary);
  color: var(--color-ivory);
  border-color: var(--primary);
}
.btn--on-dark:hover { background: var(--gold); border-color: var(--gold); color: var(--color-espresso); }

.btn--ghost-on-dark {
  background: transparent;
  color: var(--text-on-dark);
  border-color: var(--border-on-dark);
}
.btn--ghost-on-dark:hover { background: rgba(250, 246, 239, 0.10); border-color: var(--color-ivory); color: var(--color-ivory); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding-block: var(--space-8) var(--space-7);
  overflow: hidden;
  isolation: isolate;
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}
.hero::before {
  top: -15%; left: -10%;
  width: 60vmax; height: 60vmax;
  background: radial-gradient(circle, rgba(182, 106, 80, 0.35), transparent 60%);
  animation: hero-drift-a 22s ease-in-out infinite alternate;
}
.hero::after {
  bottom: -20%; right: -15%;
  width: 60vmax; height: 60vmax;
  background: radial-gradient(circle, rgba(169, 120, 139, 0.25), transparent 60%);
  animation: hero-drift-b 26s ease-in-out infinite alternate;
}
.hero > * { position: relative; z-index: 1; }

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-6);
}
@media (max-width: 880px) {
  .hero__grid { grid-template-columns: 1fr; gap: var(--space-5); }
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-3);
}
.hero__eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--step-8);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--color-ivory);
  margin-bottom: var(--space-4);
  max-width: 18ch;
}
.hero__title .accent {
  background: linear-gradient(120deg, var(--color-ivory) 0%, var(--color-clay) 40%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__mission {
  font-family: var(--font-display);
  font-size: var(--step-2);
  line-height: 1.35;
  font-weight: 400;
  font-style: italic;
  color: var(--gold);
  margin-bottom: var(--space-3);
  max-width: 32ch;
  letter-spacing: -0.005em;
}

.hero__lede {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.5;
  font-weight: 500;
  color: rgba(250, 246, 239, 0.78);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
  max-width: 40ch;
}

.hero__body {
  font-size: var(--step-1);
  line-height: 1.65;
  color: rgba(250, 246, 239, 0.82);
  margin-bottom: var(--space-5);
  max-width: 36rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.hero__portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 32rem;
  margin-inline-start: auto;
  background: linear-gradient(135deg, var(--color-sand), var(--color-card));
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(250, 246, 239, 0.18);
}
.hero__portrait img,
.hero__portrait svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 880px) {
  .hero__portrait { max-width: 18rem; margin-inline: 0; }
}

/* ---------- Section styles ---------- */
.section--light { background: var(--bg); }
.section--secondary { background: var(--bg-secondary); }
.section--dark { background: var(--bg-dark); color: var(--text-on-dark); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--color-ivory); }

.section__eyebrow {
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: var(--space-2);
}
.section--dark .section__eyebrow { color: var(--gold); }
.section__title {
  font-size: var(--step-4);
  font-weight: 500;
  margin-bottom: var(--space-3);
  max-width: 22ch;
}
.section__lede {
  font-size: var(--step-1);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 44rem;
  margin-bottom: var(--space-5);
}
.section--dark .section__lede { color: rgba(250, 246, 239, 0.75); }

.section__divider {
  display: block;
  width: 64px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  border: 0;
  margin: 0 0 var(--space-4) 0;
  border-radius: 999px;
}

/* ---------- Professional identity (centered prose) ---------- */
.identity {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-6);
  align-items: start;
}
@media (max-width: 880px) {
  .identity { grid-template-columns: 1fr; gap: var(--space-4); }
}
.identity__art {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: calc(var(--space-5) + 64px);
}
.identity__art svg, .identity__art img { width: 100%; height: 100%; object-fit: cover; }
.identity__prose p {
  font-size: var(--step-1);
  line-height: 1.7;
  color: var(--text);
  max-width: 38rem;
}
.identity__prose p + p { margin-top: var(--space-3); }

/* ---------- Focus areas grid ---------- */
.focus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-3);
}
.focus {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
  overflow: hidden;
}
.focus::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent-color, var(--primary));
  opacity: 0.85;
}
.focus:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-color, var(--primary));
}
.focus--clay  { --accent-color: var(--primary); }
.focus--mauve { --accent-color: var(--mauve); }
.focus--sage  { --accent-color: var(--sage); }
.focus--gold  { --accent-color: var(--gold); }

.focus__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--accent-color, var(--primary));
  color: var(--color-ivory);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-1);
  margin-bottom: var(--space-3);
}
.focus__title {
  font-size: var(--step-2);
  font-weight: 500;
  margin-bottom: var(--space-2);
  color: var(--text);
}
.focus__body {
  color: var(--text-muted);
  font-size: var(--step-0);
  line-height: 1.55;
}

/* ---------- Selected work preview ---------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-3);
}
.work-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.work-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--mauve);
}
.work-card__tag {
  font-size: var(--step--1);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--mauve);
  font-weight: 600;
}
.work-card__title {
  font-size: var(--step-2);
  font-weight: 500;
  color: var(--text);
}
.work-card__body {
  color: var(--text-muted);
  font-size: var(--step-0);
  line-height: 1.55;
}

/* ---------- Beyond work / Writing two-column blocks ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: center;
}
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; gap: var(--space-4); }
}
.split--art-right .split__art { order: 2; }
@media (max-width: 880px) {
  .split--art-right .split__art { order: 0; }
}
.split__art {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.split__art svg, .split__art img { width: 100%; height: 100%; object-fit: cover; }
.split__prose p {
  font-size: var(--step-1);
  line-height: 1.7;
  color: var(--text);
  max-width: 36rem;
}
.section--dark .split__prose p { color: rgba(250, 246, 239, 0.85); }
.split__prose p + p { margin-top: var(--space-3); }
.split__small-cta { margin-top: var(--space-4); display: inline-flex; gap: 0.6rem; align-items: center; color: var(--mauve); font-weight: 600; font-size: var(--step--1); letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- Contact ---------- */
.contact {
  text-align: center;
}
.contact__title {
  font-size: var(--step-5);
  max-width: 22ch;
  margin: 0 auto var(--space-3);
  color: var(--color-ivory);
}
.contact__body {
  font-size: var(--step-1);
  line-height: 1.6;
  color: rgba(250, 246, 239, 0.80);
  max-width: 44rem;
  margin: 0 auto var(--space-5);
}
.contact__buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-2);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-dark);
  color: rgba(250, 246, 239, 0.7);
  padding-block: var(--space-5);
  font-size: var(--step--1);
  border-top: 1px solid rgba(250, 246, 239, 0.08);
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
}
.site-footer a { color: rgba(250, 246, 239, 0.85); border-bottom: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer__motto {
  font-style: italic;
  color: rgba(250, 246, 239, 0.55);
}
.site-footer__bottom {
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid rgba(250, 246, 239, 0.10);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-2);
  color: rgba(250, 246, 239, 0.55);
}

/* ---------- Previously at strip ---------- */
.prev-at {
  background: var(--bg);
  border-block: 1px solid var(--border);
  padding-block: var(--space-4);
}
.prev-at__label {
  text-align: center;
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 var(--space-3);
}
.prev-at__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-3) var(--space-5);
  list-style: none;
  padding: 0;
}
.prev-at__item {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 600;
  color: var(--text);
  opacity: 0.55;
  transition: opacity 200ms ease, color 200ms ease;
  letter-spacing: -0.01em;
}
.prev-at__item:hover { opacity: 1; color: var(--primary); }

/* ---------- At a Glance strip ---------- */
.at-a-glance {
  background: var(--bg-secondary);
  border-block: 1px solid var(--border);
  padding-block: var(--space-3);
}
.at-a-glance__intro {
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-1);
  color: var(--text);
  margin: 0 auto var(--space-3);
  max-width: 50ch;
}
.at-a-glance__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2) var(--space-4);
  align-items: center;
  text-align: center;
}

/* ---------- Quick Hello ---------- */
.quick-hello {
  background: var(--bg);
  padding-block: var(--space-6);
  text-align: center;
}
.quick-hello__greeting {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-4);
  font-weight: 500;
  color: var(--primary);
  margin: 0 auto var(--space-4);
  max-width: 24ch;
  letter-spacing: -0.01em;
}
.quick-hello__facts {
  display: grid;
  gap: var(--space-2);
  max-width: 40rem;
  margin: 0 auto;
}
.quick-hello__facts li {
  font-family: var(--font-body);
  font-size: var(--step-1);
  color: var(--text);
  line-height: 1.5;
  position: relative;
  padding-left: 1.6rem;
}
.quick-hello__facts li::before {
  content: "·";
  position: absolute;
  left: 0.6rem;
  color: var(--gold);
  font-weight: 700;
  font-size: 1.4em;
  line-height: 1;
}
.at-a-glance__item {
  font-family: var(--font-display);
  font-size: var(--step-0);
  font-weight: 500;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}
.at-a-glance__item::before {
  content: "·";
  color: var(--gold);
  font-weight: 700;
}
.at-a-glance__item:first-child::before { content: none; }
.at-a-glance__item .label {
  font-family: var(--font-body);
  font-size: var(--step--1);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

/* ---------- Personal greeting (inside identity) ---------- */
.identity__greeting {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-2);
  color: var(--primary);
  margin-bottom: var(--space-3);
  line-height: 1.4;
  max-width: 32ch;
}

/* ---------- Why I Build This Way (principles) ---------- */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-3);
}
.principle {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--mauve);
  border-radius: var(--radius);
  padding: var(--space-4);
  display: grid;
  gap: var(--space-2);
}
.principle:nth-child(2) { border-left-color: var(--sage); }
.principle:nth-child(3) { border-left-color: var(--gold); }
.principle__number {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-style: italic;
  color: var(--mauve);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.principle:nth-child(2) .principle__number { color: var(--sage); }
.principle:nth-child(3) .principle__number { color: var(--gold); }
.principle__title {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
}
.principle__body {
  color: var(--text-muted);
  font-size: var(--step-0);
  line-height: 1.55;
}

/* ---------- Whole Body of Work (4 threads) ---------- */
.threads {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-3);
}
.thread {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  display: grid;
  gap: var(--space-2);
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}
.thread:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--accent-color, var(--primary)); }
.thread--career    { --accent-color: var(--primary); }
.thread--learning  { --accent-color: var(--mauve); }
.thread--community { --accent-color: var(--sage); }
.thread--life      { --accent-color: var(--gold); }
.thread__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: fit-content;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: rgba(0,0,0,0.04);
  font-family: var(--font-body);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  font-weight: 600;
  color: var(--accent-color, var(--primary));
}
.thread__chip::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-color, var(--primary));
}
.thread__title {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 500;
  color: var(--text);
  line-height: 1.25;
}
.thread__body {
  color: var(--text-muted);
  font-size: var(--step-0);
  line-height: 1.55;
}

/* ---------- About page intro ---------- */
.about-intro {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-6);
  align-items: center;
}
@media (max-width: 880px) {
  .about-intro { grid-template-columns: 1fr; gap: var(--space-4); }
}
.about-intro__greeting {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-5);
  font-weight: 500;
  color: var(--primary);
  margin: 0 0 var(--space-3);
  letter-spacing: -0.01em;
}
.about-intro__lines {
  display: grid;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--step-1);
  color: var(--text);
  line-height: 1.5;
  max-width: 36ch;
}
.about-intro__lines li {
  position: relative;
  padding-left: 1.4rem;
}
.about-intro__lines li::before {
  content: "·";
  color: var(--gold);
  position: absolute;
  left: 0.4rem;
  top: -0.1em;
  font-size: 1.4em;
  font-weight: 700;
}
.about-intro__art {
  aspect-ratio: 4 / 5;
  max-width: 22rem;
  margin-inline-start: auto;
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card));
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.about-intro__art img,
.about-intro__art svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 880px) {
  .about-intro__art { margin-inline: 0; max-width: 18rem; }
}

/* ---------- Accordion (How I Work) ---------- */
.accordion {
  display: grid;
  gap: var(--space-2);
  max-width: 56rem;
}
.accordion details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.accordion details[open] {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.accordion summary {
  list-style: none;
  cursor: pointer;
  padding: var(--space-3) var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 500;
  color: var(--text);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "+";
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-3);
  color: var(--primary);
  transition: transform 200ms ease;
}
.accordion details[open] summary::after {
  content: "−";
}
.accordion__body {
  padding: 0 var(--space-4) var(--space-4);
  color: var(--text-muted);
  font-size: var(--step-0);
  line-height: 1.65;
  border-top: 1px solid var(--border);
  padding-top: var(--space-3);
  margin-top: 0;
}
.accordion summary:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: var(--radius);
}

/* ---------- Background section (education) ---------- */
.bg-list {
  display: grid;
  gap: var(--space-3);
  max-width: 56rem;
}
.bg-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--sage);
  border-radius: var(--radius);
  padding: var(--space-3) var(--space-4);
}
.bg-item:nth-child(2) { border-left-color: var(--mauve); }
.bg-item:nth-child(3) { border-left-color: var(--gold); }
.bg-item:nth-child(4) { border-left-color: var(--primary); }
.bg-item__title {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 500;
  color: var(--text);
  margin: 0;
}
.bg-item__meta {
  display: block;
  font-family: var(--font-body);
  font-size: var(--step--1);
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

/* ---------- Newsletter form ---------- */
.subscribe {
  max-width: 36rem;
  margin: 0 auto;
  display: grid;
  gap: var(--space-2);
}
.subscribe__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-2);
}
@media (max-width: 540px) {
  .subscribe__row { grid-template-columns: 1fr; }
}
.subscribe__input {
  background: var(--bg-card);
  color: var(--text);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 0.85rem 1.1rem;
  font-family: var(--font-body);
  font-size: var(--step-0);
  transition: border-color 160ms ease, box-shadow 160ms ease;
  width: 100%;
}
.subscribe__input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}
.subscribe__hint {
  font-size: var(--step--1);
  color: var(--text-muted);
  margin: 0;
}
.subscribe__status {
  margin-top: var(--space-2);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius);
  font-size: var(--step--1);
  background: rgba(122, 127, 89, 0.10);
  border: 1px solid var(--sage);
  color: var(--sage);
  display: none;
}
.subscribe__status.is-visible { display: block; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(.22,.61,.36,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal[data-reveal-delay="1"] { transition-delay: 80ms; }
.reveal[data-reveal-delay="2"] { transition-delay: 160ms; }
.reveal[data-reveal-delay="3"] { transition-delay: 240ms; }
.reveal[data-reveal-delay="4"] { transition-delay: 320ms; }

/* ---------- Keyframes ---------- */
@keyframes hero-drift-a {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(6vw, 4vw) scale(1.12); }
}
@keyframes hero-drift-b {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-6vw, -4vw) scale(1.08); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
