/**
 * Jennifer Rebholz - Stylesheet
 * Desert-inspired editorial design
 */

:root {
  --bg:          #FAF7F2;
  --bg-warm:     #F3EDE3;
  --bg-deep:     #1C1914;
  --text:        #2C2520;
  --text-soft:   #6B6058;
  --text-muted:  #9E9589;
  --accent:      #B5704F;
  --accent-hover:#9A5B3C;
  --accent-glow: rgba(181,112,79,0.12);
  --gold:        #C9A84C;
  --gold-soft:   rgba(201,168,76,0.10);
  --rule:        #DED6C9;
  --rule-light:  #EDE8DF;
  --white:       #FFFFFF;
  --shadow-sm:   0 1px 3px rgba(44,37,32,0.04), 0 1px 2px rgba(44,37,32,0.03);
  --shadow-md:   0 4px 16px rgba(44,37,32,0.06), 0 1px 4px rgba(44,37,32,0.04);
  --shadow-lg:   0 12px 40px rgba(44,37,32,0.08), 0 2px 8px rgba(44,37,32,0.04);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-padding-top: 80px;
  <link rel="stylesheet" href="/assets/site.css">
}

body {
  font-family: 'Source Sans 3', 'Georgia', serif;
  font-weight: 300;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  hyphens: none;
  -webkit-hyphens: none;
}

::selection { background: var(--accent-glow); color: var(--text); }

h1, h2, h3, h4 {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-weight: 500;
  line-height: 1.2;
  hyphens: none;
  -webkit-hyphens: none;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s;
}
a:hover { color: var(--accent-hover); }

img { max-width: 100%; display: block; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* -- NAVIGATION ---------------------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 72px;
  display: flex;
  align-items: center;
  background: rgba(250,247,242,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s, box-shadow 0.4s;
}

.nav.scrolled {
  border-bottom-color: var(--rule-light);
  box-shadow: 0 1px 20px rgba(0,0,0,0.04);
}

.nav-inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text) !important;
  letter-spacing: 0.01em;
  text-decoration: none;
}
.nav-name:hover {
  color: var(--text) !important;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1.5px;
  background: var(--accent);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.nav-links .cta-link {
  background: var(--accent);
  color: var(--white) !important;
  padding: 0.55rem 1.3rem;
  letter-spacing: 0.12em;
  transition: background 0.3s, transform 0.2s;
}
.nav-links .cta-link:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}
.nav-links .cta-link::after { display: none; }

.hamburger {
  display: none; background: none; border: none;
  cursor: pointer; padding: 8px;
  flex-direction: column; gap: 5px;
}
.hamburger span {
  width: 22px; height: 1.5px; background: var(--text);
  transition: 0.3s;
}

/* -- HERO ----------------------------------- */
.hero {
  padding-top: 72px;
  min-height: 600px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  background-size: 200px;
  pointer-events: none;
  z-index: 1;
}

.hero-glow {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.hero-glow-1 {
  top: -10%; right: -5%;
  background: var(--gold-soft);
  opacity: 0.45;
}

.hero-glow-2 {
  bottom: -15%; left: -10%;
  background: var(--accent-glow);
  opacity: 0.25;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 4rem;
  align-items: center;
}

.hero-text { max-width: 540px; }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero-tag::before {
  content: '';
  width: 28px; height: 1.5px;
  background: var(--accent);
}

.hero-h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 500;
  color: var(--text);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}

.hero-h1 em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}

.hero-subtitle {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0.6;
  margin-bottom: 0;
}

.hero-description {
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.85;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}

.btn-fill {
  background: var(--accent);
  color: var(--white);
}
.btn-fill:hover {
  background: var(--accent-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(181,112,79,0.18);
}

.btn-outline {
  background: transparent;
  color: var(--text-soft);
  border: 1px solid var(--rule);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Hero photo */
.hero-photo {
  position: relative;
  margin: 14px 14px 14px 0;
}

.hero-photo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--bg-warm);
  overflow: hidden;
}

