/* DFSL PROFESSIONAL REDESIGN */
:root {
  --clemson-orange: #f56600;
  --deep-green: #203d2d;
  --forest: #31523f;
  --charcoal: #222222;
  --muted: #66736c;
  --cream: #f7f3ea;
  --white: #ffffff;
  --border: rgba(34, 34, 34, 0.12);
  --soft-orange: rgba(245, 102, 0, 0.12);
  --shadow: 0 24px 60px rgba(20, 35, 28, 0.16);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.58;
  color: var(--charcoal);
  background: var(--cream);
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--clemson-orange); }
.page-wrapper { min-height: 100vh; display: flex; flex-direction: column; }
.site-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}
.brand { display: flex; align-items: center; gap: 14px; font-size: clamp(18px,2.2vw,26px); font-weight: 800; color: var(--deep-green); letter-spacing: -0.03em; }
.logo { width: 54px; height: 54px; object-fit: contain; flex: 0 0 auto; }
.top-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 15px; font-weight: 700; }
.top-nav a { padding: 10px 12px; border-radius: 999px; color: var(--forest); }
.top-nav a:hover, .top-nav a:focus, .top-nav a.active { background: var(--soft-orange); color: var(--charcoal); }
main { flex: 1; }
.home-page main { display: flex; }

.hero-section { position: relative; min-height: 620px; display: flex; align-items: center; padding: 96px clamp(20px,7vw,96px); background-image: url('./Pictures/IndexPicExactDim.jpg'); background-size: cover; background-position: center; isolation: isolate; }
.home-page .hero-section { min-height: calc(100vh - 84px); width: 100%; flex: 1; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22,38,30,0.92) 0%, rgba(22,38,30,0.74) 45%, rgba(22,38,30,0.20) 100%), linear-gradient(180deg, rgba(0,0,0,0.12), rgba(0,0,0,0.2)); z-index: -1; }
.hero-content { max-width: 790px; color: var(--white); }
.eyebrow { margin-bottom: 14px; color: var(--clemson-orange); font-size: 13px; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; }
.hero-content h1 { max-width: 760px; font-size: clamp(42px,6vw,76px); line-height: 0.98; letter-spacing: -0.055em; }
.hero-copy { max-width: 680px; margin-top: 24px; font-size: clamp(18px,2vw,22px); color: rgba(255,255,255,0.9); }
.research-focus { margin-top: 30px; }
.research-focus h2 { margin: 0 0 12px; color: #ffffff; font-size: clamp(1.05rem, 2vw, 1.35rem); letter-spacing: 0.02em; }
.keyword-strip { display: flex; flex-wrap: wrap; gap: 10px; max-width: 820px; margin-top: 30px; }
.keyword-strip span { display: inline-flex; align-items: center; min-height: 34px; padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.35); background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.94); font-size: 14px; font-weight: 800; letter-spacing: 0.01em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button-primary, .button-secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 800; }
.button-primary { background: var(--clemson-orange); color: var(--white); }
.button-primary:hover { color: var(--white); filter: brightness(0.95); }
.button-secondary { border: 1px solid rgba(255,255,255,0.45); color: var(--white); background: rgba(255,255,255,0.08); }
.button-secondary:hover { color: var(--white); background: rgba(255,255,255,0.16); }
.intro-panel { width: min(1120px, calc(100% - 40px)); margin: -62px auto 0; position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; overflow: hidden; background: var(--border); border: 1px solid var(--border); border-radius: 22px; box-shadow: var(--shadow); }
.intro-panel div { padding: 28px; background: var(--white); }
.intro-panel strong { display: block; margin-bottom: 8px; color: var(--deep-green); font-size: 20px; }
.intro-panel span { color: var(--muted); }
.content-section { width: min(1120px, calc(100% - 40px)); margin: 90px auto 96px; }
.section-heading { max-width: 760px; margin-bottom: 28px; }
.section-heading h2, .section-title { color: var(--deep-green); font-size: clamp(30px,4vw,48px); line-height: 1.08; letter-spacing: -0.04em; margin-bottom: 18px; }
.research-grid, .people-grid, .contact-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.people-grid { grid-template-columns: repeat(2,1fr); }
.contact-grid { grid-template-columns: repeat(2,1fr); }
.card-block, .research-grid article, .people-grid article, .contact-card { min-height: 190px; padding: 28px; background: var(--white); border: 1px solid var(--border); border-radius: 22px; box-shadow: 0 10px 30px rgba(20,35,28,0.07); }
.research-grid h3, .people-grid h3, .contact-card h3, .card-block h3 { margin-bottom: 12px; color: var(--deep-green); font-size: 23px; }
.research-grid p, .people-grid p, .contact-card p, .card-block p { color: var(--muted); }
.link-list { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; }
.link-list a, .text-link { display: inline-flex; align-items: center; padding: 9px 13px; border-radius: 999px; color: var(--forest); background: rgba(49,82,63,0.08); font-weight: 800; }
.link-list a:hover, .text-link:hover { background: var(--soft-orange); color: var(--charcoal); }

