:root{
  --navy:#0b1f33;
  --navy2:#102a44;
  --orange:#d96b1a;

  /* Background colours */
  --outer-bg:#0b1f33;   /* dark blue outside */
  --card-bg:#f4efe9;    /* warm light card */

  --text:#0b1f33;
  --muted:#4f5f6f;
}

*{ box-sizing:border-box; }

body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);

  /* Dark blue outside */
  background:
    radial-gradient(900px 500px at 20% 0%, rgba(217,107,26,0.18), transparent 60%),
    radial-gradient(700px 500px at 90% 100%, rgba(255,255,255,0.08), transparent 60%),
    var(--outer-bg);

  min-height:100vh;
}

/* Layout */
.wrap{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:48px 28px;
}

/* Main card */
.card{
  width:min(1100px, 100%);
  padding:46px 34px;
  border-radius:28px;
  text-align:center;

  /* Light warm card */
  background: var(--card-bg);

  border:1px solid rgba(11,31,51,0.12);
  box-shadow:
    0 40px 100px rgba(0,0,0,0.45),
    inset 0 1px 0 rgba(255,255,255,0.6);
}

/* Header */
.logo{
  width:min(360px, 80%);
  margin:0 auto 6px;
  display:block;
}

.pill{
  display:inline-block;
  padding:18px 34px;
  border-radius:999px;
  background: rgba(217,107,26,0.18);
  color: var(--orange);
  font-weight:900;
  font-size:36px;   /* doubled size */
  letter-spacing:1px;
  margin-top: 10px;
}


.sub{
  color: var(--muted);
  max-width: 760px;
  margin: 18px auto 32px;
  line-height:1.6;
  font-size:17px;
}

/* Buttons */
.ctaRow{
  display:flex;
  gap:16px;
  justify-content:center;
  margin-bottom:36px;
  flex-wrap:wrap;
}

.btn{
  padding: 40px 22px;
  border-radius:16px;
  font-weight:800;
  background: linear-gradient(90deg, var(--orange), #f08a2b);
  color:#fff;
  text-decoration:none;
  box-shadow: 0 12px 28px rgba(217,107,26,0.45);
}

.projects{
  margin-top:44px;
}

/* Push the grid outward to use almost the full card width */
.projectGrid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:4px;                 /* nearly touching */
  margin: 0 -14px;         /* steals back some of the card padding */
  padding: 0 14px;         /* keeps it aligned neatly */
}

.project{
  border-radius:14px;
  overflow:hidden;
  background:#fff;
  border: none;            /* remove borders that visually add spacing */
}

/* Show MORE of the wide photo (less vertical crop) */
.project img{
  width:100%;
  height:190px;            /* shorter = less cropping = more “wide” visible */
  object-fit:cover;
  object-position:center;  /* you can change to center top if needed */
  display:block;
}

/* Caption area with breathing room */
.project figcaption{
  padding:18px 20px 22px;
  font-size:15px;
  color: var(--muted);
  line-height:1.5;
  text-align:left;
}

/* Mobile stays clean */
@media (max-width:760px){
  .projectGrid{
    grid-template-columns: 1fr;
    gap:12px;
    margin: 0;
    padding: 0;
  }
  .project img{
    height:260px;
  }
}


/* Mobile */
@media (max-width:760px){
  .projectGrid{
    grid-template-columns:1fr;
  }

  .wrap{
    padding:32px 18px;
  }
}

/* Footer */
.fine{
  margin-top:30px;
  font-size:13px;
  color: rgba(11,31,51,0.55);
}
/* Mobile-only adjustments */
@media (max-width: 760px){

  /* Make "Website Coming Soon" 50% smaller */
  .pill{
    font-size: 18px;      /* desktop ~36px → mobile ~18px */
    padding: 10px 18px;
    letter-spacing: 0.6px;
  }

  /* Make logo 25% bigger on mobile */
  .logo{
    width: min(450px, 90%);  /* was ~360px */
    margin-bottom: 10px;
  }
  animation: flyInFromTop 0.9s cubic-bezier(.22,1.61,.36,1) forwards;


}

/* Fly-in animation for "Website Coming Soon" */
@keyframes flyInFromTop {
  0% {
    opacity: 0;
    transform: translateY(-40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

