    @import "./services/banner.css";

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

    html, body {
      height: 100%;
      font-family: 'Inter', sans-serif;
      background: white;
      color: #2c3e50;
      line-height: 1.6;
    }

    .header {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid #e1e8ed;
      padding: 1rem 2rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      z-index: 100;
      width: 100%;
    }

    .logo-container {
      display: flex;
      align-items: center;
      gap: 0.25rem;
    }

    .logo {
      transform: translateY(2px);
      width: 28px;
      height: 28px;
      filter: url(#logo-tint);
    }

    .header-right {
      display: flex;
      align-items: center;
      gap: 1.5rem;
    }

    .site-name {
      font-family: 'Playfair Display', serif;
      font-size: 1.5rem;
      font-weight: 600;
      color: #2c3e50;
      text-decoration: none;
    }

    .site-name:hover {
      color: #3498db;
    }

    .lucky-button {
      background: #f8f9fa;
      border: 1px solid #dee2e6;
      border-radius: 24px;
      padding: 0.5rem 1.25rem;
      font-family: 'Inter', sans-serif;
      font-size: 0.9rem;
      color: #495057;
      cursor: pointer;
      transition: all 0.2s ease;
      text-decoration: none;
      display: inline-block;
    }

    .lucky-button:hover {
      background: #e9ecef;
      border-color: #adb5bd;
      color: #212529;
    }

    .nav-links {
      display: flex;
      gap: 1.5rem;
    }

    .nav-link {
      color: #666;
      text-decoration: none;
      font-size: 0.95rem;
      transition: color 0.2s ease;
    }

    .nav-link:hover {
      color: #3498db;
    }

    .services-banner {
      border-radius: 18px;
      border: 1px solid rgba(25, 25, 25, 0.12);
      box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
    }

    .services-banner__inner {
      padding: 1rem 1.5rem;
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 2rem;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      padding-top: 6rem;
      gap: 3rem;
    }

    h1 {
      font-family: 'Playfair Display', serif;
      font-size: clamp(2.6rem, 5vw, 3.8rem);
      color: #2c3e50;
      text-align: center;
      margin-bottom: 0.75rem;
      font-weight: 700;
      letter-spacing: -0.6px;
    }

    h1 .h1-line1 {
      display: block;
      line-height: 1.3;
    }
    h1 .h1-line2 {
      display: block;
      font-size: 0.5em;
      font-weight: 600;
      margin-top: 0.60rem;
      margin-bottom: 0rem;
      color: #5d6b7f;
    }

    .subtitle {
      font-size: clamp(1.05rem, 2vw, 1.25rem);
      color: #566577;
      text-align: center;
      margin-bottom: 3rem;
      font-weight: 400;
      max-width: 600px;
      line-height: 1.7;
    }

    .subtitle-rotator {
      display: inline-block;
      position: relative;
      padding: 0.1rem 0.35rem;
      border-radius: 6px;
      background: linear-gradient(120deg, rgba(74, 144, 226, 0.18), rgba(74, 144, 226, 0));
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      white-space: nowrap;
      transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
      transform: translateY(0);
      opacity: 1;
    }

    .subtitle-rotator.subtitle-rotator--fade-out {
      opacity: 0;
      transform: translateY(14px);
    }

    .subtitle-rotator.subtitle-rotator--fade-in {
      opacity: 1;
      transform: translateY(0);
    }

    .hero {
      width: 100%;
      background: linear-gradient(135deg, #f4f7fc 0%, #eef2ff 46%, #ffffff 100%);
      border-radius: 36px;
      border: 1px solid rgba(47, 76, 113, 0.12);
      padding: clamp(2.25rem, 6vw, 4rem);
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: clamp(2rem, 4vw, 3rem);
      align-items: start;
      position: relative;
      box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
      overflow: visible;
    }

    .hero::after {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: inherit;
      background: radial-gradient(360px circle at 85% -15%, rgba(52, 152, 219, 0.18), rgba(52, 152, 219, 0) 70%);
      pointer-events: none;
      z-index: 0;
    }

    .hero-content,
    .hero-search {
      position: relative;
      z-index: 1;
      display: flex;
      flex-direction: column;
      /* gap: clamp(1.05rem, 2.5vw, 1.6rem); */
      align-items: flex-start;
      width: 100%;
    }

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

    .hero-badge {
      display: inline-block;
      font-size: 0.65rem;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: #2f4c71;
      background: rgba(47, 76, 113, 0.12);
      border-radius: 999px;
      padding: 0 1.1rem;
      padding-top: 0.075em;
      height: 3.2em;
      line-height: 3.2em;
      white-space: nowrap;
      position: relative;
    }

    .hero-badge::before {
      content: '';
      display: inline-block;
      width: 0.5rem;
      height: 0.5rem;
      border-radius: 50%;
      background: rgba(47, 76, 113, 0.7);
      margin-right: 0.5rem;
      vertical-align: middle;
      transform: translateY(-0.075em);
    }

    .hero h1 {
      color: #1f2d3d;
      text-align: left;
      margin-bottom: 0.15rem;
      margin-top: 0.3rem
    }

    .hero h1 .h1-line2 {
      color: rgba(31, 45, 61, 0.75);
      letter-spacing: 0.045em;
    }

    .hero .subtitle {
      text-align: left;
      margin-bottom: 0;
      color: #42536a;
      margin-top: 0.15rem;
    }

    .hero-pill-row {
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem;
      list-style: none;
      margin: 0;
      padding: 0;
    }

    .hero-pill {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      padding: 0.45rem 0.9rem;
      background: rgba(255, 255, 255, 0.7);
      border: 1px solid rgba(47, 76, 113, 0.18);
      border-radius: 999px;
      font-size: 0.85rem;
      font-weight: 600;
      color: #2f4c71;
      backdrop-filter: blur(6px);
    }

    .hero-search-card {
      background: #ffffff;
      border-radius: 24px;
      padding: clamp(1.5rem, 3vw, 2rem);
      box-shadow: 0 16px 45px rgba(42, 81, 126, 0.14);
      border: 1px solid rgba(42, 81, 126, 0.06);
      display: flex;
      flex-direction: column;
      gap: 1.25rem;
      max-width: 420px;
      width: 100%;
      position: relative;
      z-index: 1;
    }

    .hero-search-eyebrow {
      font-size: 0.85rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: #5d6b7f;
    }

    .search-hint {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 0.5rem;
      font-size: 0.85rem;
      color: #5d6b7f;
      line-height: 1.5;
    }

    .search-hint-label {
      font-weight: 600;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      font-size: 0.78rem;
      color: rgba(31, 45, 61, 0.65);
    }

    .search-hint-chip {
      display: inline-flex;
      align-items: center;
      padding: 0.35rem 0.75rem;
      border-radius: 999px;
      background: rgba(47, 76, 113, 0.1);
      color: #2f4c71;
      font-weight: 600;
      font-size: 0.8rem;
    }

    .hero-footnote {
      width: 100%;
      max-width: 820px;
      color: #5b6b7f;
      font-size: 0.95rem;
      line-height: 1.6;
      text-align: left;
      padding-left: 0.5rem;
      padding-right: 0.5rem;
    }

    .search-container {
      width: 100%;
      max-width: none;
      margin: 0;
      padding: 0;
      position: relative;
    }

    .feed-loading {
      grid-column: 1 / -1;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 1.75rem;
      margin: 0;
      padding: 0;
      transition: opacity 0.2s ease;
    }

    .feed-loading--hidden {
      display: none;
    }

    .feed-loading-card {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 0.85rem;
      padding: 1.5rem;
      border-radius: 18px;
      background: #ffffff;
      box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
      overflow: hidden;
      position: relative;
      min-height: 0;
      grid-row: span 22;
    }

    .feed-loading-thumb {
      width: 100%;
      height: 170px;
      border-radius: 14px;
    }

    .feed-loading-line {
      width: 70%;
      height: 0.75rem;
      border-radius: 999px;
    }

    .feed-loading-line--meta {
      width: 38%;
      height: 0.55rem;
      margin-top: 0.1rem;
    }

    .feed-loading-line--wide {
      width: 82%;
    }

    .feed-loading-line--medium {
      width: 58%;
    }

    .feed-loading-line--cta {
      width: 46%;
      height: 0.95rem;
      margin-top: auto;
    }

    .feed-loading-shimmer {
      position: relative;
      overflow: hidden;
      background: linear-gradient(135deg, #d7e3f3 0%, #eef3f8 100%);
    }

    .feed-loading-shimmer::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));
      transform: translateX(-100%);
      animation: feed-loading-shimmer 1.25s infinite;
      will-change: transform;
    }

    .feed-loading-card:nth-child(2) .feed-loading-shimmer::after {
      animation-delay: 0.18s;
    }

    .feed-loading-card:nth-child(3) .feed-loading-shimmer::after {
      animation-delay: 0.36s;
    }

    @keyframes feed-loading-shimmer {
      0% {
        transform: translateX(-100%);
      }
      100% {
        transform: translateX(100%);
      }
    }

    @media (max-width: 768px) {
      .feed-loading {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.55rem;
      }
      .feed-loading-card {
        padding: 1.05rem;
        border-radius: 14px;
        grid-row: span 18;
      }
      .feed-loading-thumb {
        height: 128px;
        border-radius: 10px;
      }
      .feed-loading-line {
        height: 0.65rem;
      }
      .feed-loading-line--meta {
        height: 0.5rem;
      }
      .feed-loading-line--cta {
        height: 0.78rem;
      }
      .feed-loading-card:nth-child(3) {
        display: none;
      }
    }

    @media (max-width: 900px) and (orientation: landscape) {
      .feed-loading {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.75rem;
      }
      .feed-loading-card:nth-child(3) {
        display: flex;
      }
    }
    @media (min-width: 769px) and (max-width: 1024px) {
      .feed-loading {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 1.35rem;
      }
      .feed-loading-card {
        grid-row: span 20;
      }
    }

    #pagefind-search {
      width: 100%;
    }

    #pagefind-search .pagefind-ui {
      font-family: 'Inter', sans-serif;
      width: 100%;
    }

    #pagefind-search .pagefind-ui__form {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      width: 100%;
      position: relative;
    }

    #pagefind-search .pagefind-ui__input-wrapper {
      flex: 1;
      display: flex;
      align-items: center;
      position: relative;
    }

    #pagefind-search .pagefind-ui__search-input {
      width: 100%;
      padding: 1rem 1.75rem;
      font-size: 1.08rem;
      border: 1.5px solid #d5deea;
      border-radius: 999px;
      outline: none;
      transition: all 0.3s ease;
      font-family: 'Inter', sans-serif;
      background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
      font-weight: 400;
      padding-left: 3rem;
    }

    #pagefind-search .pagefind-ui__search-icon {
      position: absolute;
      left: 1.4rem;
      top: calc(50% + 0.67px);
      transform: translateY(-50%);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 1.1rem;
      height: 1.1rem;
      color: #8ea6d3;
      opacity: 0.85;
      pointer-events: none;
    }

    #pagefind-search .pagefind-ui__search-icon svg {
      display: block;
      width: 100%;
      height: 100%;
      fill: currentColor;
    }

    #pagefind-search .pagefind-ui__search-input:focus {
      border-color: #4a90e2;
      box-shadow: 0 0 0 6px rgba(74, 144, 226, 0.15);
    }

    #pagefind-search .pagefind-ui__search-input::placeholder {
      color: #a9b9d4;
      opacity: 1;
    }

    #pagefind-search .pagefind-ui__search-input::-moz-placeholder {
      color: #a9b9d4;
      opacity: 1;
    }

    #pagefind-search .pagefind-ui__search-clear {
      background: transparent;
      border: none;
      font-size: 0.85rem;
      color: #495057;
      cursor: pointer;
      padding: 0 0.4rem;
      margin-right: 0.5rem;
      flex-shrink: 0;
    }

    #pagefind-search .pagefind-ui__search-clear.pagefind-ui__suppressed {
      display: none;
    }

    #pagefind-search .pagefind-ui__drawer {
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      margin-top: 0.75rem;
      background: white;
      border: 1px solid #e1e8ed;
      border-radius: 12px;
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
      max-height: 360px;
      overflow: hidden;
      z-index: 1000;
    }

    #pagefind-search .pagefind-ui__drawer[hidden] {
      display: none;
    }

    #pagefind-search .pagefind-ui__results {
      margin: 0;
      padding: 0;
      overflow-y: auto;
      max-height: 360px;
    }

    #pagefind-search .pagefind-ui__result {
      list-style: none;
      display: block;
      padding: 1rem 1.5rem;
      border-bottom: 1px solid #f5f5f5;
      cursor: pointer;
      transition: background-color 0.2s ease;
    }

    #pagefind-search .pagefind-ui__result:last-child {
      border-bottom: none;
    }

    #pagefind-search .pagefind-ui__result:hover {
      background-color: #f8f9fa;
    }

    #pagefind-search .pagefind-ui__result-link {
      text-decoration: none;
      color: inherit;
      display: block;
    }

    #pagefind-search .pagefind-ui__result-title {
      font-weight: 400;
      color: #64748b;
      margin-bottom: 0.25rem;
      font-size: 1.05rem;
    }

    #pagefind-search .pagefind-ui__result-title-book,
    #pagefind-search .pagefind-ui__result-title-author {
      font-weight: 700;
      color: #1e293b;
    }

    #pagefind-search .pagefind-ui__result-title-prefix,
    #pagefind-search .pagefind-ui__result-title-separator,
    #pagefind-search .pagefind-ui__result-title-suffix {
      color: #94a3b8;
    }

    #pagefind-search .pagefind-ui__result-excerpt {
      color: #666;
      font-size: 0.92rem;
      line-height: 1.45;
      margin-bottom: 0.25rem;
    }

    #pagefind-search .pagefind-ui__result-author {
      color: #5d6b7f;
      font-size: 0.9rem;
      margin-bottom: 0.3rem;
    }

    #pagefind-search .pagefind-ui__result-excerpt mark {
      background: rgba(52, 152, 219, 0.15);
      color: #2c3e50;
      border-radius: 4px;
      padding: 0 0.2em;
    }

    #pagefind-search .pagefind-ui__message {
      padding: 1rem 1.5rem;
      font-size: 0.92rem;
      color: #666;
    }

    #pagefind-search .pagefind-ui__message[hidden] {
      display: none;
    }

    .showcase-grid {
      width: 100%;
      max-width: 1400px;
      margin: 0 auto;
      padding: 1rem 1.5rem 3rem;
      display: grid;
      gap: 1.75rem;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      grid-auto-rows: 14px;
      grid-auto-flow: dense;
      align-items: start;
    }

    .showcase-card {
      display: flex;
      flex-direction: column;
      width: 100%;
      background: #ffffff;
      border-radius: 18px;
      box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
      overflow: hidden;
      position: relative;
      transition: transform 0.25s ease, box-shadow 0.25s ease;
      will-change: transform, box-shadow;
      break-inside: avoid;
    }

    .showcase-card:hover {
      transform: translate3d(0, -4px, 0);
      box-shadow: 0 22px 55px rgba(15, 23, 42, 0.12);
      z-index: 2;
    }

    .showcase-card .card-body {
      display: flex;
      flex-direction: column;
      padding: 1.5rem;
      gap: 0.85rem;
    }

    .card-meta-row {
      display: flex;
      align-items: baseline;
      flex-wrap: wrap;
      gap: 0.5rem;
    }

    .card-meta {
      font-size: 0.8rem;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: #6c7a89;
      font-weight: 600;
    }

    .genre-chip {
      display: inline-flex;
      align-items: center;
      gap: 0.2rem;
      padding: 0.15rem 0.5rem;
      border-radius: 999px;
      background: rgba(99, 102, 241, 0.12);
      color: #475569;
      font-size: 0.6rem;
      font-weight: 600;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      white-space: nowrap;
    }

    .card-title {
      font-family: 'Playfair Display', serif;
      font-size: 1.45rem;
      color: #1d2d44;
      line-height: 1.25;
    }

    .card-subtitle {
      font-size: 0.95rem;
      color: #6b7280;
      font-weight: 500;
    }

    .card-tagline {
      font-size: 0.95rem;
      color: #3b4856;
      line-height: 1.55;
      display: -webkit-box;
      -webkit-line-clamp: 5;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .book-cover-link {
      display: block;
      width: 100%;
      position: relative;
      overflow: hidden;
      flex-shrink: 0;
      background: #f1f5f9;
    }

    .book-card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .card-cta {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      padding: 0.55rem 1.05rem;
      background: #f0f6ff;
      color: #1d4ed8;
      border-radius: 999px;
      border: 0.5px solid rgba(29, 78, 216, 0.35);
      text-decoration: none;
      font-size: 0.9rem;
      font-weight: 600;
      transition: background 0.2s ease, color 0.2s ease;
    }

    .card-cta:hover {
      background: #1d4ed8;
      color: #ffffff;
    }

    .tagline-card {
      background: linear-gradient(160deg, #f7f9ff 0%, #eef6ff 100%);
      border: 0.5px solid rgba(59, 104, 204, 0.28);
      color: #1f2a44;
    }

    .tagline-card .card-body {
      padding: 2rem 2.25rem;
      gap: 1.1rem;
    }

    .tagline-card .tagline-text {
      font-family: 'Playfair Display', serif;
      font-size: 1.25rem;
      line-height: 1.5;
      font-weight: 500;
    }

    .tagline-card .tagline-source {
      font-size: 0.9rem;
      color: rgba(31, 42, 68, 0.75);
    }

    .tagline-card .card-cta {
      align-self: flex-start;
    }

    .blog-card {
      background: linear-gradient(150deg, #fff7ef 0%, #ffe9d6 100%);
      border: 0.5px solid rgba(59, 104, 204, 0.28);
      color: #46290a;
    }

    .blog-card .card-title {
      color: #3a1f08;
    }

    .blog-card .card-tagline {
      -webkit-line-clamp: 6;
    }

    .blog-card .card-cta {
      background: rgba(58, 31, 8, 0.12);
      color: #3a1f08;
      border-color: rgba(58, 31, 8, 0.25);
    }

    .blog-card .card-cta:hover {
      background: #3a1f08;
      color: #fff7ef;
      border-color: #3a1f08;
    }

    .blog-card .card-cta:focus-visible {
      outline: none;
      box-shadow: 0 0 0 3px rgba(58, 31, 8, 0.35);
    }

    .quote-card {
      background: linear-gradient(200deg, #f2f9ff 0%, #f8fbff 100%);
      border: 0.5px solid rgba(37, 83, 156, 0.22);
      color: #25354a;
      font-size: 1.05rem;
    }

    .quote-card .card-body {
      padding: 2.1rem 2.25rem;
      gap: 1.2rem;
    }

    .quote-card .quote-mark {
      font-size: 2.6rem;
      line-height: 0.6;
      color: rgba(37, 53, 74, 0.25);
    }

    .quote-card .quote-text {
      font-family: 'Playfair Display', serif;
      font-size: 1.2rem;
      line-height: 1.55;
    }

    .quote-card .quote-author {
      font-size: 0.9rem;
      color: rgba(37, 53, 74, 0.65);
      text-transform: uppercase;
      letter-spacing: 0.1em;
      font-weight: 600;
    }

    .stat-card {
      background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
      border: 0.5px solid rgba(148, 163, 184, 0.25);
      color: #f8fafc;
    }

    .stat-card .card-body {
      padding: 2.25rem;
      gap: 1rem;
    }

    .stat-card .stat-headline {
      font-family: 'Playfair Display', serif;
      font-size: 2rem;
      line-height: 1.25;
      letter-spacing: -0.01em;
    }

    .stat-card .stat-detail {
      font-size: 0.95rem;
      color: rgba(248, 250, 252, 0.75);
      line-height: 1.6;
    }

    .footer {
      background: #f8f9fa;
      border-top: 1px solid #e1e8ed;
      padding: 3rem 2rem 2rem;
      margin-top: 4rem;
      text-align: center;
    }

    .footer-content {
      max-width: 800px;
      margin: 0 auto;
    }

    .footer-links {
      display: flex;
      justify-content: center;
      gap: 2rem;
      margin-bottom: 2rem;
      flex-wrap: wrap;
    }

    .footer-link {
      color: #666;
      text-decoration: none;
      font-size: 0.95rem;
      transition: color 0.2s ease;
    }

    .footer-link:hover {
      color: #3498db;
    }

    .footer-email {
      color: #2c3e50;
      font-weight: 500;
      margin-bottom: 1rem;
    }

    .footer-copyright {
      color: #888;
      font-size: 0.85rem;
    }

    @media (max-width: 768px) {
      .header {
        padding: 0.75rem 1rem;
      }

      .stat-card .stat-headline {
        font-size: 1.35rem;
      }

      .site-name {
        font-size: 1.25rem;
      }

      .logo {
        width: 28px;
        height: 28px;
      }

      .lucky-button {
        padding: 0.4rem 1rem;
        font-size: 0.85rem;
      }

      .nav-links {
        display: none;
      }

      .container {
        padding-top: 2.75rem;
        padding-left: 0.6rem;
        padding-right: 0.6rem;
        gap: 2.25rem;
      }

      .hero {
        padding: 2.25rem 1.4rem 2.05rem;
        border-radius: 0 0 28px 28px;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
        margin-left: -0.6rem;
        margin-right: -0.6rem;
        width: calc(100% + 1.2rem);
        align-items: flex-start;
        background: #ffffff;
        background-image: none;
      }

      .hero::after {
        content: none;
        width: 200px;
        height: 200px;
        top: -130px;
        right: -120px;
      }

      .hero h1,
      .hero .subtitle,
      h1,
      .subtitle {
        text-align: left;
      }

      .hero-content,
      .hero-search {
        align-items: flex-start;
        gap: 0.3rem;
      }

      .hero-search {
        margin: 0 -0.85rem;
        width: calc(100% + 1.7rem);
      }

      .hero {
        padding-bottom: 0.85rem;
      }

      .hero-pill-row {
        justify-content: flex-start;
        gap: 0.6rem;
      }

      h1 {
        font-size: 2.2rem;
        margin-top: 0rem;
        text-align: left;
        margin-bottom: 0.1rem;
      }

      .hero-search-card {
        padding: 1.25rem;
        gap: 1rem;
      }

      .hero-search-eyebrow {
        text-align: left;
      }

      .search-hint {
        justify-content: flex-start;
      }

      .hero-footnote {
        text-align: left;
        padding-left: 0;
        padding-right: 0;
      }

      #pagefind-search .pagefind-ui__form {
        flex-direction: column;
        align-items: stretch;
        gap: 0.6rem;
      }

      #pagefind-search .pagefind-ui__search-input {
        padding: 1.1rem 1.35rem;
        padding-left: 2.8rem;
        font-size: 1.05rem;
        border: 1.5px solid #d5deea;
        background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
      }

      #pagefind-search .pagefind-ui__search-clear {
        align-self: flex-end;
        margin-right: 0;
        padding-right: 0.6rem;
      }

      .showcase-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.55rem;
        padding: 0.3rem 0.3rem 1.6rem;
      }

      .showcase-card {
        border-radius: 14px;
      }

      .showcase-card .card-body {
        padding: 1.05rem;
        gap: 0.6rem;
      }

      .tagline-card .card-body,
      .quote-card .card-body,
      .stat-card .card-body {
        padding: 1.05rem;
      }

      .tagline-card .tagline-text {
        font-size: 0.95rem;
        line-height: 1.38;
      }

      .tagline-card .tagline-source {
        font-size: 0.7rem;
      }

      .quote-card .card-body {
        padding: 0.95rem;
      }

      .quote-card .quote-text {
        font-size: 0.98rem;
        line-height: 1.45;
      }

      .quote-card .quote-mark {
        font-size: 2.1rem;
      }

      .quote-card .quote-author {
        font-size: 0.72rem;
      }

      .card-title {
        font-size: 1.05rem;
      }

      .card-subtitle,
      .card-tagline {
        font-size: 0.8rem;
      }

      .card-meta {
        font-size: 0.63rem;
        letter-spacing: 0.09em;
      }

      .card-cta {
        font-size: 0.78rem;
        padding: 0.38rem 0.8rem;
      }

      .footer {
        padding: 1.45rem 0.45rem 1.2rem;
      }

      .footer-links {
        gap: 1rem;
      }
    }

    @media (max-width: 900px) and (orientation: landscape) {
      .container {
        padding-top: 0;
      }
      .header {
        padding: 0.5rem 1.25rem;
      }
      .logo {
        width: 26px;
        height: 26px;
      }
      .site-name {
        font-size: 1.1rem;
      }
      .lucky-button {
        padding: 0.3rem 0.9rem;
        font-size: 0.8rem;
      }
      .hero {
        border-radius: 0 0 24px 24px;
        margin-left: -1.25rem;
        margin-right: -1.25rem;
        width: calc(100% + 2.5rem);
        padding: 4.4rem 1.6rem 2.3rem;
        box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
      }
      .hero::after {
        width: 260px;
        height: 260px;
        top: -140px;
        right: -160px;
      }
      .hero-content,
      .hero-search {
        align-items: flex-start;
      }
      .showcase-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.75rem;
        padding: 0.5rem 0.75rem 2rem;
      }
    }

    @media (min-width: 769px) and (max-width: 1024px) {
      .showcase-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 1.5rem;
      }
    }

    @media (min-width: 1025px) {
      .showcase-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      }
      .hero {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
      }
    }