/* Color tokens */
:root{
  --bg: #0f1115;
  --panel: #171a21;
  --text: #e7ebf0;
  --muted: #a8b3c2;
  --brand: #6ea8fe;
  --brand-strong: #3d8bfd;
  --accent: #a78bfa;
  --border: #2a2f3a;
}

/* Global */
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height:1.6;
}

/* Typography & links */
h1,h2,h3{line-height:1.2;margin:0 0 .5rem}
h1{font-size:2rem}
h2{font-size:1.4rem}
h3{font-size:1.1rem}
a{
  color: var(--brand);
  text-decoration: none;
}
a:hover{color: var(--brand-strong); text-decoration: underline}

.home-grid{ display:grid; gap:1rem }
@media (min-width:760px){
  .home-grid{
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "intro intro"
      "persona expedition";
  }
  .home-grid .intro{ grid-area:intro }
  .home-grid .persona{ grid-area:persona }
  .home-grid .expedition{ grid-area:expedition }
}

.header-block {
  text-align: center;
  margin-bottom: 1.5rem; /* space before nav buttons */
}

.tagline {
  font-size: 1.1rem;       /* slightly smaller than header */
  font-style: italic;      /* keep the italics */
  font-weight: 300;        /* lighter weight for a tagline feel */
  color: var(--muted);     /* softer color than main header */
  margin-top: 0.3rem;      /* tuck it closer to the header */
  margin-bottom: 1.2rem;   /* add space before nav buttons */
  text-align: center;      /* tagline sits centered under header */
  letter-spacing: 0.5px;   /* subtle spacing for elegance */
}

/* Intro card */
.intro{
  padding: 1.25rem 1.25rem 1rem;
  background:
    radial-gradient(80% 120% at 10% -10%, rgba(109,168,254,.18), transparent 60%),
    radial-gradient(80% 120% at 110% -20%, rgba(167,139,250,.16), transparent 60%),
    var(--panel);
}
.intro .lead{ color: var(--muted); margin: .25rem 0 1rem }
.intro-actions{ display:flex; gap:.6rem; flex-wrap: wrap }

/* Optional: give the intro a little separation from the grid */
.grid-two{ margin-top: .25rem }


/* Layout containers */
.container{
  width:min(1100px, 92vw);
  margin: 2rem auto;
  display:grid;
  gap:1.25rem;
}

/* Header & nav */
.site-header{
  background: linear-gradient(180deg, #141820, #11141a);
  border-bottom:1px solid var(--border);
  position:sticky; top:0; z-index:10;
  padding: .9rem 0;
}
.site-header h1{
  width:min(1100px, 92vw);
  margin:0 auto .5rem;
}
.nav{
  width:min(1100px, 92vw);
  margin:0 auto;
  display:flex; gap:.75rem; list-style:none; padding:0;
}
.nav a{
  display:inline-block; padding:.5rem .8rem; border-radius:.6rem;
  background:#0f131a; border:1px solid var(--border);
}
.nav a:hover{background:#151a22}

/* Cards & grid */
.card{
  background: var(--panel);
  border:1px solid var(--border);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
}
.card-body > img{width:100%; height:auto; border-radius:12px; display:block; margin:0 0 .75rem}

.grid-two{display:grid; grid-template-columns: 1fr; gap:1rem}
.grid-three{display:grid; grid-template-columns: 1fr; gap:1rem}
@media (min-width: 760px){
  .grid-two{grid-template-columns: 1fr 1fr}
  .grid-three{grid-template-columns: repeat(3, 1fr)}
}

.btn,
button.btn,
a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .6rem 1rem;
  border-radius: .6rem;
  font-weight: 600;
  border: 1px solid transparent;
  background: var(--brand);
  color: #0c1020;
  text-decoration: none;   /* anchors */
  cursor: pointer;         /* <- fixes the “not clickable” feel */
}

/* Hover + focus for accessibility */
.btn:hover,
button.btn:hover,
a.btn:hover {
  background: var(--brand-strong);
  text-decoration: none;
}

.btn:focus-visible,
button.btn:focus-visible,
a.btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px rgba(167,139,250,.25);
}

/* Keep the outlined/ghost style if you still use it elsewhere */
.btn.ghost {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}
.btn.ghost:hover { background: rgba(109,168,254,.12); }

/* Footer */
.site-footer{
  width:min(1100px, 92vw);
  margin: 2rem auto;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: .75rem;
}
