/* ════════════════════════════════════════════════════
   ADRIA CONNELL PORTFOLIO - SHARED STYLES
   Edit colors here once; every page updates.
   ════════════════════════════════════════════════════ */
:root{
  --teal:#1A7A70;
  --teal-dark:#135950;
  --slate:#4A6172;
  --ink:#212E38;
  --paper:#D9EDEB;   /* bird's egg blue page background */
  --card:#FFFFFF;
  --tint:#C3E2DD;
  --line:#B9D6D2;
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition:none!important}
}
body{
  background:var(--paper);
  color:var(--ink);
  font-family:'Open Sans',sans-serif;
  font-size:1.03rem;
  line-height:1.65;
}
h1,h2,h3,h4{font-family:'Montserrat',sans-serif;line-height:1.15}
.eyebrow{
  font-family:'Montserrat',sans-serif;font-weight:600;
  font-size:.78rem;letter-spacing:.14em;text-transform:uppercase;
  color:var(--teal);display:block;margin-bottom:.9rem;
}

a{color:var(--teal-dark)}
a:focus-visible,button:focus-visible{outline:3px solid var(--teal);outline-offset:3px;border-radius:2px}
.wrap{max-width:1060px;margin:0 auto;padding:0 1.4rem}
section{padding:4rem 0}
.section-head{margin-bottom:2.2rem}
.section-head h2{font-size:clamp(1.7rem,4vw,2.3rem);font-weight:700}

/* ─── Nav ─── */
nav{
  position:sticky;top:0;z-index:10;
  background:rgba(217,237,235,.93);
  backdrop-filter:blur(6px);
  border-bottom:1px solid var(--line);
}
.nav-inner{
  max-width:1060px;margin:0 auto;padding:.85rem 1.4rem;
  display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;
}
.nav-name{font-family:'Montserrat',sans-serif;font-weight:700;font-size:1.05rem;color:var(--ink);text-decoration:none}
.nav-links{display:flex;gap:1.15rem;flex-wrap:wrap}
.nav-links a{
  font-family:'Montserrat',sans-serif;font-weight:500;font-size:.82rem;
  text-decoration:none;color:var(--slate);letter-spacing:.04em;
}
.nav-links a:hover{color:var(--teal)}

/* ─── Buttons ─── */
.cta-row{display:flex;gap:.9rem;flex-wrap:wrap;margin-top:1.8rem}
.btn{
  font-family:'Montserrat',sans-serif;font-weight:600;
  text-decoration:none;padding:.75rem 1.5rem;border-radius:6px;
  display:inline-block;font-size:.98rem;
}
.btn-primary{background:var(--teal);color:#fff}
.btn-primary:hover{background:var(--teal-dark)}
.btn-ghost{border:1.5px solid var(--slate);color:var(--ink)}
.btn-ghost:hover{border-color:var(--teal);color:var(--teal-dark)}

/* ─── Hero (home) ─── */
.hero{padding:4rem 0}
.hero-top-row{display:flex;align-items:center;justify-content:space-between;gap:2rem;flex-wrap:wrap}
.hero-text{width:100%}
.hero-photo{
  width:150px;height:150px;flex-shrink:0;
  border-radius:50%;object-fit:cover;
  border:6px solid var(--card);
  box-shadow:0 8px 28px rgba(33,46,56,.18);
}
@media (max-width:760px){
  .hero-top-row{flex-direction:column;align-items:flex-start;gap:1.2rem}
  .hero-photo{width:130px;height:130px}
}
.hero h1{font-size:clamp(2.4rem,6vw,3.6rem);font-weight:700;letter-spacing:-.02em}
.hero .titleline{
  font-family:'Montserrat',sans-serif;font-weight:700;color:var(--teal-dark);
  font-size:clamp(1.15rem,3vw,1.5rem);margin:.9rem 0;letter-spacing:.02em;line-height:1.35;
}
.hero p.lede{max-width:40em;font-size:1.08rem}
.hero .industries{
  font-family:'Montserrat',sans-serif;font-weight:600;font-size:.82rem;
  letter-spacing:.06em;color:var(--slate);margin-top:1.1rem;text-transform:uppercase;
}

/* ─── Card grids ─── */
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:1.3rem}
.card{
  background:var(--card);border:1px solid var(--line);border-radius:10px;
  padding:1.6rem 1.5rem;display:flex;flex-direction:column;gap:.8rem;
}
.card h3{font-size:1.2rem;font-weight:600}
.card p{font-size:.97rem;flex-grow:1}

