/* ---------------------------
   Mark Cashwell — Site Styles
---------------------------- */

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Inter:wght@400;500;700&display=swap");

:root{
  --bg:#0e1216;
  --panel:#121820;
  --panel-2:#0f161d;
  --text:#e9f0f5;
  --muted:#aab7c4;
  --accent:#7bd4f4;
  --accent-2:#4bc0e8;
  --ring:rgba(123,212,244,.25);
  --shadow:0 6px 24px rgba(0,0,0,.35);
  --radius:18px;
  --radius-sm:12px;
  --gap:28px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

a{color:var(--accent-2);text-decoration:none}
a:hover{color:var(--accent)}

/* Layout */
.container{max-width:1180px;margin:0 auto;padding:0 24px}
.section{padding:64px 0}
.section-tight{padding:36px 0}

/* Header */
.site-header{
  position:sticky;top:0;z-index:50;
  backdrop-filter:saturate(140%) blur(10px);
  background:linear-gradient(180deg,rgba(17,23,28,.85),rgba(17,23,28,.6));
  border-bottom:1px solid rgba(255,255,255,.04);
}
.nav{
  display:flex;align-items:center;justify-content:space-between;
  gap:16px;height:70px;
}
.brand{font-family:Poppins,Inter,sans-serif;font-weight:700;letter-spacing:.03em}
.brand a{color:var(--text)}
.brand small{opacity:.6;font-weight:400;font-size:.8rem}
.nav a{color:var(--muted)}
.nav a.active{color:var(--text);font-weight:600}
.navbar{display:flex;gap:22px;align-items:center;flex-wrap:wrap}
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:10px 18px;border-radius:999px;border:1px solid transparent;
  font-weight:600;cursor:pointer;background:#1a232d;color:var(--text)
}
.btn:hover{border-color:rgba(255,255,255,.12)}
.btn-primary{
  background:linear-gradient(180deg,var(--accent),var(--accent-2));
  color:#052633;box-shadow:0 8px 22px rgba(75,192,232,.25)
}
.btn-primary:hover{filter:brightness(1.05)}

/* Hero */
.hero{
  display:grid;grid-template-columns:1.05fr .95fr;gap:48px;align-items:center;
  padding:64px 0 40px;
}
.hero h1{
  font-family:Poppins,Inter,sans-serif;font-weight:700;
  font-size:clamp(36px,5vw,56px);line-height:1.05;margin:0 0 14px
}
.hero p.lead{color:var(--muted);margin-top:12px}

/* Carousel */
.carousel{
  background:var(--panel);
  border:1px solid rgba(255,255,255,.06);
  border-radius:var(--radius);box-shadow:var(--shadow);
  overflow:hidden;position:relative
}
.carousel .frame{aspect-ratio:3/4;position:relative;background:#0e151d}
.carousel img{
  width:100%;height:100%;object-fit:cover;display:block;
  /* anchor image to the top so hair/hat isn't cropped */
  object-position: top center;
}
.carousel .arrow{
  position:absolute;top:50%;transform:translateY(-50%);
  width:40px;height:40px;border-radius:999px;border:1px solid rgba(255,255,255,.15);
  background:rgba(14,18,22,.65);color:#fff;display:grid;place-items:center;
  cursor:pointer;user-select:none
}
.carousel .arrow:hover{background:rgba(14,18,22,.85)}
.carousel .prev{left:12px}
.carousel .next{right:12px}
.carousel .dots{
  position:absolute;left:50%;bottom:8px;transform:translateX(-50%);
  display:flex;gap:8px
}
.carousel .dot{width:34px;height:4px;border-radius:999px;background:rgba(255,255,255,.18)}
.carousel .dot.active{background:var(--accent)}

/* Cards & Grids */
.grid{display:grid;gap:var(--gap)}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-2{grid-template-columns:repeat(2,1fr)}
@media (max-width:980px){.hero{grid-template-columns:1fr}.grid-3{grid-template-columns:1fr 1fr}}
@media (max-width:720px){.grid-3,.grid-2{grid-template-columns:1fr}}

.card{
  background:linear-gradient(180deg,var(--panel),var(--panel-2));
  border:1px solid rgba(255,255,255,.06);
  border-radius:var(--radius-sm);box-shadow:var(--shadow);overflow:hidden
}
.card .media{position:relative;overflow:hidden;aspect-ratio:16/11}
.card .media img{width:100%;height:100%;display:block;object-fit:cover}
.card .media img.object-top{object-position: top center;} /* keep tops visible when needed */
.card .content{padding:16px 16px 18px}
.card h3{margin:0 0 6px;font-size:1.05rem}
.card p{margin:0;color:var(--muted)}

/* Video cards */
.video{
  width:100%;aspect-ratio:16/9;border:1px solid rgba(255,255,255,.06);
  border-radius:14px;overflow:hidden;background:#000;box-shadow:var(--shadow)
}

/* Forms */
.form{display:grid;gap:14px}
.form .row{display:grid;gap:14px;grid-template-columns:1fr 1fr}
@media (max-width:720px){.form .row{grid-template-columns:1fr}}
.input, textarea, select{
  background:#0e151d;border:1px solid rgba(255,255,255,.08);color:var(--text);
  border-radius:12px;padding:12px 14px;font:inherit;outline:none
}
.input:focus, textarea:focus, select:focus{border-color:var(--accent);box-shadow:0 0 0 6px var(--ring)}
textarea{min-height:130px;resize:vertical}

/* Footer */
.footer{padding:34px 0;border-top:1px solid rgba(255,255,255,.06);color:var(--muted);font-size:.95rem}

/* Helpers */
h2.section-title{
  font-family:Poppins,Inter,sans-serif;font-size:clamp(28px,3.5vw,36px);
  margin:0 0 16px
}
.subtle{color:var(--muted)}
.center{text-align:center}
