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

:root {
  --cardinal: #9D1B34;
  --gold: #F0B323;
  --cardinal-dark: #7a1528;
  --cardinal-bright: #b82e49;
  --gold-bright: #f5c34d;
  --text-dark: #0a0a0a;
  --text-body: #364153;
  --text-muted: #4a5565;
  --cardinal-light-bg: #f9e8eb;
  --gold-light-bg: #fdf5e0;
  --gold-light-bg-alt: #fef3d6;
  --cardinal-border: #e6a0ad;
  --gold-border: #f5d580;
  --gold-border-alt: #f0c960;
  --max-width: 1152px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
}

/* ── Buttons ── */

.btn {
  display: inline-block;
  font-family: inherit;
  font-weight: 500;
  font-size: 18px;
  line-height: 28px;
  padding: 10px 32px;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  letter-spacing: -0.44px;
  transition: opacity 0.2s, transform 0.25s ease;
}

.btn:hover {
  opacity: 0.9;
  transform: scale(1.05);
}

.btn-gradient {
  background: linear-gradient(to right, var(--cardinal), var(--gold));
  color: #fff;
}

.btn-white {
  background: #fff;
  color: var(--cardinal);
}

/* ── Section header (centered) ── */

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: 48px;
  font-weight: 500;
  line-height: 48px;
  color: var(--text-dark);
  letter-spacing: 0.35px;
  margin-bottom: 24px;
}

.section-header p {
  font-size: 20px;
  line-height: 28px;
  color: var(--text-muted);
  max-width: 768px;
  margin: 0 auto;
  letter-spacing: -0.45px;
}

/* ═══════════════════════════════════
   1. HERO
   ═══════════════════════════════════ */

.hero {
  background:
    linear-gradient(144deg, rgba(249,232,235,0.85) 0%, rgba(253,245,224,0.82) 35%, rgba(249,232,235,0.85) 65%, rgba(254,243,214,0.82) 100%),
    url('images/ahsDrawing.png') center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 80px 40px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(157, 27, 52, 0.04) 1.2px, transparent 1.2px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 80px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0,40 C360,80 720,0 1080,40 C1260,60 1380,50 1440,40 L1440,80 L0,80 Z' fill='%23ffffff'/%3E%3C/svg%3E") no-repeat bottom center;
  background-size: 100% 100%;
  pointer-events: none;
  z-index: 2;
}

.hero-inner {
  display: flex;
  align-items: center;
  max-width: 1248px;
  width: 100%;
  gap: 48px;
  position: relative;
  z-index: 1;
}

/* Floating decorative blobs */
.hero-decor {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
  z-index: 0;
}

.hero-decor--1 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, var(--cardinal) 0%, transparent 70%);
  opacity: 0.13;
  top: -80px;
  right: -60px;
  animation: hero-blob-1 14s ease-in-out infinite;
}

.hero-decor--2 {
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
  opacity: 0.18;
  bottom: -40px;
  left: -40px;
  animation: hero-blob-2 11s ease-in-out infinite;
}

.hero-decor--3 {
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, var(--cardinal-bright) 0%, transparent 70%);
  opacity: 0.10;
  top: 38%;
  left: 28%;
  animation: hero-blob-3 16s ease-in-out infinite;
}

.hero-decor--4 {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, var(--gold-bright) 0%, transparent 70%);
  opacity: 0.14;
  top: 15%;
  right: 25%;
  animation: hero-blob-4 13s ease-in-out infinite;
}

@keyframes hero-blob-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(-35px, 50px) scale(1.12); }
  66%      { transform: translate(25px, -25px) scale(0.92); }
}

@keyframes hero-blob-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(45px, -35px) scale(1.08); }
  66%      { transform: translate(-25px, 25px) scale(1.14); }
}

@keyframes hero-blob-3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(35px, 35px) scale(1.18); }
  66%      { transform: translate(-45px, -15px) scale(0.88); }
}

