@import url("./fonts.css");

/* ========================================================
   FOUNDERS.SO - CLEAN, SEMANTIC STYLESHEET
   100% Faithful to original Framer design & aesthetic.
   ======================================================== */

/* --- 0. Custom Font Declarations --- */
@font-face {
  font-family: "ABC Favorit Unlicensed Trial Regular";
  src: url("./images/favorit-regular.woff2") format("woff2"),
    url("./images/assets_KGndFbhWzbYP0b8da0Z39lGDCI.woff2.bin") format("woff2"),
    url("https://framerusercontent.com/assets/KGndFbhWzbYP0b8da0Z39lGDCI.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "ABC Favorit Unlicensed Trial Book";
  src: url("./images/favorit-book.woff2") format("woff2"),
    url("./images/assets_4IhH7DvI2IuZl7uC409hjVZzexg.woff2.bin") format("woff2"),
    url("https://framerusercontent.com/assets/4IhH7DvI2IuZl7uC409hjVZzexg.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 350;
}

@font-face {
  font-family: "ABC Favorit Unlicensed Trial Medium";
  src: url("./images/favorit-medium.woff2") format("woff2"),
    url("./images/assets_Cle4AFoUx0OcPUgFXaYSGfWTfUs.woff2.bin") format("woff2"),
    url("https://framerusercontent.com/assets/Cle4AFoUx0OcPUgFXaYSGfWTfUs.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 500;
}

@font-face {
  font-family: "ABC Favorit Unlicensed Trial Regular Placeholder";
  src: local("Arial");
  ascent-override: 91.85%;
  descent-override: 24.17%;
  line-gap-override: 0%;
  size-adjust: 103.42%;
}

/* --- 1. Framer Exact Color Tokens & Design System --- */
:root {
  /* Color Tokens — Light Mode */
  --token-bg: #ffffff;
  /* Main page background: white (fallback) */
  --token-text-white: #0c0c0c;
  /* Primary text: near-black */
  --token-text-headline: #0c0c0c;
  /* Headline text */
  --token-text-muted: rgba(0, 0, 0, 0.5);
  /* Muted / secondary text */
  --token-card-bg: rgba(0, 0, 0, 0.03);
  /* Light card background */
  --token-card-border: rgba(0, 0, 0, 0.08);
  /* Subtle card border */
  --token-card-border-hover: rgba(236, 89, 27, 0.35);
  /* Orange-tinted Card Hover Border */
  --token-btn-bg: #ec591b;
  /* Primary CTA: orange */
  --token-btn-text: #ffffff;
  /* Button Text: white on orange */
  --token-btn-border: rgba(236, 89, 27, 0.3);
  /* Orange Button Border */
  --token-accent: #ec591b;
  /* Brand accent: orange */
  --token-accent-glow: rgba(236, 89, 27, 0.18);
  --token-accent-glow-strong: rgba(236, 89, 27, 0.08);

  /* Typography */
  --framer-font-regular: "ABC Favorit Unlicensed Trial Regular", "ABC Favorit Unlicensed Trial Regular Placeholder", sans-serif;
  --framer-font-book: "ABC Favorit Unlicensed Trial Book", "ABC Favorit Unlicensed Trial Regular", sans-serif;
  --framer-font-medium: "ABC Favorit Unlicensed Trial Medium", "ABC Favorit Unlicensed Trial Medium Placeholder", sans-serif;
  --framer-font-family: var(--framer-font-regular);
  --font-primary: var(--framer-font-regular);
}

/* --- 2. CSS Reset & Box Sizing --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--token-bg);
  background-image: url("./images/HSB91j8oxH1UqU8rX2nkKahXM4Y.avif");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--token-text-white);
  font-family: var(--font-primary);
  font-size: 14px;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

/* --- 2. Background Color Overlay --- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-color: rgba(245, 239, 230, 0.45);
  pointer-events: none;
  z-index: 0;
}

body::after {
  display: none;
}

@keyframes ambientBreath {
  0% {
    transform: translateX(-50%) scale(0.96);
    opacity: 0.8;
  }

  50% {
    transform: translateX(-50%) scale(1.06);
    opacity: 1;
  }

  100% {
    transform: translateX(-50%) scale(0.96);
    opacity: 0.8;
  }
}

@keyframes auroraDrift {
  0% {
    transform: translateX(-52%) translateY(-10px) scale(0.97);
  }

  50% {
    transform: translateX(-48%) translateY(14px) scale(1.05);
  }

  100% {
    transform: translateX(-52%) translateY(-10px) scale(0.97);
  }
}

/* --- 3. Cursor Spotlight — removed --- */
.cursor-spotlight {
  display: none !important;
}

/* --- 4. Film Grain — removed --- */
.bg-grain {
  display: none;
}

/* Ensure interactive content layers above ambient backdrops */
.site-header,
main,
.site-footer {
  position: relative;
  z-index: 2;
}

/* --- 4. Reusable Layout Containers --- */
.container {
  width: 100%;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* --- 5. Header & Logo --- */
.site-header {
  padding-top: 48px;
  padding-bottom: 24px;
  text-align: center;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
  text-decoration: none;
}

.logo-link:hover {
  opacity: 0.8;
}

.logo-text {
  font-family: var(--framer-font-medium);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--token-text-headline);
  text-transform: uppercase;
  white-space: nowrap;
}

/* --- 4. Hero Section --- */
main {
  display: flex;
  flex-direction: column;
}

.hero-section {
  order: 1;
  padding-top: 48px;
  padding-bottom: 16px;
  text-align: center;
}

.hero-container {
  max-width: 1120px;
}

.hero-title {
  font-family: var(--framer-font-regular);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.05em;
  color: var(--token-text-headline);
  margin-bottom: 20px;
}

/* Typewriter blinking cursor — always visible */
.hero-title::after {
  content: "|";
  display: inline-block;
  color: var(--token-accent);
  margin-left: 2px;
  animation: cursorBlink 0.75s step-end infinite;
}

@keyframes cursorBlink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.hero-subtitle {
  font-family: var(--framer-font-book);
  font-size: clamp(17px, 1.8vw, 22px);
  font-weight: 350;
  line-height: 1.4;
  letter-spacing: -0.022em;
  color: #000000;
  opacity: 1;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}

.desktop-br {
  display: block;
}

/* --- 4.5. CTA Banner Section --- */
.cta-banner-section {
  font-family: var(--framer-font-family);
  order: 2;
  padding-top: 20px;
  padding-bottom: 40px;
}

.cta-banner-container {
  background-color: var(--token-card-bg);
  border: 1px solid var(--token-card-border);
  border-radius: 24px;
  padding: 48px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  width: calc(100% - 48px) !important;
  max-width: 992px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (max-width: 1024px) {
  .cta-banner-container {
    width: calc(100% - 40px) !important;
  }
}

@media (max-width: 600px) {
  .cta-banner-container {
    width: calc(100% - 32px) !important;
  }
}

@media (max-width: 480px) {
  .cta-banner-container {
    width: calc(100% - 28px) !important;
  }
}

.cta-gallery-wrapper {
  width: 100%;
  overflow: hidden;
  margin-bottom: 40px;
  margin-top: 0;
}

.cta-gallery {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: slideGallery 20s linear infinite;
  margin-bottom: 0;
}

@keyframes slideGallery {
  0% { transform: translateX(0); }
  100% { transform: translateX(-1220px); }
}

.cta-gallery-item {
  width: 220px;
  height: 140px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
}

.cta-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-subtitle {
  font-family: var(--framer-font-medium);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--token-text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  margin-bottom: 16px;
  line-height: 1.5;
}

.check-icon-small {
  width: 18px;
  height: 18px;
}

.cta-title {
  font-family: var(--framer-font-regular);
  font-size: 32px;
  color: var(--token-text-headline);
  margin-bottom: 24px;
  text-wrap: balance;
  line-height: 1.3;
  font-weight: 400;
}

.btn.btn-white {
  background-color: var(--token-btn-bg);
  color: var(--token-btn-text);
  padding: 16px 42px;
  font-size: 18px;
  border-radius: 8px;
  font-family: "ABC Favorit Unlicensed Trial Medium", "ABC Favorit Unlicensed Trial Medium Placeholder", sans-serif;
  font-weight: 400;
  text-decoration: none;
  display: inline-block;
  width: auto;
  margin-bottom: 28px;
  transition: all 0.2s ease;
  box-shadow: 0 0 24px rgba(236, 89, 27, 0.25), 0 2px 8px rgba(236, 89, 27, 0.15);
}

.btn.btn-white:hover {
  background-color: #d94f17;
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(236, 89, 27, 0.4), 0 4px 16px rgba(236, 89, 27, 0.25);
}

.cta-footnote {
  font-family: var(--framer-font-book);
  font-size: 16px;
  color: var(--token-text-muted);
  font-weight: 400;
}
/* --- Options Connector --- */
.options-header {
  text-align: center;
  margin-bottom: -15px;
}
.options-title {
  font-family: var(--framer-font-medium);
  font-size: clamp(32px, 5vw, 42px);
  color: var(--token-text-white);
  margin-bottom: 0;
  letter-spacing: -0.02em;
}
.options-connector-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}
.options-connector-img {
  width: calc(50% + 12px);
  height: auto;
  margin-top: -80px;
  margin-bottom: -60px;
  pointer-events: none;
  position: relative;
  z-index: 10;
}

@media (max-width: 600px) {
  .options-connector-img {
    width: 20px;
    height: 60px;
    object-fit: cover;
    object-position: top center;
    margin-top: -10px;
    margin-bottom: -10px;
  }
}

/* --- 5. Cards Section (3 Offerings Grid) --- */
.cards-section {
  order: 3;
  padding-top: 10px;
  padding-bottom: 70px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: stretch;
}

/* Individual Card */
.card {
  position: relative;
  background-color: var(--token-card-bg);
  border: 1px solid var(--token-card-border);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  animation: cardReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.card:nth-child(1) {
  animation: revealLeft 1.1s cubic-bezier(0.34, 1.4, 0.64, 1) 1.1s both;
}

.card:nth-child(2) {
  z-index: 2;
  /* Ensure middle card is above others while they slide out */
  animation: revealMiddle 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

.card:nth-child(3) {
  animation: revealRight 1.1s cubic-bezier(0.34, 1.4, 0.64, 1) 1.1s both;
}

@keyframes revealMiddle {
  from {
    opacity: 0;
    transform: translateY(60px) scale(0.9);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes revealLeft {
  from {
    opacity: 0;
    transform: translateX(calc(100% + 24px)) translateY(0) scale(0.88);
  }

  to {
    opacity: 1;
    transform: translateX(0) translateY(0) scale(1);
  }
}

@keyframes revealRight {
  from {
    opacity: 0;
    transform: translateX(calc(-100% - 24px)) translateY(0) scale(0.88);
  }

  to {
    opacity: 1;
    transform: translateX(0) translateY(0) scale(1);
  }
}

/* Hover: lift each card slightly from its resting position */
.card:hover {
  transform: translateY(-8px);
  border-color: var(--token-card-border-hover);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* Specular Border Glow from Mouse Proximity */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(320px circle at var(--mouse-x, -999px) var(--mouse-y, -999px),
      rgba(236, 89, 27, 0.45),
      transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover::before {
  opacity: 1;
}

/* Card Media (Banner Graphic) - EXACT SAME SIZE FOR ALL IMAGES */
.card-media {
  width: 100%;
  height: 180px;
  border-radius: 16px;
  overflow: hidden;
  background-color: #080808;
  margin-bottom: 24px;
  position: relative;
}

.card-banner {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* Card Content */
.card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-tag {
  font-family: var(--framer-font-medium);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--token-accent);
  opacity: 0.85;
  margin-bottom: 12px;
  display: block;
}

.card-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.card-title {
  font-family: var(--framer-font-medium);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.4;
  color: var(--token-text-white);
}

.check-icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  flex-shrink: 0;
}

.card-description {
  font-family: var(--framer-font-book);
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 350;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--token-text-white);
  opacity: 0.6;
  margin-bottom: 28px;
}

/* Card Footer & Button */
.card-footer {
  margin-top: auto;
}

.btn {
  display: block;
  width: 100%;
  text-align: center;
  font-family: var(--framer-font-medium);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-decoration: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid var(--token-btn-border);
}

.btn-primary {
  background-color: var(--token-btn-bg);
  color: var(--token-btn-text);
  padding: 13px 24px;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 24px rgba(236, 89, 27, 0.25), 0 2px 8px rgba(236, 89, 27, 0.15);
}

.btn-primary:hover {
  background-color: #d94f17;
  box-shadow: 0 0 36px rgba(236, 89, 27, 0.4), 0 4px 16px rgba(236, 89, 27, 0.25);
  transform: translateY(-1px);
}

.btn.disabled,
.btn[aria-disabled="true"] {
  background-color: #555 !important;
  color: #999 !important;
  border-color: #444 !important;
  box-shadow: none !important;
  pointer-events: none;
  cursor: not-allowed;
}

/* --- 6. Site Footer --- */
.site-footer {
  margin-top: 80px;
  border-top: 1px solid var(--token-card-border);
  padding-top: 60px;
  padding-bottom: 56px;
  background-color: transparent;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 28px;
  padding-bottom: 0;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  transition: opacity 0.2s ease;
  text-decoration: none;
}

.footer-logo-link:hover {
  opacity: 0.8;
}

.footer-logo-text {
  font-size: 18px;
  letter-spacing: 0.08em;
}

.footer-tagline {
  font-family: var(--framer-font-family);
  font-size: 13px;
  color: var(--token-text-muted);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-link {
  font-family: var(--framer-font-family);
  color: var(--token-text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--token-accent);
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.social-icon {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.social-link:hover .social-icon {
  transform: translateY(-1px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--token-card-border);
}

.footer-copyright {
  font-family: var(--framer-font-family);
  font-size: 13px;
  color: var(--token-text-muted);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-legal-link {
  font-family: var(--framer-font-family);
  color: var(--token-text-muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s ease;
}

.footer-legal-link:hover {
  color: var(--token-accent);
}

.footer-divider {
  color: var(--token-card-border);
  font-size: 10px;
}

/* --- 7. Entrance Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Cards fade in with opacity only — rotation is always preserved */
.card.card-visible {
  opacity: 1 !important;
}

/* =====================================================
   RESPONSIVE SYSTEM — All Screens
   Breakpoints:
   1440px+ → Large Desktop
   1280px  → Desktop / Laptop
   1024px  → iPad Landscape
   768px   → iPad Portrait
   600px   → Large Mobile / Small Tablet
   480px   → Mobile
   360px   → Small Mobile
   ===================================================== */

/* ── Large Desktop (1440px+) ── */
@media (min-width: 1440px) {
  .hero-title {
    font-size: 58px;
  }

  .hero-subtitle {
    font-size: 22px;
    max-width: 800px;
  }

  .cards-grid {
    gap: 32px;
  }

  .card {
    padding: 34px;
  }

  .card-media {
    height: 200px;
  }

  .card-title {
    font-size: 26px;
  }
}

/* ── Desktop / Laptop (max 1280px) ── */
@media (max-width: 1280px) {
  .hero-title {
    font-size: clamp(30px, 4.5vw, 48px);
  }

  .cards-grid {
    gap: 20px;
  }
}

/* ── iPad Landscape (max 1024px) ── */
@media (max-width: 1024px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-title {
    font-size: clamp(28px, 4vw, 42px);
  }

  .hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
  }

  .cards-grid {
    gap: 16px;
    padding-bottom: 30px;
  }

  /* Reset animations and transforms for iPad landscape */
  .card:nth-child(1),
  .card:nth-child(2),
  .card:nth-child(3) {
    transform: none;
    animation: none;
  }

  .card:nth-child(1):hover,
  .card:nth-child(2):hover,
  .card:nth-child(3):hover {
    transform: translateY(-6px);
  }

  .card-media {
    height: 165px;
  }

  .card-title {
    font-size: 22px;
  }

  .card-description {
    font-size: clamp(14px, 1.3vw, 18px);
  }

  .site-footer {
    margin-top: 60px;
    padding-top: 48px;
  }
}

/* ── iPad Portrait (max 768px) ── */
@media (max-width: 768px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .site-header {
    padding-top: 36px;
    padding-bottom: 16px;
  }

  .logo-text {
    font-size: 18px;
  }

  .hero-section {
    padding-top: 32px;
    padding-bottom: 12px;
  }

  .hero-container {
    max-width: 100%;
  }

  .hero-title {
    font-size: clamp(24px, 5vw, 36px);
    letter-spacing: -0.04em;
    margin-bottom: 16px;
  }

  .hero-subtitle {
    font-size: clamp(15px, 2.5vw, 18px);
    max-width: 100%;
  }

  .desktop-br {
    display: none;
  }

  /* 2-col grid — no fan */
  .cards-section {
    padding-top: 8px;
    padding-bottom: 40px;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    align-items: stretch;
    padding-bottom: 0;
  }

  .card:nth-child(1),
  .card:nth-child(2),
  .card:nth-child(3) {
    transform: none;
    animation: cardRevealFlat 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .card:nth-child(1) {
    animation-delay: 0.1s;
  }

  .card:nth-child(2) {
    animation-delay: 0.22s;
  }

  .card:nth-child(3) {
    animation-delay: 0.34s;
    grid-column: 1 / -1;
    max-width: 380px;
    margin: 0 auto;
    width: 100%;
  }

  .card:nth-child(1):hover,
  .card:nth-child(2):hover,
  .card:nth-child(3):hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    border-color: var(--token-card-border-hover);
  }

  .card {
    padding: 22px;
  }

  .card-media {
    height: 155px;
  }

  .card-title {
    font-size: 20px;
  }

  .card-description {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .btn {
    font-size: 16px;
    padding: 12px 20px;
  }

  /* Footer */
  .site-footer {
    margin-top: 56px;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding-bottom: 24px;
    text-align: center;
  }

  .footer-left {
    align-items: center;
  }

  .footer-right {
    align-items: center;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 14px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
}

/* ── Large Mobile / Small Tablet (max 600px) ── */
@media (max-width: 600px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-title {
    font-size: clamp(26px, 7vw, 38px);
  }

  .hero-subtitle {
    font-size: 15px;
  }

  /* Single column */
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .card:nth-child(3) {
    grid-column: auto;
    max-width: 100%;
    margin: 0;
  }

  .card-media {
    height: 155px;
  }
}

/* ── Mobile (max 480px) ── */
@media (max-width: 480px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .site-header {
    padding-top: 24px;
    padding-bottom: 12px;
  }

  .logo-text {
    font-size: 16px;
    letter-spacing: 0.06em;
  }

  .hero-section {
    padding-top: 20px;
    padding-bottom: 8px;
  }

  .hero-title {
    font-size: clamp(24px, 8vw, 34px);
    letter-spacing: -0.03em;
    margin-bottom: 12px;
  }

  .hero-subtitle {
    font-size: 14px;
    line-height: 1.55;
  }

  .cards-section {
    padding-top: 0;
    padding-bottom: 28px;
  }

  .cards-grid {
    gap: 12px;
  }

  .card {
    padding: 18px;
    border-radius: 12px;
  }

  .card-media {
    height: 140px;
    margin-bottom: 14px;
    border-radius: 10px;
  }

  .card-tag {
    font-size: 11px;
    margin-bottom: 8px;
  }

  .card-title {
    font-size: 19px;
  }

  .check-icon {
    width: 17px;
    height: 17px;
  }

  .card-description {
    font-size: 14px;
    line-height: 1.45;
    margin-bottom: 18px;
  }

  .btn {
    font-size: 14px;
    padding: 11px 16px;
    border-radius: 7px;
  }

  /* Footer */
  .site-footer {
    margin-top: 40px;
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .footer-logo-text {
    font-size: 15px;
  }

  .footer-tagline {
    font-size: 12px;
  }

  .footer-container {
    gap: 14px;
    padding-bottom: 20px;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
  }

  .footer-link {
    font-size: 13px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding-top: 16px;
  }

  .footer-copyright {
    font-size: 11px;
  }

  .footer-legal {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .footer-legal-link {
    font-size: 11px;
  }
}

/* ── Small Mobile (max 360px) ── */
@media (max-width: 360px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .logo-text {
    font-size: 14px;
  }

  .hero-title {
    font-size: 22px;
    letter-spacing: -0.025em;
  }

  .hero-subtitle {
    font-size: 13px;
  }

  .card {
    padding: 14px;
  }

  .card-media {
    height: 120px;
  }

  .card-title {
    font-size: 17px;
  }

  .card-description {
    font-size: 13px;
  }

  .btn {
    font-size: 13px;
    padding: 10px 14px;
  }
}

/* ── Reduced motion preference ── */
@media (prefers-reduced-motion: reduce) {

  .card:nth-child(1),
  .card:nth-child(2),
  .card:nth-child(3) {
    animation: none;
    opacity: 1;
  }

  .fade-in {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

/* ── Flat card reveal animation (tablet & mobile) ── */
@keyframes cardRevealFlat {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ── Softened fan reveal (iPad landscape) ── */
@keyframes cardRevealFan1 {
  from {
    opacity: 0;
    transform: rotate(-4deg) translateY(80px) scale(0.93);
  }

  to {
    opacity: 1;
    transform: rotate(-4deg) translateY(20px) scale(1);
  }
}

@keyframes cardRevealFan2 {
  from {
    opacity: 0;
    transform: rotate(0deg) translateY(60px) scale(0.93);
  }

  to {
    opacity: 1;
    transform: rotate(0deg) translateY(-12px) scale(1);
  }
}

@keyframes cardRevealFan3 {
  from {
    opacity: 0;
    transform: rotate(4deg) translateY(80px) scale(0.93);
  }

  to {
    opacity: 1;
    transform: rotate(4deg) translateY(20px) scale(1);
  }
}