/* ============================================================
   DANIEL CHOI — PERSONAL SITE
   STYLESHEET
   ============================================================
   TABLE OF CONTENTS
   01. CSS Variables & Reset
   02. Typography
   03. Utilities
   04. Navigation
   05. Hero
   06. Pillars
   07. Work
   08. Ministry
   09. Give
   10. About
   11. Resume
   12. Media
   13. Contact
   14. Footer
   15. Animations
   16. Responsive
   ============================================================ */


/* ============================================================
   01. CSS VARIABLES & RESET
   ============================================================ */

:root {
  --color-bg:         #F8F5F0;
  --color-bg-alt:     #F0EDE8;
  --color-text:       #1C1C1E;
  --color-text-muted: #6B6B6E;
  --color-teal:       #0D6E6E;
  --color-teal-light: #E8F4F4;
  --color-teal-mid:   #1A8A8A;
  --color-white:      #FFFFFF;
  --color-border:     #E2DDD8;

  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'Inter', system-ui, sans-serif;

  --nav-height:  72px;
  --radius:      8px;
  --radius-lg:   16px;
  --shadow:      0 4px 24px rgba(0,0,0,0.07);
  --shadow-hover:0 8px 40px rgba(0,0,0,0.13);
  --transition:  0.3s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}


/* ============================================================
   02. TYPOGRAPHY
   ============================================================ */

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.2;
  color: var(--color-text);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }

p {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text);
}


/* ============================================================
   03. UTILITIES
   ============================================================ */

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  margin-bottom: 16px;
}

.section-intro {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto 16px;
}

/* Teal animated underline */
.teal-underline {
  width: 0;
  height: 3px;
  background: var(--color-teal);
  margin: 0 auto;
  border-radius: 2px;
  transition: width 0.8s ease;
}

.teal-underline.drawn {
  width: 60px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}

.btn-primary {
  background: var(--color-teal);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-teal-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-outline {
  background: transparent;
  color: var(--color-teal);
  border: 2px solid var(--color-teal);
}

.btn-outline:hover {
  background: var(--color-teal);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* Tag badge */
.tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--color-teal-light);
  color: var(--color-teal);
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* Alternate section background */
.section-alt {
  background-color: var(--color-bg-alt);
}


/* ============================================================
   04. NAVIGATION
   ============================================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.navbar.scrolled {
  background: rgba(248, 245, 240, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(0,0,0,0.08);
}

.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 0.01em;
  transition: color var(--transition);
}

.nav-name:hover {
  color: var(--color-teal);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links li a {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: 0.03em;
  position: relative;
  transition: color var(--transition);
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-teal);
  transition: width var(--transition);
}

.nav-links li a:hover {
  color: var(--color-teal);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
  width: 100%;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition);
}


/* ============================================================
   05. HERO
   ============================================================ */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
}

.hero-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 60px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  min-height: calc(100vh - var(--nav-height));
}

/* LEFT: Text */
.hero-text {
  opacity: 0;
  transform: translateY(30px);
  animation: heroTextIn 1.2s ease forwards 0.3s;
}

.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 16px;
}

.hero-heading {
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin-bottom: 24px;
  min-height: 1.3em;
}

/* Rotating title */
.hero-title-rotator {
  display: inline-block;
  color: var(--color-text);
  border-right: 3px solid var(--color-teal);
  padding-right: 4px;
  white-space: nowrap;
  overflow: hidden;
}

.hero-hook {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.8;
}

/* RIGHT: Photo */
.hero-image-wrap {
  opacity: 0;
  transform: translateX(30px);
  animation: heroImageIn 1.2s ease forwards 0.6s;
  display: flex;
  justify-content: center;
}

.hero-image-frame {
  position: relative;
  width: 100%;
  max-width: 420px;
}

.hero-img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  /* HERO IMAGE POSITION
     If your face is cropped, change 'center' below.
     Options: top, center, bottom, or e.g. '50% 20%'  */
  object-position: center top;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

/* Decorative teal accent block */
.hero-accent-line {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 60%;
  height: 60%;
  border: 3px solid var(--color-teal);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.3;
}


/* ============================================================
   06. PILLARS
   ============================================================ */

