/* =========================================================
   Win Cramer — Personal Site
   Design: Modern · Clean · Warm
   ========================================================= */

/* --- Custom Properties --- */
:root {
  --bg:           #FAF9F7;
  --bg-alt:       #F0EDE8;
  --dark:         #1C1917;
  --dark-alt:     #252019;
  --accent:       #B8823A;
  --accent-light: #D4A55E;
  --text:         #1A1817;
  --text-muted:   #6B6560;
  --text-light:   #FAF9F7;
  --text-dim:     rgba(250,249,247,0.65);
  --border:       #E8E3DC;
  --border-dark:  rgba(255,255,255,0.1);

  --serif:  'Playfair Display', Georgia, serif;
  --sans:   'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --nav-h:  72px;
  --max-w:  1200px;
  --pad-h:  24px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font: inherit; }

/* --- Utility --- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-h);
}

.section-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 48px;
}
.section-label.light { color: var(--accent-light); }

.hidden-field { display: none; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 14px 28px;
  border-radius: 2px;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--text-light);
}
.btn-primary:hover { background: var(--accent-light); transform: translateY(-1px); }

.btn-outline {
  border: 1.5px solid var(--text);
  color: var(--text);
}
.btn-outline:hover { background: var(--text); color: var(--text-light); }

.btn-light {
  border: 1.5px solid rgba(250,249,247,0.5);
  color: var(--text-light);
}
.btn-light:hover { background: rgba(250,249,247,0.1); }

.btn-full { width: 100%; text-align: center; }


/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.nav.scrolled {
  background: var(--bg);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-h);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--text); }
.nav-cta {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 8px 18px;
  border: 1.5px solid var(--accent);
  border-radius: 2px;
  transition: all 0.2s;
}
.nav-cta:hover { background: var(--accent); color: var(--text-light); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text);
  transition: all 0.3s;
}


/* =========================================================
   HERO
   ========================================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 60px) var(--pad-h) 80px;
  position: relative;
  background: var(--bg);
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}
.hero-eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.hero-name {
  font-family: var(--serif);
  font-size: clamp(72px, 9vw, 120px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 28px;
}
.hero-tagline {
  font-size: 18px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 44px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Photo */
.hero-photo {
  display: flex;
  justify-content: center;
}
.hero-img {
  width: 100%;
  max-width: 440px;
  border-radius: 4px;
  object-fit: cover;
  aspect-ratio: 3/4;
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.4;
}
.hero-scroll-indicator span {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: var(--text);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(0.5); }
}


/* =========================================================
   ABOUT
   ========================================================= */
.about {
  padding: 120px var(--pad-h);
  background: var(--bg);
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.about-headline h2 {
  font-family: var(--serif);
  font-size: clamp(40px, 4vw, 60px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  position: sticky;
  top: calc(var(--nav-h) + 40px);
}
.about-headline h2 em {
  font-style: italic;
  color: var(--accent);
}
.about-bio p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 24px;
}
.about-bio p:last-child { margin-bottom: 0; }

/* Award chips */
.awards-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 32px 0;
}
.award-chip {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 7px 14px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-muted);
  white-space: nowrap;
}


/* =========================================================
   ROLES (What I Do)
   ========================================================= */
.roles {
  padding: 120px var(--pad-h);
  background: var(--bg-alt);
}
.roles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.role-card {
  background: var(--bg);
  padding: 48px 36px;
  transition: background 0.2s;
}
.role-card:hover { background: var(--dark); color: var(--text-light); }
.role-card:hover .role-num { color: var(--accent); }
.role-card:hover p { color: var(--text-dim); }
.role-num {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
  transition: color 0.2s;
}
.role-card h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 16px;
  transition: color 0.2s;
}
.role-card p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-muted);
  transition: color 0.2s;
}


/* =========================================================
   BOARDS
   ========================================================= */
.boards {
  padding: 120px var(--pad-h);
  background: var(--dark);
  color: var(--text-light);
}
.boards-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.boards-headline h2 {
  font-family: var(--serif);
  font-size: clamp(40px, 4vw, 60px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.boards-headline h2 em {
  font-style: italic;
  color: var(--accent-light);
}
.boards-headline p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-dim);
  margin-bottom: 40px;
}
.boards-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.board-item {
  display: flex;
  gap: 24px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border-dark);
}
.board-item:first-child { border-top: 1px solid var(--border-dark); }
.board-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 8px;
  flex-shrink: 0;
}
.board-content h4 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}
.board-content p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-dim);
}


/* =========================================================
   INVESTING
   ========================================================= */