@keyframes hero-blob-4 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(-20px, 30px) scale(1.1); }
  66%      { transform: translate(30px, -40px) scale(0.95); }
}

.hero-text {
  flex: 0 0 48%;
}

.hero-text h1 {
  font-size: 72px;
  font-weight: 500;
  line-height: 72px;
  color: #101828;
  letter-spacing: 0.12px;
  margin-bottom: 40px;
}

.hero-subtitle {
  font-size: 24px;
  line-height: 32px;
  color: var(--text-body);
  letter-spacing: 0.07px;
  margin-top: 28px;
}

.hero-image-wrapper {
  flex: 0 0 48%;
  position: relative;
  height: 800px;
}

.hero-image-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(127deg, var(--cardinal) 0%, var(--gold) 100%);
  border-radius: 16px;
  transform: rotate(3deg);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* ── Hero falling hearts ── */

.hero {
  position: relative;
}

.hero-heart {
  position: absolute;
  top: -40px;
  pointer-events: none;
  opacity: 0;
  animation: heart-fall linear forwards;
}

@keyframes heart-fall {
  0%   { opacity: 0; transform: translateY(0) rotate(0deg) scale(1); }
  10%  { opacity: 0.85; }
  90%  { opacity: 0.6; }
  100% { opacity: 0; transform: translateY(110vh) rotate(45deg) scale(0.6); }
}

/* ═══════════════════════════════════
   2. ABOUT ME
   ═══════════════════════════════════ */

