/* ================================================================
   VWAnderson.com — Stylesheet
   Vincent Anderson · Virtual IT Director & AI Strategy Advisor
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&display=swap');

/* ----------------------------------------------------------------
   Custom Properties
   ---------------------------------------------------------------- */
:root {
  --charcoal:    #1A1A1A;
  --copper:      #B07D4A;
  --copper-dark: #8B6038;
  --cream:       #F2EDE3;
  --cream-light: #FAF8F4;
  --slate:       #5A6478;
  --white:       #FFFFFF;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'DM Sans', system-ui, -apple-system, sans-serif;

  --nav-height: 60px;
  --max-width:  1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--charcoal);
  background-color: var(--cream-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--copper);
  color: var(--white);
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.1;
}

/* ----------------------------------------------------------------
   Layout Utilities
   ---------------------------------------------------------------- */
.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 40px;
}

.container--narrow {
  max-width: 760px;
}

.copper-rule {
  width: 28px;
  height: 2px;
  background: var(--copper);
  display: block;
  margin-bottom: 20px;
}

.eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 16px;
}

/* ----------------------------------------------------------------
   Buttons
   ---------------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, opacity 0.2s;
  border: 1px solid transparent;
  line-height: 1;
  text-align: center;
}

.btn-copper { display: inline-block; background: var(--copper); color: var(--charcoal); font-weight: 700; font-size: 0.85rem; letter-spacing: 1px; text-transform: uppercase; text-decoration: none; padding: 0.85rem 1.75rem; border-radius: 4px; transition: opacity 0.2s; border: none; cursor: pointer; }
.btn-copper:hover { opacity: 0.85; }

.btn-outline-light {
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  border-color: rgba(255, 255, 255, 0.32);
}
.btn-outline-light:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-outline-dark {
  background: transparent;
  color: var(--slate);
  border-color: rgba(90, 100, 120, 0.38);
}
.btn-outline-dark:hover {
  color: var(--charcoal);
  border-color: var(--charcoal);
}

/* ================================================================
   NAVIGATION
   ================================================================ */
.site-nav {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  height: var(--nav-height);
  background: var(--charcoal);
  border-top: 3px solid var(--copper);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 40px;
  width: 100%;
}

/* VA Monogram Mark */
.va-mark {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--copper);
  border: 1.5px solid var(--copper);
  padding: 5px 12px 4px;
  letter-spacing: 0.14em;
  line-height: 1;
  display: inline-block;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}
.va-mark:hover {
  background: var(--copper);
  color: var(--charcoal);
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--white);
}

.nav-cta {
  padding: 9px 22px;
  font-size: 12.5px;
}

/* ================================================================
   HERO — two-column: text + stats left, headshot right
   ================================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

.section-hero {
  background: var(--charcoal);
  color: var(--white);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 58fr 42fr;
  min-height: 100vh;
}

/* Left column — text content stacked, stats pinned to bottom */
.hero-left {
  display: flex;
  flex-direction: column;
  padding-top: calc(var(--nav-height) + 80px);
  /* aligns left edge with .container on all viewport widths */
  padding-left: max(40px, calc((100vw - var(--max-width)) / 2 + 40px));
  padding-right: 60px;
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 56px;
}

.hero-eyebrow {
  font-size: 14px;
  animation: fadeInUp 0.8s ease both;
}

.hero-name {
  font-size: clamp(48px, 5.5vw, 88px);
  font-weight: 300;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 24px;
  line-height: 0.95;
  animation: fadeInUp 0.8s 0.1s ease both;
}

.hero-tagline {
  font-family: var(--font-serif);
  font-size: clamp(20px, 1.875vw, 26px);
  font-weight: 300;
  font-style: italic;
  color: rgba(255, 255, 255, 0.6);
  max-width: 480px;
  margin-bottom: 40px;
  line-height: 1.65;
  animation: fadeInUp 0.8s 0.2s ease both;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  animation: fadeInUp 0.8s 0.3s ease both;
}

