/* Stolet – redesign layer for About, Services, Blog and Blog post.
   Loaded AFTER style.css on those four pages only, so Home, Work and Contact are untouched.
   Everything here is fluid: clamp() type and spacing, auto-fit grids and min() widths,
   so layouts adapt to any screen instead of jumping between a few fixed breakpoints. */

:root {
  --r-lg: 22px;
  --r-md: 14px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --hdr: 79px; /* sticky header height, used by sticky sub-navs and scroll offsets */
}

/* ---------- Shared helpers ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 12px; max-width: none;
  font: 700 0.78rem/1.2 var(--body); letter-spacing: 0.22em; text-transform: uppercase;
  margin: 0 0 clamp(16px, 2vw, 24px);
}
.eyebrow::before {
  content: ""; flex: none; width: 11px; height: 11px; border-radius: 50%;
  background: var(--yellow); box-shadow: 0 0 0 2px var(--black);
}
.on-black .eyebrow::before, .ph .eyebrow::before, .post-hero .eyebrow::before { box-shadow: none; }
.on-sun .eyebrow::before { background: var(--black); box-shadow: none; }

.tick-ico {
  flex: none; width: 24px; height: 24px; padding: 4px; border-radius: 50%;
  background: var(--yellow); color: var(--black);
}
.ph .btn-row { margin-top: clamp(20px, 2.6vw, 30px); }

/* =====================================================================
   ABOUT
   ===================================================================== */

/* Stats band */
.stats { padding-block: clamp(36px, 5vw, 68px); }
.stats-grid {
  display: grid; gap: clamp(20px, 3vw, 44px); margin: 0;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
}
.stats-grid > div { border-top: 2px solid var(--black); padding-top: 16px; }
.stats-grid dt { font: 800 clamp(2.8rem, 6.2vw, 4.8rem)/0.95 var(--display); letter-spacing: -0.05em; }
.stats-grid dd { margin: 10px 0 0; font-weight: 600; max-width: 26ch; line-height: 1.4; }

/* Story */
.story2 { padding-block: clamp(72px, 10vw, 150px); }
.story-big { max-width: 24ch; }
.story-grid {
  display: grid; gap: clamp(32px, 5vw, 80px); align-items: start;
  padding-top: clamp(28px, 4vw, 48px); border-top: 1px solid var(--line);
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 900px) { .story-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.story-copy p { color: var(--muted); font-size: clamp(1.08rem, 1.2vw, 1.25rem); line-height: 1.65; max-width: 46ch; }
.story-copy p:last-child { margin-bottom: 0; }

.compare { display: grid; gap: 14px; }
.cmp { border-radius: var(--r-lg); padding: clamp(22px, 2.6vw, 34px); }
.cmp-tag { display: block; font: 700 0.74rem/1 var(--body); letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 16px; }
.cmp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cmp-chips span { padding: 9px 16px; border-radius: 999px; font-weight: 700; font-size: 0.95rem; }
.cmp p { margin: 16px 0 0; max-width: 40ch; }
.cmp--old { background: var(--white); border: 2px dashed rgba(5, 6, 8, 0.28); color: var(--muted); }
.cmp--old .cmp-chips span { border: 1.5px dashed rgba(5, 6, 8, 0.4); }
.cmp--new { background: var(--black); color: var(--white); }
.cmp--new .cmp-tag { color: var(--yellow); }
.cmp--new .cmp-chips span { background: var(--yellow); color: var(--black); }
.cmp--new p { color: rgba(247, 248, 250, 0.82); }

/* Vision and mission: cards flow to one column automatically when narrow */
/* Vision and mission: compact cards, one short heading and one paragraph each */
.vm-cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: clamp(14px, 1.8vw, 22px); }
.vm-card { border-radius: var(--r-lg); padding: clamp(22px, 2.6vw, 34px); justify-content: flex-start; }
.vm-card .vm-top { margin-bottom: clamp(14px, 1.8vw, 20px); gap: 12px; }
.vm-card .ico { width: 42px; height: 42px; }
.vm-card .ico svg { width: 20px; height: 20px; }
.vm-card .vm-line { font-size: clamp(1.3rem, 1.15rem + 0.7vw, 1.75rem); line-height: 1.15; margin: 0 0 12px; max-width: none; }
.vm-text { margin: 0; font-size: clamp(0.98rem, 0.94rem + 0.2vw, 1.08rem); line-height: 1.65; max-width: 60ch; opacity: 0.86; }

