/* =========================================
   Andrew Belinfante — Personal Site
   ========================================= */

:root {
  --bg:           #f3ede4;        /* warm sand */
  --bg-white:     #fffcf8;        /* very warm white — not clinical */
  --text:         #261a10;        /* warm dark brown — body text */
  --hero-bg:      #c0624a;        /* terra cotta hero */
  --accent:       #c0624a;        /* deep terra cotta — buttons, CTAs, pull quotes */
  --accent-deep:  #9e4a34;
  --accent-light: #f0e0d6;        /* warm blush */
  --accent-mid:   #d4785f;
  --plum:         #3a2030;        /* deep plum — org strip bg, labels, eyebrows */
  --plum-light:   #ede6ed;        /* light plum tint — badge backgrounds */
  --mustard:      #b8862a;        /* ochre — held in reserve */
  --mustard-light:#f7edce;
  --muted:        #7a7268;        /* warm grey-brown */
  --border:       #dfd4c8;        /* warm border */
  --max:          860px;
  --max-wide:     960px;
  --serif:        'Lora', Georgia, serif;
  --sans:         'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --shadow:       0 2px 12px rgba(38,26,16,0.10);
  --shadow-hover: 0 8px 28px rgba(38,26,16,0.18);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }

/* --- Base --- */
html { font-size: 17px; scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* --- Links --- */
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* =========================================
   NAV
   ========================================= */
nav {
  background: var(--bg-white);
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-home {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.nav-home:hover { text-decoration: none; color: var(--accent); }

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.nav-links a {
  font-size: 0.82rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a.active { color: var(--text); }

.nav-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-social a {
  color: var(--muted);
  display: flex;
  align-items: center;
  transition: color 0.15s;
}

.nav-social a:hover { color: var(--text); }
.nav-social svg { display: block; }

/* =========================================
   HERO — Bold split layout, portrait right
   ========================================= */
.hero {
  background: var(--hero-bg);
  color: #fff;
  overflow: hidden;
}

.hero-text {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 3.5rem 2rem 3rem;
  min-height: 20rem;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(3.25rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  color: #fff;
}

.hero-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.7);
  line-height: 1.55;
  margin-bottom: 2.5rem;
}

.hero .btn-primary {
  background: #fff;
  border-color: #fff;
  color: var(--accent);
}

.hero .btn-primary:hover {
  background: rgba(255,255,255,0.9);
  border-color: rgba(255,255,255,0.9);
  color: var(--accent-deep);
}

.hero .btn-outline {
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}

.hero .btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
  color: #fff;
}

.hero-ctas {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-portrait {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  overflow: hidden;
}

.hero-headshot {
  width: 100%;
  max-width: 420px;
  height: 500px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.btn {
  display: inline-block;
  padding: 0.65rem 1.5rem;
  font-size: 0.875rem;
  font-family: var(--sans);
  font-weight: 500;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.2s;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
}

.btn-primary:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  text-decoration: none;
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(0,0,0,0.25);
}

.btn-outline:hover {
  background: rgba(0,0,0,0.05);
  color: var(--text);
  border-color: rgba(0,0,0,0.5);
  text-decoration: none;
}

/* =========================================
   MAIN / LAYOUT
   ========================================= */
main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
}

main.wide {
  max-width: var(--max-wide);
}

/* Home page — no constraints, sections manage their own width */
main.home {
  max-width: none;
  margin: 0;
  padding: 0;
}

/* =========================================
   INTRO SECTION (home, below hero)
   ========================================= */
.home-intro {
  background: var(--bg-white);
  padding: 4.5rem 2rem;
  max-width: none;
}

.home-intro-inner {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--text);
}

.home-intro-inner p { margin-bottom: 1.25rem; }
.home-intro-inner p:last-child { margin-bottom: 0; }

.home-intro-inner strong {
  color: var(--text);
  font-weight: 600;
}

.home-intro-inner .home-pullquote {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--accent);
  border-left: 3px solid var(--accent);
  margin: 2rem 0;
  padding: 0.5rem 0 0.5rem 1.5rem;
}

/* =========================================
   PHOTO STRIP — Full bleed, large images
   ========================================= */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 420px;
  overflow: hidden;
  width: 100%;
}

.photo-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s;
}

.photo-strip img:hover { transform: scale(1.03); }


/* =========================================
   ORG STRIP (social proof, home)
   ========================================= */
.org-strip {
  background: var(--plum);
  padding: 2.25rem 0 2.5rem;
  overflow: hidden;
}

.org-strip-label {
  display: block;
  text-align: center;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.75rem;
  font-weight: 500;
}

.org-strip-track {
  display: flex;
  gap: 4rem;
}