/* ----------------------------------------------------------------
   Stats Bar — sits at the bottom of the left column
   ---------------------------------------------------------------- */
.stats-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  animation: fadeInUp 0.8s 0.45s ease both;
}

.stat-item {
  padding: 28px 40px 28px 0;
  text-align: left;
  position: relative;
}

.stat-item + .stat-item {
  padding-left: 40px;
}

.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 34px;
  background: rgba(255, 255, 255, 0.13);
}

.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 500;
  color: var(--copper);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.stat-label {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

/* ----------------------------------------------------------------
   Right column — headshot fills column height, fades at bottom
   ---------------------------------------------------------------- */
.hero-right {
  position: relative;
  overflow: hidden;
}

.hero-right img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  /* fade only the bottom 30% — face and body remain fully visible */
  -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}

/* ================================================================
   INTRO / ABOUT
   ================================================================ */
.section-intro {
  background: var(--cream);
  padding: 100px 40px;
}

.intro-text {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.1vw, 26px);
  font-weight: 400;
  line-height: 1.68;
  color: var(--charcoal);
  margin-bottom: 52px;
}

.signature-img {
  height: 62px;
  width: auto;
  opacity: 0.8;
}

/* ================================================================
   FIELD NOTES
   ================================================================ */
.section-field-notes {
  background: var(--charcoal);
  padding-top: 88px;
}

.section-field-notes .section-header {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 40px;
  padding-bottom: 64px;
}

.section-header h2 {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 400;
}

.section-field-notes .section-header h2 {
  color: var(--white);
}

/* 1px gap grid — dark section background shows through gaps */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.09);
}

.story-card {
  background: var(--charcoal);
  padding: 48px 44px 52px;
  display: flex;
  flex-direction: column;
  transition: background 0.22s;
}
.story-card:hover {
  background: #1f1f1f;
}

.card-category {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 20px;
  display: block;
}

.story-card h3 {
  font-size: clamp(22px, 1.8vw, 28px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 18px;
}

.story-card p {
  font-size: 14px;
  line-height: 1.78;
  color: rgba(255, 255, 255, 0.5);
  flex: 1;
  margin-bottom: 40px;
}

.card-link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.25s;
  margin-top: auto;
}
.story-card:hover .card-link {
  gap: 14px;
}

.card-arrow {
  font-size: 15px;
  line-height: 1;
}

/* ================================================================
   WHAT I DO / SERVICES
   ================================================================ */
.section-services {
  background: var(--cream-light);
  padding: 100px 40px;
}

.section-services .section-header {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-bottom: 56px;
}

.section-services .section-header h2 {
  color: var(--charcoal);
}

.services-grid {
  max-width: var(--max-width);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.service-card {
  background: var(--cream);
  padding: 56px 48px 52px;
  border-top: 3px solid var(--copper);
}

.service-card h3 {
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 20px;
}

.service-card > p {
  font-size: 15px;
  line-height: 1.82;
  color: var(--slate);
  margin-bottom: 36px;
}

.service-list {
  margin-bottom: 44px;
}

.service-list li {
  font-size: 13.5px;
  color: var(--slate);
  padding: 9px 0;
  border-bottom: 1px solid rgba(90, 100, 120, 0.13);
  display: flex;
  align-items: center;
  gap: 12px;
}
.service-list li:first-child {
  border-top: 1px solid rgba(90, 100, 120, 0.13);
}
.service-list li::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--copper);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ================================================================
   NEWSLETTER
   ================================================================ */
.section-newsletter {
  background: var(--copper);
  padding: 92px 40px;
  text-align: center;
}

.section-newsletter h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 14px;
}

.newsletter-desc {
  font-size: 16px;
  line-height: 1.68;
  color: rgba(26, 26, 26, 0.66);
  max-width: 440px;
  margin: 0 auto 44px;
}