/* What we care about */
.care-sect { position: relative; overflow: hidden; }
.care-sect::after {
  content: ""; position: absolute; right: -10%; top: -30%; width: 55%; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(251, 223, 87, 0.16), transparent 68%);
}
.care2 {
  position: relative; z-index: 1; display: grid; gap: clamp(28px, 4vw, 56px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}
.care-item2 { border-top: 1px solid rgba(247, 248, 250, 0.28); padding-top: clamp(20px, 2.4vw, 30px); }
.care-item2 .num { display: block; font: 800 clamp(3rem, 6.4vw, 5.4rem)/1 var(--display); letter-spacing: -0.05em; color: var(--yellow); margin-bottom: clamp(14px, 2vw, 24px); }
.care-item2 h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 10px; }
.care-item2 p { margin: 0; color: rgba(247, 248, 250, 0.78); max-width: 34ch; }

/* How a project runs */
.steps { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); counter-reset: step; }
.step {
  position: relative; padding: clamp(24px, 2.6vw, 34px); border-radius: var(--r-lg);
  background: var(--white); box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.step:hover { transform: translateY(-5px); box-shadow: inset 0 0 0 2px var(--black); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; margin-bottom: 22px;
  background: var(--black); color: var(--yellow); font: 800 0.95rem/1 var(--display); letter-spacing: 0.02em;
}
.step h3 { margin-bottom: 10px; }
.step p { margin: 0; color: var(--muted); }

/* Team */
.founder-card {
  display: grid; gap: clamp(28px, 5vw, 80px); align-items: center;
  grid-template-columns: minmax(200px, 340px) minmax(0, 1fr);
  padding: clamp(22px, 4vw, 56px); border-radius: 28px;
  background: var(--paper); box-shadow: inset 0 0 0 1px var(--line);
}
@media (max-width: 760px) { .founder-card { grid-template-columns: minmax(0, 1fr); } .founder-card .cast { max-width: 260px; } }
.founder-card .cast { aspect-ratio: 4 / 5; width: 100%; margin: 0; border-radius: 18px; }
.founder-card h3 { font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1; letter-spacing: -0.045em; margin-bottom: 12px; }
.founder-card .role { font: 700 0.78rem/1 var(--body); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin: 0 0 22px; }
.founder-card .founder-bio { font-size: clamp(1.08rem, 1.5vw, 1.3rem); max-width: 44ch; }

/* Brands we run */
.brand-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.brand-tile {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  min-height: clamp(210px, 24vw, 320px); padding: clamp(26px, 3.6vw, 48px); border-radius: var(--r-lg);
}
.brand-tile--a { background: var(--black); color: var(--white); }
.brand-tile--b { background: var(--yellow); color: var(--black); }
.brand-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.brand-tag { font: 700 0.74rem/1 var(--body); letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.8; }
.brand-tile h3 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); line-height: 0.95; letter-spacing: -0.05em; margin: 0 0 10px; }
.brand-tile p { margin: 0; opacity: 0.85; font-weight: 600; }

/* =====================================================================
   SERVICES
   ===================================================================== */