.pillars-section {
  padding: 80px 0;
  background: var(--color-bg-alt);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pillar-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  opacity: 0;
  transform: translateY(24px);
}

.pillar-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.pillar-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  /* PILLAR IMAGE POSITION
     Adjust per card if subject is cropped */
  object-position: center;
}

.pillar-card-body {
  padding: 24px;
}

.pillar-card-label {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--color-text);
}

.pillar-card-summary {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.pillar-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-teal);
  transition: gap var(--transition);
}

.pillar-card:hover .pillar-card-arrow {
  gap: 10px;
}


/* ============================================================
   07. WORK
   ============================================================ */

.work-section {
  background: var(--color-bg);
}

.ventures-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.venture-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--color-teal);
  transition: transform var(--transition), box-shadow var(--transition);
}

.venture-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.venture-type {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 8px;
}

.venture-name {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  margin-bottom: 8px;
}

.venture-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 28px;
  line-height: 1.75;
}


/* ============================================================
   08. MINISTRY
   ============================================================ */

.ministry-section {
  background: var(--color-bg-alt);
}

.ministry-bio {
  font-size: 1.05rem;
  max-width: 760px;
  margin: 0 auto 16px;
  text-align: center;
  color: var(--color-text);
}

.ministry-affiliation {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-teal);
  text-transform: uppercase;
  margin-bottom: 56px;
}

.ministry-streams {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  max-width: 800px;
  margin: 0 auto;
}

.ministry-stream-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.ministry-stream-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.ministry-icon {
  width: 52px;
  height: 52px;
  background: var(--color-teal-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--color-teal);
}

.ministry-stream-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.ministry-stream-desc {
  font-size: 0.93rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}


/* ============================================================
   09. GIVE
   ============================================================ */

.give-section {
  background: var(--color-bg);
}

.give-zone {
  margin-bottom: 72px;
  padding-bottom: 72px;
  border-bottom: 1px solid var(--color-border);
}

.give-zone:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.give-zone-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  margin-bottom: 12px;
  color: var(--color-text);
}

.give-zone-desc,
.give-zone-framing {
  font-size: 0.97rem;
  color: var(--color-text-muted);
  max-width: 680px;
  margin-bottom: 36px;
  line-height: 1.75;
}

/* Route A — Account Cards */
.accounts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.account-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--color-teal);
  transition: transform var(--transition);
}

.account-card:hover {
  transform: translateY(-3px);
}

.account-flag {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.account-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 8px;
}

.account-bank {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.account-detail {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.account-notes {
  font-size: 0.8rem;
  color: var(--color-teal);
  margin-top: 8px;
  font-style: italic;
}

/* Route B — Church Cards */
.churches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.church-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--color-teal);
}

.church-flag {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.church-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.church-country {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 14px;
}

.church-method {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
}

.church-details {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-bottom: 10px;
}

.church-notes {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  font-style: italic;
  line-height: 1.6;
}

/* Memo Codes */
.memo-codes {
  background: var(--color-teal-light);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 40px;
}

.memo-codes-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--color-teal);
}

.memo-codes-desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.memo-codes-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.memo-code-item {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.memo-code-badge {
  font-family: monospace;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-teal);
  background: var(--color-teal-light);
  padding: 3px 8px;
  border-radius: 4px;
}

.memo-code-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Pledge Form */
.pledge-form-wrap {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
  max-width: 600px;
}

.pledge-form-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.pledge-form-desc {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  margin-bottom: 28px;
}

/* Affiliates */
.affiliates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.affiliate-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.affiliate-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.affiliate-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin: 0 auto 16px;
}

.affiliate-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.affiliate-desc {
  font-size: 0.87rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
  line-height: 1.65;
}


/* ============================================================
   10. ABOUT
   ============================================================ */

