/* =========================================
   DEMOS PAGE
   ========================================= */

   .demos-hero {
    padding: 92px 0 70px;
    border-bottom: 1px solid var(--line);
  }
  
  .demos-hero .wrap {
    max-width: 960px;
  }
  
  .demos-hero .eyebrow {
    margin-bottom: 18px;
  }
  
  .demos-hero h1 {
    font-size: clamp(42px, 6vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.035em;
    font-weight: 500;
    color: var(--ink);
  }
  
  .demos-hero p {
    max-width: 520px;
    margin-top: 22px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.6;
  }
  
  
  /* GRID */
  
  .demos-section {
    padding: 70px 0 110px;
  }
  
  .demos-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 52px 24px;
  }
  
  
  /* CARD */
  
  .demo-card {
    min-width: 0;
  }
  
  
  /* PREVIEW */
  
  .demo-preview {
    display: block;
    position: relative;
  
    overflow: hidden;
  
    border: 1px solid var(--line);
    border-radius: 12px;
  
    background: var(--bg-soft);
  
    text-decoration: none;
  
    box-shadow:
      0 1px 2px rgba(0, 0, 0, .02);
  
    transition:
      transform .3s ease,
      box-shadow .3s ease,
      border-color .3s ease;
  }
  
  .demo-preview:hover {
    transform: translateY(-5px);
  
    border-color: #d2d2d2;
  
    box-shadow:
      0 18px 45px rgba(0, 0, 0, .10);
  }
  
  
  /* BROWSER BAR */
  
  .browser-bar {
    height: 38px;
  
    display: grid;
    grid-template-columns: 70px 1fr 70px;
  
    align-items: center;
  
    padding: 0 12px;
  
    background: #fff;
    border-bottom: 1px solid var(--line);
  }
  
  
  /* dots */
  
  .browser-dots {
    display: flex;
    gap: 5px;
  }
  
  .browser-dots span {
    width: 6px;
    height: 6px;
  
    border-radius: 50%;
  
    background: #d8d8d8;
  }
  
  
  /* address */
  
  .browser-address {
    justify-self: center;
  
    min-width: 120px;
  
    padding: 4px 18px;
  
    border: 1px solid var(--line);
    border-radius: 999px;
  
    color: #999;
  
    font-family: 'JetBrains Mono', monospace;
    font-size: 8px;
  
    text-align: center;
  }
  
  
  /* open */
  
  .browser-open {
    justify-self: end;
  
    color: #999;
  
    font-size: 14px;
  
    transition:
      color .2s ease,
      transform .2s ease;
  }
  
  .demo-preview:hover .browser-open {
    color: var(--accent);
    transform: translate(2px, -2px);
  }
  
  
  /* IMAGE */
  
  .demo-image {
    position: relative;
  
    width: 100%;
  
    aspect-ratio: 16 / 10;
  
    overflow: hidden;
  
    background: #f7f7f7;
  }
  
  .demo-image img {
    display: block;
  
    width: 100% !important;
    height: 100%;
  
    object-fit: cover;
    object-position: top center;
  
    filter: grayscale(100%);
  
    transform: scale(1);
  
    transition:
      filter .5s ease,
      transform .6s cubic-bezier(.2, .7, .2, 1);
  }
  
  
  /* COLOR ON HOVER */
  
  .demo-preview:hover .demo-image img {
    filter: grayscale(0%);
  
    transform: scale(1.035);
  }
  
  
  /* HOVER OVERLAY */
  
  .demo-hover {
    position: absolute;
  
    inset: 38px 0 0;
  
    display: flex;
  
    align-items: center;
    justify-content: center;
  
    gap: 9px;
  
    background: rgba(0, 0, 0, .38);
  
    color: #fff;
  
    font-size: 13px;
    font-weight: 500;
  
    opacity: 0;
  
    transition:
      opacity .3s ease;
  }
  
  .demo-preview:hover .demo-hover {
    opacity: 1;
  }
  
  .demo-hover span:last-child {
    width: 25px;
    height: 25px;
  
    display: flex;
    align-items: center;
    justify-content: center;
  
    border-radius: 50%;
  
    background: #fff;
    color: #000;
  
    font-size: 12px;
  }
  
  
  /* INFO */
  
  .demo-info {
    display: flex;
  
    align-items: flex-end;
    justify-content: space-between;
  
    gap: 25px;
  
    padding: 20px 2px 0;
  }
  
  .demo-number {
    margin-bottom: 9px;
  
    color: var(--muted);
  
    font-size: 10px;
  }
  
  .demo-info h2 {
    margin: 0;
  
    color: var(--ink);
  
    font-size: 17px;
    line-height: 1.3;
    font-weight: 500;
  
    letter-spacing: -.01em;
  }
  
  .demo-info p {
    max-width: 400px;
  
    margin-top: 8px;
  
    color: var(--muted);
  
    font-size: 13px;
    line-height: 1.55;
  }
  
  
  /* LINK */
  
  .demo-link {
    flex-shrink: 0;
  
    display: inline-flex;
  
    align-items: center;
  
    gap: 7px;
  
    padding: 8px 13px;
  
    border: 1px solid var(--line);
  
    border-radius: 999px;
  
    color: var(--text);
  
    font-size: 12px;
  
    white-space: nowrap;
  
    transition:
      background .2s ease,
      border-color .2s ease,
      gap .2s ease;
  }
  
  .demo-link span {
    color: var(--muted);
  }
  
  .demo-link:hover {
    background: var(--bg-soft);
  
    border-color: #ccc;
  
    gap: 10px;
  }
  
  
  /* MOBILE */
  
  @media (max-width: 760px) {
  
    .demos-hero {
      padding: 65px 0 50px;
    }
  
    .demos-hero h1 {
      font-size: 42px;
    }
  
    .demos-section {
      padding: 50px 0 80px;
    }
  
    .demos-grid {
      grid-template-columns: 1fr;
      gap: 55px;
    }
  
    .demo-info {
      align-items: flex-start;
      flex-direction: column;
      gap: 15px;
    }
  
  }


  /* =========================================
   DEMO TYPES
   ========================================= */