/* Sticky jump bar */
.svc-nav {
  position: sticky; top: var(--hdr); z-index: 40;
  background: rgba(247, 248, 250, 0.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.svc-nav .wrap { display: flex; gap: 8px; align-items: center; overflow-x: auto; padding-block: 12px; scrollbar-width: none; }
.svc-nav .wrap::-webkit-scrollbar { display: none; }
.svc-nav a {
  flex: none; padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 0.97rem; text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.svc-nav a:hover { background: rgba(5, 6, 8, 0.07); }
.svc-nav a[aria-current="true"] { background: var(--black); color: var(--white); }

/* "Which service fits you" cards */
.guide2 { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .guide2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gcard {
  display: flex; flex-direction: column; gap: 10px; padding: clamp(24px, 2.6vw, 34px); border-radius: var(--r-lg);
  background: var(--paper); box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.gcard:hover { transform: translateY(-5px); box-shadow: inset 0 0 0 2px var(--black); }
.gcard h3 { margin: 0; font-size: clamp(1.35rem, 1.9vw, 1.65rem); }
.gcard p { margin: 0; color: var(--muted); }
.gcard .chips { margin-top: auto; padding-top: 14px; justify-content: flex-start; }

/* Service sections */
.svc2 { position: relative; padding-block: clamp(56px, 8vw, 112px); scroll-margin-top: calc(var(--hdr) + 60px); }
.svc2.on-paper { background: var(--paper); }
.svc2-grid { display: grid; gap: clamp(28px, 5vw, 56px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 980px) {
  .svc2-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
  .svc2-head { position: sticky; top: calc(var(--hdr) + 80px); }
}
.svc2-top { display: flex; align-items: center; gap: 16px; margin-bottom: clamp(18px, 2.4vw, 28px); }
.svc2-ico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--black); color: var(--yellow); flex: none; }
.svc2-ico svg { width: 30px; height: 30px; }
.svc2-num { font: 800 0.9rem/1 var(--display); letter-spacing: 0.18em; opacity: 0.6; }
.svc2 h2 { font-size: clamp(2.4rem, 5vw, 4.4rem); margin-bottom: 0.35em; }
.svc2 .lead { margin: 0; max-width: 26ch; }
.svc2 .btn-row { margin-top: clamp(22px, 3vw, 32px); }
.svc2.on-sun .svc2-ico { background: var(--black); color: var(--yellow); }
.svc2.on-black .svc2-ico { background: var(--yellow); color: var(--black); }

.deliver-title { font: 700 0.78rem/1 var(--body); letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.7; margin: 0 0 16px; max-width: none; }
.deliver2 { display: grid; gap: 10px; margin: 0 0 clamp(20px, 2.4vw, 28px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.deliver2 li {
  display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px; border-radius: var(--r-md);
  font-weight: 600; line-height: 1.35;
  background: rgba(128, 128, 140, 0.1); box-shadow: inset 0 0 0 1px rgba(128, 128, 140, 0.28);
}
.deliver2 li .tick-ico { margin-top: -1px; }
.svc2.on-sun .deliver2 li { background: rgba(255, 255, 255, 0.5); box-shadow: inset 0 0 0 1px rgba(5, 6, 8, 0.18); }
.svc2.on-sun .tick-ico { background: var(--black); color: var(--yellow); }
.svc2.on-black .deliver2 li { background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(247, 248, 250, 0.2); }
.svc2 .service-note { max-width: none; margin: 0; }
.svc2.on-black .service-note { background: var(--char); box-shadow: none; }
.svc2.on-sun .service-note { background: rgba(255, 255, 255, 0.6); box-shadow: none; border-left-color: var(--black); }
.svc2.on-paper .service-note { background: var(--white); }

/* Combinations: cards flow 3 → 2 → 1 by available width */
.ways { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.way { border-radius: var(--r-lg); }
.eq { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 20px; }
.eq span { padding: 6px 13px; border-radius: 999px; border: 2px solid currentColor; font: 700 0.85rem/1.2 var(--body); }
.eq i { font-style: normal; font-weight: 800; }

/* Included in every project */
.incl2 { display: grid; gap: 12px; margin: 0; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.incl2 li {
  display: flex; align-items: flex-start; gap: 12px; padding: 18px 20px; border-radius: var(--r-md);
  background: var(--white); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600;
}
.incl2 li:last-child { grid-column: 1 / -1; background: var(--black); color: var(--white); }

/* FAQ */
.faq2 details {
  border-radius: var(--r-md); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line);
  margin-bottom: 12px; transition: box-shadow 0.25s;
}
.faq2 details[open] { box-shadow: inset 0 0 0 2px var(--black); }
.faq2 summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; list-style: none;
  padding: 20px 24px; font: 700 clamp(1.05rem, 1.5vw, 1.25rem)/1.25 var(--display); letter-spacing: -0.01em;
}
.faq2 summary::-webkit-details-marker { display: none; }
.faq2 summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--yellow); font: 700 1.3rem/1 var(--body);
}
.faq2 details[open] summary::after { content: "\2212"; background: var(--black); color: var(--yellow); }
.faq2 details p { margin: 0; padding: 0 24px 22px; color: var(--muted); max-width: 62ch; }

/* =====================================================================
   BLOG LISTING
   ===================================================================== */
.blog-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px;
  margin-bottom: clamp(24px, 3.4vw, 40px);
}
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chips button {
  font: 700 0.95rem/1 var(--body); padding: 11px 18px; border-radius: 999px; cursor: pointer;
  border: 2px solid var(--black); background: transparent; color: var(--black);
  transition: background 0.2s, color 0.2s;
}
.filter-chips button:hover { background: var(--yellow); }
.filter-chips button[aria-pressed="true"] { background: var(--black); color: var(--white); }
.blog-search { position: relative; flex: 0 1 320px; min-width: min(100%, 220px); }
.blog-search svg { position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); pointer-events: none; }
.blog-search input {
  width: 100%; font: 500 1rem var(--body); padding: 12px 18px 12px 44px; border-radius: 999px;
  border: 2px solid var(--black); background: var(--paper); color: var(--black);
}
.blog-search input::placeholder { color: var(--muted); }
.blog-count { margin: 0 0 clamp(20px, 2.6vw, 30px); color: var(--muted); font-weight: 600; max-width: none; }
.blog-empty { padding: clamp(32px, 6vw, 72px) 0; text-align: center; }
.blog-empty p { margin-inline: auto; color: var(--muted); }

.post-grid { display: grid; gap: clamp(20px, 2.4vw, 32px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 310px), 1fr)); }
.post-card { border-radius: var(--r-lg); }
.post-card p {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.post-card .post-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.post-card .post-meta::after { content: "\2192"; font-size: 1.1rem; transition: transform 0.3s var(--ease); }
.post-card:hover .post-meta::after { transform: translateX(5px); }

.post-feature { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); border-radius: 28px; }
.post-feature-art { aspect-ratio: auto; min-height: 100%; }
.post-feature-art img { position: relative; height: 100%; min-height: 100%; aspect-ratio: 16 / 9; }
.post-feature-copy h2 { max-width: 18ch; font-size: clamp(1.8rem, 3.2vw, 3rem); }
@media (max-width: 860px) {
  .post-feature { grid-template-columns: minmax(0, 1fr); }
  .post-feature-art { aspect-ratio: 16 / 9; min-height: 0; }
  .post-feature-art img { height: 100%; min-height: 0; }
}