.newsletter-form {
  display: flex;
  max-width: 460px;
  margin-inline: auto;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 14px 20px;
  font-family: var(--font-sans);
  font-size: 14px;
  background: rgba(26, 26, 26, 0.1);
  border: 1px solid rgba(26, 26, 26, 0.22);
  border-right: none;
  color: var(--charcoal);
  outline: none;
  transition: background 0.2s;
  min-width: 0;
}
.newsletter-form input[type="email"]::placeholder {
  color: rgba(26, 26, 26, 0.4);
}
.newsletter-form input[type="email"]:focus {
  background: rgba(26, 26, 26, 0.15);
}

.newsletter-form button {
  padding: 14px 26px;
  background: var(--charcoal);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.newsletter-form button:hover {
  opacity: 0.8;
}

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
  background: var(--charcoal);
  padding: 56px 40px;
}

.footer-inner {
  max-width: var(--max-width);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-nav {
  display: flex;
  gap: 28px;
}

.footer-nav a {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.38);
  transition: color 0.2s;
}
.footer-nav a:hover {
  color: rgba(255, 255, 255, 0.72);
}

.footer-copy {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.28);
}

.footer-copy a {
  color: rgba(255, 255, 255, 0.38);
  transition: color 0.2s;
}
.footer-copy a:hover {
  color: rgba(255, 255, 255, 0.65);
}

/* ================================================================
   SHARED PAGE CHROME (resume.html, writing.html)
   ================================================================ */
.page-body {
  background: var(--cream-light);
  padding-top: var(--nav-height);
}

