/*
Theme Name: Aayaam Verma
Theme URI: https://www.aayaamv.com/
Author: Aayaam Verma
Author URI: https://www.aayaamv.com/
Description: Bespoke personal site. Libre Baskerville headings, Newsreader body, Inter UI. Plum dark theme with warm paper light theme for blog.
Version: 1.0.0
Text Domain: aayaamv
*/

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

/* ── TOKENS ── */
:root {
  /* Dark palette */
  --void: #130E1A;
  --deep-plum: #1C1528;
  --surface: #271D34;
  --raised: #3A2B50;
  --rule: #6B5A8A;
  --text-primary: #E8E0F0;
  --text-muted: #A899BE;
  --accent: #C9A87C;
  --accent-dim: #8A704A;

  /* Light palette */
  --paper: #F6F3EE;
  --paper-alt: #EDE8E1;
  --ink-heavy: #1A1520;
  --ink-body: #3D3448;
  --ink-light: #8A7A9E;
  --rule-light: rgba(26, 21, 32, 0.1);

  /* Type */
  --font-heading: 'Libre Baskerville', serif;
  --font-body: 'Newsreader', serif;
  --font-ui: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; font-size: 106.25%; }

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ── SKIP LINK (accessibility) ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 200;
  padding: 0.5rem 1rem;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--void);
  border-radius: 0.25rem;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 1rem;
}

/* ── DARK THEME (default) ── */
body.theme-dark {
  font-family: var(--font-body);
  background: var(--void);
  color: var(--text-primary);
}

/* ── LIGHT THEME (blog) ── */
body.theme-light {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink-body);
}

/* ══════════════════════════════════════
   NAV
   ══════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.75rem 0;
  transition: background 0.3s ease, padding 0.3s ease;
}
.nav-inner {
  max-width: 75rem;
  margin: 0 auto;
  padding: 0 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Dark nav scroll */
.theme-dark .nav.scrolled {
  background: rgba(19, 14, 26, 0.92);
  backdrop-filter: blur(0.75rem);
  -webkit-backdrop-filter: blur(0.75rem);
  padding: 1.125rem 0;
}

/* Light nav scroll */
.theme-light .nav.scrolled {
  background: rgba(246, 243, 238, 0.95);
  backdrop-filter: blur(0.75rem);
  -webkit-backdrop-filter: blur(0.75rem);
  padding: 1.125rem 0;
}

.nav-wordmark {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 400;
}
.nav-wordmark-short { display: none; }
.theme-dark .nav-wordmark { color: var(--text-primary); }
.theme-light .nav-wordmark { color: var(--ink-heavy); }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.2s ease;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -0.25rem; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--accent); }

