:root{
  --bg-deep:#0d2a1b;     /* forest base */
  --bg-panel:#133826;    /* moss underlay */
  --bg-soft:#184d33;     /* mid-green */
  --text:#f5f8f6;
  --muted:#b7d8c2;       /* sage */
  --accent:#f4b653;      /* fox amber */
  --accent-2:#7bf0c3;    /* teal glow */
  --accent-3:#89c9ff;    /* portal blue */
  --success:#53f4b9;
  --ring:rgba(111,224,181,.35);
  --shadow:0 10px 25px rgba(0,0,0,.35);
  --radius:18px;
}

/* Page background + base typography */
html,body{height:100%}
body{
  margin:0; color:var(--text);
  background:
    radial-gradient(900px 700px at 20% -10%, rgba(30,100,60,.6), transparent 60%),
    radial-gradient(1200px 800px at 100% 20%, rgba(20,60,35,.5), transparent 70%),
    linear-gradient(180deg, #0d2a1b, #123820 50%, #0a2818 100%);
  font-family: "Quicksand", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height:1.6;
  min-height:100vh;
  overflow-x:hidden;
}
/* subtle mist */
body::after{
  content:""; position:fixed; inset:0; pointer-events:none;
  background: radial-gradient(circle at 50% 20%, rgba(255,255,255,.05), transparent 70%);
  mix-blend-mode: screen; opacity:.4;
}

/* NAV */
.nav{
  position:sticky; top:0; z-index:20;
  backdrop-filter: blur(8px);
  background: linear-gradient(180deg, rgba(13,42,27,.85), rgba(13,42,27,.55));
  border-bottom:1px solid rgba(255,255,255,.06);
}
.nav .inner{
  max-width:1100px; margin:0 auto; padding:12px 18px;
  display:flex; align-items:center; gap:14px;
}
.brand{display:flex; align-items:center; gap:12px; text-decoration:none; color:var(--text)}
.brand img{width:44px; height:44px; object-fit:contain; border-radius:10px; box-shadow:0 0 15px rgba(123,240,195,.4)}
.brand .title{font-family:"Playfair Display", serif; font-weight:700; font-size:1.2rem; letter-spacing:.4px}
.links{margin-left:auto; display:flex; gap:14px; flex-wrap:wrap}
.links a{
  color:var(--muted); text-decoration:none; padding:8px 12px; border-radius:12px;
  transition:.2s ease; border:1px solid transparent;
}
.links a:hover{color:var(--text); border-color:rgba(255,255,255,.08); background:rgba(255,255,255,.05)}

/* HERO */
.hero{max-width:1100px; margin:40px auto 24px; padding:0 18px; text-align:center;}
.hero-card{
  position:relative;
  background: linear-gradient(160deg, rgba(123,240,195,.08), rgba(137,201,255,.07));
  border:1px solid rgba(255,255,255,.08);
  border-radius: clamp(16px, 2vw, var(--radius));
  box-shadow: var(--shadow);
  padding: clamp(18px, 4vw, 44px);
  overflow:hidden;
}
.hero-card::after{
  content:""; position:absolute; inset:-20%; border-radius:50%;
  background: radial-gradient(400px 220px at 50% 0%, rgba(111,224,181,.2), transparent 75%);
  filter: blur(16px); z-index:-1;
}
.hero-logo{width:min(520px, 90%); height:auto; display:block; margin:0 auto 18px; border-radius:14px}
.hero h1{
  font-family:"Playfair Display", serif;
  font-size: clamp(1.8rem, 3.8vw, 3.2rem);
  margin:8px 0 6px; letter-spacing:.4px;
}
.tag{color:var(--muted); max-width:800px; margin:0 auto 18px}

/* Buttons */
.cta{display:flex; justify-content:center; gap:12px; flex-wrap:wrap}
.btn{
  appearance:none; border:none; cursor:pointer; text-decoration:none;
  padding:12px 18px; border-radius:12px; font-weight:700;
  transition:transform .06s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  box-shadow: var(--shadow); display:inline-block;
}
.btn:active{transform: translateY(1px)}
.btn.fox{background:linear-gradient(180deg, #f7c46b, #e49a38); color:#2b1b05}
.btn.fox:hover{filter:brightness(1.05)}
.btn.ghost{background: rgba(255,255,255,.06); color:var(--text); border:1px solid rgba(255,255,255,.12)}
.btn.ghost:hover{background: rgba(255,255,255,.1)}

/* Sections & panels */
section{max-width:1100px; margin:40px auto; padding:0 18px}
.panel{
  background: linear-gradient(160deg, rgba(19,56,38,.92), rgba(10,40,24,.9));
  border:1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: clamp(16px, 3vw, 28px);
  box-shadow: var(--shadow);
}
h2{
  font-family:"Playfair Display", serif; font-weight:700;
  font-size: clamp(1.4rem, 2.6vw, 2rem); margin:0 0 12px;
}
.two-col{display:grid; gap:18px; grid-template-columns:1fr;}
@media (min-width:850px){ .two-col{ grid-template-columns: 1.2fr .8fr } }

/* Gallery grid */
.grid{display:grid; gap:14px; grid-template-columns: repeat(2, 1fr);}
@media (min-width:700px){ .grid{ grid-template-columns: repeat(3, 1fr) } }
@media (min-width:1000px){ .grid{ grid-template-columns: repeat(4, 1fr) } }

.card{
  background: var(--bg-panel);
  border:1px solid rgba(255,255,255,.06);
  border-radius:14px; 
  overflow:hidden; 
  box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .2s ease;

  /* keep caption anchored even with variable image heights */
  display:flex; 
  flex-direction:column; 
  justify-content:space-between;
}

.card:hover{ transform: translateY(-3px) }

/* show entire artwork, not cropped */
.card img{
  width:100%;
  height:auto;             /* let the image define its height */
  max-height:260px;        /* cap it so cards don't get huge */
  object-fit:contain;      /* no cropping */
  display:block;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.06), rgba(0,0,0,0.2));
  border-radius:12px 12px 0 0;
}

.card .cap{
  padding:10px 12px; 
  color:var(--muted); 
  font-size:.95rem
}

/* Projects */
.projects{ display:grid; gap:16px; grid-template-columns:1fr; }
@media (min-width:850px){ .projects{ grid-template-columns: repeat(3,1fr) } }
.pcard{
  padding:18px; border-radius:14px;
  border:1px solid rgba(255,255,255,.08);
  background:linear-gradient(160deg, rgba(123,199,255,.07), rgba(244,182,83,.07));
}
.pcard h3{ margin:6px 0 8px; font-size:1.1rem }
.pcard p{ margin:0 0 12px; color:var(--muted) }

/* Footer */
footer{
  background: rgba(11,31,23,.9);
  border-top:1px solid rgba(255,255,255,.08);
  text-align:center; padding:28px 18px; color:var(--muted);
}

/* Links */
a{color:inherit}
a:hover{color:var(--accent-2)}