.page-hero {
  background: var(--charcoal);
  padding: 72px 40px 64px;
  color: var(--white);
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.page-hero p {
  font-family: var(--font-serif);
  font-size: clamp(16px, 1.8vw, 20px);
  font-style: italic;
  color: rgba(255, 255, 255, 0.55);
}

.page-content {
  max-width: var(--max-width);
  margin-inline: auto;
  padding: 72px 40px;
}

/* ================================================================
   PROFILE PAGE
   ================================================================ */
.profile-body {
  background: var(--cream-light, #F7F3ED);
  padding: 80px 40px 120px;
}

.profile-content {
  max-width: 720px;
  margin-inline: auto;
}

.profile-section {
  margin-bottom: 4rem;
}

.profile-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 400;
  color: var(--copper);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.profile-content p {
  font-family: var(--font-sans);
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.85;
  color: var(--text, #2a2520);
  margin-bottom: 1.25rem;
}

.profile-coda {
  margin-top: 2rem;
  color: var(--text-muted, #6b6560) !important;
  font-size: 0.9rem !important;
}

/* ================================================================
   NEWSLETTER INLINE — homepage embedded signup
   ================================================================ */
.section-newsletter-inline {
  background: var(--charcoal);
  padding: 92px 40px;
  text-align: center;
}

.section-newsletter-inline h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 500;
  color: var(--white);
  margin-bottom: 14px;
}

.newsletter-inline-desc {
  font-size: 16px;
  line-height: 1.68;
  color: rgba(242, 237, 227, 0.66);
  max-width: 480px;
  margin: 0 auto 40px;
}

.newsletter-form-native {
  max-width: 480px;
  margin-inline: auto;
}

.newsletter-form-row {
  display: flex;
}

.newsletter-form-native input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 12px 18px;
  font-family: var(--font-sans);
  font-size: 14px;
  background: rgba(242, 237, 227, 0.08);
  border: 1px solid rgba(242, 237, 227, 0.22);
  border-right: none;
  color: var(--cream);
  outline: none;
  transition: background 0.2s, border-color 0.2s;
}

.newsletter-form-native input[type="email"]::placeholder {
  color: rgba(242, 237, 227, 0.35);
}

.newsletter-form-native input[type="email"]:focus {
  background: rgba(242, 237, 227, 0.13);
  border-color: rgba(176, 125, 74, 0.55);
}

.newsletter-form-msg {
  margin-top: 12px;
  font-size: 14px;
  min-height: 20px;
  text-align: center;
}

/* ================================================================
   CTA STRIP — replaces newsletter on homepage
   ================================================================ */
.section-cta-strip {
  background: var(--copper);
  padding: 88px 40px;
  text-align: center;
}

.section-cta-strip h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 14px;
}

.section-cta-strip p {
  font-size: 16px;
  line-height: 1.68;
  color: rgba(26, 26, 26, 0.66);
  max-width: 440px;
  margin: 0 auto 40px;
}

.btn-cta-ghost {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(26, 26, 26, 0.8);
  border: 1.5px solid rgba(26, 26, 26, 0.5);
  padding: 0.75rem 1.75rem;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
.btn-cta-ghost:hover { background: rgba(26, 26, 26, 0.1); }

/* ================================================================
   CONTACT PAGE
   ================================================================ */
.contact-calendly { background: var(--charcoal); padding: 4rem 2rem; text-align: center; }
.contact-calendly-inner { max-width: 600px; margin: 0 auto; }
.contact-calendly-label { font-size: 0.7rem; font-weight: 600; letter-spacing: 4px; text-transform: uppercase; color: var(--copper); margin-bottom: 1rem; }
.contact-calendly-heading { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--cream); margin-bottom: 1rem; line-height: 1.2; }
.contact-calendly-sub { color: rgba(255,255,255,0.55); font-size: 1rem; margin-bottom: 2rem; line-height: 1.7; }
.contact-or { font-size: 0.9rem; color: var(--text-muted, #6b6560); margin-bottom: 1.5rem; }

.contact-body { padding: 5rem 2rem; background: var(--cream); }
.contact-body-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.contact-rule { width: 32px; height: 2px; background: var(--copper); margin-bottom: 1.5rem; }
.contact-left-heading { font-family: var(--serif); font-size: clamp(1.5rem, 2.5vw, 2rem); line-height: 1.25; margin-bottom: 1.5rem; }
.contact-left-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--copper); margin-bottom: 0.75rem; display: block; }
.contact-left p { font-size: 0.95rem; line-height: 1.8; color: var(--text); margin-bottom: 1.25rem; }
.contact-details { margin-top: 2.5rem; border-top: 1px solid rgba(0,0,0,0.1); padding-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.contact-detail { display: flex; flex-direction: column; gap: 0.2rem; }
.contact-detail-label { font-size: 0.65rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--copper); }
.contact-detail a { color: var(--text); text-decoration: none; font-size: 0.9rem; }
.contact-detail a:hover { color: var(--copper); }
@media (max-width: 768px) { .contact-body-inner { grid-template-columns: 1fr; gap: 3rem; } }

.contact-page {
  background: var(--cream-light);
  padding: 80px 40px 100px;
}

.contact-grid {
  max-width: var(--max-width);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 80px;
  align-items: start;
}

.contact-aside {
  position: sticky;
  top: calc(var(--nav-height) + 32px);
}

.contact-aside h2 {
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.22;
  margin-bottom: 20px;
}

.contact-aside > p {
  font-size: 15px;
  line-height: 1.82;
  color: var(--slate);
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 32px;
  border-top: 1px solid rgba(90, 100, 120, 0.15);
}

.contact-detail-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.contact-detail-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
}

.contact-detail-value {
  font-size: 14px;
  color: var(--charcoal);
}

.contact-detail-value a {
  color: var(--charcoal);
  transition: color 0.2s;
}

.contact-detail-value a:hover {
  color: var(--copper);
}

/* Contact Form */
.contact-form-wrap {
  background: var(--cream);
  padding: 52px 52px 56px;
}

.contact-form-wrap h3 {
  font-size: 22px;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 36px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--font-sans);
  font-size: 15px;
  background: var(--cream-light);
  border: 1px solid rgba(90, 100, 120, 0.22);
  color: var(--charcoal);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--copper);
  background: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(90, 100, 120, 0.4);
}

