/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

body {
  background-color: white;
  color: black;
  font-family: Verdana;
}
:root {
  --bg:#0b0b0c; --fg:#f5f7fb; --muted:#aab0bd; --accent:#7dd3fc;
  --maxw:1200px; --pad:clamp(16px,2vw,28px); --radius:18px;
  --banner-h:34px; --nav-h:64px; --gap:clamp(14px,1.5vw,22px);
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--bg);color:var(--fg);font:16px/1.6 system-ui,-apple-system,Segoe UI,Roboto,Inter,Arial,sans-serif}
a{color:inherit;text-decoration:none}
img,video{max-width:100%;height:auto;display:block}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 var(--pad)}

.ticker{position:sticky;top:0;z-index:60;height:var(--banner-h);background:#111317;border-bottom:1px solid #1e2026;overflow:hidden;display:flex;align-items:center}
.ticker__track{display:flex;gap:32px;white-space:nowrap;animation:marquee 18s linear infinite}
.ticker__item{color:var(--muted);font-size:.9rem}
@keyframes marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}

header{position:sticky;top:var(--banner-h);z-index:50;background:#0e0f12cc;backdrop-filter:blur(10px);border-bottom:1px solid #1e2026}
.nav{height:var(--nav-h);display:flex;align-items:center;justify-content:space-between}
.logo{font-weight:700}
.menu{display:flex;gap:22px;align-items:center}
.menu a{color:var(--muted)}
.menu a:hover{color:var(--fg)}
.burger{display:none;cursor:pointer}
.burger span{display:block;width:24px;height:2px;background:var(--fg);margin:5px 0}

@media(max-width:820px){
  .burger{display:block}
  .menu{position:fixed;top:calc(var(--banner-h) + var(--nav-h));left:0;right:0;background:#0e0f12;flex-direction:column;padding:20px;transform:translateY(-120%);transition:transform .3s}
  .menu.is-open{transform:translateY(0)}
}

.hero{position:relative;min-height:66vh;display:grid;place-items:center;overflow:hidden}
.hero video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-1;filter:brightness(.6)}
.hero__content{text-align:center;max-width:900px;padding:calc(var(--pad)*2) var(--pad)}
.hero h1{margin:.4em 0;font-size:clamp(28px,5vw,56px)}
.hero p{color:var(--muted);font-size:clamp(15px,2.2vw,18px)}
.cta{margin-top:18px;display:flex;gap:12px;flex-wrap:wrap;justify-content:center}
.btn{padding:12px 18px;border-radius:999px;border:1px solid #2a2d36;background:#10131a}
.btn:hover{background:#161921}
.btn--ghost{background:transparent}

.features{padding:calc(var(--pad) * 2) 0}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--gap)}
.card{background:#12141a;border:1px solid #1e2026;border-radius:var(--radius);overflow:hidden;transition:.25s}
.card__img{aspect-ratio:16/11;object-fit:cover}
.card__body{padding:16px}
.card__title{font-weight:600;margin:0 0 6px}
.card__text{color:var(--muted)}

@media(max-width:1024px){.grid-3{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.grid-3{grid-template-columns:1fr}}

.projects{padding:calc(var(--pad) * 2) 0}
.section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;flex-wrap:wrap;gap:10px}
.grid-6{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--gap)}
@media(max-width:1024px){.grid-6{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.grid-6{grid-template-columns:1fr}}
.tile{position:relative;border-radius:var(--radius);overflow:hidden;border:1px solid #1e2026;background:#0f1116}
.tile__img{aspect-ratio:4/3;width:100%;object-fit:cover;transition:transform .5s}
.tile__meta{position:absolute;bottom:12px;left:12px;right:12px;background:#0e1015cc;padding:10px;border-radius:12px}
.tile:hover .tile__img{transform:scale(1.08)}

footer{padding:40px 0;color:var(--muted);border-top:1px solid #1e2026;margin-top:20px;font-size:.9rem}
footer .wrap{display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between;align-items:center}

.logo {
  background: url("assets/stearn-designs-logo.png") no-repeat center;
  background-size: contain;
  width: 50px;   /* set container size */
  height: auto;
}

.hero {
  position: relative;
  overflow: hidden;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.hero__video {
  position: absolute;
  top: 0; 
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none; /* ensures clicks go to overlay content */
}

.hero__video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;    /* ensures video covers hero fully */
  height: 120%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}