.hero-photo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--rule);
  pointer-events: none;
}

.hero-photo-accent {
  position: absolute;
  top: -14px; left: -14px;
  width: 72px; height: 72px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  z-index: -1;
}

.hero-photo-accent-2 {
  position: absolute;
  bottom: -14px; right: -14px;
  width: 72px; height: 72px;
  border-bottom: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  z-index: -1;
}

.quick-facts {
  display: flex;
  gap: 0;
  margin-top: 1.4rem;
}
.quick-fact {
  flex: 1;
  padding: 1.1rem 0.8rem;
  border: 1px solid var(--rule-light);
  border-right: none;
  text-align: center;
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}
.quick-fact:last-child { border-right: 1px solid var(--rule-light); }
.quick-fact-icon { font-size: 1rem; margin-bottom: 0.3rem; }
.quick-fact-label {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

/* -- EDITORIAL DIVIDER ---------------------- */
.divider {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2.5rem 0;
}
.divider-line { flex: 1; height: 1px; background: var(--rule); }
.divider-diamond {
  width: 8px; height: 8px;
  background: var(--accent);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* -- MY STORY ------------------------------- */
.story { padding: 1rem 0 3rem; }

.story-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
}

.section-label {
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.section-heading {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--text);
  margin-bottom: 1.2rem;
}

.sidebar-quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-soft);
  line-height: 1.65;
  padding: 1.5rem 1.2rem;
  border-left: 3px solid var(--gold);
  background: var(--bg-warm);
  margin-top: 2rem;
}

.story-body p {
  font-size: 0.95rem;
  color: var(--text-soft);
  margin-bottom: 1.5rem;
}

.story-body p:first-child::first-letter {
  font-family: 'Playfair Display', serif;
  font-size: 3.4rem;
  float: left;
  line-height: 0.8;
  margin-right: 0.5rem;
  margin-top: 0.15rem;
  color: var(--accent);
  font-weight: 600;
}

/* -- MILESTONES ----------------------------- */
.milestones {
  padding: 3.5rem 0;
  background: var(--bg-deep);
  color: var(--bg);
  position: relative;
  overflow: hidden;
}

.milestones::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px;
  pointer-events: none;
}

.milestones .section-label { color: var(--gold); }
.milestones .section-heading { color: var(--bg); }

.milestones-header {
  max-width: 720px;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}

.milestones-header p {
  font-size: 0.9rem;
  color: rgba(250,247,242,0.5);
  font-style: italic;
}

.milestones-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.06);
}

.milestone {
  padding: 2.2rem 1.8rem;
  background: var(--bg-deep);
  position: relative;
  transition: background 0.4s;
}
.milestone:hover { background: rgba(255,255,255,0.03); }

.milestone-year {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 0.8rem;
}

.milestone h3 {
  font-size: 1.2rem;
  color: var(--bg);
  margin-bottom: 0.6rem;
  font-weight: 500;
}

.milestone p {
  font-size: 0.8rem;
  color: rgba(250,247,242,0.45);
  line-height: 1.65;
}

.milestone-accent {
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.5s;
}
.milestone:hover .milestone-accent { width: 100%; }

.milestone-icon {
  height: 80px;
  object-fit: contain;
  margin-bottom: 1rem;
  border-radius: 4px;
}

/* -- PUBLICATIONS, FACULTY & SPEAKING ------- */
.scholarship {
  padding: 3.5rem 0;
  background: var(--bg);
}

.scholarship-header {
  max-width: 540px;
  margin-bottom: 2.5rem;
}

.scholarship-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.scholarship-col {
  padding: 2rem 1.8rem;
  border: 1px solid var(--rule-light);
  background: var(--white);
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: var(--shadow-sm);
}

.scholarship-col:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.scholarship-col::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  opacity: 0;
  transition: opacity 0.3s;
}
.scholarship-col:hover::before { opacity: 1; }

.col-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rule-light);
}

.col-icon { font-size: 1.3rem; }

.col-header h3 {
  font-size: 1.15rem;
  font-weight: 500;
}