.form-group textarea {
  height: 148px;
  resize: vertical;
  line-height: 1.6;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.form-row .form-group {
  margin-bottom: 0;
}

.form-submit {
  padding-top: 4px;
}

/* ================================================================
   WRITING INDEX PAGE
   ================================================================ */
.writing-grid-section {
  background: var(--cream-light);
  padding: 72px 40px 100px;
}

.writing-grid {
  max-width: var(--max-width);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.writing-card {
  background: var(--cream);
  border-top: 3px solid var(--copper);
  padding: 40px 36px 44px;
  display: flex;
  flex-direction: column;
  transition: background 0.22s;
}

.writing-card:hover {
  background: var(--white);
}

.writing-card .card-category {
  margin-bottom: 16px;
}

.writing-card h3 {
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.25;
  margin-bottom: 16px;
}

.writing-card p {
  font-size: 14px;
  line-height: 1.78;
  color: var(--slate);
  flex: 1;
  margin-bottom: 32px;
}

.writing-card .card-link {
  color: var(--copper);
}

/* ================================================================
   ARTICLE PAGES
   ================================================================ */
.article-hero {
  background: var(--charcoal);
  padding: calc(var(--nav-height) + 64px) 40px 64px;
  color: var(--white);
}

.article-hero .container {
  max-width: 820px;
}

.article-headline {
  font-size: clamp(30px, 4.5vw, 54px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
}

.article-meta {
  font-family: var(--font-sans);
  font-size: 10.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

.article-body-section {
  background: var(--cream);
  padding: 72px 40px 88px;
}

.article-body {
  max-width: 720px;
  margin-inline: auto;
}

.article-rule {
  border: none;
  border-top: 1px solid rgba(90, 100, 120, 0.18);
  margin-bottom: 56px;
}

.article-cta { margin: 3rem 0 2rem; }
.article-cta-rule { border: none; border-top: 1px solid var(--copper); opacity: 0.4; margin-bottom: 1.5rem; }
.article-cta-text { font-size: 0.95rem; color: var(--text-muted, #6b6560); line-height: 1.7; }
.article-cta-text a { color: var(--copper); text-decoration: none; }
.article-cta-text a:hover { text-decoration: underline; }

.article-body p {
  font-family: var(--font-serif);
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.8;
  color: var(--charcoal);
  margin-bottom: 28px;
}

.article-body h2 {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 500;
  color: var(--charcoal);
  margin: 56px 0 16px;
  line-height: 1.2;
}

.article-body > p:first-child::first-letter {
  font-family: var(--font-serif);
  font-size: 4.2em;
  line-height: 0.76;
  float: left;
  margin: 0.06em 0.1em 0 0;
  color: var(--copper);
  font-weight: 400;
}

.article-more {
  background: var(--charcoal);
  padding: 72px 40px 80px;
}

.article-more-inner {
  max-width: var(--max-width);
  margin-inline: auto;
}

.article-more h2 {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 48px;
}

.more-notes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.09);
  margin-bottom: 48px;
}

.article-back-link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}

.article-back-link:hover {
  color: var(--copper);
}

/* ================================================================
   THANKS PAGE
   ================================================================ */
.thanks-main {
  background: var(--charcoal);
  min-height: calc(100vh - var(--nav-height) - 137px);
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + 40px) 40px 80px;
}

.thanks-content {
  max-width: 560px;
  margin-inline: auto;
  width: 100%;
}

.thanks-heading {
  font-family: var(--font-serif);
  font-size: clamp(56px, 8vw, 100px);
  font-weight: 300;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 28px;
}

.thanks-sub {
  font-family: var(--font-serif);
  font-size: clamp(18px, 1.8vw, 22px);
  font-style: italic;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.65;
  margin-bottom: 40px;
}

.thanks-link {
  font-size: 12px;
  letter-spacing: 0.16em;
}

/* ================================================================
   RESUME PAGE
   ================================================================ */
.resume-hero {
  background: var(--charcoal);
  padding: calc(var(--nav-height) + 64px) 40px 64px;
  color: var(--white);
}

.resume-hero-inner {
  max-width: 900px;
  margin-inline: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.resume-hero h1 {
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 300;
  color: var(--white);
  letter-spacing: -0.025em;
  margin-bottom: 10px;
  line-height: 1;
}

.resume-hero-title {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.02em;
  line-height: 1.6;
}

.resume-hero-contact {
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex-shrink: 0;
}

.resume-contact-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}

.resume-contact-item svg {
  flex-shrink: 0;
  opacity: 0.6;
}

a.resume-contact-item:hover {
  color: var(--copper);
}

.resume-download-bar {
  background: var(--cream-light);
  border-bottom: 1px solid rgba(90, 100, 120, 0.14);
  padding: 14px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.resume-download-note {
  font-size: 12px;
  color: var(--slate);
  letter-spacing: 0.02em;
}

.resume-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.resume-body {
  max-width: 900px;
  margin-inline: auto;
  padding: 56px 40px 100px;
}

/* Resume sections */
.r-section {
  margin-bottom: 48px;
}

.r-section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.r-section-label {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--copper);
  white-space: nowrap;
}

.r-section-rule {
  flex: 1;
  height: 1px;
  background: rgba(90, 100, 120, 0.18);
}

/* Profile */
.r-profile {
  background: var(--cream);
  padding: 28px 32px;
  border-left: 3px solid var(--copper);
  font-size: 15px;
  line-height: 1.82;
  color: var(--slate);
}

/* Skills grid */
.r-skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid rgba(90, 100, 120, 0.14);
}

.r-skill-group {
  padding: 24px 28px;
  background: var(--cream);
  border-right: 1px solid rgba(90, 100, 120, 0.14);
  border-bottom: 1px solid rgba(90, 100, 120, 0.14);
}

.r-skill-group:nth-child(2n) {
  border-right: none;
}

.r-skill-group:nth-last-child(-n+2) {
  border-bottom: none;
}

.r-skill-group-name {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 10px;
}

.r-skill-items {
  font-size: 13px;
  color: var(--slate);
  line-height: 1.78;
}

/* Jobs */
.r-job {
  background: var(--cream);
  padding: 28px 32px;
  margin-bottom: 10px;
  border-top: 2px solid transparent;
  transition: border-color 0.2s;
}

.r-job:hover {
  border-top-color: var(--copper);
}

.r-job-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
}

