/* ============================================================
   michaelbeliveau.com — rebuilt as a static site
   Palette + type replicate the original Squarespace theme:
   accent sage  hsl(93.75, 10%, 69%)
   dark slate   hsl(240, 2.6%, 22.5%)
   headings: wide grotesque (orig: pragmatica-extended → Archivo Expanded)
   body: Bodoni serif (orig: ltc-bodoni-175 → Bodoni Moda)
   ============================================================ */
:root{
  --sage: hsl(93.75, 10.1%, 69%);
  --slate: hsl(240, 2.6%, 22.5%);
  --black: #000;
  --white: #fff;
  --heading-font: 'Archivo', 'Helvetica Neue', sans-serif;
  --body-font: 'Bodoni Moda', 'Bodoni 72', Didot, serif;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  font-family:var(--body-font);
  font-size:18px;line-height:1.7;
  color:var(--black);background:var(--white);
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
a{color:inherit}
h1,h2,h3,h4{
  font-family:var(--heading-font);
  font-stretch:125%;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.02em;
  line-height:1.15;
}

/* ---------- Header ---------- */
.site-header{
  display:flex;align-items:center;
  padding:1.4rem 2rem;
  background:var(--black);color:var(--white);
}
.site-header .site-title{
  font-family:var(--heading-font);font-stretch:125%;
  font-weight:700;font-size:1.5rem;letter-spacing:.05em;
  text-decoration:none;
}
.site-header nav{margin-left:auto;display:flex;gap:1.8rem}
.site-header nav a{
  font-family:var(--heading-font);font-stretch:110%;
  font-size:.85rem;letter-spacing:.06em;text-transform:lowercase;
  text-decoration:none;opacity:.9;
}
.site-header nav a:hover,
.site-header nav a[aria-current="page"]{opacity:1;text-decoration:underline;text-underline-offset:4px}

/* ---------- Hero (home) ---------- */
.hero{
  background:var(--black);color:var(--sage);
  text-align:center;
  padding:7rem 1.5rem 7.5rem;
}
.hero h1{font-size:clamp(2.4rem,7vw,4.6rem);font-weight:700}
.hero p{
  font-family:var(--heading-font);font-stretch:125%;
  margin-top:1.2rem;
  font-size:clamp(1rem,2.6vw,1.5rem);
  letter-spacing:.35em;text-transform:uppercase;
}

/* ---------- Work grid (home) ---------- */
.work{
  background:var(--slate);color:var(--white);
  padding:4.5rem 2rem 5rem;
}
.work-grid{
  max-width:1200px;margin:0 auto;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:2.5rem 2rem;
}
.tile a{text-decoration:none;display:block}
.tile .thumb{
  aspect-ratio:16/10;overflow:hidden;background:#000;
}
.tile .thumb img{
  width:100%;height:100%;object-fit:cover;
  transition:transform .35s ease,opacity .35s;
}
.tile a:hover .thumb img{transform:scale(1.04);opacity:.85}
.tile h3{
  margin-top:.9rem;
  font-size:1.02rem;font-weight:600;letter-spacing:.05em;
  text-align:center;
}
.work .cta{
  margin-top:4rem;text-align:center;
}
.work .cta a{
  font-family:var(--body-font);
  font-size:1.35rem;font-style:italic;
  color:var(--white);
}
.work .cta a:hover{color:var(--sage)}

/* ---------- Services (home) ---------- */
.services-section{
  background:var(--white);color:var(--black);
  padding:5rem 2rem 5.5rem;
}
.services-section > h2{
  text-align:center;font-size:clamp(1.8rem,4vw,2.6rem);margin-bottom:3.5rem;
}
.services-grid{
  max-width:1200px;margin:0 auto;
  display:grid;grid-template-columns:repeat(4,1fr);gap:2.5rem;
}
.service h3{font-size:1.15rem;margin-bottom:1rem}
.service p.lead{font-style:italic;margin-bottom:1rem;font-size:.98rem}
.service ul{list-style:none}
.service li{
  padding:.3rem 0;font-size:.95rem;line-height:1.5;
  border-bottom:1px solid #e5e5e5;
}
.service li:last-child{border-bottom:none}
.book{
  text-align:center;margin-top:3.5rem;
}
.book a{
  font-family:var(--heading-font);font-stretch:110%;
  display:inline-block;
  background:var(--black);color:var(--white);
  text-decoration:none;text-transform:uppercase;
  letter-spacing:.1em;font-size:.9rem;
  padding:1rem 2.6rem;
  transition:background .2s;
}
.book a:hover{background:var(--slate)}

/* ---------- Project pages ---------- */
.project-page{
  max-width:1100px;margin:0 auto;
  padding:4.5rem 1.5rem 5rem;
}
.project-page h1{
  font-size:clamp(1.9rem,5vw,3rem);
  text-align:center;
}
.project-page .credits{
  text-align:center;margin-top:1.4rem;
  font-size:1.05rem;line-height:1.9;
}
.project-page .role{
  text-align:center;margin-top:.4rem;
  font-family:var(--heading-font);font-stretch:110%;
  text-transform:uppercase;letter-spacing:.08em;
  font-size:.85rem;color:var(--slate);
}
.videos{margin-top:3rem;display:grid;gap:2.5rem}
.video-embed{
  position:relative;aspect-ratio:16/9;background:#000;
}
.video-embed iframe{
  position:absolute;inset:0;width:100%;height:100%;border:0;
}

/* ---------- About ---------- */
.about-row{
  max-width:1150px;margin:0 auto;
  display:grid;grid-template-columns:1fr 1fr;
  gap:3.5rem;align-items:center;
  padding:4rem 1.5rem;
}
.about-row:first-of-type{padding-top:5rem}
.about-row h1{font-size:clamp(2rem,5vw,3rem);margin-bottom:1.5rem}
.about-row p{margin-bottom:1.2rem;font-size:1.02rem}
.about-row figure figcaption{
  margin-top:.6rem;font-size:.85rem;font-style:italic;
  text-align:center;color:#555;
}
.about-row.flip .media{order:2}
.about-photos-pair{display:grid;gap:2rem}

/* ---------- Contact ---------- */
.contact-page{
  background:var(--black);color:var(--white);
  min-height:60vh;
  display:flex;flex-direction:column;justify-content:center;align-items:center;
  text-align:center;padding:6rem 1.5rem;
}
.contact-page h1{font-size:clamp(2rem,6vw,3.6rem)}
.contact-page a{
  margin-top:2rem;
  font-family:var(--heading-font);font-stretch:110%;
  font-size:clamp(1rem,3vw,1.3rem);
  letter-spacing:.05em;color:var(--sage);
  text-decoration:none;border-bottom:1px solid var(--sage);
  padding-bottom:.2rem;
}
.contact-page a:hover{color:var(--white);border-color:var(--white)}

/* ---------- Footer ---------- */
.site-footer{
  background:var(--black);color:var(--white);
  text-align:center;
  padding:2.5rem 1.5rem;
}
.site-footer .socials{
  display:flex;justify-content:center;gap:1.6rem;margin-bottom:1.2rem;
}
.site-footer .socials a{
  font-family:var(--heading-font);font-stretch:110%;
  font-size:.78rem;letter-spacing:.1em;text-transform:uppercase;
  text-decoration:none;opacity:.85;
}
.site-footer .socials a:hover{opacity:1;text-decoration:underline;text-underline-offset:4px}
.site-footer .copyright{
  font-size:.85rem;font-style:italic;opacity:.7;
}

/* ---------- Responsive ---------- */
@media (max-width:980px){
  .work-grid{grid-template-columns:repeat(2,1fr)}
  .services-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:640px){
  .site-header{padding:1.1rem 1.2rem}
  .site-header nav{gap:1.1rem}
  .work-grid{grid-template-columns:1fr}
  .services-grid{grid-template-columns:1fr}
  .about-row{grid-template-columns:1fr;gap:2rem}
  .about-row.flip .media{order:0}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .tile .thumb img{transition:none}
}