.about {
  background: linear-gradient(to bottom, #fff, #f9e8eb);
  padding: 80px 40px;
}

.about .section-header,
.about .about-cards {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.about-card {
  background: #fff;
  border: 2px solid;
  border-radius: 14px;
  padding: 34px 24px;
  text-align: center;
  transition: transform 0.25s ease;
}

.about-card:hover {
  transform: scale(1.05);
}

.about-card--blue  { border-color: var(--cardinal-border); }
.about-card--purple { border-color: var(--gold-border); }
.about-card--pink  { border-color: var(--gold-border-alt); }

.about-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.about-card-icon img {
  width: 32px;
  height: 32px;
}

.about-card-icon--blue   { background: var(--cardinal-light-bg); }
.about-card-icon--purple { background: var(--gold-light-bg); }
.about-card-icon--pink   { background: var(--gold-light-bg-alt); }

.about-card h3 {
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  color: var(--text-dark);
  margin-bottom: 12px;
  letter-spacing: -0.45px;
}

.about-card p {
  font-size: 16px;
  line-height: 24px;
  color: var(--text-muted);
  letter-spacing: -0.31px;
}

/* ═══════════════════════════════════
   3. WHAT DRIVES ME
   ═══════════════════════════════════ */

.drives {
  background: #fff;
  padding: 80px 40px;
}

.drives .section-header,
.drives .drives-grid {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.drives-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.drives-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  height: 420px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
              0 4px 6px -4px rgba(0, 0, 0, 0.1);
  transition: transform 0.25s ease;
}

.drives-card:hover {
  transform: scale(1.05);
}

.drives-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.drives-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
  display: flex;
  align-items: flex-end;
}

.drives-card-content {
  padding: 24px;
}

.drives-card-content h3 {
  font-size: 24px;
  font-weight: 500;
  line-height: 32px;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: 0.07px;
}

.drives-card-content p {
  font-size: 16px;
  line-height: 24px;
  color: #e5e7eb;
  letter-spacing: -0.31px;
}

/* ═══════════════════════════════════
   4. MY ARCADIA STORY
   ═══════════════════════════════════ */

.story {
  background: linear-gradient(152deg, #f9e8eb 0%, #fdf5e0 50%, #fef3d6 100%);
  padding: 80px 40px;
}

.story-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.story-text {
  flex: 1;
}

.story-text h2 {
  font-size: 48px;
  font-weight: 500;
  line-height: 48px;
  color: var(--text-dark);
  letter-spacing: 0.35px;
  margin-bottom: 24px;
}

.story-text p {
  font-size: 18px;
  line-height: 28px;
  color: var(--text-body);
  letter-spacing: -0.44px;
  margin-bottom: 16px;
}

.story-image {
  flex: 0 0 48%;
  margin-top: 20px;
}

.story-image img {
  width: 100%;
  height: 368px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* ═══════════════════════════════════
   5. COMPETITIVE SPIRIT
   ═══════════════════════════════════ */

.spirit {
  background: linear-gradient(to bottom, rgba(255,255,255,0.92), rgba(249,250,251,0.92)),
              url('images/arcadiaLogo.png') center center / contain no-repeat;
  padding: 80px 40px;
}

.spirit .section-header,
.spirit-body,
.spirit-cards,
.spirit-quote {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.spirit-body {
  max-width: 896px;
  text-align: center;
  margin-bottom: 48px;
}

.spirit-body p {
  font-size: 18px;
  line-height: 29.25px;
  color: var(--text-body);
  letter-spacing: -0.44px;
  margin-bottom: 24px;
}

.spirit-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.spirit-card {
  border-radius: 14px;
  padding: 34px 24px;
  text-align: center;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1),
              0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.25s ease;
}

.spirit-card:hover {
  transform: scale(1.05);
}

.spirit-card--blue {
  background: linear-gradient(146deg, #f9e8eb 0%, #f2cdd4 100%);
}

.spirit-card--purple {
  background: linear-gradient(146deg, #fdf5e0 0%, #faecc0 100%);
}

.spirit-card--pink {
  background: linear-gradient(146deg, #fef3d6 0%, #fbe8b5 100%);
}

.spirit-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.spirit-card-icon img {
  width: 32px;
  height: 32px;
}

.spirit-card-icon--blue   { background: var(--cardinal-bright); }
.spirit-card-icon--purple { background: var(--gold); }
.spirit-card-icon--pink   { background: var(--gold-bright); }

.spirit-card h3 {
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  color: var(--text-dark);
  margin-bottom: 12px;
  letter-spacing: -0.45px;
}

.spirit-card p {
  font-size: 16px;
  line-height: 24px;
  color: var(--text-body);
  letter-spacing: -0.31px;
}

.spirit-quote {
  background: linear-gradient(to right, var(--cardinal), var(--cardinal-dark));
  border-radius: 10px;
  padding: 32px;
  text-align: center;
}

.spirit-quote-text {
  font-size: 24px;
  line-height: 32px;
  color: #fff;
  letter-spacing: 0.07px;
  margin-bottom: 16px;
}

.spirit-quote-sub {
  font-size: 18px;
  line-height: 28px;
  color: var(--gold-light-bg);
  letter-spacing: -0.44px;
}

/* ═══════════════════════════════════
   6. CALL TO ACTION
   ═══════════════════════════════════ */

.cta {
  background: linear-gradient(152deg, var(--cardinal-dark) 0%, var(--cardinal) 50%, #7a1528 100%);
  padding: 80px 40px;
}

.cta-inner {
  max-width: 896px;
  margin: 0 auto;
  text-align: center;
}

.cta-inner h2 {
  font-size: 48px;
  font-weight: 500;
  line-height: 48px;
  color: #fff;
  letter-spacing: 0.35px;
  margin-bottom: 24px;
}

.cta-subtitle {
  font-size: 20px;
  line-height: 28px;
  color: var(--gold-light-bg);
  letter-spacing: -0.45px;
  margin-bottom: 48px;
}

.cta-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.cta-card {
  display: block;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 24px;
  text-align: center;
  transition: transform 0.25s ease;
  color: inherit;
}

.cta-card:hover {
  transform: scale(1.05);
}

.cta-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.cta-card-icon img {
  width: 24px;
  height: 24px;
}

.cta-card-icon--blue   { background: var(--cardinal-bright); }
.cta-card-icon--purple { background: var(--gold); }
.cta-card-icon--pink   { background: var(--gold-bright); }

.cta-card h3 {
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  color: #fff;
  letter-spacing: -0.45px;
  margin-bottom: 8px;
}

.cta-card p {
  font-size: 16px;
  line-height: 24px;
  color: var(--gold-light-bg);
  letter-spacing: -0.31px;
}

.cta-card--spread {
}

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 16px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 20px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  line-height: 1;
}

.share-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.06);
}

.share-btn--sms  { border-color: #34d399; color: #34d399; }
.share-btn--ig   { border-color: #e879a8; color: #e879a8; }
.share-btn--snap { border-color: #facc15; color: #facc15; }
.share-btn--copy { border-color: rgba(255,255,255,0.5); }

.cta .btn-white {
  margin-bottom: 32px;
}

.cta-footer {
  font-size: 16px;
  line-height: 24px;
  color: var(--gold-border);
  letter-spacing: -0.31px;
}

/* ═══════════════════════════════════
   7. FOOTER
   ═══════════════════════════════════ */

.site-footer {
  background: var(--cardinal-dark);
  padding: 24px 40px;
  text-align: center;
}

.site-footer p {
  font-size: 14px;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: -0.2px;
}

/* ═══════════════════════════════════
   8. 3D SCROLL ANIMATIONS
   ═══════════════════════════════════ */

.hero {
  perspective: 1200px;
  transform-style: preserve-3d;
}

.hero-text,
.hero-image-wrapper {
  will-change: transform, opacity;
  transform-style: preserve-3d;
}

.scroll-3d-card {
  opacity: 0;
  transform: perspective(900px) rotateX(-12deg) rotateY(4deg) translateZ(-80px) translateY(40px);
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1),
              opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: transform, opacity;
}

.scroll-3d-card--visible {
  opacity: 1;
  transform: perspective(900px) rotateX(0deg) rotateY(0deg) translateZ(0px) translateY(0px);
}

.scroll-3d-card--visible:hover {
  transform: perspective(900px) scale(1.05);
}

.drives-card {
  will-change: transform, opacity;
  transform-style: preserve-3d;
}

.story-text {
  will-change: transform, opacity;
}

.spirit-quote {
  will-change: transform, opacity;
  transform-origin: center bottom;
}

.spirit-body p {
  will-change: transform, opacity;
}

.section-header h2,
.section-header p {
  will-change: transform, opacity;
}

.cta h2,
.cta .cta-subtitle,
.cta .btn-white,
.cta .cta-footer {
  will-change: transform, opacity;
}

/* ═══════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════ */

@media (max-width: 1024px) {
  .hero-text h1 {
    font-size: 48px;
    line-height: 52px;
  }

  .hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    flex: none;
    width: 100%;
  }

  .hero-image-wrapper {
    flex: none;
    width: 100%;
    max-width: 500px;
    height: 600px;
  }

  .story-inner {
    flex-direction: column;
  }

  .story-image {
    flex: none;
    width: 100%;
  }

  .section-header h2 {
    font-size: 36px;
    line-height: 40px;
  }
}

@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 36px;
    line-height: 40px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-image-wrapper {
    height: 400px;
    max-width: 340px;
  }

  .about-cards,
  .spirit-cards,
  .cta-cards {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .drives-grid {
    grid-template-columns: 1fr;
  }

  .drives-card {
    height: 320px;
  }

  .section-header h2 {
    font-size: 28px;
    line-height: 32px;
  }

  .section-header p {
    font-size: 16px;
  }

  .spirit-body {
    padding: 0 16px;
  }

  .cta-inner h2 {
    font-size: 32px;
    line-height: 36px;
  }

  .story-text h2 {
    font-size: 32px;
    line-height: 36px;
  }
}