.scholarship-list {
  list-style: none;
}

.scholarship-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--rule-light);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.scholarship-list li:last-child { border-bottom: none; }

.item-title {
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.45;
}

.item-detail {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.pub-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  transition: color 0.2s;
}

.pub-link:hover .item-title {
  color: var(--accent);
}

.scholarship-list.has-toggle li:nth-child(n+4) {
  display: none;
}

.scholarship-list.has-toggle.expanded li:nth-child(n+4) {
  display: flex;
}

.show-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.2rem;
  padding: 0.5rem 0;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.show-more-btn:hover {
  opacity: 0.7;
}

.show-more-btn .arrow {
  transition: transform 0.3s;
}

.show-more-btn.active .arrow {
  transform: rotate(180deg);
}

/* -- COMMUNITY ------------------------------ */
.community {
  padding: 3.5rem 0;
  background: var(--bg-warm);
}

.community-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.community-header p {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-soft);
  margin-top: 0.5rem;
}

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

.community-card {
  padding: 2.2rem 2rem;
  background: var(--white);
  border: 1px solid var(--rule-light);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: var(--shadow-sm);
}

.community-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.community-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.5s;
}
.community-card:hover::before { width: 100%; height: 2px; }

.card-icon { font-size: 1.6rem; margin-bottom: 1rem; }

.community-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.community-card p {
  font-size: 0.85rem;
  color: var(--text-soft);
  line-height: 1.7;
}

.community-card a {
  display: inline-block;
  margin-top: 0.3rem;
}
.community-card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: transparent !important;
  color: inherit !important;
}
.community-card-link:hover {
  background: transparent !important;
  color: inherit !important;
}

/* -- CONTACT -------------------------------- */
.contact {
  padding: 4rem 0 4.5rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-left .section-heading { margin-bottom: 1.5rem; }

.contact-intro {
  font-size: 0.92rem;
  color: var(--text-soft);
  margin-bottom: 2rem;
}

.contact-card {
  padding: 2rem;
  border: 1px solid var(--rule-light);
  background: var(--bg-warm);
  margin-bottom: 1.5rem;
  border-left: 3px solid var(--accent);
}

.contact-card h4 { font-size: 0.95rem; margin-bottom: 0.5rem; }

.contact-card p {
  font-size: 0.85rem;
  color: var(--text-soft);
  margin-bottom: 1rem;
}

.contact-card .btn { font-size: 0.7rem; padding: 0.65rem 1.4rem; }

.form-area {
  padding: 2.5rem;
  background: var(--white);
  border: 1px solid var(--rule-light);
  box-shadow: var(--shadow-sm);
}

.form-area h3 { font-size: 1.4rem; margin-bottom: 0.4rem; }

.form-area .form-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

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

.form-group label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--rule);
  background: var(--bg);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text);
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

/* -- FORM MESSAGES -------------------------- */
.form-message {
  padding: 1rem 1.2rem;
  margin-bottom: 1.5rem;
  font-size: 0.88rem;
  line-height: 1.5;
}

.form-success {
  background: rgba(76, 175, 80, 0.08);
  border: 1px solid rgba(76, 175, 80, 0.25);
  color: #2e7d32;
}

.form-error {
  background: rgba(244, 67, 54, 0.08);
  border: 1px solid rgba(244, 67, 54, 0.25);
  color: #c62828;
}

/* -- FOOTER --------------------------------- */
.footer {
  background: var(--bg-deep);
  padding: 2.25rem 0;
  border-top: 1px solid rgba(250,247,242,0.08);
  text-align: center;
}

.footer-simple {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  text-align: center;
  margin-top: 0.5rem;
}

.footer-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: rgba(250,247,242,0.75);
  letter-spacing: 0.02em;
}

.footer-location {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250,247,242,0.45);
}

.footer-divider {
  color: rgba(250,247,242,0.25);
  font-size: 0.72rem;
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.5rem;
  text-align: center;
  width: 100%;
}

