/* c-j.co static migration — replicates Squarespace Avenue-style design */
:root {
  --ink: #1f1f1f;
  --body: #8a8a8a;
  --muted: #b5b5b5;
  --line: #e3e3e3;
  --max: 1100px;
  --font: "Helvetica Neue", Helvetica, Arial, "Segoe UI", "DejaVu Sans", "Apple Symbols", "Segoe UI Symbol", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  background: #fff;
  font-size: 15px;
  line-height: 1.85;
  font-weight: 400;
}
/* ---------- lock screen ---------- */
#lock {
  position: fixed; inset: 0; z-index: 1000;
  background: #ededed;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 24px;
}
#lock.hidden { display: none; }
#lock .lock-inner { max-width: 420px; width: 100%; }
#lock .lock-icon { display: block; margin: 0 auto 20px; }
#lock h1 {
  font-family: Georgia, 'DejaVu Serif', 'Times New Roman', serif;
  font-size: 30px; font-weight: 400; color: #333;
  margin: 0 0 15px; letter-spacing: .01em;
}
#lock p { margin: 0 0 25px; font-size: 14px; color: #8a8a8a; }
#lock form { display: flex; justify-content: center; }
#lock .lock-field {
  display: inline-flex; align-items: stretch;
  background: #fff; border: 1px solid #000; padding: 3px;
}
#lock input[type=password] {
  font-family: var(--font); font-size: 14px; color: #fff;
  background: #000; border: 0; border-radius: 0;
  padding: 10px 12px; width: 190px; outline: none;
}
#lock input[type=password]::placeholder { color: #777; }
#lock button {
  background: #000; color: #fff; border: 0; border-radius: 0;
  padding: 0 14px; cursor: pointer; line-height: 1;
}
#lock .lock-arrow { font-size: 18px; font-family: var(--font); }
#lock button:hover .lock-arrow { color: #ccc; }
#lock .lock-err { color: #b00020; font-size: 13px; margin-top: 14px; min-height: 20px; }
/* ---------- header ---------- */
.site-header {
  max-width: var(--max); margin: 0 auto; padding: 34px 40px 10px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 26px; text-decoration: none; }
.header-left { display: flex; align-items: center; gap: 26px; }
.brand img { height: 22px; width: auto; display: block; }
.brand .brand-text { font-size: 14px; letter-spacing: .06em; color: var(--muted); font-weight: 400; }
.site-nav { display: flex; gap: 26px; }
.site-nav a { font-size: 14px; letter-spacing: .06em; color: var(--muted); text-decoration: none; }
.site-nav a:hover, .site-nav a.active { color: var(--ink); }
.header-icon { width: 30px; height: 30px; color: var(--ink); }
/* ---------- layout ---------- */
.page { max-width: var(--max); margin: 0 auto; padding: 30px 40px 90px; }
.page-narrow { max-width: 860px; }
h1.page-title {
  font-size: 46px; font-weight: 300; color: var(--ink);
  margin: 26px 0 54px; letter-spacing: .005em; line-height: 1.2;
}
h2 { font-size: 23px; font-weight: 400; color: var(--ink); margin: 54px 0 18px; line-height: 1.4; }
h3 { font-size: 18px; font-weight: 400; color: var(--ink); margin: 40px 0 12px; line-height: 1.45; }
p { margin: 0 0 18px; }
a { color: var(--ink); }
ul, ol { margin: 0 0 18px; padding-left: 22px; }
li { margin-bottom: 8px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 60px 0; }
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.cols2 h2, .cols2 h3 { margin-top: 0; }
figure { margin: 44px 0; }
figure img, .block-img img { max-width: 100%; height: auto; display: block; }
.block-img { margin: 44px 0; }
figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; }
.hero { margin: 0 0 60px; }
.hero img { width: 100%; height: auto; display: block; }
.center { text-align: center; }
.email-link { font-size: 17px; }
/* ---------- work grid (homepage) ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 30px; margin-top: 10px; }
.work-card { text-decoration: none; display: block; }
.work-card .thumb { background: #fff; border: 1px solid #f0f0f0; aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.work-card .thumb img { width: 100%; height: 100%; object-fit: contain; }
.work-card .work-title { display: block; margin-top: 14px; font-size: 15px; color: var(--ink); font-weight: 400; }
.work-card .work-sub { display: block; font-size: 13px; color: var(--muted); }
/* ---------- galleries ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 44px 0; }
.gallery-grid a { display: block; }
.gallery-grid img { width: 100%; height: auto; display: block; cursor: zoom-in; }
.gallery-4 { grid-template-columns: repeat(4, 1fr); }
/* ---------- slideshow ---------- */
.slideshow { position: relative; margin: 44px 0; background: #fafafa; border: 1px solid #f0f0f0; }
.slideshow .slide { display: none; }
.slideshow .slide.active { display: block; }
.slideshow .slide img { width: 100%; height: auto; display: block; }
.slideshow .slide-cap { padding: 18px 24px; font-size: 14px; color: var(--body); background: #fff; border-top: 1px solid #f0f0f0; }
.ss-prev, .ss-next {
  position: absolute; top: 42%; transform: translateY(-50%);
  background: rgba(255,255,255,.92); border: 1px solid var(--line);
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  font-size: 18px; color: var(--ink); line-height: 1;
}
.ss-prev { left: 14px; } .ss-next { right: 14px; }
.ss-prev:hover, .ss-next:hover { background: #fff; border-color: var(--ink); }
.ss-count { position: absolute; top: 12px; right: 16px; font-size: 13px; color: var(--muted); background: rgba(255,255,255,.9); padding: 2px 10px; border-radius: 12px; }
/* ---------- lightbox ---------- */
#lightbox { position: fixed; inset: 0; z-index: 900; background: rgba(255,255,255,.96); display: none; align-items: center; justify-content: center; }
#lightbox.open { display: flex; }
#lightbox img { max-width: 90vw; max-height: 88vh; box-shadow: 0 10px 60px rgba(0,0,0,.18); }
#lightbox .lb-close { position: absolute; top: 22px; right: 30px; font-size: 34px; color: var(--ink); cursor: pointer; font-weight: 300; }
/* ---------- video ---------- */
.video-wrap { position: relative; padding-bottom: 56.25%; height: 0; margin: 44px 0; background: #000; }
.video-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
/* ---------- about ---------- */
.about-photo { max-width: 340px; margin: 0 0 40px; }
.about-photo img { width: 100%; height: auto; display: block; }
.ig-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 30px 0; }
.ig-grid a { display: block; }
.ig-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.social-row { display: flex; gap: 18px; margin: 26px 0; font-size: 14px; }
.social-row a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
/* ---------- footer ---------- */
.site-footer { max-width: var(--max); margin: 0 auto; padding: 30px 40px 60px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
/* ---------- responsive ---------- */
@media (max-width: 800px) {
  .site-header, .page, .site-footer { padding-left: 22px; padding-right: 22px; }
  h1.page-title { font-size: 34px; margin-bottom: 36px; }
  .cols2 { grid-template-columns: 1fr; gap: 24px; }
  .work-grid { grid-template-columns: repeat(2, 1fr); gap: 22px 16px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .ig-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .work-grid { grid-template-columns: 1fr; }
}
