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

body {
  font-family: system-ui, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fffbf0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
header {
  background: #ff6b35;
  color: #fff;
  padding: 1.25rem 2rem;
  text-align: center;
}

.header-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.header-title h1 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.header-emoji {
  font-size: 1.8rem;
}

nav {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

nav a:hover {
  color: #fff;
}

/* Main */
main {
  flex: 1;
  max-width: 900px;
  width: 100%;
  margin: 2.5rem auto;
  padding: 0 1.5rem;
}

/* Intro Section */
.intro {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.intro h2 {
  font-size: 1.9rem;
  color: #ff6b35;
  margin-bottom: 1rem;
}

.intro-lead {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 2rem;
  max-width: 680px;
}

/* Fact Grid */
.fact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.fact-card {
  background: #fff8f0;
  border: 2px solid #ffe0c8;
  border-radius: 12px;
  padding: 1.25rem;
  transition: transform 0.15s, box-shadow 0.15s;
}

.fact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(255, 107, 53, 0.15);
}

.fact-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.fact-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #cc4a1a;
  margin-bottom: 0.4rem;
}

.fact-card p {
  font-size: 0.9rem;
  color: #555;
}

/* Fun Note */
.fun-note {
  background: #fff3cd;
  border-left: 5px solid #ffc107;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  color: #5a4000;
}

/* Active nav link */
.nav-active {
  color: #fff !important;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* About Page */
.about-hero {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  display: flex;
  gap: 2rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.about-avatar {
  font-size: 7rem;
  flex-shrink: 0;
  line-height: 1;
}

.about-hero-text h2 {
  font-size: 2.5rem;
  font-weight: 900;
  color: #ff6b35;
  margin-bottom: 0.25rem;
}

.about-title {
  font-size: 0.85rem;
  color: #aaa;
  margin-bottom: 1rem;
}

.hero-quote {
  background: #fff8f0;
  border-left: 4px solid #ff6b35;
  border-radius: 0 8px 8px 0;
  padding: 0.9rem 1.1rem;
  font-style: italic;
  color: #444;
  font-size: 1rem;
}

.hero-quote cite {
  display: block;
  font-size: 0.8rem;
  color: #999;
  margin-top: 0.4rem;
  font-style: normal;
}

.about-section {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ff6b35;
  margin-bottom: 1.5rem;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.75rem;
}

.stat-item {
  background: #fff8f0;
  border: 2px solid #ffe0c8;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #cc4a1a;
}

.stat-value {
  font-size: 0.92rem;
  color: #333;
}

/* Story Block */
.story-block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.97rem;
  color: #444;
  max-width: 720px;
}

.story-quote {
  font-size: 1.6rem;
  font-weight: 900;
  color: #ff6b35;
  text-align: center;
  padding: 1rem;
  background: #fff8f0;
  border-radius: 12px;
  font-style: italic;
}

/* Traits Grid */
.traits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.trait-card {
  background: #fff8f0;
  border: 2px solid #ffe0c8;
  border-radius: 12px;
  padding: 1.25rem;
  transition: transform 0.15s, box-shadow 0.15s;
}

.trait-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(255,107,53,0.15);
}

.trait-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.trait-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #cc4a1a;
  margin-bottom: 0.4rem;
}

.trait-card p {
  font-size: 0.88rem;
  color: #555;
}

/* Awards */
.awards-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.award-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: #fff8f0;
  border: 2px solid #ffe0c8;
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
}

.award-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.award-item strong {
  display: block;
  color: #cc4a1a;
  font-size: 0.97rem;
  margin-bottom: 0.25rem;
}

.award-item p {
  font-size: 0.88rem;
  color: #555;
  margin: 0;
}

/* Quotes */
.quotes-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.quote-card {
  background: #fff8f0;
  border-left: 5px solid #ff6b35;
  border-radius: 0 12px 12px 0;
  padding: 1.1rem 1.4rem;
  font-style: italic;
  color: #333;
  font-size: 1rem;
}