/* =====================================================================
   BLOG POST
   ===================================================================== */
.post-hero { padding-block: clamp(84px, 11vw, 160px) clamp(90px, 11vw, 170px); }
.post-hero .cine-glow { position: absolute; inset: -10%; z-index: -3; pointer-events: none; }
.post-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 6, 8, 0.15) 0%, rgba(5, 6, 8, 0) 45%, var(--black) 100%);
}
.post-hero-inner { max-width: var(--wrap); gap: clamp(14px, 2vw, 22px); }
.post-title { font-size: clamp(2.2rem, 1.1rem + 4.4vw, 5rem); max-width: 22ch; }
.post-hero .lead { max-width: 56ch; font-size: clamp(1.1rem, 1.5vw, 1.4rem); }
.post-hero .post-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 0.86rem; color: rgba(247, 248, 250, 0.7); }
.post-hero .post-meta span:not(:last-child)::after { content: "\00B7"; margin-left: 14px; opacity: 0.6; }

/* Cover photo overlaps the hero edge so it works like a wide "window" at every size */
.post-cover-band {
  --ov: clamp(56px, 8vw, 128px); /* how far the photo overlaps the dark hero */
  position: relative; z-index: 2; margin-top: calc(-1 * var(--ov));
  background: linear-gradient(180deg, transparent 0, transparent var(--ov), var(--paper) var(--ov), var(--paper) 100%);
}
.post-cover { margin: 0; border-radius: clamp(14px, 2vw, 28px); overflow: hidden; background: var(--char); box-shadow: 0 30px 70px -30px rgba(5, 6, 8, 0.55); }
.post-cover img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.post-cover figcaption { display: none; }