.about-section {
  background: var(--color-bg-alt);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.about-image-frame {
  position: relative;
}

.about-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  /* ABOUT IMAGE POSITION
     Adjust if face is cropped */
  object-position: center top;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.about-accent {
  position: absolute;
  top: -16px;
  left: -16px;
  width: 50%;
  height: 50%;
  border: 3px solid var(--color-teal);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.25;
}

.about-text .section-title {
  text-align: left;
  margin-bottom: 16px;
}

.about-text .teal-underline {
  margin: 0 0 28px 0;
}

.about-text p {
  margin-bottom: 18px;
  font-size: 0.97rem;
  color: var(--color-text);
  line-height: 1.8;
}


/* ============================================================
   11. RESUME
   ============================================================ */

.resume-section {
  background: var(--color-bg);
}

.resume-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.resume-column {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
}

.resume-col-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin-bottom: 4px;
  color: var(--color-text);
}

.resume-col-subtitle {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 24px;
}

.resume-col-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.resume-item {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  padding-left: 16px;
  position: relative;
  line-height: 1.6;
}

.resume-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--color-teal);
  border-radius: 50%;
}


/* ============================================================
   12. MEDIA
   ============================================================ */

.media-section {
  background: var(--color-bg-alt);
}

/* Intro video placeholder */
.intro-video-placeholder {
  background: var(--color-text);
  border-radius: var(--radius-lg);
  padding: 80px 40px;
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.intro-video-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-text) 100%);
  opacity: 0.85;
}

.intro-video-inner {
  position: relative;
  z-index: 1;
}

.intro-video-icon {
  width: 72px;
  height: 72px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: white;
}

.intro-video-text {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--color-white);
  margin-bottom: 10px;
}

.intro-video-sub {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  max-width: 480px;
  margin: 0 auto;
}

/* Live embed */
.intro-video-embed {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 60px;
  box-shadow: var(--shadow);
}

.intro-video-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Media streams */
.media-streams {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.media-stream-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.media-stream-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.media-stream-thumb {
  width: 100%;
  height: 200px;
  object-fit: cover;
  /* MEDIA THUMBNAIL POSITION */
  object-position: center;
}

.media-stream-thumb-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--color-teal-light), var(--color-teal));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
}

.media-stream-body {
  padding: 24px;
}

.media-stream-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.media-stream-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
  line-height: 1.65;
}

.media-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: var(--color-bg);
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text);
  transition: all var(--transition);
  border: 1px solid var(--color-border);
}

.social-link:hover {
  background: var(--color-teal);
  color: var(--color-white);
  border-color: var(--color-teal);
}


/* ============================================================
   13. CONTACT
   ============================================================ */

.contact-section {
  background: var(--color-bg);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: start;
}

.contact-email-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 8px;
}

.contact-email-link {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--color-text);
  transition: color var(--transition);
  word-break: break-all;
}

.contact-email-link:hover {
  color: var(--color-teal);
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 12px 16px;
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(13, 110, 110, 0.1);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

.form-success {
  color: var(--color-teal);
  font-size: 0.92rem;
  font-weight: 500;
  margin-top: 8px;
}

/* Pledge form fields (reuse contact form styles) */
.pledge-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}


/* ============================================================
   14. FOOTER
   ============================================================ */

.footer {
  background: var(--color-text);
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--color-white);
  margin-bottom: 4px;
}

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.05em;
}

.footer-email {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 6px;
  transition: color var(--transition);
}

.footer-email:hover {
  color: var(--color-teal-light);
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}


/* ============================================================
   15. ANIMATIONS
   ============================================================ */

/* Scroll-triggered reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.45s; }

.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* Hero entrance keyframes */
@keyframes heroTextIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0);    }
}

@keyframes heroImageIn {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0);    }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0);  }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* Teal underline draw — triggered by JS adding .drawn class */
/* Already defined in utilities above */


/* ============================================================
   16. RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .resume-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
    padding: 80px 24px 60px;
  }

  .hero-hook {
    margin: 0 auto 36px;
  }

  .hero-image-wrap {
    order: -1;
  }

  .hero-img {
    height: 400px;
    max-width: 340px;
    margin: 0 auto;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-text .teal-underline {
    margin: 0 auto 28px;
  }

  .about-text .section-title {
    text-align: center;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(248, 245, 240, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .pledge-form-wrap {
    padding: 28px 20px;
  }

  .memo-codes-list {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .accounts-grid {
    grid-template-columns: 1fr;
  }

  .ventures-grid {
    grid-template-columns: 1fr;
  }

  .hero-img {
    height: 320px;
  }
}
