/* Cosmina Bîndilă — cosminabindila.com
   Palette: Big Stone / Mist / Mustard, per brand guidelines. */

:root{
  --bg:#2f3e46;
  --bg-raised:#374752;
  --text:#b8bca9;
  --text-dim:#8d9483;
  --accent:#d5b848;
  --line:#46565f;
  --ink:#eae7d9;
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  background:var(--bg);
  color:var(--text);
  margin:0;
  font-family:'Montserrat',system-ui,-apple-system,sans-serif;
  -webkit-font-smoothing:antialiased;
  line-height:1.5;
}
h1,h2,h3,.display{
  font-family:'Forum','Georgia',serif;
  font-weight:400;
  letter-spacing:.01em;
}
a{color:var(--accent);}
img{max-width:100%;display:block;}

.skip-link{
  position:absolute;left:-999px;top:auto;
  background:var(--accent);color:var(--bg);padding:.6rem 1rem;
  z-index:100;
}
.skip-link:focus{left:1rem;top:1rem;}

/* ===== SITE HEADER (contact strip + nav, one sticky bar) ===== */
.site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(47,62,70,.96);
  backdrop-filter:blur(6px);
  border-bottom:1px solid var(--line);
}
.site-header-inner{
  max-width:1080px;margin:0 auto;padding:.7rem 2rem;
  display:flex;align-items:center;gap:1.4rem;flex-wrap:wrap;
}
.site-brand{
  display:flex;align-items:center;gap:.55rem;
  text-decoration:none;color:var(--ink);
  font-family:'Forum','Georgia',serif;font-size:1rem;
  margin-right:auto;
}
.site-brand img{width:26px;height:26px;object-fit:contain;}
.site-nav{display:flex;gap:.4rem;flex-wrap:wrap;}
.site-nav a{
  color:var(--text);text-decoration:none;
  font-size:.7rem;letter-spacing:.06em;text-transform:uppercase;
  padding:.4rem .85rem;border:1px solid var(--line);border-radius:20px;
  white-space:nowrap;
}
.site-nav a:hover,.site-nav a[aria-current="page"]{border-color:var(--accent);color:var(--accent);}
.site-contact{
  display:flex;align-items:center;gap:.5rem;
  font-size:.68rem;color:var(--text-dim);
  white-space:nowrap;
}
.site-contact a{color:var(--text-dim);text-decoration:none;}
.site-contact a:hover{color:var(--accent);}
.site-contact .dot-sep{opacity:.4;}

@media (max-width:760px){
  .site-header-inner{padding:.65rem 1.2rem;gap:.7rem;}
  .site-nav{order:3;width:100%;overflow-x:auto;flex-wrap:nowrap;padding-bottom:.1rem;}
  .site-contact{order:2;margin-left:auto;}
}

/* ===== LAYOUT ===== */
.page-section{
  max-width:1080px;margin:0 auto;
  padding:3.2rem 2rem;
  border-bottom:1px dashed rgba(184,188,169,.15);
}
.page-section:last-of-type{border-bottom:none;}
.eyebrow{font-size:.7rem;letter-spacing:.14em;text-transform:uppercase;color:var(--accent);margin:0 0 .7rem;}
.btn{
  display:inline-block;
  border:1px solid var(--accent);color:var(--accent);
  padding:.65rem 1.5rem;font-size:.8rem;letter-spacing:.05em;text-transform:uppercase;
  border-radius:2px;text-decoration:none;
}
.btn:hover{background:var(--accent);color:var(--bg);}
.divider{width:40px;height:2px;background:var(--accent);margin:1.3rem 0;}

/* ===== HERO ===== */
.hero{
  padding:5rem 2rem 4.2rem;text-align:center;position:relative;overflow:hidden;
  max-width:none;
}
.hero::before{
  content:"";position:absolute;inset:0;
  background-image:linear-gradient(115deg, rgba(32,41,47,.95) 0%, rgba(32,41,47,.88) 32%, rgba(32,41,47,.55) 62%, rgba(32,41,47,.3) 100%), url("images/hero-bg.jpg");
  background-size:cover;background-position:center 30%;
  filter:grayscale(18%) sepia(10%) saturate(78%) hue-rotate(-6deg) brightness(.88) contrast(1.03);
  z-index:0;
}
.hero-content{position:relative;z-index:1;max-width:680px;margin:0 auto;}
.hero h1{font-size:2.3rem;margin:0 auto .9rem;color:var(--ink);line-height:1.3;}
.hero p.sub{max-width:540px;margin:0 auto;color:var(--text-dim);font-size:1.02rem;line-height:1.65;}
.hero .btn{margin-top:1.8rem;}