.r-job-company {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--charcoal);
  font-weight: 500;
  line-height: 1.2;
}

.r-job-dates {
  font-size: 11.5px;
  color: var(--slate);
  font-style: italic;
  white-space: nowrap;
  opacity: 0.8;
}

.r-job-title {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--copper);
  margin-bottom: 3px;
  letter-spacing: 0.02em;
}

.r-job-location {
  font-size: 11.5px;
  color: rgba(90, 100, 120, 0.65);
  margin-bottom: 18px;
}

.r-job-bullets {
  padding: 0;
}

.r-job-bullets li {
  font-size: 13.5px;
  color: var(--slate);
  line-height: 1.72;
  padding-left: 16px;
  position: relative;
  margin-bottom: 7px;
}

.r-job-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.64em;
  width: 4px;
  height: 4px;
  background: var(--copper);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Certifications */
.r-cert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.r-cert-group {
  background: var(--cream);
  padding: 24px 28px;
}

.r-cert-group-name {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 16px;
}

.r-cert-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid rgba(90, 100, 120, 0.1);
  flex-wrap: wrap;
  gap: 4px;
}

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

.r-cert-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--charcoal);
}

.r-cert-detail {
  font-size: 11.5px;
  color: var(--slate);
  white-space: nowrap;
}

/* Education */
.r-edu {
  background: var(--cream);
  padding: 24px 28px;
}

.r-edu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  flex-wrap: wrap;
  gap: 4px;
}

.r-edu-item:not(:last-child) {
  border-bottom: 1px solid rgba(90, 100, 120, 0.1);
}