.page-hero { padding: 70px clamp(20px,7vw,96px) 48px; background: linear-gradient(135deg, var(--deep-green), var(--forest)); color: var(--white); }
.page-hero .eyebrow { margin-bottom: 10px; }
.page-hero h1 { max-width: 900px; font-size: clamp(38px,5.5vw,68px); line-height: 1; letter-spacing: -0.055em; }
.page-hero p { max-width: 760px; margin-top: 20px; color: rgba(255,255,255,0.88); font-size: 18px; }

/* Breadcrumb navigation */
.breadcrumbs {
  width: min(1120px, calc(100% - 40px));
  margin: 22px auto -20px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}
.breadcrumbs a {
  color: var(--forest);
  text-decoration: none;
}
.breadcrumbs a:hover { color: var(--clemson-orange); }
.breadcrumbs .separator {
  display: inline-block;
  margin: 0 8px;
  color: rgba(34,34,34,0.38);
}
.breadcrumbs .current { color: var(--charcoal); }

.page-content { width: min(1120px, calc(100% - 40px)); margin: 48px auto 80px; }
.content-card { background: var(--white); border: 1px solid var(--border); border-radius: 24px; padding: clamp(24px,4vw,48px); box-shadow: 0 18px 44px rgba(20,35,28,0.09); }
.content-card p { margin: 0 0 18px 0; color: #3d463f; }
.content-card h2 { margin: 28px 0 12px; color: var(--deep-green); font-size: 25px; }
.content-card img { max-width: 100%; height: auto; border-radius: 18px; }
.publication-list, .content-card ol { margin-left: 24px; padding-left: 18px; }
.publication-list li, .content-card ol li { margin: 0 0 14px 0; padding-left: 6px; }
.publication-list li::marker, .content-card ol li::marker { color: var(--clemson-orange); font-weight: 800; }
.publication-list a, .content-card a { color: #1f5f8b; text-decoration: underline; text-underline-offset: 3px; }
.supporter-intro { margin-bottom: 28px; padding: 26px; border-radius: 20px; background: rgba(245,102,0,0.10); border: 1px solid rgba(245,102,0,0.18); }
.supporter-intro h1 { color: var(--deep-green); font-size: clamp(28px,4vw,46px); line-height: 1.08; margin-bottom: 8px; }
.two-column { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 28px; align-items: start; }
.profile-image { width: min(360px,100%); border-radius: 22px; border: 1px solid var(--border); }
.notice { padding: 18px 20px; border-left: 5px solid var(--clemson-orange); background: rgba(245,102,0,0.08); border-radius: 14px; color: #3d463f; }
.site-footer { display: flex; justify-content: space-between; gap: 16px; padding: 20px clamp(18px,5vw,72px); background: var(--deep-green); color: rgba(255,255,255,0.85); font-size: 14px; margin-top: auto; }

@media (max-width: 920px) {
  .site-header { position: static; align-items: flex-start; flex-direction: column; }
  .top-nav { width: 100%; }
  .intro-panel, .research-grid, .people-grid, .contact-grid, .two-column { grid-template-columns: 1fr; }
  .hero-section { min-height: auto; padding-top: 72px; padding-bottom: 100px; }
  .home-page .hero-section { min-height: calc(100vh - 150px); }
  .site-footer { flex-direction: column; }
}
@media (max-width: 560px) {
  .brand { align-items: flex-start; }
  .logo { width: 46px; height: 46px; }
  .top-nav a { padding: 8px 9px; font-size: 14px; }
  .content-card { padding: 22px; }
}

.email-check { margin-top: 14px; }
.email-check label { display: block; margin-bottom: 8px; color: var(--deep-green); font-weight: 800; }
.email-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.email-row input { width: 110px; min-height: 42px; padding: 8px 12px; border: 1px solid var(--border); border-radius: 12px; font: inherit; }
.email-row button { min-height: 42px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--clemson-orange); color: var(--white); font: inherit; font-weight: 800; cursor: pointer; }
.email-row button:disabled { opacity: 0.75; cursor: default; }
.email-result { min-height: 28px; margin-top: 12px; font-weight: 800; }
.email-result a { color: #1f5f8b; text-decoration: underline; text-underline-offset: 3px; }

/* People card layouts */
.member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 24px;
}
.member-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 170px;
  padding: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #fffdf8 100%);
  border: 1px solid rgba(34, 34, 34, 0.10);
  border-radius: 20px;
  box-shadow: 0 16px 34px rgba(20,35,28,0.12), 0 3px 10px rgba(20,35,28,0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.member-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  border-radius: 20px 20px 0 0;
  background: linear-gradient(90deg, var(--clemson-orange), var(--forest));
  opacity: 0.9;
}
.member-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 102, 0, 0.26);
  box-shadow: 0 24px 48px rgba(20,35,28,0.16), 0 8px 18px rgba(20,35,28,0.08);
}
.member-card h3 {
  margin: 0;
  color: var(--deep-green);
  font-size: 21px;
  line-height: 1.25;
}
.member-card h3 b { font-weight: 800; }
.member-card p {
  margin: 0;
  color: #3d463f;
}
.member-card p i {
  color: var(--forest);
  font-weight: 800;
  font-style: normal;
}
.member-date {
  margin-top: auto !important;
  color: var(--muted) !important;
  font-weight: 800;
}
@media (max-width: 560px) {
  .member-grid { grid-template-columns: 1fr; }
  .member-card { padding: 20px; }
}

/* Mobile polish */
.top-nav a, .brand span, .publication-list a, .content-card a { overflow-wrap: anywhere; }
@media (max-width: 720px) {
  .site-header { gap: 12px; padding: 12px 18px; }
  .brand { font-size: 18px; letter-spacing: -0.02em; }
  .top-nav { gap: 6px; }
  .top-nav a { font-size: 13px; padding: 7px 9px; }
  .page-hero { padding: 44px 20px 34px; }
  .page-hero h1 { font-size: clamp(32px, 11vw, 46px); }
  .page-hero p { font-size: 16px; }
  .breadcrumbs { width: min(100% - 28px, 1120px); margin: 16px auto -22px; font-size: 13px; }
  .page-content { width: min(100% - 28px, 1120px); margin: 42px auto 64px; }
  .content-card { border-radius: 18px; }
  .publication-list, .content-card ol { margin-left: 14px; padding-left: 12px; }
}
@media (max-width: 420px) {
  .brand span { max-width: 260px; }
  .keyword-strip span { font-size: 13px; }
  .site-footer { font-size: 13px; }
}