/* ===== SERVICES ===== */
.services-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.1rem;}
.service-card{background:var(--bg-raised);border:1px solid var(--line);border-radius:6px;padding:1.2rem;}
.service-card h3{font-size:.92rem;margin:0 0 .4rem;color:var(--ink);}
.service-card p{font-size:.8rem;color:var(--text-dim);margin:0;line-height:1.55;}

/* ===== SNAPSHOTS ===== */
.snap-layout{display:grid;grid-template-columns:repeat(2,1fr);gap:1.3rem;align-items:stretch;}
.snap-col{display:flex;flex-direction:column;gap:1rem;text-align:center;height:100%;}
.snap{background:var(--bg-raised);border:1px solid var(--line);border-radius:6px;padding:1.2rem .6rem;}
.snap .num{font-family:'Forum',serif;font-size:1.6rem;color:var(--accent);display:block;}
.snap .lbl{font-size:.74rem;color:var(--text-dim);}
.snap-col .snap-tag{
  align-self:stretch;flex:1;display:flex;align-items:center;justify-content:center;text-align:center;
  background:var(--bg-raised);border:1px solid var(--line);border-radius:6px;padding:1.2rem 1.3rem;font-size:.84rem;
}

/* ===== CASE STUDIES ===== */
.case-card{background:var(--bg-raised);border:1px solid var(--line);border-radius:6px;padding:1.2rem;margin-bottom:.9rem;font-size:.86rem;line-height:1.65;}
.case-card b{color:var(--ink);}
.case-row{display:contents;}

/* ===== TESTIMONIALS ===== */
.testi-row{display:flex;gap:1rem;overflow-x:auto;padding-bottom:.4rem;}
.postit{
  min-width:220px;max-width:260px;flex-shrink:0;
  background:var(--bg-raised);border:1px solid var(--line);
  border-top:3px solid var(--accent);padding:1.1rem;font-size:.84rem;line-height:1.55;color:var(--text);
}
.postit b{display:block;margin-top:.7rem;color:var(--accent);font-size:.72rem;letter-spacing:.03em;text-transform:uppercase;}

/* ===== CONTACT (closing section) ===== */
.contact-row{display:flex;gap:1.4rem;flex-wrap:wrap;font-size:.92rem;color:var(--text-dim);}
.contact-row a{color:var(--text-dim);text-decoration:none;}
.contact-row a:hover{color:var(--accent);}

/* ===== ABOUT ===== */
.about-hero{display:flex;gap:2.4rem;align-items:flex-start;}
.about-photo{
  width:190px;height:250px;border-radius:4px;flex-shrink:0;
  object-fit:cover;object-position:center 15%;
  filter:grayscale(20%) sepia(12%) saturate(80%) hue-rotate(-8deg) brightness(.92) contrast(1.04);
  box-shadow:0 0 0 1px var(--line);
}
.about-copy p{font-size:.94rem;line-height:1.8;color:var(--text);max-width:60ch;margin:0 0 1rem;}
.about-copy p.pull{font-style:italic;color:var(--text-dim);}

.timeline{position:relative;padding-left:1.3rem;border-left:1px solid var(--line);}
.tl-item{margin-bottom:1.1rem;font-size:.86rem;}
.tl-item .yr{color:var(--accent);font-size:.74rem;letter-spacing:.04em;display:block;margin-bottom:.2rem;}

.cred-group{margin-bottom:1.2rem;font-size:.86rem;line-height:1.7;}
.cred-group h4{font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;color:var(--accent);margin:0 0 .4rem;font-family:'Montserrat',sans-serif;font-weight:600;}