/* Article + sidebar. The reading column widens with the screen, the sidebar appears when there is room. */
.post-layout {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 40px);
  padding-block: clamp(36px, 5vw, 72px) clamp(56px, 7vw, 110px);
}
@media (min-width: 1080px) {
  .post-layout { grid-template-columns: minmax(0, 1fr) clamp(250px, 20vw, 300px); gap: clamp(40px, 4.5vw, 72px); align-items: start; }
}
.post-main { min-width: 0; width: 100%; max-width: 800px; margin-inline: auto; }
@media (min-width: 1080px) { .post-main { margin-inline: 0; } }

.prose { max-width: none; font-size: clamp(1.0625rem, 0.98rem + 0.34vw, 1.28rem); overflow-wrap: break-word; }
.prose p, .prose li { font-size: 1em; line-height: 1.75; }
.prose .lead { font-size: 1.16em; line-height: 1.55; max-width: none; }
.prose h2 { font-size: clamp(1.55rem, 1.2rem + 1.4vw, 2.4rem); scroll-margin-top: calc(var(--hdr) + 24px); }
.prose h3 { font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.7rem); scroll-margin-top: calc(var(--hdr) + 24px); }
.prose .pull { font-size: clamp(1.35rem, 1rem + 1.5vw, 2.1rem); }
.prose .callout p { font-size: 0.96em; }
.prose img, .prose video, .prose iframe, .prose svg { max-width: 100%; height: auto; border-radius: var(--r-md); }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }
.prose figure { margin: clamp(28px, 4vw, 48px) 0; }
.prose figcaption { margin-top: 10px; font-size: 0.85em; color: var(--muted); }
.prose table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin: 1.6em 0; }
.prose th, .prose td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose pre { max-width: 100%; overflow-x: auto; padding: 18px 20px; border-radius: var(--r-md); background: var(--black); color: var(--white); font-size: 0.85em; }
.prose blockquote:not(.pull) { margin: 1.6em 0; padding-left: 1.2em; border-left: 4px solid var(--yellow); font-weight: 600; }
.prose .post-cta { border-radius: var(--r-lg); }
@media (min-width: 720px) { .prose .post-cta .post-cta-actions { flex-wrap: nowrap; } }

/* Sidebar */
.post-aside { display: none; }
@media (min-width: 1080px) {
  .post-aside { display: grid; gap: 28px; position: sticky; top: calc(var(--hdr) + 28px); align-self: start; max-height: calc(100vh - var(--hdr) - 56px); overflow-y: auto; scrollbar-width: none; }
  .post-aside::-webkit-scrollbar { display: none; }
}
.toc[hidden], .toc-mobile[hidden] { display: none; }
.toc-title { font: 700 0.76rem/1 var(--body); letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; max-width: none; }
.toc ol { border-left: 2px solid var(--line); }
.toc a {
  display: block; margin-left: -2px; padding: 8px 0 8px 16px; border-left: 2px solid transparent;
  font-weight: 600; font-size: 0.95rem; line-height: 1.35; color: var(--muted); text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}
.toc a:hover { color: var(--black); }
.toc a[aria-current="true"] { color: var(--black); border-left-color: var(--black); }

.share-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.share-btns a, .share-btns button {
  display: inline-flex; align-items: center; padding: 9px 14px; border-radius: 999px; cursor: pointer;
  border: 2px solid var(--black); background: transparent; color: var(--black);
  font: 700 0.85rem/1 var(--body); text-decoration: none; transition: background 0.2s;
}
.share-btns a:hover, .share-btns button:hover { background: var(--yellow); }

