:root {
	--bg: #ffffff;
	--ink: #111111;
	--muted: #555;
	--maxw: 1100px;
	--radius: 14px;
	--gap: clamp(16px, 3vw, 28px);
	--section-pad: clamp(28px, 6vw, 64px);
  }
  
  html, body {
	height: 100%;
	background: var(--bg);
	color: var(--ink);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
  }
  
  body {
	margin: 0;
	font: 16px/1.6 system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  }

  header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	padding: 20px;
	z-index: 100;
	border-bottom: 1px solid #eee;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
  }

  header a {
	font-size: 1.1rem;
	font-weight: 500;
	font-family: Georgia, 'Times New Roman', serif;
	text-decoration: none;
	color: var(--ink);
  }
  
  .container {
	max-width: var(--maxw);
	margin-inline: auto;
	padding-inline: var(--gap);
  }
  
  h1, h2, h3 {
	line-height: 1.15;
	margin: 0 0 0.4em;
	letter-spacing: -0.01em;
  }
  h1 { 
	font-size: clamp(1.5rem, 2vw + 0.5rem, 2rem);
	font-family: Georgia, 'Times New Roman', serif;
	font-weight: 400;
  }
  h3 { 
	font-size: clamp(1.1rem, 1vw + 0.5rem, 1.3rem);
	font-family: Georgia, 'Times New Roman', serif;
	font-weight: 500;
	margin-top: 1.5em;
  }
  h3:first-child {
	margin-top: 0;
  }

  /* Hero Typography Enhancement */
  .hero h1 {
	font-size: clamp(2rem, 4vw + 1rem, 3.5rem);
	font-weight: 600;
	letter-spacing: -0.02em;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	color: #1e293b;
	margin-bottom: 0.6em;
  }

  .hero .intro-bio {
	font-size: clamp(1.1rem, 1.5vw + 0.5rem, 1.3rem);
	line-height: 1.6;
	color: #475569;
	font-weight: 400;
  }

  /* Mobile hero text and image centering */
  @media (max-width: 779px) {
	.hero .content {
	  text-align: center;
	}
	
	.hero .media {
	  display: flex;
	  justify-content: center;
	}
	
	.hero-image {
	  margin-left: auto;
	  margin-right: auto;
	}
  }
  h2 { 
	font-size: clamp(1.25rem, 1.2vw + 0.5rem, 1.6rem);
	font-family: Georgia, 'Times New Roman', serif;
	font-weight: 400;
  }
  
  p {
	margin: 0 0 1em;
	color: var(--muted);
  }
  
  .intro-section {
	padding-block: clamp(60px, 12vw, 100px);
	padding-top: 100px; /* Account for fixed header */
  }

  .intro-bio {
	font-size: 1.1rem;
	line-height: 1.7;
	color: var(--muted);
	margin: 0;
  }

  .hero-image {
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: var(--radius);
	object-fit: cover;
	max-width: 300px;
	margin-left: auto;
  }
  
  .section {
	padding-block: var(--section-pad);
  }

  .section-divider {
	width: 100vw;
	height: 1px;
	background: #eee;
	margin-left: calc(-50vw + 50%);
	margin-right: calc(-50vw + 50%);
  }

  .section > h1 {
	text-align: center;
	margin-bottom: 0;
  }
  
  .split {
	display: grid;
	gap: var(--gap);
	align-items: center;
  }
  
  .media img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--radius);
	object-fit: cover;
  }
  
  /* Mobile-first */
  .split {
	grid-template-columns: 1fr;
	grid-template-areas:
	  "content"
	  "media";
  }
  .media   { grid-area: media; }
  .content { grid-area: content; }
  
  /* Desktop */
  @media (min-width: 780px) {
	.split {
	  grid-template-columns: 1fr 1fr;
	}
	.split {
	  grid-template-areas: "media content";
	}
	.split.alt {
	  grid-template-areas: "content media";
	}
	.hero {
	  grid-template-columns: 1fr 1fr;
	  grid-template-areas: "content media";
	  max-width: 900px;
	  margin: 0 auto;
	  gap: calc(var(--gap) * 0.8);
	}
	.hero .content {
	  display: flex;
	  flex-direction: column;
	  justify-content: center;
	}
	.hero-image {
	  max-width: 350px;
	  aspect-ratio: 1 / 1.1;
	  object-fit: cover;
	}
  }
  
  footer {
	padding-block: 32px;
	padding-bottom: 8px;
	font-size: 0.95rem;
	position: relative;
  }

  footer::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: #eee;
	width: 100vw;
	margin-left: calc(-50vw + 50%);
	margin-right: calc(-50vw + 50%);
  }
  
  a {
	color: inherit;
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
  }
  
  .lead { font-size: 1.05rem; }

  /* Carousel Styles */
  .carousel {
    position: relative;
    width: 100%;
    height: 620px;
    overflow: hidden;
    border-radius: var(--radius);
  }

  .carousel-container {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
  }

  .carousel-slide {
    width: 33.333%;
    height: 100%;
    flex-shrink: 0;
  }

  .carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #f8f8f8;
  }

  .carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
  }

  .carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(100, 100, 100, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .carousel-indicator.active {
    background: #333;
    border-color: #fff;
  }

  .carousel-indicator:hover {
    background: rgba(50, 50, 50, 0.8);
    border-color: rgba(255, 255, 255, 0.9);
  }

  /* Video Styles */
  video {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    object-fit: cover;
    max-height: 620px;
  }

  /* Card Components */
  .card {
    padding: 24px;
    border-radius: var(--radius);
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  }

  .card-primary {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: #1e293b;
    border-left: 4px solid #3b82f6;
  }

  .card-primary h2,
  .card-primary h3 {
    color: #1e293b;
    margin-top: 0;
  }

  .card-primary p {
    color: #475569;
  }

  .card-secondary {
    background: linear-gradient(135deg, #fef7f0 0%, #fed7aa 100%);
    color: #7c2d12;
    border-left: 4px solid #ea580c;
  }

  .card-secondary h2,
  .card-secondary h3 {
    color: #7c2d12;
    margin-top: 0;
  }

  .card-secondary p {
    color: #9a3412;
  }

  .card-secondary ul {
    color: #9a3412;
  }

  .card-secondary li {
    color: #9a3412;
  }

  .card-secondary b {
    color: #7c2d12;
  }
  