
/* --- Matt Photo Grid Section --- */
.matt-photo-grid-section {
  max-width: 700px;
  margin: 64px auto 0 auto;
  padding: 32px 0 0 0;
  text-align: center;
}
.matt-photo-grid-title {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  color: var(--accent-dark);
  margin-bottom: 24px;
}
.matt-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 18px;
  justify-items: center;
  align-items: center;
  max-width: 500px;
  margin: 0 auto;
}
.matt-photo-grid img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(201,150,92,0.13);
  border: 3px solid var(--accent);
  background: #fff;
  transition: transform 0.18s;
}
.matt-photo-grid img:hover {
  transform: scale(1.04) rotate(-1deg);
  box-shadow: 0 8px 32px rgba(201,150,92,0.18);
}
/* --- Matt Easter Egg Styles --- */
.matt-easter-egg {
  position: absolute;
  z-index: 10;
  pointer-events: auto;
  transition: transform 0.2s, opacity 0.2s;
}

/* Tiny Matt in nav (top left, very small) */
.matt-nav {
  top: 18px;
  left: 12px;
  width: 28px;
  height: 28px;
  opacity: 0.7;
  border-radius: 50%;
  border: 2px solid var(--accent);
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

/* Matt peeking from hero bottom right */
.matt-hero-peek {
  bottom: -18px;
  right: 24px;
  width: 64px;
  height: 64px;
  opacity: 0.85;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}

/* Matt badge on Toyota card (bottom right, small) */
.matt-toyota-badge {
  position: absolute;
  bottom: 12px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--accent-dark);
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Matt as a dog treat (hidden until hover) */
.matt-dog-treat {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%) scale(0.7);
  opacity: 0.2;
  transition: opacity 0.3s, transform 0.3s;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
.interest-card:hover .matt-dog-treat {
  opacity: 1;
  transform: translateX(-50%) scale(1.1) rotate(-10deg);
}

/* Ensure parent cards are positioned for absolute children */
.interest-card, .card {
  position: relative;
}
:root {
  color-scheme: light;
  --bg: #f5f3f0;
  --bg-dark: #141517;
  --text: #1e1f23;
  --muted: #666b73;
  --accent: #c9965c;
  --accent-dark: #7a5a34;
  --card: #ffffff;
  --card-dark: #1f2025;
  --line: rgba(30, 31, 35, 0.1);
  --radius-lg: 32px;
  --radius-md: 20px;
  --shadow: 0 24px 60px rgba(18, 20, 25, 0.15);
}

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

body {
  font-family: "Manrope", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 48px;
}

.hero {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(245, 243, 240, 0.6)),
    url("https://images.unsplash.com/photo-1452626038306-9aae5e071dd3?auto=format&fit=crop&w=1950&q=80")
      center/cover;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 64px;
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 24px;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.nav a {
  text-decoration: none;
  color: var(--text);
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.nav a:hover {
  opacity: 1;
}

.hero-content {
  max-width: 600px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.75rem;
  color: var(--accent-dark);
  margin-bottom: 16px;
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 32px;
}

.hero-quote {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  color: var(--accent-dark);
  margin-bottom: 28px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.meta-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-dark);
}

.meta-value {
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

button {
  border: none;
  padding: 12px 24px;
  border-radius: 999px;
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(30, 31, 35, 0.15);
}

.primary {
  background: var(--text);
  color: white;
}

.ghost {
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
  border: 1px solid rgba(30, 31, 35, 0.15);
}

.section {
  padding: 80px 16px 40px;
}

.section-heading {
  margin-bottom: 40px;
}

.section-heading h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 3rem);
}

.quote {
  margin: 24px 0 32px;
  padding: 20px 24px;
  border-left: 4px solid var(--accent);
  background: rgba(201, 150, 92, 0.12);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text);
}

.story-grid,
.interest-grid {
  display: grid;
  gap: 24px;
}

.story-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--card);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(30, 31, 35, 0.08);
}

.card h3 {
  margin-bottom: 12px;
}

.dark {
  background: var(--bg-dark);
  color: #f5f5f5;
  border-radius: var(--radius-lg);
  padding: 80px 32px;
}

.dark .eyebrow {
  color: rgba(201, 150, 92, 0.9);
}

.interest-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.interest-card {
  background: var(--card-dark);
  padding: 28px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.life-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  align-items: center;
}

.life-copy h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 16px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.tags span {
  background: rgba(201, 150, 92, 0.15);
  color: var(--accent-dark);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
}

.life-panel {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}

.panel-block {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.panel-block:last-child {
  border-bottom: none;
}

.panel-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.panel-value {
  font-weight: 600;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  padding: 40px 16px 0;
  border-top: 1px solid var(--line);
  margin-top: 40px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
}

@media (max-width: 768px) {
  .hero {
    padding: 24px;
  }

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

  .nav-links {
    flex-wrap: wrap;
    gap: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .dark {
    padding: 60px 24px;
  }
}