.footer-nav-link {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250,247,242,0.35);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-nav-link:hover { color: rgba(250,247,242,0.7); }

/* -- ANIMATIONS ----------------------------- */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* -- RESPONSIVE ----------------------------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-text { max-width: 100%; }
  .hero-photo { max-width: 360px; margin: 0 auto; }
  .story-layout { grid-template-columns: 1fr; gap: 2rem; }
  .milestones-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 1.5rem 2rem 2rem;
    gap: 1rem;
    border-bottom: 1px solid var(--rule);
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .hero { min-height: auto; padding-bottom: 3rem; }
  .hero-photo { display: none; }
  .scholarship-columns { grid-template-columns: 1fr; }
  .community-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }
  .form-area { padding: 1.5rem; }
}

@media (max-width: 520px) {
  .milestones-grid { grid-template-columns: 1fr; }
}

/* -- HANDOFF STRIP -------------------------- */
.handoff-strip {
  background: var(--bg-deep);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.handoff-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.handoff-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 1.25rem;
  text-decoration: none;
  color: rgba(250,247,242,0.75);
  border-right: 1px solid rgba(255,255,255,0.08);
  transition: background 0.3s, color 0.3s;
}

.handoff-card:last-child { border-right: none; }

.handoff-card:hover {
  background: rgba(255,255,255,0.04);
  color: var(--bg);
}

.handoff-card-label {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.handoff-card-title {
  font-size: 0.88rem;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  line-height: 1.35;
}

.handoff-card-arrow {
  font-size: 1rem;
  color: var(--gold);
  flex-shrink: 0;
  opacity: 0.6;
  transition: opacity 0.3s, transform 0.3s;
}

.handoff-card:hover .handoff-card-arrow {
  opacity: 1;
  transform: translate(3px, -3px);
}

@media(max-width:640px) {
  .handoff-inner { grid-template-columns: 1fr; }
  .handoff-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .handoff-card:last-child { border-bottom: none; }
}

/* -- FAQ ------------------------------------ */
.faq {
  padding: 3.5rem 0;
  background: var(--bg);
}

.faq h2 {
  text-align: center;
  margin: 0 0 2.2rem;
}

.faq-item {
  padding: 1.5rem 1.5rem;
  border: 1px solid var(--rule-light);
  background: var(--white);
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--gold);
  transition: box-shadow 0.3s;
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-item h3 {
  font-size: 1.05rem;
  line-height: 1.35;
  margin: 0 0 0.6rem;
  color: var(--text);
}

.faq-item p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text-soft);
}

/* -- FAQ ANSWER TRUNCATION ------------------ */
.featured-faq .faq-a,
.faq-item .faq-a {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-faq .faq-a.expanded,
.faq-item .faq-a.expanded {
  display: block;
  -webkit-line-clamp: unset;
}

.faq-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.6rem;
  padding: 0.5rem 0;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.faq-read-more:hover {
  opacity: 0.7;
}

.faq-read-more .rm-arrow {
  transition: transform 0.3s;
}

.faq-read-more.active .rm-arrow {
  transform: rotate(180deg);
}

/* -- PAGE HERO (interior pages) ------------- */
.page-hero {
  padding-top: 72px;
  background: var(--bg-warm);
  border-bottom: 1px solid var(--rule-light);
}

.page-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2rem 3.5rem;
}

.hero-label {
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.hero-desc {
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.85;
  margin-bottom: 0.75rem;
}

.gold-rule {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin-top: 2rem;
}

/* -- CREDENTIAL SECTIONS -------------------- */
.credential-section {
  padding: 3.5rem 0;
  background: var(--bg);
}

.credential-section.dark {
  background: var(--bg-warm);
}

.credential-inner {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 3.5rem;
  align-items: start;
}

.credential-sidebar {
  padding-top: 0.5rem;
}

.credential-logo {
  width: 100%;
  max-width: 160px;
}

.credential-body h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 0.5rem;
}

.body-sublabel {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 1.2rem;
}

.credential-body p {
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.85;
  margin-bottom: 1.2rem;
}

