/* style6.css */
:root{
    --max: 1650px;
    /* keeps it from getting huge */
    --fg:#111;
    --muted: rgba(0,0,0,.68);
    --gap: 18px;
    --tilebg:#f3f3f3;
  }
  
  *{ box-sizing:border-box; }
  
  body{
    margin:0;
    background:#fff;
    color:var(--fg);
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  }
  
  /* ===== Top ===== */
  .proj-top{
    max-width: var(--max);
    margin: 0 auto;
    padding: 34px 22px 0;
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap: 18px;
  }
  
  .proj-name{
    font-family:"GFS Didot", serif;
    font-size:52px;
    letter-spacing:-0.02em;
    line-height:1;
    text-decoration:none;
    color:inherit;
    white-space: nowrap;
  }
  
  .proj-nav{
    display:flex;
    gap:52px;
    padding-top: 10px;
    flex-wrap: wrap;
  }
  
  .proj-nav a{
    text-decoration:none;
    color:#111;
    font-size:18px;
  }
  .proj-nav a:hover{
    text-decoration:underline;
    text-underline-offset:6px;
  }
  
  /* ===== Layout ===== */
  .proj-wrap{
    max-width: var(--max);
    margin: 0 auto;
    padding: 46px 22px 70px;
  }
  
  .proj-info{
    display:grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items:start;
    margin-bottom: 22px;
  }
  
  .proj-title{
    margin:0;
    font-size:22px;
    font-weight:600;
    letter-spacing:-0.01em;
  }
  
  .proj-date{
    font-size:15px;
    margin-bottom: 10px;
  }
  
  .proj-desc{
    margin:0;
    font-size:15px;
    line-height:1.6;
    color: var(--muted);
  }
  
  /* ===== Stage ===== */
  .proj-stage{ padding: 18px 0 8px; }
  .stage-inner{
    max-width: var(--max);
    margin: 0 auto;
  }
  
  /* ===== MEDIA GRID (2x2) =====
  Top row: laptop video (L) + image (R) same size
  Bottom: phone image (L) + phone video (R) same height
  Everything capped so it fits the screen nicely.
  */
  .media-layout{
    display:grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: var(--gap);
    align-items: start;
  }
  
  /* shared tile */
  .tile{
    position:relative;
    overflow:hidden;
    background: var(--tilebg);
  }
  
  /* top row tiles (same size) */
  .laptop,
  .hero-img{
    aspect-ratio: 16 / 9;
    max-height: 620px;
  }
  
  /* bottom row tiles (same size) */
  .phone,
  .phone-img{
    height: 620px;       
    max-height: none;
  }
  
  /* media positioning */
  .media{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    display:block;
  }
  
  /* use contain for videos so full screen shows */
  .media-contain{
    object-fit: contain;
    background:#fff;
  }
  
  
  /* images can be cover (or change to contain if you want full image visible) */
  .media-cover{
    object-fit: cover;
  }
  
  /* ===== Responsive ===== */
  @media (max-width: 980px){
    .proj-info{
      grid-template-columns: 1fr;
      gap: 18px;
    }
    .proj-name{ font-size:42px; }
    .proj-nav{ gap:26px; }
  
    /* stack */
    .media-layout{
      grid-template-columns: 1fr;
    }
  
    /* keep sizes nice on mobile */
    .laptop, .hero-img{ max-height: 300px; }
    .phone, .phone-img{
      aspect-ratio: 16 / 9;     /* not insanely tall on mobile */
      max-height: 280px;
    }
  }
  
  

  
  
  