.org-strip-list {
  display: flex;
  gap: 4rem;
  align-items: center;
  flex-shrink: 0;
  animation: scroll-logos 28s linear infinite;
}

@keyframes scroll-logos {
  0%   { transform: translateX(0); }
  100% { transform: translateX(calc(-100% - 4rem)); }
}

.org-strip:hover .org-strip-list {
  animation-play-state: paused;
}

.org-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.org-logo {
  height: 44px;
  max-width: 170px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1) opacity(0.75);
  transition: filter 0.3s;
}

.org-logo-link:hover .org-logo {
  filter: brightness(0) invert(1) opacity(1);
}

/* =========================================
   RECENT WRITING (home)
   ========================================= */
.home-writing-section {
  background: var(--accent-light);
  border-top: 1px solid var(--border);
}

.home-writing {
  padding: 4rem 2rem 4.5rem;
  max-width: var(--max-wide);
  margin: 0 auto;
}

.home-writing h2 {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  margin-top: 0;
  letter-spacing: -0.01em;
}

.post-list {
  list-style: none;
  max-width: 620px;
  margin-bottom: 1.5rem;
}

.post-list li {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.post-list li:first-child { border-top: 1px solid var(--border); }

.post-list a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.975rem;
  transition: color 0.15s;
}

.post-list a:hover { color: var(--accent); text-decoration: none; }

.post-meta {
  font-size: 0.78rem;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.read-more {
  font-size: 0.875rem;
  color: var(--accent);
  font-weight: 500;
}

/* =========================================
   SECTION DIVIDERS / BANDS
   ========================================= */
.section-dark {
  background: var(--warm-dark);
  color: #fff;
  padding: 4rem 2rem;
}

.section-dark h2 { color: #fff; }
.section-dark p { color: rgba(255,255,255,0.8); }

.section-warm {
  background: var(--accent-light);
  padding: 3rem 2rem;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

/* =========================================
   TYPOGRAPHY (inner pages)
   ========================================= */
h1 {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

h2 {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
  margin-bottom: 0.75rem;
  margin-top: 3rem;
}

h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  margin-top: 2rem;
}

p { margin-bottom: 1.25rem; }
p:last-child { margin-bottom: 0; }

/* =========================================
   PAGE HEADER (inner pages)
   ========================================= */
.page-header {
  background: var(--hero-bg);
  color: #fff;
  padding: 4.5rem 2rem 3.5rem;
}

.page-header-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.page-header h1 {
  color: #fff;
  margin-bottom: 0.5rem;
  font-size: 2.75rem;
}

.page-header .writing-meta {
  color: rgba(255,255,255,0.7);
}

.page-header .writing-meta a {
  color: rgba(255,255,255,0.9);
}

.page-header a {
  color: rgba(255,255,255,0.9);
}

.page-description {
  font-family: var(--serif);
  font-style: italic;
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
}

/* =========================================
   PULL QUOTE
   ========================================= */
.pull-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.55;
  color: var(--accent-deep);
  border-left: 3px solid var(--accent);
  padding: 0.75rem 0 0.75rem 1.5rem;
  margin: 2.5rem 0;
}

/* =========================================
   ABOUT PAGE
   ========================================= */
.about-header {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  padding: 3.5rem 2rem;
  background: var(--hero-bg);
}

.about-header-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  gap: 2.5rem;
  align-items: center;
  width: 100%;
}

.about-headshot {
  width: 160px;
  height: 200px;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  box-shadow: var(--shadow);
}

.about-intro h1 {
  color: #fff;
  margin-bottom: 0.35rem;
  font-size: 2.25rem;
}

.about-intro .page-description {
  color: rgba(255,255,255,0.8);
}

.about-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2.5rem 0;
}

.about-gallery img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 600px) {
  .about-gallery {
    grid-template-columns: 1fr;
  }
  .about-gallery img {
    height: 220px;
  }
}

/* =========================================
   WRITING GRID
   ========================================= */
.writing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding: 2.5rem 2rem 4rem;
  max-width: var(--max-wide);
  margin: 0 auto;
}

.writing-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  background: var(--bg-white);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.writing-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: rgba(15,31,61,0.2);
}

.writing-card-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.writing-card-pub-badge {
  height: 80px;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--plum);
  border-bottom: 3px solid var(--plum);
}

/* Section eyebrow — plum label above section headings */
.section-eyebrow {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--plum);
  margin-bottom: 0.75rem;
}

.writing-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.writing-card-body h2 {
  font-size: 1.05rem;
  margin-top: 0.4rem;
  margin-bottom: 0.6rem;
  line-height: 1.35;
}

