:root {
  --ink: #14161a;
  --paper: #f6f3ee;
  --accent: #FED43B;
  --muted: #6b6f76;
  --line: #dcd6cc;
  --bs-body-font-family: "Source Serif 4", Georgia, serif;
  --bs-body-color: var(--ink);
  --bs-body-bg: var(--paper);
  --bs-link-color-rgb: 20, 22, 26;
  --bs-link-hover-color-rgb: 20, 22, 26;
}
body { background: var(--paper); font-size: 1.1rem; line-height: 1.65; }
h1, h2, h3, h4, .navbar, .btn, .eyebrow, .font-sans {
  font-family: "Archivo", system-ui, sans-serif;
}
h1, h2, .display-1, .display-2, .display-3, .display-4, .display-5, .display-6 { font-weight: 900; letter-spacing: -0.02em; line-height: 1.05; }
.display-hero { font-size: clamp(2.4rem, 6vw, 4.6rem); }
.text-accent { background: linear-gradient(transparent 58%, var(--accent) 58%, var(--accent) 92%, transparent 92%); }
.section-dark .text-accent { background: none; color: var(--accent); }
.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--ink); background: var(--accent); padding: .2rem .55rem; }

/* Navbar */
.navbar { background: rgba(246, 243, 238, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.navbar .nav-link { font-weight: 600; color: var(--ink); }
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--ink); box-shadow: inset 0 -3px 0 var(--accent); }
.navbar-brand img { height: 32px; width: auto; }

/* Buttons */
.btn-accent { --bs-btn-bg: var(--accent); --bs-btn-border-color: var(--accent); --bs-btn-color: var(--ink);
  --bs-btn-hover-bg: var(--ink); --bs-btn-hover-border-color: var(--ink); --bs-btn-hover-color: var(--accent);
  --bs-btn-active-bg: var(--ink); --bs-btn-active-color: var(--accent);
  font-weight: 700; padding: .85rem 1.6rem; border-radius: 0; }
