/* El Wood Intimacy — site styles (matched to existing brand: lilac, Futura-style type) */
:root {
  --lilac: #c9b8de;
  --lilac-light: #e3daef;
  --ink: #1f1f1f;
  --muted: #5f5a66;
  --line: #1f1f1f;
  --max: 1160px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Jost', 'Century Gothic', 'Futura', sans-serif;
  font-size: 17.5px;
  line-height: 1.7;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 {
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: .12em;
  text-transform: uppercase;
}
h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 1.4rem; }
h3 { font-size: 1.15rem; margin-bottom: .4rem; }
a { color: var(--ink); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--max);
  margin: 30px auto;
  padding: 0 24px;
}

/* Header — lilac bar: centred logo stacked above boxed uppercase links */
header {
  background: var(--lilac);
  position: relative; z-index: 100;
}
.nav {
  display: flex; flex-direction: column; align-items: center; gap: 20px;
  padding: 30px 24px 26px; max-width: var(--max); margin: 0 auto; position: relative;
}
.brand {
  font-size: 1.7rem; font-weight: 400; letter-spacing: .34em;
  text-transform: uppercase; color: var(--ink); text-align: center;
}
.brand:hover { text-decoration: none; }
.brand span { display: block; font-size: .72rem; letter-spacing: .46em; color: var(--ink); font-weight: 400; opacity: .8; margin-top: 4px; }
nav.links { display: flex; }
nav.links a {
  font-size: .92rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink); font-weight: 400;
  border: 1px solid var(--ink); border-right: none;
  padding: 10px 30px; background: transparent;
  transition: background .2s ease;
}
nav.links a:last-child { border-right: 1px solid var(--ink); }
nav.links a:hover, nav.links a[aria-current="page"] { background: rgba(255,255,255,.35); text-decoration: none; }
.nav-toggle-box { display: none; }
.menu-toggle { display: none; background: none; border: none; font-size: 1.6rem; cursor: pointer; color: var(--ink); position: absolute; right: 24px; top: 34px; user-select: none; }