/* ─── Featured project cards ─── */
.proj-card{padding:0;overflow:hidden;text-decoration:none;color:var(--ink)}
.proj-card:hover{border-color:var(--teal)}
.proj-cover{
  background:linear-gradient(135deg,var(--teal-dark),var(--teal));
  color:#fff;padding:2.2rem 1.5rem;min-height:150px;
  display:flex;flex-direction:column;justify-content:flex-end;gap:.4rem;
}
/* When you add a screenshot, the cover image replaces the gradient block:
   <img class="proj-cover-img" src="pii-cover.png" alt="PII course title screen">   */
.proj-cover-img{width:100%;height:190px;object-fit:cover;display:block}
.proj-cover .ptool{font-family:'Montserrat',sans-serif;font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;opacity:.85}
.proj-cover h3{font-size:1.35rem;font-weight:700}
.proj-body{padding:1.3rem 1.5rem;display:flex;flex-direction:column;gap:.7rem;flex-grow:1}
.proj-body p{font-size:.95rem;flex-grow:1}
.proj-link{font-family:'Montserrat',sans-serif;font-weight:600;font-size:.95rem;color:var(--teal-dark)}
.proj-link::after{content:" \2192"}

/* ─── Badges ─── */
.badge-row{display:flex;gap:.45rem;flex-wrap:wrap}
.badge{
  font-family:'Montserrat',sans-serif;font-weight:500;font-size:.72rem;
  background:var(--tint);color:var(--teal-dark);
  padding:.24rem .6rem;border-radius:4px;letter-spacing:.04em;
}

/* ─── Alternating band ─── */
.band{background:var(--card);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}

/* ─── Philosophy ─── */
.principles{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:1.3rem}
.principle{border-left:3px solid var(--teal);padding-left:1.1rem}
.principle h3{font-size:1.05rem;font-weight:600;margin-bottom:.3rem}
.principle p{font-size:.93rem;color:var(--slate)}

/* ─── Skills ─── */
.skill-groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.8rem}
.skill-group h3{font-size:1.05rem;font-weight:600;margin-bottom:.6rem;color:var(--teal-dark)}
.skill-group ul{list-style:none}
.skill-group li{padding:.35rem 0;border-bottom:1px dashed var(--line);font-size:.95rem}
.skill-note{font-size:.85rem;color:var(--slate);margin-top:1.4rem;max-width:46em}

/* ─── Process flow ─── */
.flow{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}
.flow-step{
  background:var(--card);border:1.5px solid var(--teal);border-radius:6px;
  font-family:'Montserrat',sans-serif;font-weight:600;font-size:.85rem;
  padding:.6rem 1rem;color:var(--teal-dark);
}
.flow-arrow{color:var(--teal);font-weight:700}

/* ─── Resume embed ─── */

/* ─── Case study pages ─── */
.case-hero{padding:3.5rem 0 2.5rem}
.case-hero h1{font-size:clamp(1.9rem,5vw,2.9rem);font-weight:700;max-width:18em}
.case-hero .subtitle{font-size:1.12rem;color:var(--slate);margin-top:.8rem;max-width:38em}
.case-meta{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:1.2rem;margin-top:2rem;background:var(--card);
  border:1px solid var(--line);border-radius:10px;padding:1.4rem 1.5rem;
}
.case-meta div strong{font-family:'Montserrat',sans-serif;font-size:.78rem;letter-spacing:.1em;text-transform:uppercase;color:var(--teal);display:block;margin-bottom:.2rem}
.case-meta div{font-size:.92rem}
.case-section{padding:2.4rem 0}
.case-section h2{font-size:1.5rem;font-weight:700;margin-bottom:1rem}
.case-section p+p{margin-top:.9rem}
.case-section ul,.case-section ol{padding-left:1.3rem;margin-top:.6rem}
.case-section li{margin-bottom:.45rem}
.case-section .content{max-width:44em}
.decision{background:var(--card);border:1px solid var(--line);border-radius:10px;padding:1.2rem 1.4rem;margin-bottom:1rem}
.decision h3{font-size:1.02rem;font-weight:600;margin-bottom:.3rem;color:var(--teal-dark)}
.decision p{font-size:.95rem}
.shots{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1.3rem}
.shot img{width:100%;border:1px solid var(--line);border-radius:8px;display:block}
.shot figcaption{font-size:.87rem;color:var(--slate);margin-top:.5rem}
.case-nav{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;padding:2.5rem 0 4rem}

/* ─── Footer ─── */
footer{background:var(--ink);color:#E8EEEC;padding:4rem 0}
footer h2{font-size:clamp(1.6rem,4vw,2.1rem);margin-bottom:1rem}
footer p{max-width:34em;color:#C4D0CD}
footer .btn-ghost{border-color:#7A8F9B;color:#E8EEEC}
footer .btn-ghost:hover{border-color:var(--tint);color:#fff}
footer .fineprint{
  margin-top:3rem;font-family:'Montserrat',sans-serif;
  font-size:.72rem;color:#7A8F9B;letter-spacing:.05em;
}