.quote-card cite {
  display: block;
  font-size: 0.8rem;
  color: #999;
  margin-top: 0.5rem;
  font-style: normal;
}

/* Fun Facts Page */
.facts-hero {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  margin-bottom: 1.5rem;
}

.facts-hero h2 {
  font-size: 1.9rem;
  color: #ff6b35;
  margin-bottom: 0.75rem;
}

.facts-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.full-fact-card {
  background: #fff;
  border-radius: 14px;
  padding: 1.75rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  transition: transform 0.15s, box-shadow 0.15s;
}

.full-fact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.12);
}

.full-fact-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: #ffe0c8;
  line-height: 1;
  flex-shrink: 0;
  width: 3rem;
  text-align: center;
}

.full-fact-body {
  flex: 1;
}

.full-fact-icon {
  font-size: 1.75rem;
  margin-bottom: 0.4rem;
}

.full-fact-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #cc4a1a;
  margin-bottom: 0.5rem;
}

.full-fact-body p {
  font-size: 0.93rem;
  color: #444;
}

/* Meet Foot Section */
.meet-foot {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  margin-top: 2rem;
}

.meet-foot-header {
  margin-bottom: 1.75rem;
}

.meet-foot-header h2 {
  font-size: 1.9rem;
  color: #ff6b35;
  margin-bottom: 0.4rem;
}

.meet-lead {
  font-size: 1.1rem;
  color: #555;
}

/* Profile Card */
.profile-card {
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
  background: #fff8f0;
  border: 2px solid #ffe0c8;
  border-radius: 14px;
  padding: 1.75rem;
  margin-bottom: 2rem;
}

.profile-avatar {
  font-size: 5rem;
  flex-shrink: 0;
  line-height: 1;
}

.profile-info h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #cc4a1a;
  margin-bottom: 0.2rem;
}

.profile-subtitle {
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 0.75rem;
}

.profile-info p {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 0.6rem;
}

/* Likes Grid */
.likes-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #cc4a1a;
  margin-bottom: 1rem;
}

.likes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.25rem;
}

.like-card {
  background: #fff8f0;
  border: 2px solid #ffe0c8;
  border-radius: 12px;
  padding: 1.25rem;
  transition: transform 0.15s, box-shadow 0.15s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.like-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(255, 107, 53, 0.15);
}

.like-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.like-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #cc4a1a;
  margin-bottom: 0.4rem;
}

.like-card p {
  font-size: 0.88rem;
  color: #555;
}

/* Gallery Page */
.gallery-hero {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  margin-bottom: 1.5rem;
}

.gallery-hero h2 {
  font-size: 1.9rem;
  color: #ff6b35;
  margin-bottom: 0.75rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.gallery-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s, box-shadow 0.15s;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(255,107,53,0.15);
}

.gallery-img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #f5f0eb;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.5rem;
  transition: transform 0.3s;
}

.gallery-card:hover .gallery-img-wrap img {
  transform: scale(1.04);
}

.gallery-caption {
  padding: 1.1rem 1.25rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.gallery-caption h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #cc4a1a;
}

.gallery-caption p {
  font-size: 0.87rem;
  color: #555;
  flex: 1;
}

.gallery-credit {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: #888;
}

.gallery-credit a {
  color: #ff6b35;
  text-decoration: none;
}

.gallery-credit a:hover {
  text-decoration: underline;
}

.license-badge {
  background: #fff3cd;
  color: #7a5000;
  border-radius: 4px;
  padding: 0.15rem 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

.license-badge.license-pd {
  background: #d4edda;
  color: #155724;
}

.license-badge.license-ccsa {
  background: #d0e8ff;
  color: #0a4a80;
}

.gallery-note {
  background: #fff;
  border-radius: 12px;
  padding: 1rem 1.5rem;
  font-size: 0.87rem;
  color: #666;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-align: center;
}

.gallery-note a {
  color: #ff6b35;
  text-decoration: none;
}

.gallery-note a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  text-align: center;
  padding: 1.25rem;
  font-size: 0.85rem;
  color: #888;
  border-top: 1px solid #ffe0c8;
}