/* Hero — full-bleed video/still with white overlaid type */
.hero-img {
  position: relative; min-height: 560px; overflow: hidden;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: var(--ink);
  background-size: cover; background-position: center 30%;
}
.hero-img video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
}
.hero-img::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.18); }
.hero-img .inner { position: relative; z-index: 1; color: #fff; padding: 100px 24px; }
.hero-img h1 { color: #fff; font-weight: 300; letter-spacing: .18em; }
.hero-img .sub {
  font-size: clamp(1.2rem, 3vw, 2rem); font-weight: 300;
  letter-spacing: .24em; text-transform: uppercase; margin-top: 12px;
}

/* Text hero (inner pages) — light lilac band, flush against the header */
.hero { padding: 88px 0; text-align: center; background: var(--lilac-light); margin-top: 0; }
.hero .kicker { font-size: .78rem; letter-spacing: .34em; text-transform: uppercase; margin-bottom: 14px; opacity: .8; }
.hero p.lead { max-width: 680px; margin: 18px auto 0; font-size: 1.05rem; }
.hero .cta-row { margin-top: 32px; display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 12px 32px; border: 1px solid var(--ink);
  font-size: .85rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink); transition: all .2s ease; font-weight: 400; background: #fff;
}
.btn:hover { background: var(--ink); color: #fff; text-decoration: none; }
.btn.solid { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn.solid:hover { background: var(--lilac); color: var(--ink); border-color: var(--ink); }

/* Sections — consistent vertical rhythm */
section { padding: 80px 0; }
main > img { margin: 40px 0; }
section.alt { background: var(--lilac-light); }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head .kicker { font-size: .74rem; letter-spacing: .3em; text-transform: uppercase; opacity: .7; }

/* Logo strip */
.logo-strip { padding: 0; }
.logo-strip img { margin: 0 auto; max-height: 46px; width: auto; }

/* Intro two-col with headshot */
.intro-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 104px; align-items: start; }
.intro-grid .headshot img { width: 100%; height: auto; }
.intro-grid .headshot figcaption { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 14px; text-align: center; }

/* Grid of project stills */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.grid figure { position: relative; overflow: hidden; aspect-ratio: 1; background: var(--lilac-light); }
.grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.grid figure:hover img { transform: scale(1.04); }
.grid figcaption {
  position: absolute; inset: auto 0 0 0; padding: 22px 12px 10px;
  background: linear-gradient(transparent, rgba(0,0,0,.72));
  color: #fff; font-size: .8rem; letter-spacing: .06em;
}

/* News grid */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.news-grid article { background: #fff; border: 1px solid #ddd3ea; }
.news-grid img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.news-grid .txt { padding: 16px 18px 20px; }
.news-grid .txt a { font-size: .95rem; line-height: 1.45; display: block; }
.news-grid .src { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }

/* Credits */
.credits h2 { margin-top: 48px; border-bottom: 1px solid var(--ink); padding-bottom: 10px; }
.credit {
  display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 8px 48px;
  padding: 22px 0; border-bottom: 1px solid #e0d8ec; align-items: baseline;
}
.credit .title { font-weight: 500; font-size: 1.02rem; letter-spacing: .04em; }
.credit .role { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.credit .meta { color: var(--muted); font-size: .92rem; }

/* Testimonials */
blockquote {
  border-left: 3px solid var(--lilac); padding: 8px 0 8px 28px; margin: 56px 0;
  font-size: 1.15rem; line-height: 1.65; font-weight: 300;
}
blockquote footer { font-size: .82rem; color: var(--muted); margin-top: 14px; letter-spacing: .1em; text-transform: uppercase; }

/* Cards / two-col */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: stretch; }
.card {
  background: #fff; border: 1px solid var(--ink); padding: 40px;
  min-height: 280px; display: flex; flex-direction: column;
}
.card p { color: var(--muted); font-size: .97rem; }
.card .email { display: inline-block; margin-top: auto; padding-top: 24px; font-weight: 500; }
.card h3 { margin-bottom: 14px; }

/* Lists */
ul.clean { list-style: none; }
ul.clean li { padding: 9px 0; border-bottom: 1px solid #e0d8ec; font-size: .95rem; color: var(--muted); }
ul.clean li strong { color: var(--ink); font-weight: 500; }

/* FAQ */
details { border-bottom: 1px solid #e0d8ec; padding: 4px 0; }
details summary {
  cursor: pointer; padding: 16px 0; font-weight: 500; font-size: 1rem; letter-spacing: .06em;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
details summary::after { content: "+"; font-size: 1.4rem; font-weight: 300; }
details[open] summary::after { content: "–"; }
details p { padding: 0 0 18px; color: var(--muted); }

/* Footer */
footer.site {
  background: var(--lilac); padding: 64px 24px;
  text-align: center; font-size: .85rem;
}
footer.site .foot-links { display: flex; gap: 40px; justify-content: center; margin-bottom: 18px; flex-wrap: wrap; }
footer.site a { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; }

/* Prose pages */
.prose { max-width: 760px; margin: 60px auto; }
.prose p { margin-bottom: 1.2em; }
.prose h2 { margin-top: 2em; }

@media (max-width: 980px) {
  nav.links a { padding: 10px 16px; font-size: .8rem; }
}
@media (max-width: 820px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .two-col, .intro-grid, .news-grid { grid-template-columns: 1fr; }
  .credit { grid-template-columns: 1fr; gap: 2px; }
  .hero-img { min-height: 420px; border-bottom-width: 36px; }
  nav.links {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--lilac); flex-direction: column;
    border-top: 1px solid var(--ink); padding: 8px 24px 16px;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    pointer-events: none;
    transition: opacity .22s ease-out, transform .22s ease-out, visibility 0s linear .22s;
  }
  nav.links.open, .nav-toggle-box:checked ~ nav.links {
    opacity: 1; visibility: visible; transform: translateY(0);
    pointer-events: auto;
    transition: opacity .22s ease-out, transform .22s ease-out, visibility 0s;
  }
  nav.links a, nav.links a:last-child { border: none; padding: 12px 0; }
  nav.links a:hover, nav.links a[aria-current="page"] { background: none; }
  nav.links a[aria-current="page"] { font-weight: 600; }
  nav.links a[aria-current="page"]::after {
    content: ""; display: block; width: 26px; height: 2px;
    background: var(--ink); margin-top: 5px;
  }
  .menu-toggle { display: block; }
}