.btn-outline-ink { --bs-btn-color: var(--ink); --bs-btn-border-color: var(--ink);
  --bs-btn-hover-bg: var(--ink); --bs-btn-hover-color: #fff; font-weight: 700; padding: .85rem 1.6rem; border-radius: 0; }

/* Hero */
.hero { padding: 6rem 0 5rem; }
.hero-img { width: 100%; max-width: 431px; aspect-ratio: 431/567; object-fit: cover; box-shadow: 18px 18px 0 var(--accent); }

/* Dark section */
.section-dark { background: var(--ink); color: #f1ede6; }
.section-dark .lead { color: #c9c4bb; }
.quote-card { border-left: 4px solid var(--accent); padding-left: 1.5rem; }
.quote-card blockquote { font-style: italic; font-size: 1.35rem; }

/* Problem cards */
.problem-card { background: #fff; border: 1px solid var(--line); height: 100%; padding: 2rem; }
.problem-card .step { font-family: "Archivo", sans-serif; font-weight: 900; font-size: 3rem; color: var(--line); line-height: 1; }
.problem-card img { width: 56px; height: 56px; }
.problem-card ul { padding-left: 1.1rem; margin-bottom: 0; }
.problem-card li { margin-bottom: .5rem; }

/* Thinking section */
.thinking p { font-size: 1.35rem; margin-bottom: .35rem; }

/* Blog cards */
.post-card { background: #fff; border: 1px solid var(--line); border-radius: 0; height: 100%; transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,.08); }
.post-card .card-title a { color: var(--ink); text-decoration: none; }
.post-card .card-title a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; }
.post-card .card-text { color: var(--muted); font-size: 1rem; }

/* Manifesto */
.manifesto p { margin-bottom: .4rem; }
.pledge { background: var(--accent); color: var(--ink); padding: 3rem; }
.pledge p { font-size: 1.2rem; font-style: italic; margin: 0; }

/* Gallery */
.gallery-carousel { padding-bottom: 3rem; }
.gallery-carousel img { width: 100%; height: clamp(140px, 28vw, 340px); object-fit: cover; display: block; }
.gallery-carousel .carousel-control-prev, .gallery-carousel .carousel-control-next { width: 3rem; bottom: 3rem; opacity: 1; }
.gallery-carousel .carousel-control-prev-icon, .gallery-carousel .carousel-control-next-icon {
  background-color: var(--ink); background-size: 50%; width: 2.6rem; height: 2.6rem; transition: background-color .2s; }
.gallery-carousel .carousel-control-prev:hover .carousel-control-prev-icon,
.gallery-carousel .carousel-control-next:hover .carousel-control-next-icon { background-color: #000; box-shadow: 0 0 0 3px var(--accent); }
.gallery-carousel .carousel-indicators { margin-bottom: 0; }
.gallery-carousel img { cursor: zoom-in; }
.lightbox .modal-content { background: rgba(10, 11, 13, .97); border: 0; }
.lightbox .modal-body { display: flex; align-items: center; justify-content: center; padding: 3.5rem 4rem; position: relative; }
.lightbox .lb-img { max-width: 100%; max-height: calc(100vh - 7rem); object-fit: contain; user-select: none; }
.lightbox .lb-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 3rem; height: 3rem; border: 0;
  background: var(--accent); color: var(--ink); font-size: 1.4rem; display: flex; align-items: center; justify-content: center; }
.lightbox .lb-btn:hover { background: #fff; }
.lightbox .lb-prev { left: 1rem; } .lightbox .lb-next { right: 1rem; }
.lightbox .lb-close { position: absolute; top: 1rem; right: 1rem; z-index: 2; }
.lightbox .lb-counter { position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%); color: #c9c4bb; font-family: "Archivo", sans-serif; font-size: .9rem; }
@media (max-width: 575px) { .lightbox .modal-body { padding: 3.5rem .5rem; } .lightbox .lb-btn { width: 2.4rem; height: 2.4rem; } .lightbox .lb-prev { left: .4rem; } .lightbox .lb-next { right: .4rem; } }
.gallery-carousel .carousel-indicators [data-bs-target] { background-color: var(--ink); width: 24px; height: 4px; }
.gallery-carousel .carousel-indicators .active { background-color: var(--accent); }

/* Footer */
footer a { color: #f1ede6; }
.section-dark .btn-accent { --bs-btn-hover-bg: #fff; --bs-btn-hover-border-color: #fff; --bs-btn-hover-color: var(--ink); }
footer a:hover { color: var(--accent); }
.newsletter .form-control { border-radius: 0; padding: .85rem 1rem; }
.small-print { color: #8f8a82; font-size: .85rem; }

/* ---------- Subpages ---------- */
.page-header { padding: 5rem 0 3rem; }
.page-header .lead { max-width: 46rem; }
.lh-tight p { margin-bottom: .35rem; }

/* Services */
.service-card { background: #fff; border: 1px solid var(--line); height: 100%; padding: 2.25rem 2rem; display: flex; flex-direction: column; }
.service-card .num { font-family: "Archivo", sans-serif; font-weight: 900; font-size: 4rem; line-height: 1; color: var(--accent); -webkit-text-stroke: 2px var(--ink); }
.service-card .kicker { font-family: "Archivo", sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; color: var(--muted); }
.service-card .btn { margin-top: auto; align-self: flex-start; }
.challenge { border-top: 1px solid var(--line); padding: 4rem 0; }
.challenge:first-of-type { border-top: 0; }

/* References */
.testimonials { columns: 1; column-gap: 1.5rem; }
@media (min-width: 768px) { .testimonials { columns: 2; } }
@media (min-width: 1200px) { .testimonials { columns: 3; } }
.testimonial { break-inside: avoid; background: #fff; border: 1px solid var(--line); padding: 1.75rem; margin-bottom: 1.5rem; }
.testimonial .photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 3px solid var(--accent); }
.testimonial .initials { width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0; background: var(--accent); display: flex; align-items: center; justify-content: center; font-family: "Archivo", sans-serif; font-weight: 800; font-size: 1.3rem; }
.testimonial .name { font-family: "Archivo", sans-serif; font-weight: 800; margin: 0; line-height: 1.2; }
.testimonial .role { font-size: .85rem; color: var(--muted); line-height: 1.35; }
.testimonial blockquote { margin: 1rem 0 0; font-size: 1rem; }
.testimonial blockquote p { margin-bottom: .6rem; }
.testimonial blockquote p:last-child { margin-bottom: 0; }
.testimonial.is-clamped blockquote { max-height: 13.5rem; overflow: hidden; position: relative; }
.testimonial.is-clamped blockquote::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4rem; background: linear-gradient(rgba(255,255,255,0), #fff); }
.read-more { background: none; border: 0; padding: 0; margin-top: .75rem; font-family: "Archivo", sans-serif; font-weight: 700; font-size: .9rem; box-shadow: inset 0 -3px 0 var(--accent); }

/* Contact */
.contact-photo { width: 100%; max-width: 420px; aspect-ratio: 4/5; object-fit: cover; box-shadow: -18px 18px 0 var(--accent); }
.contact-big a { font-family: "Archivo", sans-serif; font-weight: 800; font-size: clamp(1.4rem, 3.4vw, 2.2rem); text-decoration: none; box-shadow: inset 0 -.35em 0 var(--accent); }

/* Blog list */
.blog-search { max-width: 30rem; }
.blog-search .form-control { border-radius: 0; border: 2px solid var(--ink); padding: .8rem 1rem .8rem 2.8rem; background: #fff; }
.blog-search .bi-search { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); }
.post-card .meta, .post-meta { font-family: "Archivo", sans-serif; font-size: .85rem; color: var(--muted); }
.pagination .page-link { border-radius: 0 !important; color: var(--ink); border-color: var(--line); font-family: "Archivo", sans-serif; font-weight: 600; }
.pagination .page-item.active .page-link { background: var(--ink); border-color: var(--ink); color: var(--accent); }
.pagination .page-link:hover { background: var(--accent); color: var(--ink); }

/* Article */
.article-header { padding: 4.5rem 0 2rem; }
.article-header h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
.article-body { font-size: 1.2rem; line-height: 1.75; }
.article-body p { margin-bottom: 1.1rem; }
.article-body img { max-width: 100%; height: auto; display: block; margin: 2rem auto; }
.article-body blockquote { border-left: 5px solid var(--accent); padding: .25rem 0 .25rem 1.5rem; margin: 2rem 0; font-size: 1.45rem; font-style: italic; line-height: 1.5; }
.article-body blockquote p:last-child { margin-bottom: 0; }
.article-body h2, .article-body h3 { margin: 2.5rem 0 1rem; }
.article-body a { text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.article-body a:hover { background: var(--accent); }
.article-body ol, .article-body ul { margin-bottom: 1.1rem; }
.article-body .ratio { margin: 2rem 0; }
.article-cta { background: var(--ink); color: #f1ede6; padding: 2.5rem; }
.post-nav a { display: block; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); padding: 1.25rem 1.5rem; height: 100%; }
.post-nav a:hover { border-color: var(--ink); }
.post-nav small { font-family: "Archivo", sans-serif; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-size: .72rem; }
.share a { display: inline-flex; width: 2.5rem; height: 2.5rem; align-items: center; justify-content: center; border: 1px solid var(--ink); color: var(--ink); text-decoration: none; }
.share a:hover { background: var(--accent); }

/* YouTube click-to-play (no request to YouTube until clicked) */
.yt-facade { background: var(--ink); margin: 2rem 0; }
.yt-facade .yt-play { border: 0; background: radial-gradient(circle at 50% 45%, #2a2d33, var(--ink) 70%); color: #f1ede6; width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .9rem; cursor: pointer; }
.yt-facade .yt-icon { width: 4.5rem; height: 4.5rem; border-radius: 50%; background: var(--accent); color: var(--ink);
  display: flex; align-items: center; justify-content: center; font-size: 2.4rem; transition: transform .2s; }
.yt-facade .yt-play:hover .yt-icon { transform: scale(1.08); }
.yt-facade .yt-note { font-family: "Archivo", sans-serif; font-size: .85rem; color: #c9c4bb; }