.aside-cta { padding: 24px; border-radius: var(--r-lg); background: var(--black); color: var(--white); }
.aside-cta h3 { font-size: 1.45rem; margin-bottom: 8px; }
.aside-cta p { color: rgba(247, 248, 250, 0.78); font-size: 0.95rem; margin-bottom: 18px; }
.aside-cta .btn { padding: 14px 20px; font-size: 0.95rem; }

/* On tablets and phones the contents list becomes a collapsible block above the article */
.toc-mobile { margin: 0 0 clamp(24px, 4vw, 36px); border-radius: var(--r-md); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
@media (min-width: 1080px) { .toc-mobile { display: none; } }
.toc-mobile summary { cursor: pointer; list-style: none; padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; font: 700 1.05rem var(--display); }
.toc-mobile summary::-webkit-details-marker { display: none; }
.toc-mobile summary::after { content: "+"; font: 700 1.4rem/1 var(--body); }
.toc-mobile[open] summary::after { content: "\2212"; }
.toc-mobile .toc { padding: 0 20px 16px; }

.post-share-end { margin-top: clamp(36px, 5vw, 56px); padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.post-share-end .toc-title { margin: 0; }
@media (min-width: 1080px) { .post-share-end { display: none; } }

/* Next post + related */
.next-link h2 { max-width: 26ch; }
.next-post .wrap, .post-related .wrap { position: relative; }


/* =====================================================================
   HOME  (minimal, editorial)
   ===================================================================== */
.arr { width: 18px; height: 18px; flex: none; transition: transform 0.3s var(--ease); }

/* Hero */
.h-hero { align-items: stretch; padding-block: clamp(48px, 7vw, 96px) 0; min-height: max(600px, calc(100svh - var(--hdr))); }
.h-hero .cine-inner { justify-content: flex-end; width: 100%; gap: clamp(22px, 3vw, 40px); }
.h-kicker { display: flex; align-items: center; gap: 12px; margin: 0; font: 700 0.78rem/1 var(--body); letter-spacing: 0.26em; text-transform: uppercase; color: var(--yellow); animation: fadeup 1s ease 0.5s backwards; }
.h-kicker::before { content: ""; width: 34px; height: 2px; background: var(--yellow); }
.h-title { font-size: clamp(2.7rem, 0.5rem + 8.1vw, 8rem); line-height: 0.92; letter-spacing: -0.05em; margin: 0; max-width: none; }
.h-hero-foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; animation: fadeup 1s ease 1.6s backwards; }
.h-hero-foot .lead { margin: 0; max-width: 44ch; color: rgba(247, 248, 250, 0.8); }
.h-hero-foot .btn-row { margin: 0; }
.h-index { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); column-gap: 28px; margin-top: clamp(8px, 2vw, 24px); border-top: 1px solid rgba(247, 248, 250, 0.22); animation: fadeup 1s ease 1.9s backwards; }
.h-index a { display: flex; align-items: center; gap: 12px; padding: 20px 0; color: var(--white); font-weight: 700; text-decoration: none; transition: color 0.25s; }
.h-index a span { font: 700 0.8rem/1 var(--body); letter-spacing: 0.16em; opacity: 0.5; }
.h-index a .arr { margin-left: auto; opacity: 0; transform: translateX(-6px); transition: opacity 0.25s, transform 0.3s var(--ease); }
.h-index a:hover, .h-index a:focus-visible { color: var(--yellow); }
.h-index a:hover .arr, .h-index a:focus-visible .arr { opacity: 1; transform: none; }

/* Lens graphic behind the headline */
.h-lens { position: absolute; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.h-lens span { position: absolute; top: 44%; right: clamp(-300px, -12vw, -60px); transform: translateY(-50%); border-radius: 50%; }
.h-lens .r1 { width: min(78vw, 820px); aspect-ratio: 1; border: 1px solid rgba(251, 223, 87, 0.22); }
.h-lens .r2 { width: min(56vw, 590px); aspect-ratio: 1; border: 1px solid rgba(251, 223, 87, 0.4); }
.h-lens .r3 { width: min(36vw, 380px); aspect-ratio: 1; border: 3px solid var(--yellow); }
.h-lens .dot { width: min(11vw, 118px); aspect-ratio: 1; background: var(--yellow); animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: translateY(-50%) scale(1.12); } }
@media (max-width: 760px) { .h-lens { opacity: 0.45; } }
@media (prefers-reduced-motion: reduce) { .h-lens .dot, .h-kicker, .h-hero-foot, .h-index { animation: none; } }