.types-hero {
    padding: 92px 0 72px;
    border-bottom: 1px solid var(--line);
  }
  
  .types-hero h1 {
    font-size: clamp(44px, 6vw, 68px);
    line-height: 1.02;
    letter-spacing: -.04em;
    font-weight: 500;
    color: var(--ink);
  }
  
  .types-hero p {
    max-width: 530px;
    margin-top: 22px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.6;
  }
  
  
  /* GRID */
  
  .types-section {
    padding: 72px 0 110px;
  }
  
  .types-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 52px 24px;
  }
  
  
  /* CARD */
  
  .type-card {
    display: block;
    color: inherit;
    text-decoration: none;
    min-width: 0;
  }
  
  
  /* PREVIEW */
  
  .type-card-preview {
    position: relative;
    overflow: hidden;
  
    border: 1px solid var(--line);
    border-radius: 12px;
  
    background: var(--bg-soft);
  
    transition:
      transform .3s ease,
      box-shadow .3s ease,
      border-color .3s ease;
  }
  
  .type-card:hover .type-card-preview {
    transform: translateY(-5px);
  
    border-color: #d0d0d0;
  
    box-shadow:
      0 18px 45px rgba(0, 0, 0, .09);
  }
  
  
  /* BROWSER */
  
  .type-browser-bar {
    height: 38px;
  
    display: grid;
    grid-template-columns: 70px 1fr 70px;
    align-items: center;
  
    padding: 0 12px;
  
    background: #fff;
    border-bottom: 1px solid var(--line);
  }
  
  .type-dots {
    display: flex;
    gap: 5px;
  }
  
  .type-dots span {
    width: 6px;
    height: 6px;
  
    border-radius: 50%;
    background: #d8d8d8;
  }
  
  .type-address {
    justify-self: center;
  
    min-width: 130px;
  
    padding: 4px 18px;
  
    border: 1px solid var(--line);
    border-radius: 999px;
  
    text-align: center;
  
    color: #999;
  
    font-family: 'JetBrains Mono', monospace;
    font-size: 8px;
  }
  
  .type-open {
    justify-self: end;
  
    color: #999;
    font-size: 14px;
  
    transition:
      color .2s ease,
      transform .2s ease;
  }
  
  .type-card:hover .type-open {
    color: var(--accent);
    transform: translate(2px, -2px);
  }
  
  
  /* IMAGE */
  
  .type-image {
    position: relative;
  
    width: 100%;
    aspect-ratio: 16 / 10;
  
    overflow: hidden;
  
    background: #f7f7f7;
  }
  
  .type-image img {
    display: block;
  
    width: 100% !important;
    height: 100%;
  
    object-fit: cover;
    object-position: top center;
  
    filter: grayscale(100%);
  
    transform: scale(1);
  
    transition:
      filter .5s ease,
      transform .6s cubic-bezier(.2, .7, .2, 1);
  }
  
  .type-card:hover .type-image img {
    filter: grayscale(0%);
    transform: scale(1.035);
  }
  
  
  /* OVERLAY */
  
  .type-overlay {
    position: absolute;
    inset: 38px 0 0;
  
    display: flex;
    align-items: center;
    justify-content: center;
  
    gap: 9px;
  
    background: rgba(0, 0, 0, .38);
  
    color: #fff;
  
    font-size: 13px;
    font-weight: 500;
  
    opacity: 0;
  
    transition: opacity .3s ease;
  }
  
  .type-card:hover .type-overlay {
    opacity: 1;
  }
  
  .type-overlay span:last-child {
    width: 25px;
    height: 25px;
  
    display: flex;
    align-items: center;
    justify-content: center;
  
    border-radius: 50%;
  
    background: #fff;
    color: #000;
  
    font-size: 12px;
  }
  
  
  /* INFO */
  
  .type-info {
    padding: 20px 2px 0;
  }
  
  .type-number {
    margin-bottom: 9px;
  
    color: var(--muted);
    font-size: 10px;
  }
  
  .type-info h2 {
    margin: 0;
  
    color: var(--ink);
  
    font-size: 19px;
    line-height: 1.25;
    font-weight: 500;
  
    letter-spacing: -.015em;
  }
  
  .type-info p {
    max-width: 460px;
  
    margin-top: 9px;
  
    color: var(--muted);
  
    font-size: 13px;
    line-height: 1.55;
  }
  
  
  /* BOTTOM */
  
  .type-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
  
    margin-top: 18px;
  
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--text);
  }
  
  .type-arrow {
    width: 30px;
    height: 30px;
  
    display: flex;
    align-items: center;
    justify-content: center;
  
    border: 1px solid var(--line);
    border-radius: 50%;
  
    font-family: Inter, sans-serif;
    font-size: 14px;
  
    transition:
      background .2s ease,
      color .2s ease,
      transform .2s ease;
  }
  
  .type-card:hover .type-arrow {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
  
    transform: translateX(3px);
  }
  
  
  /* MOBILE */
  
  @media (max-width: 760px) {
  
    .types-hero {
      padding: 65px 0 50px;
    }
  
    .types-hero h1 {
      font-size: 43px;
    }
  
    .types-section {
      padding: 50px 0 80px;
    }
  
    .types-grid {
      grid-template-columns: 1fr;
      gap: 55px;
    }
  
  }