.writing-card-body h2 a { color: var(--text); transition: color 0.15s; }
.writing-card-body h2 a:hover { color: var(--accent); text-decoration: none; }

.writing-meta {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--plum);
  margin-bottom: 0;
}

.writing-summary {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 0.5rem;
}

@media (max-width: 640px) {
  .writing-grid {
    grid-template-columns: 1fr;
    padding: 1.5rem 1.25rem 3rem;
    gap: 1.5rem;
  }
}

/* =========================================
   WORK WITH ME PHOTOS
   ========================================= */
.work-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 360px;
  overflow: hidden;
  margin-bottom: 0;
}

.work-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 640px) {
  .work-photos { grid-template-columns: 1fr; height: auto; }
  .work-photos img { height: 240px; }
}

/* =========================================
   SERVICES
   ========================================= */
.services {
  display: grid;
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.service {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  background: #fff;
}

.service:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-mid);
}

.service h3 {
  margin-top: 0;
  color: var(--plum);
  font-size: 1.15rem;
}

.service p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* =========================================
   SPEAKING PAGE
   ========================================= */
.speaking-hero {
  background: var(--hero-bg);
  color: #fff;
  padding: 3.5rem 2rem 3rem;
  min-height: 20rem;
}

.speaking-hero-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
}

.speaking-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.75rem, 5vw, 4.25rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.speaking-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(255,255,255,0.8);
  max-width: 680px;
  line-height: 1.65;
}

.speaking-eli {
  background: var(--bg-white);
  padding: 4.5rem 2rem;
}

.speaking-section-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
}

.speaking-eli h2 {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.speaking-eli > .speaking-section-inner > p {
  max-width: 640px;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 2rem;
}

.speaking-video-wrap {
  max-width: 720px;
  position: relative;
  padding-top: 0;
}

.speaking-video-wrap .youtube,
.speaking-video-wrap iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
}

.speaking-topics {
  background: var(--accent-light);
  padding: 4.5rem 2rem;
}

.speaking-topics h2 {
  margin-top: 0.5rem;
  margin-bottom: 2.5rem;
}

.speaking-topics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.speaking-topic {
  padding: 2rem;
  background: #fff;
  border-left: 4px solid var(--accent);
}

.speaking-topic h3 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--plum);
  margin-top: 0;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.speaking-topic p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 0;
}

.speaking-available {
  background: var(--plum);
  padding: 2.5rem 2rem;
  color: #fff;
}

.speaking-available .section-eyebrow {
  color: rgba(255,255,255,0.65);
}

.speaking-available-list {
  list-style: none;
  margin-top: 1.25rem;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.speaking-available-list li {
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  padding-left: 1.25rem;
  position: relative;
}

.speaking-available-list li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--accent-mid);
  font-size: 1.1rem;
}

.speaking-cta {
  background: var(--bg-white);
  padding: 4rem 2rem;
}

.speaking-cta-inner {
  text-align: center;
}

.speaking-cta h2 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.speaking-cta p {
  max-width: 500px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
  color: var(--muted);
}

.speaking-cta .btn-primary {
  padding: 0.9rem 2.75rem;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

@media (max-width: 640px) {
  .speaking-topics-grid { grid-template-columns: 1fr; }
}

/* =========================================
   THE SHELF
   ========================================= */
.shelf-items {
  margin-top: 2.5rem;
}

.shelf-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1.75rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.shelf-item:first-child {
  border-top: 1px solid var(--border);
}

.shelf-item-cover {
  width: 90px;
  aspect-ratio: 2/3;
  object-fit: cover;
  object-position: center top;
  display: block;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.shelf-item-cover-placeholder {
  width: 90px;
  aspect-ratio: 2/3;
  background: var(--accent-light);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--muted);
  text-align: center;
  padding: 0.5rem;
  box-sizing: border-box;
}

.shelf-item-content {}

.shelf-item-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.shelf-item-title {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
}

.shelf-item-title a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
}

.shelf-item-title a:hover {
  color: var(--accent);
}

.shelf-item-type {
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.shelf-item p {
  color: var(--text);
  font-size: 0.975rem;
  line-height: 1.8;
  margin-bottom: 0;
}

@media (max-width: 560px) {
  .shelf-item {
    grid-template-columns: 70px 1fr;
    gap: 1.25rem;
  }
  .shelf-item-cover,
  .shelf-item-cover-placeholder { width: 70px; }
}

/* =========================================
   CONTACT FORM
   ========================================= */
.contact-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 3rem;
}

.contact-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.contact-intro {
  font-size: 1.05rem;
  line-height: 1.85;
}

.contact-intro p { margin-bottom: 1.25rem; }
.contact-intro p:last-child { margin-bottom: 0; }

