/*
Theme Name: ab*studio
Author: Ashley Bayram
Description: Custom portfolio theme reset with sticky header. Footer is left untouched.
Version: 1.0
*/

/* ===== Root & Base ===== */
:root{
  --butter:#fff6d1;
  --fg:#111;
  --outer-pad:20px;
  --header-h:64px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  color:var(--fg);
  background:#fff;
  font-family:"Helvetica Neue", Helvetica, Arial, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Liberation Sans", sans-serif;
}

/* ===== Accessibility focus ===== */
:where(a,button,[role="button"]):focus-visible{
  outline:2px solid #000; outline-offset:2px;
}

/* ===== Header ===== */
.site-header{
  position:sticky;
  top:0;
  z-index:1000;
  background:var(--butter);
  border-bottom:1px solid #000;
}

.header-inner{
  max-width:1440px;
  margin:0 auto;
  padding:14px var(--outer-pad);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.brand{
  display:inline-flex;
  align-items:center;
  gap:8px;
  text-decoration:none;
  color:#000;
  font-weight:800;
  letter-spacing:-0.02em;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
}
.brand .star{ font-weight:900; margin-right:2px; }

/* Desktop nav */
.primary-nav{
  display:flex;
  align-items:center;
  gap:28px;
}
.primary-nav a{
  color:#000;
  text-decoration:none;
  text-transform:lowercase;
  font-weight:700;
}
.primary-nav a:hover{ text-decoration:underline; }

/* Mobile */
.menu-toggle{
  display:none;
  border:1px solid #000;
  background:#fff;
  border-radius:999px;
  padding:8px 12px;
  cursor:pointer;
  font-weight:700;
}

@media (max-width: 860px){
  .menu-toggle{ display:inline-flex; }
  .primary-nav{
    position:fixed;
    inset:auto 0 0 0;
    translate:0 100%;
    background:#fff;
    border-top:1px solid #000;
    padding:18px var(--outer-pad) 28px;
    gap:18px;
    flex-direction:column;
    align-items:flex-start;
    transition:translate .25s ease;
    z-index:999;
  }
  .primary-nav.is-open{ translate:0 0; }
}

/* ===== Footer wrapper only (keep Ashley's styles) ===== */
.site-footer{
  /* Intentionally minimal. Keep your existing footer CSS/HTML. */
}

/* ===== Content defaults (safe placeholder) ===== */
main{ max-width:1440px; margin:0 auto; padding:0px var(--outer-pad); }




/* ===== Footer (exact settings from your page) ===== */
.footer-wrapper {
  background-color: #000;
  width: 100%;
}

.footer {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 20px 20px;
}

.name-block {
  font-weight: 800;
  font-size: 5rem;
  line-height: 0.8;
  letter-spacing: -0.05em;
  color: #fff;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease-out forwards;
}

.name-role span {
  font-weight: 800;
  font-size: 1.1rem;
  display: block;
  margin-top: 4px;
  letter-spacing: -0.04em;
  color: #fff;
}

.social {
  text-align: right;
  font-size: 1rem;
  line-height: 1.2;
  margin-bottom: 8px;
  font-weight: 600;
  color: #fff;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease-out forwards;
}

.social a {
  text-decoration: none;
  color: #fff;
  display: block;
}

/* Mobile */
@media (max-width: 768px) {
  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .name-block {
    font-size: 2.5rem;
    line-height: 1;
  }
  .social {
    text-align: left;
    font-size: 0.85rem;
  }
}

/* Animation used by footer elements */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}