.requirements {
  background: var(--white);
  border: 1px solid var(--rule-light);
  border-left: 3px solid var(--gold);
  padding: 1.5rem 1.8rem;
  margin: 1.5rem 0;
  box-shadow: var(--shadow-sm);
}

.credential-section.dark .requirements {
  background: var(--bg);
}

.requirements-label {
  font-size: 0.65rem !important;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent) !important;
  font-weight: 600;
  margin-bottom: 0.8rem !important;
}

.credential-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.credential-points li {
  font-size: 0.9rem;
  color: var(--text-soft);
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.6;
}

.credential-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-muted);
  opacity: 0.6;
}

.credential-link {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-soft);
  border-bottom: 1px dashed var(--text-muted);
  padding-bottom: 1px;
  margin-top: 0.5rem;
  transition: color 0.2s, border-color 0.2s;
}

.credential-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
  border-bottom-style: solid;
  opacity: 1;
}

@media (max-width: 768px) {
  .credential-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .credential-logo {
    max-width: 120px;
  }
}

/* =============================================
   DESIGN FEEDBACK FIXES
   ============================================= */

/* -- FIX: Milestones header text (2 lines not 3) --
   Already handled above via max-width: 720px on .milestones-header */

/* -- FIX: "In Her Own Words" — left-align heading within wider container -- */
.page-hero-inner h1,
.page-hero-inner .section-heading,
.page-hero-inner .hero-label,
.page-hero-inner .hero-desc,
.page-hero-inner .gold-rule {
  text-align: left;
}

/* -- FIX: Credentials page — extend hero text to full container width -- */
.credentials .hero-desc,
.credentials .page-hero-inner .hero-desc {
  max-width: 100%;
}

/* -- FIX: Credentials + Leadership pages — gold rule removed directly in HTML -- */

/* -- FIX: Reviews page heading — no hyphenation, single line -- */
.page-hero-inner h1 {
  white-space: nowrap;
  overflow: visible;
}
@media (max-width: 900px) {
  .page-hero-inner h1 { white-space: normal; }
}

/* -- FIX: Trials disclaimer — reduce to 2 lines via wider container --
   The .page-hero-inner max-width bump to 1100px handles this.
   Additional: ensure the trial-note / disclaimer paragraph spans full width */