.contact-form-section {
  border-top: 1px solid var(--border);
  padding-top: 2.5rem;
}

@media (max-width: 700px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .contact-photo {
    aspect-ratio: 4/3;
  }
}

.contact-form { margin-top: 0; }

.form-group { margin-bottom: 1.5rem; }

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  background: #fff;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--text);
  border-radius: 2px;
  transition: border-color 0.15s;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group textarea { min-height: 140px; resize: vertical; }

.select-wrapper {
  position: relative;
}

.select-wrapper::after {
  content: "▾";
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--muted);
  font-size: 0.9rem;
}

.select-wrapper select {
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group .required {
  color: var(--accent);
  font-weight: 600;
}

.form-group .optional {
  color: var(--muted);
  font-weight: 400;
  font-size: 0.8rem;
}

.form-submit {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 0.75rem 2rem;
  font-size: 0.9rem;
  font-family: var(--sans);
  font-weight: 500;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.15s;
}

.form-submit:hover { background: var(--accent-deep); }

/* =========================================
   CV
   ========================================= */
.cv-print-link {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 3rem;
}

.cv-section { margin-bottom: 3rem; }

.cv-section-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-family: var(--sans);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

.cv-entry { margin-bottom: 1.75rem; }

.cv-entry-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.15rem;
}

.cv-entry-title { font-weight: 600; font-size: 1rem; }

.cv-entry-date {
  font-size: 0.8rem;
  color: var(--muted);
  white-space: nowrap;
}

.cv-entry-org {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.cv-entry-detail {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.6;
}

/* =========================================
   FOOTER
   ========================================= */
footer {
  background: var(--bg);
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-social a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
  display: flex;
  align-items: center;
}

.footer-social a:hover { color: var(--text); }

.footer-social svg { display: block; }

.footer-contact {
  font-size: 0.82rem;
}

/* =========================================
   INNER PAGE CONTENT
   ========================================= */
.single-content {
  padding: 3.5rem 2rem 5rem;
  max-width: var(--max);
  margin: 0 auto;
}

.page-content {
  font-size: 1.05rem;
  line-height: 1.9;
}

.page-content h2 { margin-top: 2.5rem; }
.page-content h3 { margin-top: 2rem; }
.page-content p { margin-bottom: 1.35rem; }

.page-content ul,
.page-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1.35rem;
}

.page-content li { margin-bottom: 0.4rem; }

.inline-photo-right {
  float: right;
  width: 340px;
  height: 420px;
  object-fit: cover;
  object-position: center top;
  margin: 0 0 1.5rem 2.5rem;
  display: block;
}

.inline-photo-left {
  float: left;
  width: 340px;
  height: 420px;
  object-fit: cover;
  object-position: center;
  margin: 0 2.5rem 1.5rem 0;
  display: block;
}

@media (max-width: 700px) {
  .inline-photo-right,
  .inline-photo-left {
    float: none;
    width: 100%;
    height: 260px;
    margin: 0 0 1.5rem 0;
  }
}

/* Old .home-ctas fallback */
.home-ctas {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.cta {
  display: inline-block;
  padding: 0.6rem 1.35rem;
  border: 1px solid var(--text);
  color: var(--text);
  font-size: 0.875rem;
  font-family: var(--sans);
  font-weight: 500;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.2s;
}

.cta:hover { background: var(--text); color: var(--bg); text-decoration: none; }
.cta-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.cta-primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); }

/* =========================================
   MOBILE
   ========================================= */
@media (max-width: 640px) {
  .nav-inner {
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
  }

  .nav-links { gap: 1rem; }

  .hero-text { padding: 3rem 1.25rem 2.5rem; }
  .hero h1 { font-size: 2.5rem; }
  .hero-ctas { flex-wrap: nowrap; }
  .btn { text-align: center; }

  .photo-strip { grid-template-columns: 1fr; height: auto; }
  .photo-strip img { height: 280px; }

  .home-intro { padding: 3rem 1.25rem; }
  .home-writing { padding: 2.5rem 1.25rem; }

  .about-header { padding: 2.5rem 1.25rem; }
  .about-header-inner { flex-direction: column; }
  .about-headshot { width: 120px; height: 150px; }

  .page-header { padding: 2.5rem 1.25rem 2rem; }
  .page-header h1 { font-size: 2rem; }

  main { padding: 2.5rem 1.25rem 4rem; }

  .footer-inner {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

/* =========================================
   PRINT (CV)
   ========================================= */
@media print {
  nav, footer, .cv-print-link { display: none; }
  .page-header { background: none; padding: 0 0 1rem; border: none; }
  main { padding: 0; max-width: 100%; }
  a { color: var(--text); }
  body { font-size: 11pt; }
}