/* The studio: statement + services */
.h-about { padding-block: clamp(72px, 10vw, 150px); background: var(--paper); }
.h-statement { font: 700 clamp(1.7rem, 0.9rem + 3.1vw, 3.5rem)/1.16 var(--display); letter-spacing: -0.035em; max-width: 26ch; margin: 0 0 clamp(48px, 7vw, 96px); }
.h-statement span { color: rgba(5, 6, 8, 0.38); }
.h-statement { margin-bottom: clamp(36px, 5vw, 64px); }

/* Bento: four service tiles of different sizes and colours */
.h-bento { display: grid; gap: clamp(14px, 1.8vw, 22px); grid-template-columns: repeat(12, minmax(0, 1fr)); }
.bt {
  grid-column: span 12; position: relative; overflow: hidden; isolation: isolate; text-decoration: none;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  min-height: clamp(250px, 22vw, 320px); padding: clamp(22px, 2.6vw, 36px); border-radius: 26px;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
@media (min-width: 620px) { .bt { grid-column: span 6; } }
@media (min-width: 940px) { .bt--a, .bt--d { grid-column: span 7; } .bt--b, .bt--c { grid-column: span 5; } }
.bt:hover, .bt:focus-visible { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(5, 6, 8, 0.5); }
.bt--a, .bt--d { background: var(--black); color: var(--white); }
.bt--b { background: var(--yellow); color: var(--black); }
.bt--c { background: var(--white); color: var(--black); box-shadow: inset 0 0 0 1px var(--line); }
.bt--c:hover, .bt--c:focus-visible { box-shadow: inset 0 0 0 1px var(--line), 0 30px 50px -30px rgba(5, 6, 8, 0.5); }
.bt-num { font: 700 0.8rem/1 var(--body); letter-spacing: 0.18em; opacity: 0.6; }
.bt-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.bt-ico { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--yellow); color: var(--black); }
.bt-ico svg { width: 26px; height: 26px; }
.bt--b .bt-ico { background: var(--black); color: var(--yellow); }
.bt-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.bt h3 { margin: 0 0 8px; font-size: clamp(1.8rem, 1.1rem + 2vw, 2.9rem); line-height: 1; letter-spacing: -0.045em; }
.bt p { margin: 0; max-width: 32ch; opacity: 0.78; }
.bt-go { flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; border: 2px solid currentColor; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.bt--a:hover .bt-go, .bt--d:hover .bt-go, .bt--a:focus-visible .bt-go, .bt--d:focus-visible .bt-go { background: var(--yellow); border-color: var(--yellow); color: var(--black); }
.bt--b:hover .bt-go, .bt--c:hover .bt-go, .bt--b:focus-visible .bt-go, .bt--c:focus-visible .bt-go { background: var(--black); border-color: var(--black); color: var(--yellow); }
.bt:hover .arr, .bt:focus-visible .arr { transform: translateX(3px); }

/* Section heads */
.h-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 24px; margin-bottom: clamp(28px, 4vw, 52px); }
.h-head h2 { margin: 0; font-size: clamp(2.2rem, 1.2rem + 3.6vw, 4.2rem); letter-spacing: -0.045em; line-height: 1; }