.theme-dark .nav-links a { color: var(--text-muted); }
.theme-light .nav-links a { color: #6B5A8A; }

/* ══════════════════════════════════════
   HERO (homepage only)
   ══════════════════════════════════════ */
.hero-glow {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s ease;
  background: radial-gradient(
    37.5rem circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(201, 168, 124, 0.045),
    transparent 60%
  );
}
.hero-glow.active { opacity: 1; }

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 3rem;
  position: relative;
  overflow: hidden;
  max-width: 75rem;
  margin: 0 auto;
}
.hero-content {
  flex: 1;
  position: relative;
  z-index: 2;
  padding-right: 3.75rem;
}
.hero-eyebrow {
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.hero-name {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.08;
  color: var(--text-primary);
  margin-bottom: 1rem;
}
.hero-descriptor {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 400;
  font-optical-sizing: auto;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 30rem;
}
.hero-headshot {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}
.hero-headshot img {
  width: 20rem;
  height: 25rem;
  object-fit: cover;
  border-radius: 0.25rem;
}

/* ══════════════════════════════════════
   PAGE HEADERS
   ══════════════════════════════════════ */
.page-header {
  max-width: 50rem;
  margin: 0 auto;
  padding: 8rem 3rem 0;
}
.page-header--narrow { max-width: 42.5rem; }

.page-eyebrow {
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.page-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.theme-dark .page-title { color: var(--text-primary); }
.theme-light .page-title { color: var(--ink-heavy); }

.page-intro {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 400;
  font-optical-sizing: auto;
  line-height: 1.7;
  max-width: 37.5rem;
}
.theme-dark .page-intro { color: var(--text-muted); }
.theme-light .page-intro { color: #6B5A8A; }

/* Light theme WCAG overrides */
.theme-light .page-eyebrow { color: #6B5A8A; }
.theme-light .section-eyebrow { color: #6B5A8A; }
.theme-light .section-label { color: #6B5A8A; }
.theme-light .content-rule { background: var(--rule-light); }

/* ══════════════════════════════════════
   CONTENT BLOCKS (about, work)
   ══════════════════════════════════════ */
.content {
  max-width: 50rem;
  margin: 0 auto;
  padding: 4rem 3rem 6rem;
}
.content p {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 400;
  font-optical-sizing: auto;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 1.5rem;
}
.content h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 3rem;
  margin-bottom: 1rem;
  line-height: 1.25;
}
.content-rule {
  height: 1px;
  background: rgba(107, 90, 138, 0.25);
  margin: 3rem 0;
}

/* ── SECTION EYEBROW ── */
.section-eyebrow {
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.75rem;
}
.content .section-label,
h2.section-label {
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 0;
  margin-bottom: 2rem;
}

/* ══════════════════════════════════════
   PHILOSOPHY (homepage)
   ══════════════════════════════════════ */
.philosophy {
  border-top: 1px solid rgba(107, 90, 138, 0.25);
  border-bottom: 1px solid rgba(107, 90, 138, 0.25);
  padding: 5rem 3rem;
  max-width: 75rem;
  margin: 0 auto;
}
.philosophy-inner { max-width: 40rem; }
.quote-text {
  font-family: var(--font-body);
  font-size: 1.375rem;
  font-weight: 400;
  font-style: italic;
  font-optical-sizing: auto;
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: 1rem;
}
.quote-attr {
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dim);
}
.philosophy-note {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  font-optical-sizing: auto;
  color: var(--text-muted);
  line-height: 1.75;
  margin-top: 1.5rem;
}

/* ══════════════════════════════════════
   HOW I WORK GRID (homepage)
   ══════════════════════════════════════ */
.section {
  max-width: 75rem;
  margin: 0 auto;
  padding: 6rem 3rem;
  position: relative;
  z-index: 2;
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}
.work-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}
.work-card-body {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  font-optical-sizing: auto;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ══════════════════════════════════════
   ROLES (work page)
   ══════════════════════════════════════ */
.role { margin-bottom: 3rem; }
.role-eyebrow {
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.role-title {
  font-family: var(--font-heading);
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 0.5rem;
}
.role-company {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}
.role-company a { color: var(--accent); transition: color 0.2s ease; }
.role-company a:hover { color: var(--text-primary); }
.role-body {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  font-optical-sizing: auto;
  color: var(--text-muted);
  line-height: 1.8;
}
.role-body p { margin-bottom: 1rem; }
.role-skills {
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 400;
  color: var(--rule);
  line-height: 1.6;
  margin-top: 1rem;
}
.role-skills strong { font-weight: 600; color: var(--text-muted); }

/* ══════════════════════════════════════
   BLOG INDEX (light theme)
   ══════════════════════════════════════ */
.posts {
  max-width: 42.5rem;
  margin: 0 auto;
  padding: 4rem 3rem 6rem;
}
.post-item {
  padding: 2rem 0;
  border-bottom: 1px solid var(--rule-light);
}
.post-date {
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6B5A8A;
  margin-bottom: 0.625rem;
}
.post-title {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--ink-heavy);
  line-height: 1.25;
  margin-bottom: 0.5rem;
  transition: color 0.2s ease;
}
.post-excerpt {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  font-optical-sizing: auto;
  color: var(--ink-body);
  line-height: 1.8;
}
.post-cta {
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-heavy);
  margin-top: 0.75rem;
  display: inline-block;
  transition: color 0.2s ease;
}
.post-cta:hover { color: var(--accent); }
.post-link { display: block; }
.post-link:hover .post-title { color: var(--accent); }

/* ── CATEGORY FILTERS (blog archive) ── */
.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--rule-light);
}
.category-filter {
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6B5A8A;
  padding: 0.375rem 0.875rem;
  border: 1px solid var(--rule-light);
  border-radius: 0.25rem;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.category-filter:hover {
  color: var(--ink-heavy);
  border-color: var(--ink-heavy);
}
.category-filter.active {
  color: var(--ink-heavy);
  border-color: var(--ink-heavy);
  background: var(--paper-alt);
}

/* ── POST CATEGORIES (on cards) ── */
.post-categories {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.post-category {
  font-family: var(--font-ui);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6B5A8A;
  padding: 0.25rem 0.625rem;
  border: 1px solid var(--rule-light);
  border-radius: 0.25rem;
}

/* ══════════════════════════════════════
   SINGLE POST (light theme)
   ══════════════════════════════════════ */
.post-header {
  max-width: 42.5rem;
  margin: 0 auto;
  padding: 8rem 3rem 0;
}
.post-header .post-title {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}
.post-meta {
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6B5A8A;
  margin-bottom: 0.25rem;
}
.post-meta-sep {
  margin: 0 0.375rem;
  color: #6B5A8A;
}
.post-byline {
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6B5A8A;
}
.post-byline a {
  color: var(--ink-heavy);
  transition: color 0.2s ease;
}
.post-byline a:hover { color: var(--accent); }

.post-featured-image {
  max-width: 42.5rem;
  margin: 2rem auto 0;
  padding: 0 3rem;
}
.post-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.post-content {
  max-width: 42.5rem;
  margin: 0 auto;
  padding: 3rem 3rem 0;
}
.post-content p {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 400;
  font-optical-sizing: auto;
  color: var(--ink-body);
  line-height: 1.85;
  margin-bottom: 1.5rem;
}
.post-content h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink-heavy);
  margin-top: 3rem;
  margin-bottom: 0.5rem;
  line-height: 1.25;
}
.post-content h3 {
  font-family: var(--font-heading);
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--ink-heavy);
  margin-top: 2.25rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.post-content h4 {
  font-family: var(--font-heading);
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--ink-heavy);
  margin-top: 2.25rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.post-content h5,
.post-content h6 {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink-heavy);
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.post-content blockquote {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 400;
  font-style: italic;
  font-optical-sizing: auto;
  color: var(--ink-heavy);
  line-height: 1.6;
  padding-left: 1.5rem;
  border-left: 0.125rem solid var(--accent);
  margin: 2.25rem 0;
}
.post-content a {
  color: var(--ink-heavy);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 0.1875rem;
  transition: color 0.2s ease;
}
.post-content a:hover { color: var(--accent); }
.post-content ul, .post-content ol {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  color: var(--ink-body);
  line-height: 1.85;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}
.post-content li { margin-bottom: 0.5rem; }

.post-bottom {
  max-width: 42.5rem;
  margin: 0 auto;
  padding: 0 3rem 6rem;
}
.post-bottom .content-rule {
  background: var(--rule-light);
  margin: 3rem 0;
}

.recent-posts { margin-bottom: 3rem; }
.recent-posts .section-eyebrow { color: #6B5A8A; }

.post-nav-back {
  padding-top: 2rem;
}
.back-link {
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-heavy);
  transition: color 0.2s ease;
}
.back-link:hover { color: var(--accent); }

/* ══════════════════════════════════════
   CONTACT FORM (Fluent Forms overrides)
   ══════════════════════════════════════ */
.form-container {
  max-width: 42.5rem;
  margin: 0 auto;
  padding: 3rem 3rem 6rem;
}
.form-container .fluentform { color: var(--text-primary); }
.form-container .fluentform input[type="text"],
.form-container .fluentform input[type="email"],
.form-container .fluentform textarea {
  background: var(--deep-plum);
  border: 1px solid var(--surface);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0.25rem;
  transition: border-color 0.2s ease;
  width: 100%;
}
.form-container .fluentform input:focus,
.form-container .fluentform textarea:focus {
  border-color: var(--accent);
  outline: none;
}
.form-container .fluentform label {
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-container .fluentform .ff-btn-submit {
  background: var(--accent);
  color: var(--void);
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.875rem 2rem;
  border: none;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: background 0.2s ease;
}
.form-container .fluentform .ff-btn-submit:hover {
  background: var(--accent-dim);
}

/* Fluent Forms: error states */
.form-container .fluentform {
  --fluentform-danger: #D4806E;
  --fluentform-border-radius: 0.25rem;
}
.form-container .fluentform .ff-el-is-error .ff-el-form-control,
.form-container .fluentform .ff-el-is-error input[type="text"],
.form-container .fluentform .ff-el-is-error input[type="email"],
.form-container .fluentform .ff-el-is-error textarea {
  border-color: var(--surface) !important;
  box-shadow: none !important;
  outline: none !important;
}
.form-container .fluentform .ff-el-is-error .ff-el-form-control:focus,
.form-container .fluentform .ff-el-is-error input:focus,
.form-container .fluentform .ff-el-is-error textarea:focus {
  border-color: var(--accent) !important;
}
.form-container .fluentform .ff-el-is-error .error,
.form-container .fluentform .ff-el-is-error .text-danger,
.form-container .fluentform .ff_has_error .error {
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 500;
  color: #D4806E;
  margin-top: 0.375rem;
}
.form-container .fluentform .ff_required_star {
  color: #D4806E;
}

/* ══════════════════════════════════════
   THANK YOU
   ══════════════════════════════════════ */
.confirmation {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 3rem;
  text-align: center;
}
.confirmation-eyebrow {
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.confirmation-title {
  font-family: var(--font-heading);
  font-size: 2.625rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}
.confirmation-body {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 400;
  font-optical-sizing: auto;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 30rem;
  margin-bottom: 2.25rem;
}
.confirmation-link {
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  transition: color 0.2s ease;
  position: relative;
}
.confirmation-link::after {
  content: '';
  position: absolute;
  bottom: -0.25rem; left: 0;
  width: 100%; height: 1px;
  background: var(--accent);
  opacity: 0.4;
  transition: opacity 0.2s ease;
}
.confirmation-link:hover { color: var(--text-primary); }
.confirmation-link:hover::after { opacity: 0; }

/* ══════════════════════════════════════
   404
   ══════════════════════════════════════ */
.four-oh-four {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 3rem;
  text-align: center;
}

/* ══════════════════════════════════════
   SCROLL REVEALS
   ══════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(0.75rem);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.work-card {
  opacity: 0;
  transform: translateY(0.75rem);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.work-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════
   FOOTER
   ══════════════════════════════════════ */
.footer {
  max-width: 75rem;
  margin: 0 auto;
  padding: 3rem 3rem 3.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.theme-dark .footer { border-top: 1px solid rgba(107, 90, 138, 0.2); }
.theme-light .footer { border-top: 1px solid var(--rule-light); }

.footer-links { display: flex; gap: 1.75rem; list-style: none; }
.footer-links a {
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--accent); }
.theme-dark .footer-links a { color: var(--text-muted); }
.theme-light .footer-links a { color: #6B5A8A; }

.footer-copy {
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
}
.theme-dark .footer-copy { color: var(--rule); }
.theme-light .footer-copy { color: #6B5A8A; }

.footer-social { display: flex; gap: 1.5rem; list-style: none; }
.footer-social a {
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}
.footer-social a:hover { color: var(--accent); }
.theme-dark .footer-social a { color: var(--text-muted); }
.theme-light .footer-social a { color: #6B5A8A; }

/* ══════════════════════════════════════
   DATELINE (inline AP style)
   ══════════════════════════════════════ */
.dateline {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: inherit;
  color: var(--ink-heavy);
}

/* ══════════════════════════════════════
   SCROLL ARROWS (single post)
   ══════════════════════════════════════ */
.scroll-arrows {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 90;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.scroll-arrows.visible {
  opacity: 1;
  pointer-events: auto;
}
.scroll-arrow {
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  background: var(--accent);
  color: #FFFFFF;
  font-family: var(--font-ui);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  border-radius: 0.25rem;
  padding: 0;
  line-height: 1;
}
.scroll-arrow:hover {
  background: var(--accent-dim);
}

/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */
@media (max-width: 768px) {
  .nav { padding: 1.25rem 0; }
  .nav.scrolled { padding: 0.875rem 0; }
  .nav-inner { padding: 0 1.5rem; }
  .nav-links { gap: 1.25rem; }

  .hero {
    flex-direction: column-reverse;
    padding: 7.5rem 1.5rem 3.75rem;
    min-height: auto;
    gap: 2.5rem;
  }
  .hero-content { padding-right: 0; }
  .hero-name { font-size: 2.5rem; }
  .hero-descriptor { font-size: 1.0625rem; }
  .hero-headshot img { width: 100%; max-width: 17.5rem; height: auto; }

  .section { padding: 4rem 1.5rem; }
  .philosophy { padding: 3.5rem 1.5rem; }
  .work-grid { grid-template-columns: 1fr; gap: 2.25rem; }

  .page-header { padding: 6.75rem 1.5rem 0; }
  .page-title { font-size: 2.125rem; }
  .content { padding: 3rem 1.5rem 4rem; }
  .posts { padding: 3rem 1.5rem 4rem; }
  .form-container { padding: 3rem 1.5rem 4rem; }

  .post-header { padding: 6.75rem 1.5rem 0; }
  .post-header .post-title { font-size: 1.75rem; }
  .post-featured-image { padding: 0 1.5rem; }
  .post-content { padding: 2.25rem 1.5rem 0; }
  .post-bottom { padding: 0 1.5rem 4rem; }

  .confirmation { padding: 0 1.5rem; }
  .confirmation-title { font-size: 2rem; }
  .four-oh-four { padding: 0 1.5rem; }

  .scroll-arrows { right: 1.25rem; bottom: 1.25rem; }
  .scroll-arrow { width: 2.25rem; height: 2.25rem; font-size: 0.875rem; }

  .footer {
    flex-direction: column;
    gap: 1.25rem;
    padding: 2.25rem 1.5rem 2.75rem;
    text-align: center;
  }
  .footer-links { justify-content: center; }
  .footer-social { justify-content: center; }
}

@media (max-width: 480px) {
  .hero-name { font-size: 2.125rem; }
  .nav-wordmark { font-size: 0.9375rem; }
  .nav-wordmark-full { display: none; }
  .nav-wordmark-short { display: inline; }
  .nav-links { gap: 0.875rem; }
  .nav-links a { font-size: 0.5625rem; }
}