.trial-note,
.trials-disclaimer,
p.disclaimer {
  max-width: 100%;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* -- FIX: Handoff strip — tighten padding -- */
.handoff-card {
  padding: 0.55rem 1.25rem;
}

/* On light-bg pages the handoff strip uses --bg-warm; keep dark version compact too */
.handoff-strip.light {
  background: var(--bg-warm);
  border-top: 1px solid var(--rule-light);
}

.handoff-strip.light .handoff-card {
  color: var(--text-soft);
  border-right: 1px solid var(--rule-light);
}

.handoff-strip.light .handoff-card:last-child { border-right: none; }

.handoff-strip.light .handoff-card:hover {
  background: var(--bg);
  color: var(--text);
}

.handoff-strip.light .handoff-card-label { color: var(--accent); }
.handoff-strip.light .handoff-card-arrow { color: var(--accent); }

/* -- FIX: Biography — consistent spacing across all 3 sections --
   Remove excess vertical gaps between bio credential grid and action cards */
.bio-creds,
.bio-tags {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.bio-actions {
  margin-top: 2rem;
}

/* Normalize spacing on credential tag boxes in biography */
.bio-tag-grid,
.cert-grid {
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

/* -- FIX: Publications — use full horizontal space --
   Widen the scholarship header to match the full container */
.scholarship-header {
  max-width: 100%;
  margin-bottom: 2.5rem;
}

/* Publications page hero — widen to match container */
.publications .page-hero-inner,
.pub-hero .page-hero-inner {
  max-width: 1100px;
}

/* -- FIX: Reviews — Left-justify the "Jennifer Rebholz — What Colleagues Say" heading -- */
.reviews-hero .page-hero-inner,
.page-hero-inner.reviews {
  text-align: left;
}
/**
 * jenniferrebholz.com — Style Patch
 * Append these rules to the END of /assets/css/style.css
 * 
 * Fixes:
 *   1. Arrow grounding  — ↗ sits flush in the card's bottom-right corner, no float
 *   2. Padding reduction — tighter vertical rhythm across sections
 *   3. page-nav-strip   — missing CSS for the "Explore this site" grid on homepage
 *   4. Credentials page break after "Certified Specialist" section
 */


/* ============================================================
   1. ARROW GROUNDING
   Applies to: .milestone, .community-card, .faq-item, .handoff-card, .page-nav-card
   Strategy: position:relative on the card + position:absolute on the arrow,
   pinned to bottom:1rem right:1rem. No more flex-pushed float look.
   ============================================================ */

/* Milestone cards (dark grid on homepage) */
.milestone {
  position: relative; /* already set, confirmed */
}
.milestone-ext {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  font-size: 0.9rem;
  color: var(--accent);
  opacity: 0;
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
  line-height: 1;
}
.milestone:hover .milestone-ext {
  opacity: 1;
  transform: translate(2px, -2px);
}

/* Community cards (dark grid on homepage) */
.community-card {
  position: relative; /* already set, confirmed */
}
.community-ext {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  font-size: 0.9rem;
  color: var(--accent);
  opacity: 1;
  transition: transform 0.25s;
  pointer-events: none;
  line-height: 1;
}
.community-card:hover .community-ext {
  transform: translate(2px, -2px);
}

/* FAQ cards */
.faq-item {
  position: relative; /* already set, confirmed */
}
.faq-card-arrow {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  font-size: 0.9rem;
  color: var(--accent);
  opacity: 0;
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
  line-height: 1;
}
.faq-item:hover .faq-card-arrow,
.faq-item-link:hover .faq-card-arrow {
  opacity: 1;
  transform: translate(2px, -2px);
}

/* Handoff strip cards (bottom of credentials/trials/biography pages) */
/* Switch from flex-space-between to relative+absolute arrow */
.handoff-card {
  position: relative;
  display: block;          /* was flex; arrow is now absolute */
  padding: 0.55rem 3rem 0.55rem 1.25rem; /* right padding leaves room for arrow */
}
.handoff-card-arrow {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
  line-height: 1;
}
.handoff-card:hover .handoff-card-arrow {
  opacity: 1;
  transform: translate(2px, -2px);
}

/* page-nav-card (Explore strip at bottom of homepage) */
.page-nav-card {
  position: relative; /* confirmed below in rule 3 */
}
.page-nav-card-arrow {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  font-size: 0.9rem;
  color: var(--accent);
  opacity: 1;
  transition: transform 0.25s;
  pointer-events: none;
  line-height: 1;
}
.page-nav-card:hover .page-nav-card-arrow {
  transform: translate(2px, -2px);
}


/* ============================================================
   2. PADDING REDUCTION
   Tighten the vertical rhythm throughout. Target: sections
   that currently use 3.5rem–4rem top/bottom padding.
   ============================================================ */

/* Page hero (credentials, trials, biography, reviews, publications) */
.page-hero-inner {
  padding-top: 2.5rem;
  padding-bottom: 2rem;
}

/* Credential sections */
.credential-section {
  padding: 2.5rem 0;
}

/* FAQ section on credentials page */
.faq-section {
  padding: 2.5rem 0;
}

/* Scholarship / Thought Leadership section */
.scholarship {
  padding: 1.5rem 0;
}

/* Community section */
.community {
  padding: 1.5rem 0;
}

/* Milestones section */
.milestones {
  padding: 1.5rem 0;
}
.milestones-header {
  margin-bottom: 1.25rem;
}

/* Story section */
.story {
  padding: 1rem 0 1.5rem;
}

/* FAQ / Q&A section on homepage */
.faq {
  padding: 1.5rem 0 1.25rem;
}

/* Contact section */
.contact {
  padding: 1.5rem 0 2rem;
}

/* Reduce gold-rule margin in hero */
.hero-rule,
.hero .hero-rule {
  margin: 1.5rem 0 1.8rem;
}


/* ============================================================
   3. PAGE-NAV-STRIP (missing from style.css — homepage only)
   The "On this site" explore grid at the bottom of index.php.
   ============================================================ */

.page-nav-strip {
  background: var(--bg-warm);
  border-top: 1px solid var(--rule-light);
  padding: 0;
}

.page-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 2rem 0;
}

.page-nav-header {
  margin-bottom: 1rem;
}

.page-nav-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule-light);
}