/* Selected work */
.h-work { padding-block: clamp(64px, 9vw, 130px); background: var(--white); }
.h-projects { display: grid; gap: clamp(20px, 2.4vw, 32px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.h-proj { text-decoration: none; display: block; }
.h-proj .poster { aspect-ratio: 4 / 3; border-radius: var(--r-lg); padding: clamp(18px, 2vw, 26px); transition: transform 0.5s var(--ease); }
.h-proj:hover .poster { transform: translateY(-6px); }
.h-proj h3 { margin: 16px 0 4px; font-size: clamp(1.1rem, 1rem + 0.3vw, 1.3rem); letter-spacing: -0.02em; line-height: 1.25; }
.h-proj p { margin: 0; color: var(--muted); font-weight: 600; font-size: 0.92rem; }

/* Why Stolet */
.h-dark { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(80px, 11vw, 160px); }
.h-dark .eyebrow { color: var(--yellow); }
.h-dark .cine-glow { z-index: -1; opacity: 0.7; }
.h-big { font-size: clamp(2.8rem, 0.8rem + 8vw, 7.4rem); line-height: 0.92; letter-spacing: -0.05em; margin: 0 0 clamp(20px, 3vw, 32px); max-width: 12ch; }
.h-big em { font-style: normal; color: var(--yellow); }
.h-dark-copy { max-width: 46ch; color: rgba(247, 248, 250, 0.72); font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem); margin: 0 0 clamp(48px, 7vw, 96px); }
.h-pillars { display: grid; gap: clamp(28px, 3vw, 48px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.h-pillars > div { border-top: 1px solid rgba(247, 248, 250, 0.28); padding-top: 22px; }
.h-pillars span { display: block; font: 700 0.8rem/1 var(--body); letter-spacing: 0.16em; color: var(--yellow); margin-bottom: clamp(12px, 2vw, 22px); }
.h-pillars h3 { font-size: clamp(1.35rem, 1.1rem + 0.7vw, 1.75rem); margin-bottom: 10px; }
.h-pillars p { margin: 0; color: rgba(247, 248, 250, 0.7); max-width: 32ch; }

/* Journal: one large story and two smaller ones, all with photos */
.h-journal { padding-block: clamp(64px, 9vw, 130px); background: var(--paper); }
.jb { display: grid; gap: clamp(24px, 3vw, 48px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .jb { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.jb a { text-decoration: none; color: inherit; }
.jb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.jb a:hover img, .jb a:focus-visible img { transform: scale(1.05); }
.jb-tag { display: inline-block; align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: var(--yellow); color: var(--black); font: 700 0.7rem/1 var(--body); letter-spacing: 0.16em; text-transform: uppercase; }
.jb-meta { color: var(--muted); font-size: 0.88rem; font-weight: 600; }
.jb-lead { display: flex; flex-direction: column; }
.jb-lead .jb-img { aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r-lg); background: var(--char); }
.jb-lead .jb-body { display: flex; flex-direction: column; gap: 12px; padding-top: clamp(18px, 2vw, 26px); }
.jb-lead h3 { margin: 0; font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.5rem); line-height: 1.08; letter-spacing: -0.04em; }
.jb-lead p { margin: 0; color: var(--muted); max-width: 52ch; }
.jb-side { display: grid; gap: clamp(16px, 2vw, 24px); align-content: start; }
.jb-item { display: grid; grid-template-columns: minmax(96px, 38%) minmax(0, 1fr); gap: clamp(14px, 1.8vw, 22px); align-items: center; padding: clamp(12px, 1.4vw, 16px); border-radius: var(--r-lg); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 0.3s, transform 0.4s var(--ease); }
.jb-item:hover, .jb-item:focus-visible { box-shadow: inset 0 0 0 2px var(--black); transform: translateY(-3px); }
.jb-thumb { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 12px; background: var(--char); }
.jb-item .jb-body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.jb-thumb img { min-height: 100%; }
@media (min-width: 960px) {
  .jb-side { grid-template-rows: repeat(2, minmax(0, 1fr)); }
  .jb-item { align-items: stretch; grid-template-columns: minmax(120px, 42%) minmax(0, 1fr); }
  .jb-thumb { aspect-ratio: auto; height: 100%; min-height: 150px; }
  .jb-item .jb-body { justify-content: center; }
}
.jb-item h3 { margin: 0; font-size: clamp(1.02rem, 0.95rem + 0.3vw, 1.2rem); line-height: 1.22; letter-spacing: -0.02em; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

/* Contact band: quieter than before */
.big-cta h2 { font-size: clamp(2.4rem, 0.8rem + 6.4vw, 6.2rem); }
