/* ════════════════════════════════════════════
   GLOBAL CSS · Ishaq Dave Portfolio v1
   WCAG 2.1 AA compliant
══════════════════════════════════════════════ */

/* RESET */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{font-size:16px;scroll-behavior:smooth}
body{
  font-family:'Inter',sans-serif;
  background:#fff;color:#1c1c1c;
  -webkit-font-smoothing:antialiased;
  line-height:1.6
}
img{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
button{font-family:inherit;cursor:pointer;border:none;background:none;color:inherit}

/* ACCESSIBILITY: Skip nav + focus + reduced motion */
.skip{
  position:absolute;top:-100%;left:1rem;
  background:#1c1c1c;color:#fff;padding:.5rem 1rem;
  border-radius:0 0 6px 6px;font-size:.875rem;z-index:9999
}
.skip:focus{top:0}
:focus-visible{outline:3px solid #1565C0;outline-offset:3px;border-radius:3px}
@media(prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important}
  html{scroll-behavior:auto}
}

/* NAVIGATION */
nav{
  position:fixed;top:0;left:0;right:0;z-index:100;height:60px;
  display:flex;align-items:center;justify-content:space-between;
  padding:0 2.5rem;background:rgba(255,255,255,.96);
  backdrop-filter:blur(12px);
  border-bottom:1px solid #f0f0f0
}
.n-logo{
  display:inline-flex;flex-direction:column;align-items:flex-start;
  font-family:'Fraunces',serif;font-size:1.0625rem;
  font-weight:500;letter-spacing:-.01em;color:#1c1c1c
}
.n-logo-name{display:block;font-size:1.125rem;font-weight:700;letter-spacing:-.02em;line-height:1}
.n-logo-surname{display:block;font-size:.875rem;font-weight:400;letter-spacing:.22em;text-transform:uppercase;color:#555;margin-top:.15rem}
.n-links{display:flex;gap:1.75rem;align-items:center}
.n-links a{font-size:.875rem;color:#555;font-weight:400;padding:.5rem 0;transition:color .15s}
.n-links a:hover,.n-links a[aria-current="page"]{color:#CC071E}
.n-cta{
  background:#000!important;color:#fff!important;
  padding:.45rem 1.25rem!important;border-radius:100px;
  font-size:.8125rem;font-weight:500
}
.n-cta:hover{background:#0a0a0a!important;color:#fff!important}

main{padding-top:60px;min-height:100vh}

/* TYPOGRAPHY HELPERS */
.serif{font-family:'Fraunces',serif;font-weight:400}
.eyebrow{
  font-size:.6875rem;letter-spacing:.18em;text-transform:uppercase;
  color:#a0a0a0;font-weight:600
}

/* CONTAINERS */
.container{max-width:1100px;margin:0 auto;padding:0 2rem}
.container-narrow{max-width:780px;margin:0 auto;padding:0 2rem}
.section{padding:4rem 0;border-bottom:1px solid #f0f0f0}
.section:last-of-type{border-bottom:none}

/* SECTION LABEL */
.s-label{
  font-size:.6875rem;letter-spacing:.18em;text-transform:uppercase;
  color:#a0a0a0;margin-bottom:.875rem;font-weight:600;
  display:flex;align-items:center;gap:1rem
}
.s-label::after{content:'';flex:1;height:1px;background:#efefef;max-width:100px}
.s-title{
  font-family:'Fraunces',serif;font-size:clamp(1.625rem,3vw,2.25rem);
  font-weight:400;line-height:1.2;color:#1c1c1c;margin-bottom:1.25rem;
  letter-spacing:-.015em
}
.s-title em{font-style:italic;color:#777}
.s-body{font-size:1rem;color:#444;line-height:1.85;font-weight:300}
.s-body p{margin-bottom:1rem}
.s-body strong{font-weight:500;color:#1c1c1c}

/* BUTTONS */
.btn{
  display:inline-flex;align-items:center;gap:.5rem;
  padding:.75rem 1.75rem;border-radius:100px;
  font-size:.9375rem;font-weight:500;transition:all .15s
}
.btn-solid{background:#CC071E;color:#fff}
.btn-solid:hover{background:#A0061A}
.btn-outline{background:transparent;color:#1c1c1c;border:1.5px solid #d8d8d8}
.btn-outline:hover{border-color:#1c1c1c}

/* FOOTER */
.site-footer{
  background:#1c1c1c;color:#fff;padding:2.5rem 2rem;text-align:center
}
.sf-inner{max-width:1100px;margin:0 auto}
.sf-name{font-family:'Fraunces',serif;font-size:1.125rem;margin-bottom:.5rem}
.sf-meta{font-size:.8125rem;color:rgba(255,255,255,.65);margin-bottom:1rem}
.sf-wcag{
  display:inline-flex;align-items:center;gap:.5rem;
  font-size:.75rem;color:#5DCAA5;font-weight:600
}

/* RESPONSIVE */
@media(max-width:780px){
  nav{padding:0 1.25rem}
  .n-links{gap:1rem}
  .n-links a:not(.n-cta){display:none}
  .container,.container-narrow{padding:0 1.25rem}
  .section{padding:3rem 0}
}