.page-nav-card {
  position: relative;
  display: block;
  padding: 1.4rem 3rem 2.5rem 1.25rem; /* right+bottom padding for pinned arrow */
  text-decoration: none;
  color: var(--text-soft);
  border-right: 1px solid var(--rule-light);
  transition: background 0.25s, color 0.25s;
  overflow: hidden;
}

.page-nav-card:last-child {
  border-right: none;
}

.page-nav-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.4s;
}

.page-nav-card:hover {
  background: var(--bg);
  color: var(--text);
}

.page-nav-card:hover::before {
  width: 100%;
}

.page-nav-card-label {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.page-nav-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 0.45rem;
}

.page-nav-card:hover .page-nav-card-title {
  color: var(--accent);
}

.page-nav-card-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.55;
}

@media (max-width: 860px) {
  .page-nav-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-nav-card:nth-child(2) {
    border-right: none;
  }
  .page-nav-card:nth-child(1),
  .page-nav-card:nth-child(2) {
    border-bottom: 1px solid var(--rule-light);
  }
}

@media (max-width: 520px) {
  .page-nav-grid {
    grid-template-columns: 1fr;
  }
  .page-nav-card {
    border-right: none;
    border-bottom: 1px solid var(--rule-light);
  }
  .page-nav-card:last-child {
    border-bottom: none;
  }
}


/* ============================================================
   4. CREDENTIALS PAGE — PAGE BREAK AFTER CERTIFIED SPECIALIST
   Adds a visible horizontal divider between the two credential
   sections so the page feels paginated, not one long scroll.
   The #specialist section gets extra bottom breathing room and
   a full-width rule before #abota begins.
   ============================================================ */

/* Extra space below the Certified Specialist section */
#specialist {
  padding-bottom: 3rem;
}

/* Decorative rule acting as a "page break" */
#specialist::after {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  opacity: 0.35;
  margin-top: 2rem;
}

/* Push ABOTA section down from the divider */
#abota {
  padding-top: 3rem;
}


/* ============================================================
   BUTTON & CTA STANDARDIZATION
   Appended to style.css — all new classes, append-only
   except .credential-link which is updated inline above.

   ARROW RULE (applied in HTML):
     ↗  = external domain (zwfirm.com, azbar.org, abota.org)
     →  = internal page or anchor on this site
     no arrow = .btn-primary and .btn-utility actions
   ============================================================ */


/* -- MILESTONE LABELS (Option B: all-caps stamp) ------------
   Replaces inconsistent mix of ALL CAPS / title case across
   the 4 milestone cards. Use on all four consistently.

   HTML:
   <a href="/leadership"    class="milestone-label">STATE BAR PRESIDENT ↗</a>
   <a href="/credentials"   class="milestone-label">BOARD CERTIFICATION ↗</a>
   <a href="/credentials"   class="milestone-label">ABOTA MEMBER ↗</a>
   <a href="#"              class="milestone-label">AV PREEMINENT ↗</a>
   ------------------------------------------------------------ */

.milestone-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid rgba(201, 168, 76, 0.4);
  padding-bottom: 2px;
  text-decoration: none;
  margin-top: 1.2rem;
  transition: color 0.2s, border-color 0.2s;
}

.milestone-label:hover {
  color: var(--bg);
  border-bottom-color: rgba(250, 247, 242, 0.3);
}