.investing {
  padding: 120px var(--pad-h);
  background: var(--bg);
}
.investing-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}
.investing-text h2 {
  font-family: var(--serif);
  font-size: clamp(40px, 4vw, 60px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.investing-text h2 em {
  font-style: italic;
  color: var(--accent);
}
.investing-text p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.investing-text .btn { margin-top: 12px; }

.criteria-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.criteria-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.criteria-list li {
  font-size: 15px;
  color: var(--text);
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 16px;
}
.criteria-list li:first-child { border-top: 1px solid var(--border); }
.criteria-list li::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}


/* =========================================================
   SPEAKING
   ========================================================= */
.speaking {
  padding: 120px var(--pad-h);
  background: var(--dark);
  color: var(--text-light);
}
.speaking-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: center;
}
.speaking-topics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.topic-card {
  background: var(--dark-alt);
  padding: 36px 30px;
  transition: background 0.2s;
}
.topic-card:hover { background: rgba(184,130,58,0.12); }
.topic-card h4 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-light);
}
.topic-card p {
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-dim);
}
.speaking-cta h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 3.5vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.speaking-cta h2 em {
  font-style: italic;
  color: var(--accent-light);
}
.speaking-cta p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-dim);
  margin-bottom: 36px;
}


/* =========================================================
   CRAMER FAMILY TRUST
   ========================================================= */
.trust {
  padding: 120px var(--pad-h);
  background: var(--bg);
}
.trust-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.trust-headline h2 {
  font-family: var(--serif);
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.trust-mission {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.trust-note {
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
}
.trust-body {
  display: flex;
  flex-direction: column;
  gap: 52px;
}
.trust-orgs-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.org-list { display: flex; flex-direction: column; gap: 0; }
.org-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  font-size: 16px;
  font-family: var(--serif);
  font-weight: 400;
}
.org-item:first-child { border-top: 1px solid var(--border); }
.org-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.trust-apply {
  background: var(--bg-alt);
  padding: 40px;
  border-radius: 4px;
  border: 1px solid var(--border);
}
.trust-apply h4 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
}
.trust-apply p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.trust-apply .btn-primary { width: 100%; text-align: center; }


/* =========================================================
   CONTACT
   ========================================================= */
.contact {
  padding: 120px var(--pad-h);
  background: var(--dark);
  color: var(--text-light);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}
.contact-text h2 {
  font-family: var(--serif);
  font-size: clamp(48px, 5.5vw, 80px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.contact-text p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-dim);
  margin-bottom: 36px;
}
.contact-social {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.social-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--accent-light);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.social-link:hover { color: var(--text-light); }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(250,249,247,0.5);
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--sans);
  font-size: 15px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-dark);
  border-radius: 2px;
  color: var(--text-light);
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(250,249,247,0.3); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: rgba(255,255,255,0.08);
}
.form-group select option { background: var(--dark); color: var(--text-light); }
.form-group textarea { resize: vertical; min-height: 140px; }

.form-success {
  display: none;
  text-align: center;
  padding: 16px;
  background: rgba(184,130,58,0.15);
  border: 1px solid var(--accent);
  border-radius: 2px;
  color: var(--accent-light);
  font-size: 14px;
  letter-spacing: 0.04em;
}
.form-success.visible { display: block; }


/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  padding: 40px var(--pad-h);
  background: var(--dark);
  border-top: 1px solid var(--border-dark);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-name {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 4px;
}
.footer-copy {
  font-size: 12px;
  color: var(--text-dim);
}
.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--text-light); }


/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .roles-grid { grid-template-columns: repeat(2, 1fr); }
  .speaking-topics { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --pad-h: 20px; }

  /* Nav */
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-link {
    width: 100%;
    padding: 14px 24px;
    font-size: 15px;
  }
  .nav-cta { margin: 12px 24px; }
  .nav-toggle { display: flex; }
  .nav.scrolled .nav-logo { color: var(--text); }

  /* Hero */
  .hero { padding-top: calc(var(--nav-h) + 40px); }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-photo { order: -1; }
  .hero-img { max-width: 260px; aspect-ratio: 1; margin: 0 auto; border-radius: 50%; }
  .hero-scroll-indicator { display: none; }

  /* Sections */
  .about-inner,
  .boards-inner,
  .investing-inner,
  .speaking-inner,
  .trust-inner,
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }

  .about-headline h2,
  .boards-headline h2,
  .investing-text h2,
  .speaking-cta h2,
  .trust-headline h2,
  .contact-text h2 { font-size: 36px; }

  .about-headline h2 { position: static; }

  .roles-grid { grid-template-columns: 1fr; gap: 2px; }
  .speaking-topics { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  /* Padding */
  .about, .roles, .boards, .investing, .speaking, .trust, .contact {
    padding: 80px var(--pad-h);
  }

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

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; }
  .awards-row { flex-direction: column; }
  .award-chip { text-align: center; }
}
