/* ===== Shared site styles — blue-gray dark variant ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: #0c0e10;
  color: #e3e6e8;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.6;
}
a { color: #cee0ef; text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0; }

/* NAV */
nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(12,14,16,0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #20252a;
}
nav .wrap { display: flex; justify-content: space-between; align-items: center; padding: 20px 6vw; }
nav .name { font-weight: 700; font-size: 15px; letter-spacing: -0.01em; color: #f0f1ef; }
nav .links { display: flex; gap: 28px; font-size: 13px; }
nav .links a { color: #cee0ef; }

header.top {
  border-bottom: 1px solid #20252a; padding: 20px 0;
}
header.top .wrap-narrow { display: flex; justify-content: space-between; align-items: center; }
header.top a.back { font-size: 13px; color: #cee0ef; }
a.back { text-decoration: none; }
a.back:hover { text-decoration: underline; }

/* HERO */
.hero { padding: 9vw 0 3vw; }
.hero .kicker {
  font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
  color: #7c93a8; font-weight: 600; margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(30px, 4.6vw, 48px); font-weight: 700; line-height: 1.15;
  letter-spacing: -0.01em; margin-bottom: 24px; color: #f0f1ef;
}
.hero p.sub { font-size: 15px; line-height: 1.65; color: #b3bcc2; margin-bottom: 26px; }

.meta-row {
  display: flex; gap: 36px; flex-wrap: wrap;
  border-top: 1px solid #20252a; border-bottom: 1px solid #20252a;
  padding: 18px 0; margin-bottom: 8px;
}
.meta-row div { font-size: 13px; color: #b3bcc2; }
.meta-row .label { color: #7c93a8; text-transform: uppercase; letter-spacing: 0.06em; font-size: 11px; margin-bottom: 4px; display:block; }

/* SECTIONS */
section { padding: 2.5vw 0; }
section > .wrap > h2, section > .wrap-narrow > h2 {
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  color: #7c93a8; font-weight: 700; margin-bottom: 10px;
}
section > .wrap > .section-intro, section > .wrap-narrow > .section-intro {
  font-size: 15px; color: #b3bcc2; margin-bottom: 40px;
}
section .num { font-size: 12px; color: #7c93a8; letter-spacing: 0.1em; margin-bottom: 14px; }
section h2.title { font-size: clamp(22px, 3vw, 30px); font-weight: 700; line-height: 1.15; margin-bottom: 20px; color: #f0f1ef; text-transform: none; letter-spacing: normal; }
section p { font-size: 15px; color: #b3bcc2; margin-bottom: 16px; }
section ul.feature-list, section ol.feature-list { list-style: none; margin: 0 0 20px; padding: 0; }
section ul.feature-list li, section ol.feature-list li { font-size: 15px; color: #b3bcc2; margin-bottom: 12px; padding-left: 22px; position: relative; }
section ul.feature-list li:last-child, section ol.feature-list li:last-child { margin-bottom: 0; }
section ul.feature-list li::before { content: "•"; position: absolute; left: 0; color: #7c93a8; }
section ol.feature-list { counter-reset: step; }
section ol.feature-list li { counter-increment: step; padding-left: 26px; }
section ol.feature-list li::before { content: counter(step) "."; position: absolute; left: 0; color: #7c93a8; font-weight: 600; }
section ul.feature-list li strong, section ol.feature-list li strong { color: #f0f1ef; font-weight: 600; }

/* PLACEHOLDER IMAGE */
.placeholder-img {
  background: #3a3d40;
  color: #c9cdd0;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
}
figure { margin: 28px 0 46px; }
figure .placeholder-img { width: 100%; height: 320px; }
figure img { width: 100%; border-radius: 6px; display: block; border: 1px solid #20252a; }
figure a.shot { display: block; }
figure a.shot img { cursor: zoom-in; transition: opacity 0.15s ease; }
figure a.shot:hover img { opacity: 0.88; }
figcaption { font-size: 13px; color: #747c81; margin-top: 10px; }
figcaption a.js-enlarge {
  color: #747c81; font: inherit;
  text-decoration: none; cursor: pointer;
}
figcaption a.js-enlarge:hover { text-decoration: underline; }

.source-note { font-size: 13px; color: #747c81; }
.source-note a { color: #cee0ef; text-decoration: none; }
.source-note a:hover { text-decoration: underline; }

/* ENLARGE MODAL */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(6,7,8,0.92);
  display: flex; align-items: center; justify-content: center;
  padding: 5vw;
}
.modal-overlay[hidden] { display: none; }
.modal-content { width: 100%; height: 100%; overflow: auto; }
.modal-content img { display: block; width: 100%; min-width: 100%; border-radius: 6px; }
.modal-close {
  position: absolute; top: 22px; right: 28px;
  background: none; border: none; color: #f0f1ef;
  font-size: 30px; line-height: 1; cursor: pointer;
}

/* WORK LIST (home) */
.project {
  display: flex; gap: 32px; padding: 60px 0; border-top: 1px solid #191c1f;
  flex-wrap: wrap;
}
.project:first-of-type { border-top: none; }
.project .thumb.placeholder-img { width: 660px; min-width: 660px; height: 420px; }
.project a.thumb {
  display: block; width: 660px; min-width: 660px; height: 420px;
  border-radius: 6px; overflow: hidden;
}
.project a.thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: opacity 0.15s ease;
}
.project a.thumb:hover img { opacity: 0.88; }
.project .body { flex: 1; min-width: 240px; }
.project h3 { font-size: 21px; font-weight: 700; line-height: 1.15; margin-bottom: 4px; color: #f0f1ef; }
.project p { font-size: 15px; color: #b3bcc2; max-width: 54ch; margin-bottom: 12px; }
.project a.cta { font-size: 13px; text-decoration: none; color: #cee0ef; }
.project a.cta:hover { text-decoration: underline; }

/* TESTIMONIALS */
.testimonial {
  padding: 26px 0; border-top: 1px solid #191c1f;
  display: flex; gap: 40px; flex-wrap: wrap;
}
.testimonial:first-of-type { border-top: none; }
.testimonial .quote-title { font-size: 17px; font-weight: 700; line-height: 1.15; max-width: 30ch; flex: 0 0 340px; color: #f0f1ef; }
.testimonial .quote-body { flex: 1; min-width: 240px; }
.testimonial .quote-body p { font-size: 15px; color: #b3bcc2; margin-bottom: 14px; }
.testimonial .attribution { font-size: 13px; font-weight: 600; color: #f0f1ef; }
.testimonial .attribution span { display: block; font-weight: 400; color: #f0f1ef; font-size: 13px; }
.placeholder-tag {
  display: inline-block; font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase;
  border: 1px dashed #454b50; color: #7c8288; padding: 3px 8px; border-radius: 4px; margin-bottom: 10px;
}

/* CONTACT */
.contact p { font-size: 15px; color: #b3bcc2; margin-bottom: 18px; }
.contact-intro { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.contact-intro .avatar { width: 54px; height: 54px; min-width: 54px; border-radius: 50%; display: block; }
.contact-intro .contact-col { flex: 1; min-width: 240px; }
.contact-intro p { font-size: 15px; color: #b3bcc2; margin-bottom: 0; }
.contact-links { display: flex; align-items: center; gap: 10px; font-size: 15px; margin-top: 10px; }
.contact-links a { color: #cee0ef; text-decoration: none; }
.contact-links a:hover { text-decoration: underline; }
.contact-links .divider { color: #b3bcc2; }

footer {
  border-top: 1px solid #191c1f; padding: 26px 0 40px;
  font-size: 13px; color: #b3bcc2;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
footer .wrap-narrow { width: 100%; }
footer a { color: #cee0ef; text-decoration: none; }

@media (max-width: 640px) {
  .project { flex-direction: column; }
  .project .thumb.placeholder-img,
  .project a.thumb { width: 100%; }
}