.r-edu-school {
  font-size: 14px;
  font-weight: 500;
  color: var(--charcoal);
}

.r-edu-detail {
  font-size: 12.5px;
  color: var(--slate);
}


/* ================================================================
   RESPONSIVE
   ================================================================ */

/* Mobile — hero stacks, photo hidden, all grids single-column */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-aside {
    position: static;
  }

  .writing-grid {
    grid-template-columns: 1fr;
  }

  .more-notes-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .resume-hero-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }

  .resume-hero-contact {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px 24px;
  }

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

  .r-skill-group:nth-child(2n) {
    border-right: 1px solid rgba(90, 100, 120, 0.14);
  }

  .r-skill-group:nth-last-child(-n+2) {
    border-bottom: 1px solid rgba(90, 100, 120, 0.14);
  }

  .r-skill-group:last-child {
    border-bottom: none;
  }

  .r-cert-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-left {
    padding-top: calc(var(--nav-height) + 56px);
    padding-left: 32px;
    padding-right: 32px;
  }

  .hero-right {
    display: none;
  }

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

  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-grid .service-card:first-child {
    border-bottom: none;
  }
}

/* Small mobile — tighter spacing, stack buttons and stats */
@media (max-width: 640px) {
  .section-newsletter-inline {
    padding: 64px 24px;
  }

  .newsletter-form-row {
    flex-direction: column;
  }

  .newsletter-form-native input[type="email"] {
    border-right: 1px solid rgba(242, 237, 227, 0.22);
    border-bottom: none;
  }

  .section-cta-strip {
    padding: 64px 24px;
  }

  .contact-page {
    padding: 64px 24px 80px;
  }

  .contact-form-wrap {
    padding: 36px 24px 40px;
  }

  .writing-grid-section {
    padding: 56px 24px 72px;
  }

  .article-body-section {
    padding: 56px 24px 64px;
  }

  .article-more {
    padding: 56px 24px 64px;
  }

  .article-hero {
    padding: calc(var(--nav-height) + 40px) 24px 48px;
  }
  .container {
    padding-inline: 24px;
  }

  .nav-inner {
    padding-inline: 20px;
  }

  .nav-page-link {
    display: none;
  }

  .hero-left {
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-ctas .btn {
    min-width: 200px;
  }

  .stats-bar {
    flex-direction: column;
  }

  .stat-item {
    padding: 16px 0;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .stat-item + .stat-item {
    padding-left: 0;
  }

  .stat-item + .stat-item::before {
    display: none;
  }

  .section-intro {
    padding: 64px 24px;
  }

  .section-field-notes .section-header {
    padding-inline: 24px;
  }

  .story-card {
    padding: 36px 24px 40px;
  }

  .section-services {
    padding: 64px 24px;
  }

  .service-card {
    padding: 36px 24px 40px;
  }

  .section-newsletter {
    padding: 64px 24px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input[type="email"] {
    border-right: 1px solid rgba(26, 26, 26, 0.22);
    border-bottom: none;
  }

  .site-footer {
    padding: 40px 24px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer-nav {
    flex-wrap: wrap;
    gap: 16px 24px;
  }

  .page-hero {
    padding: 48px 24px 40px;
  }

  .page-content {
    padding: 48px 24px;
  }

  .resume-hero {
    padding: calc(var(--nav-height) + 40px) 24px 48px;
  }

  .resume-download-bar {
    padding: 12px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .resume-body {
    padding: 40px 24px 72px;
  }

  .r-profile {
    padding: 20px 20px;
  }

  .r-job {
    padding: 22px 20px;
  }

  .r-skill-group,
  .r-cert-group,
  .r-edu {
    padding: 18px 20px;
  }
}

.hero-title {
  font-size: 1.05rem;
  color: rgba(242, 237, 227, 0.7);
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
  font-weight: 500;
}
.hero-location {
  font-size: 0.75rem;
  color: rgba(242, 237, 227, 0.4);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