/* -- PRIMARY BUTTON -----------------------------------------
   Top-priority action per section. One per section maximum.
   Visually identical to .btn-fill — use either class.

   HTML:
   <a href="https://zwfirm.com/..." class="btn btn-primary" target="_blank">Visit the firm ↗</a>
   ------------------------------------------------------------ */

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border: 1px solid var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--white);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(181, 112, 79, 0.18);
}


/* -- SECONDARY BUTTON ---------------------------------------
   Supporting action, always paired with or following a primary.

   HTML:
   <a href="/biography" class="btn btn-secondary">Official biography →</a>
   <a href="#connect"   class="btn btn-secondary">Connect directly →</a>
   ------------------------------------------------------------ */

.btn-secondary {
  background: transparent;
  color: var(--text-soft);
  border: 1px solid var(--rule);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}

.btn-secondary:hover {
  border-color: var(--text-soft);
  color: var(--text);
  background: var(--bg-warm);
}


/* -- UTILITY BUTTON -----------------------------------------
   Page tools only — not navigation. Used on /biography only.
   No arrow on Copy. ↗ on Download PDF (opens external file URL).

   HTML:
   <button class="btn-utility">Copy</button>
   <a href="/bio.pdf" class="btn-utility" target="_blank">Download PDF ↗</a>
   ------------------------------------------------------------ */

.btn-utility {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--rule-light);
  padding: 0.45rem 0.9rem;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
  line-height: 1;
}

.btn-utility:hover {
  border-color: var(--text-muted);
  color: var(--text-soft);
}


/* -- INTERNAL TEXT LINK -------------------------------------
   Inline prose links to pages/anchors within this site.
   Solid underline. Always use → arrow in the link text.

   HTML:
   <a href="/publications" class="link-internal">View all publications →</a>
   <a href="/publications" class="link-internal">Read the columns →</a>
   ------------------------------------------------------------ */

.link-internal {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
  transition: opacity 0.2s;
}

.link-internal:hover {
  opacity: 0.65;
  color: var(--accent);
}


/* -- EXTERNAL TEXT LINK -------------------------------------
   Inline prose links to other domains. Dashed underline
   signals "leaves the site". Always use ↗ arrow in link text.

   HTML:
   <a href="https://azbar.org/..." class="link-external" target="_blank">Learn more at azbar.org ↗</a>
   <a href="https://abota.org/..." class="link-external" target="_blank">Learn more about ABOTA ↗</a>
   ------------------------------------------------------------ */

.link-external {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-soft);
  text-decoration: none;
  border-bottom: 1px dashed var(--text-muted);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}

.link-external:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
  border-bottom-style: solid;
}


/* -- CONTACT CARD BUTTON SIZING -----------------------------
   Ensures .btn-primary and .btn-secondary size correctly
   inside .contact-card, overriding the hero-specific sizing.
   ------------------------------------------------------------ */

.contact-card .btn {
  font-size: 0.72rem;
  padding: 0.65rem 1.4rem;
  margin-right: 0.6rem;
  margin-top: 0.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.contact-card .btn + .btn {
  margin-top: 0.5rem;
}


/* ============================================================
   HTML CHANGES REQUIRED
   These cannot be done in CSS — pass to developer.

   MILESTONE CARDS (homepage):
     Replace existing label markup with .milestone-label links above.

   PAGE-NAV-CARDS (homepage "On this site" strip):
     Change all 4 .page-nav-card-arrow chars from ↗ to →

   HANDOFF CARDS (interior pages):
     /trials   "Visit the Firm"    → keep ↗ (external)
     /trials   "Connect Directly"  → change to → + class="btn btn-secondary"
     /leadership, /credentials, /biography → all change to →

   CONTACT SECTION (homepage):
     "Visit Firm Website" → <a class="btn btn-primary" ...>Visit the firm ↗</a>
     "Official Biography ↗" → <a class="btn btn-secondary" ...>Official biography →</a>

   /leadership inline link:
     "Read the columns ↗" → class="link-internal", change ↗ to →

   /credentials external links:
     Apply class="link-external" (replaces .credential-link)
   ============================================================ */