/* ===== MY VIEWS (accordion) ===== */
.page-note{font-size:.88rem;color:var(--text-dim);line-height:1.6;margin:0 0 1.8rem;max-width:60ch;}
.acc{border-top:1px solid var(--line);}
.acc-item{border-bottom:1px solid var(--line);}
.acc-header{
  display:flex;align-items:baseline;gap:1.2rem;padding:1.3rem 0;cursor:pointer;
}
.acc-header:focus-visible{outline:2px solid var(--accent);outline-offset:2px;}
.acc-date{font-size:.72rem;color:var(--accent);letter-spacing:.05em;white-space:nowrap;min-width:72px;}
.acc-titles{flex:1;min-width:0;}
.acc-titles h3{font-size:1.08rem;margin:0 0 .35rem;color:var(--ink);font-weight:400;}
.acc-titles p{font-size:.86rem;color:var(--text-dim);margin:0;line-height:1.5;}
.acc-chevron{font-size:.75rem;color:var(--text-dim);transition:transform .3s ease;flex-shrink:0;margin-top:.25rem;}
.acc-item.open .acc-chevron{transform:rotate(180deg);color:var(--accent);}
.acc-body{display:grid;grid-template-rows:0fr;transition:grid-template-rows .35s ease;}
.acc-item.open .acc-body{grid-template-rows:1fr;}
.acc-body-inner{overflow:hidden;}
.acc-excerpt{padding:0 0 1.6rem;max-width:64ch;}
.acc-excerpt p{font-size:.92rem;line-height:1.8;color:var(--text);margin:0 0 1rem;}

/* ===== READING LIST ===== */
.book-group{margin-bottom:2rem;}
.book-group h4{font-size:.74rem;letter-spacing:.1em;text-transform:uppercase;color:var(--accent);margin:0 0 .8rem;font-family:'Montserrat',sans-serif;font-weight:600;}
.book-row{font-size:.9rem;padding:.6rem 0;border-bottom:1px dotted var(--line);display:flex;justify-content:space-between;gap:1rem;}
.book-row span:first-child{color:var(--ink);}
.book-row .auth{color:var(--text-dim);font-size:.8rem;white-space:nowrap;text-align:right;}

/* ===== FOOTER ===== */
.site-footer{
  max-width:1080px;margin:0 auto;padding:2.4rem 2rem 3rem;
  font-size:.72rem;color:var(--text-dim);
  display:flex;justify-content:space-between;flex-wrap:wrap;gap:.6rem;
  border-top:1px solid var(--line);
}
.site-footer a{color:var(--text-dim);text-decoration:none;}
.site-footer a:hover{color:var(--accent);}

/* ===== RESPONSIVE: TABLET ===== */
@media (max-width:900px){
  .services-grid{grid-template-columns:repeat(2,1fr);}
  .hero h1{font-size:2rem;}
  .about-photo{width:160px;height:210px;}
}

/* ===== RESPONSIVE: MOBILE ===== */
@media (max-width:640px){
  .page-section{padding:2.2rem 1.3rem;}
  .hero{padding:3.4rem 1.3rem 2.8rem;}
  .hero h1{font-size:1.6rem;}
  .hero p.sub{font-size:.9rem;}
  .services-grid{grid-template-columns:repeat(2,1fr);gap:.6rem;}
  .service-card{padding:.85rem;}
  .service-card h3{font-size:.8rem;}
  .service-card p{font-size:.72rem;line-height:1.45;}
  .snap-layout{grid-template-columns:repeat(2,1fr);gap:.7rem;}
  .snap-col{gap:.7rem;}
  .snap{padding:.95rem .5rem;}
  .snap .num{font-size:1.3rem;}
  .snap .lbl{font-size:.68rem;}
  .snap-col .snap-tag{font-size:.74rem;padding:.9rem .7rem;}
  .about-hero{flex-direction:column;}
  .about-photo{width:150px;height:200px;}
  .contact-row{gap:.9rem;}
}

/* ===== 404 ===== */
.notfound{
  min-height:60vh;display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;padding:3rem 1.5rem;
}
.notfound h1{font-size:2.4rem;color:var(--accent);margin:0 0 .8rem;}
.notfound p{color:var(--text-dim);max-width:44ch;margin:0 0 1.6rem;}
