/* =========================================================================
   NAMI AGENCY — core stylesheet
   Structure mirrors the reference layout system:
   design tokens -> grid -> typography utilities -> components -> sections
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. TOKENS
   ---------------------------------------------------------------------- */
:root {
  /* type families — the brand faces first, free stand-ins behind them */
  --ff-title: "Acme Gothic Extrawide", "Acme Gothic", "Archivo", "Arial Black", Impact, sans-serif;
  --ff-text: "Museo Sans", "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* colour — sampled from NAMI BRANDING-01 */
  --c-black: #301514;   /* darkest oxblood: the primary dark ground */
  --c-ink: #51191a;     /* deep red */
  --c-panel: #3a1a19;
  --c-white: #ecddba;   /* cream: the brand's paper */
  --c-offwhite: #f4ead2;
  --c-light: #cb9ba3;   /* dusty pink panel */
  --c-muted: #5a2f28;   /* muted ink for light grounds (8.3:1 on cream, 4.7:1 on pink) */
  --c-muted-2: #b9a29d; /* muted ink for dark grounds (7.0:1) */
  --c-muted-3: #d6c3bd; /* softer ink for dark grounds (10.0:1) */
  --c-accent: #51191a;  /* deep red — the accent on light grounds */
  --c-accent-2: #cb9ba3;

  /* hairlines */
  --line-dark: rgba(236, 221, 186, 0.18);
  --line-light: rgba(48, 21, 20, 0.16);

  /* shell */
  --container-max: 1440px;
  --container-pad: 56px;
  --header-h: 88px;

  /* motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);      /* long settle: reveals, headline lines */
  --ease-ui: cubic-bezier(0.4, 0, 0, 1);          /* hovers, tints, small state changes */
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);     /* image wipes */
}

@media (max-width: 991px) {
  :root {
    --container-pad: 24px;
    --header-h: 70px;
  }
}

/* Olive reads on the dark ground where the deep red disappears. --c-accent
   inherits, so re-declaring it on the dark sections re-points every use. */
.c-heroSec,
.c-spotlightSec,
.c-workingSec,
.c-ctaSec,
.c-megaMenu,
.c-mobileNav,
.l-footer,
.-bgBlack,
.-bgInk { --c-accent: #b8b172; }

/* -------------------------------------------------------------------------
   2. RESET
   ---------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  /* no scroll-behavior: smooth. A link to a section (#start, a case on another page) lands on it at once;
     a glide from the top of the page read as confusing (owner, 25.11.2026) */
  /* fragment jumps must clear the fixed header */
  scroll-padding-top: var(--header-h);
  /* main.js briefly sets overflow:hidden here to stop momentum at the opened
     hero; keep the scrollbar's space so the page does not shift sideways */
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  background-color: var(--c-white);
  color: var(--c-black);
  font-family: var(--ff-text);
  font-size: 18px;
  line-height: 1.6111;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* clip, not hidden: hidden would turn body into a scroll container the
     moment html gets overflow:hidden, and the opener's sticky stage with it */
  overflow-x: clip;
}

h1, h2, h3, h4, h5, h6, p, figure, blockquote { margin: 0; }
h1, h2, h3, .c-caseCard_details h5 { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; }

:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
}

.c-skipLink:focus {
  position: fixed;
  top: 12px;
  inset-inline-start: 12px;
  z-index: 200;
  width: auto;
  height: auto;
  margin: 0;
  padding: 12px 20px;
  overflow: visible;
  clip: auto;
  clip-path: none;
  background-color: var(--c-white);
  color: var(--c-black);
  font-size: 15px;
  white-space: nowrap;
}

.u-visuallyHidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* -------------------------------------------------------------------------
   3. GRID
   ---------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-inline: -20px;
}

.row > [class*="col"] {
  padding-inline: 20px;
  min-width: 0;
}

.col { flex: 1 0 0%; }
.col-auto { flex: 0 0 auto; width: auto; }
.col-1  { flex: 0 0 auto; width: 8.3333%; }
.col-2  { flex: 0 0 auto; width: 16.6667%; }
.col-3  { flex: 0 0 auto; width: 25%; }
.col-4  { flex: 0 0 auto; width: 33.3333%; }
.col-5  { flex: 0 0 auto; width: 41.6667%; }
.col-6  { flex: 0 0 auto; width: 50%; }
.col-7  { flex: 0 0 auto; width: 58.3333%; }
.col-8  { flex: 0 0 auto; width: 66.6667%; }
.col-9  { flex: 0 0 auto; width: 75%; }
.col-10 { flex: 0 0 auto; width: 83.3333%; }
.col-11 { flex: 0 0 auto; width: 91.6667%; }
.col-12 { flex: 0 0 auto; width: 100%; }

/* offsets — the reference pushes hero + intro content in by one column */
.offset-1 { margin-inline-start: 8.3333%; }

@media (min-width: 992px) {
  .offset-lg-1 { margin-inline-start: 8.3333%; }
  .offset-lg-2 { margin-inline-start: 16.6667%; }
  .col-lg      { flex: 1 0 0%; width: auto; }
  .col-lg-auto { flex: 0 0 auto; width: auto; }
  .col-lg-2    { flex: 0 0 auto; width: 16.6667%; }
  .col-lg-3    { flex: 0 0 auto; width: 25%; }
  .col-lg-4    { flex: 0 0 auto; width: 33.3333%; }
  .col-lg-5    { flex: 0 0 auto; width: 41.6667%; }
  .col-lg-6    { flex: 0 0 auto; width: 50%; }
  .col-lg-7    { flex: 0 0 auto; width: 58.3333%; }
  .col-lg-8    { flex: 0 0 auto; width: 66.6667%; }
  .col-lg-10   { flex: 0 0 auto; width: 83.3333%; }
}

@media (min-width: 1200px) {
  .col-xl-3 { flex: 0 0 auto; width: 25%; }
  .col-xl-5 { flex: 0 0 auto; width: 41.6667%; }
  .col-xl-4 { flex: 0 0 auto; width: 33.3333%; }
  .col-xl-6 { flex: 0 0 auto; width: 50%; }
}

/* visibility helpers */
.d-none { display: none !important; }
@media (min-width: 992px) {
  .d-lg-block { display: block !important; }
  .d-lg-flex  { display: flex !important; }
  .d-lg-none  { display: none !important; }
}
@media (max-width: 991px) {
  .d-md-none { display: none !important; }
  .offset-1 { margin-inline-start: 0; }
}

/* The horizontal nav measures ~831px; with the wordmark and the container
   padding it needs ~1084px before it stops overprinting the logo. So the
   nav/hamburger switch lives at 1100, not at the 992 `lg` breakpoint.
   Declared after .d-none so it wins the !important tie on source order. */
@media (min-width: 1100px) {
  .d-xl-flex { display: flex !important; }
  .d-xl-none { display: none !important; }
}

/* -------------------------------------------------------------------------
   4. TYPOGRAPHY UTILITIES
   ---------------------------------------------------------------------- */
.t-title {
  font-family: var(--ff-title);
  font-weight: 400;
  /* Archivo carries a width axis; push it wide to stand in for Acme Gothic Extrawide */
  font-stretch: 125%;
}

.t-text {
  font-family: var(--ff-text);
  font-weight: 400;
}

.-f112 { font-size: 112px; line-height: 1.0;    letter-spacing: -0.02em; }
.-f96  { font-size: 96px;  line-height: 1.0;    letter-spacing: -0.03em; }
.-f96_106 { font-size: 96px; line-height: 1.104; letter-spacing: -0.03em; }
.-f64  { font-size: 64px;  line-height: 1.203;  letter-spacing: -0.02em; }
.-f48  { font-size: 48px;  line-height: 1.208;  letter-spacing: -0.02em; }
.-f48_72 { font-size: 48px; line-height: 1.5;   letter-spacing: -0.02em; }
.-f40  { font-size: 40px;  line-height: 1.2;    letter-spacing: -0.02em; }
.-f36  { font-size: 36px;  line-height: 1.194;  letter-spacing: -0.01em; }
.-f32  { font-size: 32px;  line-height: 1.1875; letter-spacing: -0.01em; }
.-f28  { font-size: 28px;  line-height: 1.285;  letter-spacing: -0.01em; }
.-f24  { font-size: 24px;  line-height: 1.583; }
.-f20  { font-size: 20px;  line-height: 1.5; }
.-f18  { font-size: 18px;  line-height: 1.611; }
.-f16  { font-size: 16px;  line-height: 1.5; }
.-f14  { font-size: 14px;  line-height: 1.571; }
.-f12  { font-size: 12px;  line-height: 1.5; }

.-cWhite  { color: var(--c-white); }
.-cBlack  { color: var(--c-black); }
.-cMuted  { color: var(--c-muted); }
.-cAccent { color: var(--c-accent); }

.-tCenter { text-align: center; }

.-serif { font-family: var(--ff-title); }
.-sans  { font-family: var(--ff-text); }

/* spacing utilities */
.-mb0   { margin-bottom: 0; }
.-mb8   { margin-bottom: 8px; }
.-mb16  { margin-bottom: 16px; }
.-mb24  { margin-bottom: 24px; }
.-mb32  { margin-bottom: 32px; }
.-mb40  { margin-bottom: 40px; }
.-mb48  { margin-bottom: 48px; }
.-mb56  { margin-bottom: 56px; }
.-mb64  { margin-bottom: 64px; }
.-mb72  { margin-bottom: 72px; }
.-mb80  { margin-bottom: 80px; }
.-mb96  { margin-bottom: 96px; }
.-mb112 { margin-bottom: 112px; }
.-mb160 { margin-bottom: 160px; }

/* section rhythm */
.-bgBlack { background-color: var(--c-black); color: var(--c-white); }
.-bgLight { background-color: var(--c-light); }
.-bgWhite { background-color: var(--c-white); }

/* responsive type step-down (matches the reference `md` behaviour) */
@media (max-width: 991px) {
  .-f112 { font-size: 48px; }
  .-f96, .-f96_106 { font-size: 48px; line-height: 1.08; }
  .-f64  { font-size: 40px; line-height: 1.15; }
  .-f48, .-f48_72 { font-size: 28px; line-height: 1.28; }
  .-f40  { font-size: 32px; }
  .-f36  { font-size: 28px; }
  .-f32  { font-size: 24px; }
  .-f28  { font-size: 22px; }
  .-f24  { font-size: 20px; }

  .-mb160 { margin-bottom: 48px; }
  .-mb112 { margin-bottom: 48px; }
  .-mb96  { margin-bottom: 40px; }
  .-mb80  { margin-bottom: 40px; }
  .-mb72  { margin-bottom: 32px; }
  .-mb64  { margin-bottom: 32px; }
  .-mb56  { margin-bottom: 28px; }
  .-mb48  { margin-bottom: 24px; }
}

@media (max-width: 575px) {
  .-f112 { font-size: 40px; }
  .-f96, .-f96_106 { font-size: 38px; }
  .-f64  { font-size: 32px; }
}

/* -------------------------------------------------------------------------
   5. WIREFRAME IMAGE PLACEHOLDER
   Every image slot on the page is represented by one of these boxes.
   ---------------------------------------------------------------------- */
.c-wf {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line-light);
  background-color: rgba(48, 21, 20, 0.05);
  background-image:
    linear-gradient(to top right,
      transparent calc(50% - 0.5px), var(--line-light) 50%, transparent calc(50% + 0.5px)),
    linear-gradient(to bottom right,
      transparent calc(50% - 0.5px), var(--line-light) 50%, transparent calc(50% + 0.5px));
}

.c-wf_label {
  position: relative;
  padding: 6px 12px;
  background-color: var(--c-light);
  color: var(--c-muted);
  font-family: var(--ff-text);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

/* dark-section variant */
.c-wf.-dark {
  border-color: var(--line-dark);
  background-color: rgba(236, 221, 186, 0.05);
  background-image:
    linear-gradient(to top right,
      transparent calc(50% - 0.5px), var(--line-dark) 50%, transparent calc(50% + 0.5px)),
    linear-gradient(to bottom right,
      transparent calc(50% - 0.5px), var(--line-dark) 50%, transparent calc(50% + 0.5px));
}

.c-wf.-dark .c-wf_label {
  background-color: #3d1e1c;
  color: var(--c-muted-3);
}

/* small slots carry no label — the cross alone reads as "image here" */
.c-wf.-bare .c-wf_label { display: none; }

/* shape variants */
.c-wf.-portrait  { aspect-ratio: 3 / 4; }
.c-wf.-square    { aspect-ratio: 1 / 1; }
.c-wf.-tall      { aspect-ratio: 4 / 5; }
.c-wf.-wide      { aspect-ratio: 21 / 9; }
.c-wf.-logo      { aspect-ratio: 5 / 2; }
.c-wf.-cover     { aspect-ratio: auto; height: 100%; position: absolute; inset: 0; }

/* full-bleed background wireframe used behind dark sections */
.c-wfBg {
  position: absolute;
  inset: 0;
  border: 0;
  background-color: #2a1211;
  background-image:
    linear-gradient(to top right,
      transparent calc(50% - 0.5px), rgba(236,221,186,.09) 50%, transparent calc(50% + 0.5px)),
    linear-gradient(to bottom right,
      transparent calc(50% - 0.5px), rgba(236,221,186,.09) 50%, transparent calc(50% + 0.5px));
  pointer-events: none;
}

/* -------------------------------------------------------------------------
   6. SHARED COMPONENTS
   ---------------------------------------------------------------------- */

/* --- bracketed micro label: [ WHAT WE DO ] --- */
.c-label {
  display: inline-block;
  font-family: var(--ff-text);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
  color: inherit;
}

.c-label::before { content: "[ "; }
.c-label::after  { content: " ]"; }

.c-label.-plain::before,
.c-label.-plain::after { content: none; }

.c-label.-muted { color: var(--c-muted); }

/* the light-ground muted ink is far too dark on the oxblood panels — lift it */
.c-megaMenu .c-label.-muted,
.c-spotlightSec .c-label.-muted,
.c-ctaSec .c-label.-muted,
.c-heroSec .c-label.-muted,
.-bgBlack .c-label.-muted,
.-bgInk .c-label.-muted { color: var(--c-muted-2); }

/* --- square filled button --- */
.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 28px;
  background-color: var(--c-black);
  color: var(--c-white);
  font-family: var(--ff-text);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

.c-btn:hover { background-color: var(--c-accent); }

.c-btn.-accent { background-color: var(--c-accent); color: var(--c-black); }
.c-btn.-accent:hover { background-color: var(--c-white); color: var(--c-black); }

.c-btn.-light { background-color: var(--c-white); color: var(--c-black); }
.c-btn.-light:hover { background-color: var(--c-accent); color: var(--c-black); }

.c-btn_icon {
  display: inline-block;
  transition: transform 0.3s var(--ease);
}

.c-btn:hover .c-btn_icon { transform: translateX(4px); }

/* --- text link + circular arrow --- */
.c-fancyLink {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--ff-text);
  font-size: 16px;
  line-height: 1.5;
}

.c-circleArrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--c-black);
  color: var(--c-white);
  transition: background-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.c-circleArrow svg { width: 15px; height: 15px; }

.c-fancyLink:hover .c-circleArrow {
  background-color: var(--c-accent);
  transform: translateX(4px);
}

/* on the dark panels the disc inverts, or it vanishes into the background */
.c-megaMenu .c-circleArrow,
.c-spotlightSec .c-circleArrow,
.c-ctaSec .c-circleArrow,
.c-workingSec .c-circleArrow,
.l-footer .c-circleArrow,
.c-heroSec .c-circleArrow,
.-bgBlack .c-circleArrow,
.c-circleArrow.-invert {
  background-color: var(--c-white);
  color: var(--c-black);
}

.c-megaMenu .c-fancyLink:hover .c-circleArrow,
.c-spotlightSec .c-fancyLink:hover .c-circleArrow,
.c-ctaSec .c-fancyLink:hover .c-circleArrow,
.c-workingSec .c-fancyLink:hover .c-circleArrow,
.l-footer .c-fancyLink:hover .c-circleArrow,
.c-heroSec .c-fancyLink:hover .c-circleArrow,
.-bgBlack .c-fancyLink:hover .c-circleArrow,
.c-fancyLink:hover .c-circleArrow.-invert {
  background-color: var(--c-accent);
  color: var(--c-black);
}

/* --- oversized underlined link with superscript count --- */
.c-bigLink {
  display: inline-block;
  position: relative;
  padding-bottom: 18px;
  font-family: var(--ff-text);
  font-size: 96px;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--c-white);
}

.c-bigLink_sup {
  font-family: var(--ff-text);
  font-size: 18px;
  letter-spacing: 0;
  vertical-align: super;
}

.c-bigLink::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background-color: var(--c-muted);
  transform-origin: left center;
  transition: transform 0.45s var(--ease), background-color 0.45s var(--ease);
}

.c-bigLink:hover::after {
  background-color: var(--c-accent);
  transform: scaleX(1.04);
}


/* --- author / person card --- */
.c-author { display: block; }

.c-author_photo { width: 150px; margin-bottom: 20px; }

.c-author_name {
  font-family: var(--ff-text);
  font-size: 16px;
  line-height: 1.4;
  margin-bottom: 4px;
}

.c-author_role {
  font-family: var(--ff-text);
  font-size: 11px;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--c-muted);
}

.c-author.-inline {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.c-author.-inline .c-author_photo {
  width: 52px;
  flex-shrink: 0;
  margin-bottom: 0;
}

/* --- pull quote with oversized opening mark --- */
.c-quote { position: relative; }

.c-quote_mark {
  position: absolute;
  top: calc(var(--qm, 44px) * -0.22);
  left: calc(var(--qm, 44px) * -0.52);
  font-family: var(--ff-title);
  font-size: var(--qm, 44px);
  line-height: 1;
  color: var(--c-accent);
  pointer-events: none;
}

/* --- tag pill --- */
.c-tag {
  display: inline-block;
  padding: 5px 14px;
  border: 1px solid var(--line-light);
  border-radius: 100px;
  font-family: var(--ff-text);
  font-size: 12px;
  line-height: 1.5;
  color: var(--c-black);
}

.c-spotlightSec .c-tag,
.c-megaMenu .c-tag,
.c-tag.-invert { border-color: var(--line-dark); color: var(--c-white); }

/* --- numbered hairline list row --- */
.c-listRow {
  display: flex;
  align-items: center;
  gap: 28px;
  width: 100%;
  padding: 22px 0;
  border-top: 1px solid var(--line-light);
  text-align: left;
  transition: color 0.3s var(--ease);
}

.c-listRow:last-child { border-bottom: 1px solid var(--line-light); }

.c-listRow_num {
  flex-shrink: 0;
  width: 24px;
  font-family: var(--ff-text);
  font-size: 12px;
  line-height: 1.5;
  color: var(--c-muted);
}

.c-listRow_label {
  flex: 1;
  font-family: var(--ff-title);
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.c-listRow_icon {
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}

.c-listRow:hover { color: var(--c-accent); }
.c-listRow:hover .c-listRow_icon { transform: translateX(5px); }

/* --- scroll reveal --- */
/* while a rail is being dragged: no snapping to fight, no text selection */
.is-dragging {
  scroll-snap-type: none !important;
  cursor: grabbing;
  user-select: none;
}

/* main.js adds .is-visible as each element scrolls in. Every hidden starting
   state is gated on html.js AND motion being welcome, so content can never be
   stranded invisible by a failed script or for reduced-motion users.
   --i (inline, 0–4) staggers siblings. */
.js-reveal {
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}

/* headings split by hand into .h-line spans: each line rises out of a mask */
.c-btn.js-reveal {
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out),
              background-color 0.3s var(--ease), color 0.3s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms), calc(var(--i, 0) * 70ms), 0s, 0s;
}

.h-line {
  display: block;
  overflow: clip;
  padding-bottom: 0.12em;   /* room for descenders inside the mask */
  margin-bottom: -0.12em;
}

.h-line > span {
  display: block;
  transition: translate 1s var(--ease-out);
  transition-delay: calc(0.1s + var(--i, 0) * 90ms);
}

.h-line + .h-line > span { --i: 1; }
.h-line + .h-line + .h-line > span { --i: 2; }

/* list children rise one after another, capped at eight steps */
.js-stagger > * {
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 60ms);
}

.js-stagger > :nth-child(2) { --i: 1; }
.js-stagger > :nth-child(3) { --i: 2; }
.js-stagger > :nth-child(4) { --i: 3; }
.js-stagger > :nth-child(5) { --i: 4; }
.js-stagger > :nth-child(6) { --i: 5; }
.js-stagger > :nth-child(7) { --i: 6; }
.js-stagger > :nth-child(n+8) { --i: 7; }

/* images wipe up from the bottom edge and settle from a slight zoom. The clip
   sits on the <img>, not the frame: IntersectionObserver measures a target
   through its own clip-path, so a fully clipped frame would never report in. */
.m-wipe { overflow: hidden; }
.m-wipe > :is(img, video) {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* its transition is set in section 12, after .c-case_media img would override it */
}

@media screen and (prefers-reduced-motion: no-preference) {
  .js .js-reveal:not(.is-visible) { opacity: 0; transform: translateY(24px); }
  .js .js-lines:not(.is-visible) .h-line > span { translate: 0 105%; }
  .js .js-stagger:not(.is-visible) > * { opacity: 0; transform: translateY(12px); }
  .js .m-wipe:not(.is-visible) > :is(img, video) { clip-path: inset(100% 0 0 0); scale: 1.15; }
}

@media (max-width: 767px) {
  .h-line > span { transition-duration: 0.7s; }
}

/* -------------------------------------------------------------------------
   7. HEADER
   ---------------------------------------------------------------------- */
.l-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: var(--header-h);
  background-color: transparent;
  transition: background-color 0.25s var(--ease), height 0.25s var(--ease),
              transform 0.4s var(--ease), box-shadow 0.25s var(--ease);
}

.l-header_container {
  max-width: none;
  width: 100%;
}

.l-header_row { align-items: center; }

/* solid state once the page is scrolled */
.l-header.-sticked {
  background-color: var(--c-white);
  box-shadow: 0 1px 0 var(--line-light);
}

.l-header.-sticked .c-navHorizontal .c-link { color: var(--c-black); }

/* hidden while scrolling down, and while the opener's cover is still closed */
.l-header.-hidden { transform: translateY(-100%); }

/* a keyboard user tabbing in must not land on an off-screen control */
.l-header.-hidden:focus-within { transform: none; }

/* the focus ring follows --c-accent: olive over the dark hero and the open
   mega menu, deep red once the bar turns cream */
.l-header { --c-accent: #b8b172; }
.l-header.-sticked:not(.-menuOpen) { --c-accent: #51191a; }

/* a keyboard user in the section nav must not have it covered by the header */
body:has(.c-subNav :focus-visible) .l-header { transform: translateY(-100%); }

/* first paint only — see main.js */
.l-header.-noTransition { transition: none; }

/* --- logo: the supplied wordmark, cream over dark, dark once sticked --- */
.c-logo {
  position: relative;
  display: block;
  flex-shrink: 0;
  width: 150px;
  height: 32px;
}

.c-logo_img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  transition: opacity 0.3s var(--ease);
}

.c-logo_img.-dark { opacity: 0; }

.l-header.-sticked .c-logo_img.-cream { opacity: 0; }
.l-header.-sticked .c-logo_img.-dark  { opacity: 1; }

/* the mega menu puts a dark panel back behind the header */
.l-header.-menuOpen .c-logo_img.-cream { opacity: 1; }
.l-header.-menuOpen .c-logo_img.-dark  { opacity: 0; }

/* --- horizontal nav --- */
.l-header_col.-nav {
  align-items: center;
  justify-content: flex-end;
}

.c-navHorizontal {
  display: flex;
  align-items: center;
  gap: 32px;
}

.c-navHorizontal .c-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--ff-text);
  font-size: 16px;
  line-height: 1.5;
  color: var(--c-white);
  transition: color 0.3s var(--ease), opacity 0.3s var(--ease);
}

.c-navHorizontal .c-link:hover { opacity: 0.6; }

.c-link_icon {
  display: inline-block;
  width: 8px;
  height: 5px;
  background-color: currentColor;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transition: transform 0.3s var(--ease);
}

.c-link.is-open .c-link_icon { transform: rotate(180deg); }

/* --- hamburger --- */
.c-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  color: var(--c-white);
}

.l-header.-sticked .c-hamburger { color: var(--c-black); }

.c-hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background-color: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

.c-hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.c-hamburger.is-open span:nth-child(2) { opacity: 0; }
.c-hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* -------------------------------------------------------------------------
   8. MEGA MENU
   ---------------------------------------------------------------------- */
.c-megaMenu {
  position: fixed;
  top: var(--header-h);
  left: 0;
  z-index: 99;
  width: 100%;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  background-color: var(--c-black);
  color: var(--c-white);
  border-top: 1px solid var(--line-dark);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.3s var(--ease), transform 0.35s var(--ease), visibility 0.3s;
}

.c-megaMenu.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.c-megaMenu_panel { display: none; padding-block: 56px 64px; }
.c-megaMenu_panel.is-active { display: block; }

.c-megaMenu_grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px 32px;
}

.c-megaMenu_item { padding: 16px 0; border-top: 1px solid var(--line-dark); }

.c-megaMenu_item a { display: block; transition: color 0.3s var(--ease); }
.c-megaMenu_item a:hover { color: var(--c-accent-2); }

.c-megaMenu_title {
  display: block;
  font-family: var(--ff-text);
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 2px;
}

.c-megaMenu_desc {
  display: block;
  font-family: var(--ff-text);
  font-size: 13px;
  line-height: 1.5;
  color: var(--c-muted-2);
}

.c-megaMenu_aside { padding-inline-start: 48px; border-inline-start: 1px solid var(--line-dark); }

/* screen-covering backdrop */
.c-backdrop {
  position: fixed;
  inset: 0;
  z-index: 98;
  background-color: rgba(48, 21, 20, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}

.c-backdrop.is-open { opacity: 1; visibility: visible; }

/* --- mobile drawer --- */
.c-mobileNav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  z-index: 99;
  width: 100%;
  height: calc(100vh - var(--header-h));
  overflow-y: auto;
  padding: 32px var(--container-pad) 64px;
  background-color: var(--c-black);
  color: var(--c-white);
  visibility: hidden;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease), visibility 0.4s;
}

.c-mobileNav.is-open { visibility: visible; transform: none; }

/* the hamburger only exists below 1100, so neither should the drawer */
@media (min-width: 1100px) {
  .c-mobileNav { display: none; }
}

.c-mobileNav_item {
  padding: 18px 0;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--ff-title);
  font-size: 28px;
  line-height: 1.2;
}

/* Resources and Studio have no page of their own: the drawer lists their pages under the name */
.c-mobileNav_sub {
  margin-top: 10px;
  font-family: var(--ff-text);
  font-size: 17px;
  color: var(--c-muted-3);
}
.c-mobileNav_sub a { display: block; padding: 9px 0; }

body.is-locked { overflow: hidden; }

/* =========================================================================
   9. SECTIONS
   ========================================================================= */

/* --- 9.0 OPENER ------------------------------------------------------- */
/* A pinned stage holding the hero, with a full-bleed brand plate laid over it
   in two halves. Scroll drives --p from 0 to 1 and the halves part, revealing
   the landing page behind.

   The seam falls in the lockup's OWN gap, so "nami" rides the top half and
   "CREATIVE AGENCY" rides the bottom — the same move the reference makes with
   its two type lines, and neither mark is ever cut through.

   The ratios are measured off assets/brand/NAMI LOCKUP-OPENER.webp as
   fractions of the lockup's width, so the two marks keep the real lockup
   spacing at any size, and the seam is derived rather than guessed. */
.c-opener {
  --p: 0;
  --lock-w: clamp(260px, 46vw, 900px);
  --lock-h: calc(var(--lock-w) * 0.3087);  /* wordmark + gap + tagline */
  --lock-top: calc((100vh - var(--lock-h)) / 2);
  --seam: calc(var(--lock-top) + var(--lock-w) * 0.242);   /* middle of the gap */

  position: relative;
  height: 220vh;
  background-color: var(--c-black);
}

.c-opener_stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.c-opener_stage > .c-heroSec { height: 100%; min-height: 0; }

.c-opener_curtain {
  position: absolute;
  left: 0;
  z-index: 5;
  width: 100%;
  overflow: hidden;
  background-color: var(--c-black);
  will-change: transform;
}

.c-opener_curtain.-top {
  top: 0;
  height: var(--seam);
  transform: translateY(calc(var(--p) * -100%));
}

.c-opener_curtain.-bottom {
  top: var(--seam);
  height: calc(100% - var(--seam));
  transform: translateY(calc(var(--p) * 100%));
}

/* Both halves carry the same full-viewport plate, anchored to the stage edge
   each one sits against. They therefore occupy the identical rectangle, so
   grass and type stay in register and the cover reads as one uncut image
   until it parts. */
.c-opener_plate {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100vh;
}

.c-opener_curtain.-top .c-opener_plate { top: 0; }
.c-opener_curtain.-bottom .c-opener_plate { bottom: 0; }

.c-opener_grass {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* An oxblood scrim: sinks the photograph back so the cream type carries the
   frame, deepens the edges so the nav stays readable over it, and ties the
   cover to the ground the hero behind it sits on. */
.c-opener_plate::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(48, 21, 20, 0.55) 0%,
      rgba(48, 21, 20, 0.14) 26%,
      rgba(48, 21, 20, 0.14) 74%,
      rgba(48, 21, 20, 0.55) 100%);
}

.c-opener_word,
.c-opener_tag {
  position: absolute;
  z-index: 2;
  left: 50%;
  height: auto;
  transform: translateX(-50%);
}

.c-opener_word {
  top: var(--lock-top);
  width: var(--lock-w);
}

/* the tagline sits a hair right of the wordmark's centre in the lockup */
.c-opener_tag {
  top: calc(var(--lock-top) + var(--lock-w) * 0.2706);
  left: calc(50% + var(--lock-w) * 0.0076);
  width: calc(var(--lock-w) * 0.596);
}

/* Fallback: no runway, no curtains — the page simply starts at the hero.
   main.js reads the stage's computed position, so every route below keeps
   the scroll maths in step without a second source of truth. */
.c-opener.-static { height: auto; }
.c-opener.-static .c-opener_stage { position: static; height: auto; overflow: visible; }
.c-opener.-static .c-opener_stage > .c-heroSec { height: auto; }
.c-opener.-static .c-opener_curtain { display: none; }

@media (prefers-reduced-motion: reduce) {
  .c-opener { height: auto; }
  .c-opener_stage { position: static; height: auto; overflow: visible; }
  .c-opener_stage > .c-heroSec { height: auto; }
  .c-opener_curtain { display: none; }
}

/* Too short to hold the hero pinned — the hero would be clipped, so skip it. */
@media (max-height: 700px) {
  .c-opener { height: auto; }
  .c-opener_stage { position: static; height: auto; overflow: visible; }
  .c-opener_stage > .c-heroSec { height: auto; }
  .c-opener_curtain { display: none; }
}

/* --- 9.1 HERO --------------------------------------------------------- */
.c-heroSec {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100vh;
  padding-block: calc(var(--header-h) + 72px) 120px;
  background-color: var(--c-black);
  color: var(--c-white);
  overflow: hidden;
}

.c-heroSec_media {
  position: absolute;
  top: 0;
  right: 10%;
  width: 40%;
  height: 85.6%;
}

.c-heroSec_media video { display: block; width: 100%; height: 100%; object-fit: cover; }

/* sits just under the clip; z-index lifts it over the copy's box, which
   overlaps the bottom of the media (the media itself stays below the copy) */
.c-heroSec_btn { position: absolute; top: 100%; right: 0; z-index: 3; margin-top: 12px; }

.c-heroSec_container { position: relative; z-index: 2; width: 100%; }

.c-heroSec_intro {
  max-width: 340px;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 96px;
}

.c-heroSec_title { position: relative; }

.c-heroSec_title { max-width: 1060px; }

/* the sans opening line hangs ~108px to the left of the serif line */
.c-heroSec_title .-line1 {
  display: block;
  margin-inline-start: -108px;
}

@media (max-width: 991px) {
  /* the section is a flex row on desktop only — the media is absolute there.
     Once it returns to normal flow it must stack, not sit beside the copy. */
  .c-heroSec {
    display: block;
    min-height: 0;
    padding-block: calc(var(--header-h) + 48px) 64px;
  }
  .c-heroSec_media {
    position: relative;
    right: auto;
    width: 100%;
    height: auto;
    margin-bottom: 40px;
  }
  .c-heroSec_media video { height: auto; aspect-ratio: 4 / 5; }
  .c-heroSec_btn { right: var(--container-pad); }
  .c-heroSec_intro { margin-bottom: 40px; }
  .c-heroSec_title .-line1 { margin-inline-start: 0; }
}

/* --- 9.2 WHAT WE DO --------------------------------------------------- */
/* Płaski beż od góry do dołu — logo klientów są czarne, więc cała sekcja
   stoi na jasnym tle. Żadnych gradientów. */
.c-digitalSec {
  position: relative;
  padding-block: 96px 120px;
  background-color: var(--c-white);
  color: var(--c-black);
  overflow: hidden;
}

.c-digitalSec_title { margin-bottom: 112px; }

/* one line from 992px up; the size tracks the viewport so it always fits */
@media (min-width: 992px) {
  .c-digitalSec_title { font-size: min(48px, calc(4vw - 8px)); white-space: nowrap; }
}

.c-digitalSec_body { font-size: 18px; line-height: 1.611; }

.c-digitalSec_logoBand { margin-top: 120px; }

/* two rows of client logos running in opposite directions. Each track holds
   the same set three times and moves by exactly one set, so the loop is
   seamless; hovering or the Pause button stops both rows. */
/* clip only sideways: a mark scaled up by --s may stand taller than its cell */
.c-marquee { --cell: 280px; --gap: 48px; display: grid; gap: 64px; overflow-x: clip; }
.c-marquee_track {
  display: flex;
  width: max-content;
  animation: marquee 70s linear infinite;
}
.c-marquee_row.-right .c-marquee_track { animation-direction: reverse; }
.c-marquee_set { display: flex; gap: var(--gap); padding-inline-end: var(--gap); }
.c-marquee .c-clientLogo { flex: 0 0 var(--cell); }
.c-marquee.is-paused .c-marquee_track { animation-play-state: paused; }
.c-marquee_foot { display: flex; justify-content: flex-end; margin-top: 32px; }

@keyframes marquee { to { transform: translateX(calc(-100% / 3)); } }

/* very wide screens: one set must stay wider than the window plus a cell, or a
   logo shows at both ends of its row at once */
@media (min-width: 1920px) {
  .c-marquee { --cell: 320px; --gap: 64px; }
}

/* nothing moves under reduced motion: one copy of each set, wrapped and centred */
@media (prefers-reduced-motion: reduce) {
  .c-marquee { gap: 56px; }
  .c-marquee_track { width: auto; animation: none; justify-content: center; }
  .c-marquee_set { flex-wrap: wrap; justify-content: center; row-gap: 56px; padding-inline: var(--container-pad); }
  .c-marquee_set[aria-hidden] { display: none; }
}

.c-clientLogo {
  position: relative;
  height: 96px;
}

.c-clientLogo_img {
  position: absolute;
  inset: 0;
  margin: auto;          /* centruje bezwzględnie pozycjonowany obraz */
  width: auto;
  height: auto;
  /* --s wyrownuje ciezar optyczny: znaki o duzym pokryciu tuszem sa
     zmniejszane, cienkie powiekszane, zeby sciana czytala sie rowno */
  max-width: calc(84% * var(--s, 1));
  max-height: calc(100% * var(--s, 1));
  object-fit: contain;
}

@media (max-width: 991px) {
  .c-digitalSec { padding-block: 48px 80px; }
  .c-digitalSec_title { margin-bottom: 40px; }
  .c-digitalSec_logoBand { margin-top: 64px; }
  .c-marquee { --cell: 220px; --gap: 40px; gap: 48px; }
  .c-clientLogo { height: 76px; }
}

/* --- 9.3 WHERE TO START: the symptom index ---------------------------- */
/* Seven rows in Services order. Each row: three problem lines, then the
   service that fixes them. The whole row is one link (stretched ::after).
   The pink lives on only as a highlighter on hover / keyboard focus. */
.c-symptoms { padding-block: 128px; background-color: var(--c-white); }
.c-symptoms_title > span { display: block; text-wrap: balance; }
.c-symptoms_lede { max-width: 30em; font-size: 18px; line-height: 1.6; color: var(--c-muted); }

.c-symptoms_list { border-bottom: 1px solid var(--line-light); }

.c-symptoms_row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 20px;
  padding-block: 32px;
  border-top: 1px solid var(--line-light);
}

.c-symptoms_num { grid-column: 1; padding-top: 10px; font-size: 12px; line-height: 1.5; color: var(--c-muted); }

.c-symptoms_signs { grid-column: 2 / 10; display: grid; gap: 6px; }
.c-symptoms_signs li { font-size: 28px; line-height: 1.25; letter-spacing: -0.01em; text-wrap: balance; }

.c-symptoms_signs span {
  background: linear-gradient(var(--c-light), var(--c-light)) no-repeat 0 90% / 0 0.4em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: background-size 0.5s var(--ease);
}
.c-symptoms_signs li:nth-child(2) span { transition-delay: 0.08s; }
.c-symptoms_signs li:nth-child(3) span { transition-delay: 0.16s; }

/* rebranding row only: the line moved over from rebranding.html */
.c-symptoms_note { grid-column: 2 / 10; margin-top: 16px; font-size: 16px; line-height: 1.5; color: var(--c-muted); text-wrap: balance; }

.c-symptoms_fix { grid-column: 10 / 13; grid-row: 1; display: grid; gap: 8px; align-content: start; padding-top: 6px; }

.c-symptoms_go {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 12px;
  font-family: var(--ff-title);
  font-stretch: 125%;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.25;
  transition: color 0.3s var(--ease);
}
/* the whole row is the link; the service name stays its accessible name */
.c-symptoms_go::after { content: ""; position: absolute; inset: 0; }
/* keyboard: ring the whole row, not just the name */
.c-symptoms_go:focus-visible { outline: none; }
.c-symptoms_go:focus-visible::after { outline: 2px solid var(--c-accent); outline-offset: 3px; }

.c-symptoms_what { font-size: 14px; line-height: 1.5; color: var(--c-muted); }

@media (hover: hover) {
  .c-symptoms_row:hover .c-symptoms_signs span { background-size: 100% 0.4em; }
  .c-symptoms_row:hover .c-symptoms_go { color: var(--c-accent); }
  .c-symptoms_row:hover .c-listRow_icon { transform: translateX(5px); }
}
.c-symptoms_row:has(:focus-visible) .c-symptoms_signs span { background-size: 100% 0.4em; }

@media (prefers-reduced-motion: reduce) {
  .c-symptoms_signs span,
  .c-symptoms_go,
  .c-symptoms .c-listRow_icon { transition: none; }
}

.c-symptoms_foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; margin-top: 56px; }
.c-symptoms_foot p { max-width: 34em; font-size: 18px; line-height: 1.6; }

@media (max-width: 1199px) {
  .c-symptoms_signs, .c-symptoms_note { grid-column: 2 / 9; }
  .c-symptoms_signs li { font-size: 24px; line-height: 1.3; }
  .c-symptoms_fix { grid-column: 9 / 13; }
}
@media (max-width: 991px) {
  .c-symptoms { padding-block: 80px 96px; }
  .c-symptoms_row { grid-template-columns: 32px minmax(0, 1fr); column-gap: 8px; row-gap: 20px; padding-block: 28px; }
  .c-symptoms_num { padding-top: 6px; }
  .c-symptoms_signs, .c-symptoms_note, .c-symptoms_fix { grid-column: 2; }
  .c-symptoms_signs { gap: 8px; }
  .c-symptoms_note { margin-top: -8px; }
  .c-symptoms_fix { grid-row: auto; padding-top: 0; }
  .c-symptoms_go { font-size: 20px; }
  .c-symptoms_foot { margin-top: 40px; }
}
@media (max-width: 575px) {
  .c-symptoms_signs li { font-size: 18px; line-height: 1.4; }
  .c-symptoms_go { font-size: 18px; }
}

/* --- 9.4 SPOTLIGHT / WORK --------------------------------------------- */
.c-spotlightSec {
  position: relative;
  padding-block: 170px 152px;
  background-color: var(--c-black);
  color: var(--c-white);
  overflow: hidden;
}

.c-spotlightSec_lead {
  max-width: 21em;
  font-size: 24px;
  line-height: 1.583;
}

.c-spotlightSec_lead u {
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}

.c-case { display: block; }

.c-case_media { margin-bottom: 28px; overflow: hidden; }

.c-case_media img { display: block; width: 100%; height: auto; }

.c-case_media .c-wf,
.c-case_media :is(img, video) { transition: transform 0.6s var(--ease); }
.c-case:hover .c-case_media .c-wf,
.c-case:hover .c-case_media :is(img, video) { transform: scale(1.03); }

/* the still is the thumbnail; the clip fades in over it once it actually plays */
.c-case_media.-clip { position: relative; }
.c-case_media.-clip video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s var(--ease), transform 0.6s var(--ease);
}
.c-case_media.-clip.is-playing video { opacity: 1; }

.c-case_title {
  font-family: var(--ff-text);
  font-size: 32px;
  line-height: 1.19;
  letter-spacing: -0.01em;
  max-width: 18em;
}

.c-case_title.-small { font-size: 24px; line-height: 1.25; }

.c-spotlightSec_quote { font-family: var(--ff-title); font-size: 24px; line-height: 1.4; }
.c-spotlightSec .c-quote { --qm: 44px; }

.c-caseWall .c-case + .c-case { margin-top: 112px; }

.c-spotlightSec_all { margin-top: 128px; }

@media (max-width: 991px) {
  .c-spotlightSec { padding-block: 96px; }
  .c-case_title, .c-case_title.-small { font-size: 22px; }
  .c-spotlightSec_all { margin-top: 64px; }
  .c-caseWall .c-case + .c-case,
  .c-caseWall > * + * { margin-top: 56px; }
  .c-bigLink { font-size: 40px; padding-bottom: 10px; }
  .c-bigLink::after { height: 2px; }
}

/* --- 9.5 PROCESS / SERVICES ------------------------------------------- */
.c-processSec { padding-block: 112px; background-color: var(--c-white); }

.c-processSec_quote {
  font-family: var(--ff-title);
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 18px;
}

.c-processSec_attr { font-size: 13px; line-height: 1.5; color: var(--c-muted); }


.c-processSec_list { margin-top: 72px; }

@media (max-width: 991px) {
  .c-processSec { padding-block: 80px; }
  .c-processSec_list { margin-top: 48px; }
  .c-listRow_label { font-size: 20px; }
  .c-listRow { gap: 16px; }
}

/* --- 9.6 STATS -------------------------------------------------------- */
.c-workingSec {
  position: relative;
  padding-block: 112px 56px;
  background-color: var(--c-black);
  color: var(--c-white);
  overflow: hidden;
}

.c-workingSec_container { position: relative; z-index: 2; }

.c-workingSec_stat { padding-top: 28px; border-top: 1px solid var(--line-dark); }

.c-workingSec_value {
  font-family: var(--ff-title);
  font-size: 44px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.c-workingSec_caption { font-size: 14px; line-height: 1.571; color: var(--c-muted-3); }

@media (max-width: 991px) {
  .c-workingSec { padding-block: 80px 24px; }
  .c-workingSec_value { font-size: 34px; }
}

/* --- 9.7 CLIENTS ------------------------------------------------------ */
.c-clientsSec { padding-block: 112px; background-color: var(--c-white); }

.c-clientsSec_rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(256px, 1fr);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  border-block: 1px solid var(--line-light);
  scrollbar-width: thin;
}

.c-cardClient {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 40px 28px 32px;
  border-inline-end: 1px solid var(--line-light);
  scroll-snap-align: start;
}

/* ten sam znak i to samo --s co na ścianie klientów, w mniejszym polu, do lewej */
.c-cardClient_logo.c-clientLogo { width: 200px; max-width: 100%; height: 64px; }
.c-cardClient_logo .c-clientLogo_img { margin-inline-start: 0; }

.c-cardClient_desc { flex: 1; font-size: 14px; line-height: 1.6; }

.c-cardClient_tags { display: flex; flex-wrap: wrap; gap: 8px; }

@media (max-width: 991px) {
  .c-clientsSec { padding-block: 72px; }
}

/* --- all clients (clients.html): the homepage cards in a grid, filtered by service, CSS only --- */
.c-clientFilter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 48px; }
.c-clientFilter input { position: absolute; opacity: 0; pointer-events: none; }
.c-clientFilter span {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 10px 18px;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.c-clientFilter span:hover { border-color: var(--c-black); }
.c-clientFilter sup { font-size: 10px; opacity: 0.65; }
.c-clientFilter input:checked + span { border-color: var(--c-black); background-color: var(--c-black); color: var(--c-white); }
.c-clientFilter input:focus-visible + span { outline: 2px solid var(--c-accent); outline-offset: 3px; }

.c-clientGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
  list-style: none;
}
.c-clientGrid .c-cardClient { border-bottom: 1px solid var(--line-light); }
.c-cardClient_case { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; text-decoration: underline; text-underline-offset: 0.25em; }
.c-cardClient_case:hover { color: var(--c-accent); }

.c-clientIndex:has(input[value="identity"]:checked) .c-cardClient:not([data-s~="identity"]),
.c-clientIndex:has(input[value="logo"]:checked) .c-cardClient:not([data-s~="logo"]),
.c-clientIndex:has(input[value="web"]:checked) .c-cardClient:not([data-s~="web"]),
.c-clientIndex:has(input[value="mobile"]:checked) .c-cardClient:not([data-s~="mobile"]),
.c-clientIndex:has(input[value="rebrand"]:checked) .c-cardClient:not([data-s~="rebrand"]),
.c-clientIndex:has(input[value="strategy"]:checked) .c-cardClient:not([data-s~="strategy"]),
.c-clientIndex:has(input[value="pack"]:checked) .c-cardClient:not([data-s~="pack"]) { display: none; }

@media (max-width: 1199px) { .c-clientGrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 991px)  { .c-clientGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px)  { .c-clientGrid { grid-template-columns: minmax(0, 1fr); } }

/* the same chips on a dark ground (projects.html) */
.c-clientFilter.-dark span { border-color: var(--line-dark); color: var(--c-white); }
.c-clientFilter.-dark span:hover { border-color: var(--c-white); }
.c-clientFilter.-dark input:checked + span { border-color: var(--c-white); background-color: var(--c-white); color: var(--c-black); }

/* --- all projects (projects.html): the homepage work wall as a full index ---
   Tall cards are 4:5; wide ones span two columns at 16:10, so their image is as tall as a tall card's. */
.c-projGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 72px 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.c-proj.-wide { grid-column: span 2; }
.c-proj_media { aspect-ratio: 4 / 5; margin-bottom: 24px; }
.c-proj.-wide .c-proj_media { aspect-ratio: 16 / 10; }
/* a wide card is two columns plus one gap; its image takes a tall card's height, so the titles line up */
.c-proj.-wide { container-type: inline-size; }
@supports (height: 1cqw) {
  .c-proj.-wide .c-proj_media { aspect-ratio: auto; height: calc((100cqw - 32px) / 2 * 1.25); }
}
.c-proj_media img, .c-proj_media video { width: 100%; height: 100%; object-fit: cover; }
.c-proj_media.-contain { background-color: var(--c-white); }
.c-proj_media.-contain img { object-fit: contain; padding: 18%; }
.c-proj_media .c-wf { position: relative; height: 100%; }
.c-proj_name { font-family: var(--ff-title); font-size: 28px; line-height: 1.15; }
.c-proj_kind { margin-top: 8px; font-size: 13px; letter-spacing: 0.02em; color: var(--c-muted-2); }
.c-proj_line { max-width: 30em; margin-top: 14px; font-size: 16px; line-height: 1.55; color: var(--c-muted-3); }
.c-proj_result { display: inline-block; margin-top: 16px; padding: 6px 12px; background-color: var(--c-accent); color: var(--c-black); font-size: 14px; }
.c-proj_link:hover .c-proj_name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }

.c-projIndex:has(input[value="identity"]:checked) .c-proj:not([data-s~="identity"]),
.c-projIndex:has(input[value="logo"]:checked) .c-proj:not([data-s~="logo"]),
.c-projIndex:has(input[value="web"]:checked) .c-proj:not([data-s~="web"]),
.c-projIndex:has(input[value="mobile"]:checked) .c-proj:not([data-s~="mobile"]),
.c-projIndex:has(input[value="rebrand"]:checked) .c-proj:not([data-s~="rebrand"]),
.c-projIndex:has(input[value="strategy"]:checked) .c-proj:not([data-s~="strategy"]),
.c-projIndex:has(input[value="pack"]:checked) .c-proj:not([data-s~="pack"]) { display: none; }

@media (max-width: 991px) {
  .c-projGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 20px; }
  .c-proj_name { font-size: 22px; }
}
@media (max-width: 575px) {
  .c-projGrid { grid-template-columns: minmax(0, 1fr); }
  .c-proj.-wide { grid-column: auto; }
}

.c-proj_badge {
  display: inline-block;
  margin-left: 12px;
  padding: 3px 8px;
  border: 1px solid var(--line-dark);
  font-family: var(--ff-text);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: 0.4em;
}
.c-proj_more { margin-top: 128px; }
.c-proj_more .c-listRow { border-color: var(--line-dark); }
.c-proj_more .c-proj_kind { display: inline; margin: 0 0 0 12px; }
.c-proj_next,
.c-caseIndex_all { display: flex; flex-wrap: wrap; gap: 24px 56px; margin-top: 96px; }

/* --- case studies (case-studies.html): one row per case, image left, the story right --- */
.c-caseRow {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 32px 64px;
  align-items: start;
  padding-block: 72px;
  border-top: 1px solid var(--line-light);
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.c-caseRow:first-child { padding-top: 0; border-top: 0; }
.c-caseRow_media { display: block; overflow: hidden; aspect-ratio: 4 / 3; background-color: var(--c-offwhite); }
.c-caseRow_media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.c-caseRow_media:hover img { transform: scale(1.03); }
.c-caseRow_media.-contain img { object-fit: contain; padding: 14%; }
.c-caseRow_meta { display: flex; gap: 16px; font-size: 13px; letter-spacing: 0.02em; color: var(--c-muted); }
.c-caseRow_meta span { color: var(--c-accent); }
.c-caseRow_title { margin-top: 20px; font-size: 40px; line-height: 1.1; }
.c-caseRow_title a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.12em; }
.c-caseRow_story { display: grid; gap: 20px; margin-top: 36px; }
.c-caseRow_story > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding-top: 20px; border-top: 1px solid var(--line-light); }
.c-caseRow_story dt { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-muted); }
.c-caseRow_story dd { margin: 0; font-size: 16px; line-height: 1.6; }
.c-caseRow_story .-result dd { font-weight: 600; }
.c-caseRow_quote { margin-top: 36px; padding-left: 20px; border-left: 2px solid var(--c-accent); }
.c-caseRow_quote p { font-size: 18px; line-height: 1.55; }
.c-caseRow_quote footer { margin-top: 12px; font-size: 13px; color: var(--c-muted); }
.c-caseRow_links { display: flex; flex-wrap: wrap; gap: 16px 40px; margin-top: 36px; }
/* site captures sit in the Website Design laptop: no tile, no crop, no zoom on hover */
.c-caseRow_media.-device { aspect-ratio: auto; overflow: visible; background: none; }
.c-caseRow_media.-device .c-laptop > img { height: auto; transition: none; }
.c-caseRow_media.-device:hover .c-laptop > img { transform: none; }
/* the one case with numbers leads, bigger */
.c-caseRow.-featured { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.c-caseRow.-featured .c-caseRow_media { aspect-ratio: 16 / 10; }
.c-caseRow.-featured .c-caseRow_title { font-size: 56px; }

@media (max-width: 991px) {
  .c-caseRow, .c-caseRow.-featured { grid-template-columns: minmax(0, 1fr); padding-block: 56px; }
  .c-caseRow_title, .c-caseRow.-featured .c-caseRow_title { font-size: 32px; }
  .c-caseRow_story > div { grid-template-columns: minmax(0, 1fr); gap: 6px; }
}

/* --- outcomes (outcomes.html) --- */
.c-outcome_label { margin-top: 16px; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-muted-2); }
.c-outcome_facts { display: grid; gap: 12px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line-dark); font-size: 14px; line-height: 1.5; }
.c-outcome_facts dt { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-muted-2); }
.c-outcome_facts dd { margin: 4px 0 0; color: var(--c-muted-3); }
.c-outcome_quoteRow { margin-top: 64px; align-items: flex-end; }
.c-outcomeSec .c-author_name { color: var(--c-white); }
.c-outcomeSec .c-author_role { margin-top: 4px; font-size: 14px; color: var(--c-muted-2); }
@media (max-width: 991px) { .c-outcome_quoteRow > div + div { margin-top: 48px; } }
.c-outcomeTable th[scope="row"] a { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }

/* About & Team: the Team section follows Who we are on the same ground, so it takes a rule, not a gap */
.c-idSec_next { padding-top: 0; }
.c-idSec_next .c-secHead { padding-top: 96px; border-top: 1px solid var(--line-light); }

/* --- 9.9 FAQ ---------------------------------------------------------- */
.c-faqSec { padding-block: 112px; background-color: var(--c-white); }

/* "Frequently / ASKED Questions" three-part lockup */
.c-faqSec_title { display: block; }

.c-faqSec_titleRow {
  display: flex;
  align-items: baseline;
  gap: 22px;
}

.c-faqSec_asked {
  font-family: var(--ff-text);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.c-faqSec_quote { font-size: 14px; line-height: 1.6; }
.c-faqSec_quote a { text-decoration: underline; text-underline-offset: 3px; }

/* accordion */
.c-collapse { border-top: 1px solid var(--line-light); }
.c-collapse:last-child { border-bottom: 1px solid var(--line-light); }

.c-collapse_trigger {
  display: flex;
  align-items: center;
  gap: 28px;
  width: 100%;
  padding: 24px 0;
  text-align: left;
  transition: color 0.3s var(--ease);
}

.c-collapse_trigger:hover { color: var(--c-accent); }

.c-collapse_num {
  flex-shrink: 0;
  width: 24px;
  font-size: 12px;
  color: var(--c-muted);
}

.c-collapse_label { flex: 1; font-size: 18px; line-height: 1.45; }

.c-collapse_icon { flex-shrink: 0; transition: transform 0.35s var(--ease); }
.c-collapse.is-open .c-collapse_icon { transform: rotate(90deg); }

/* panels are open by default and only fold away once JS is there to open them */
.c-collapse_panel {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.45s cubic-bezier(0.66, 0, 0.34, 1);
}

.js .c-collapse:not(.is-open) .c-collapse_panel { grid-template-rows: 0fr; }

/* the copy fades out fast on close, and in just behind the opening rows */
.c-collapse_panelInner {
  overflow: hidden;
  transition: opacity 0.35s var(--ease-ui) 0.12s;
}

.js .c-collapse:not(.is-open) .c-collapse_panelInner {
  opacity: 0;
  transition: opacity 0.2s var(--ease-ui);
}

.c-collapse_body {
  max-width: 44em;
  padding: 0 0 28px 52px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-muted);
}

@media (max-width: 991px) {
  .c-faqSec { padding-block: 80px; }
  .c-faqSec_titleRow { gap: 12px; }
  .c-faqSec_asked { font-size: 13px; }
  .c-collapse_trigger { gap: 16px; }
  .c-collapse_label { font-size: 16px; }
  .c-collapse_body { padding-left: 40px; }
}

/* --- 9.10 CTA --------------------------------------------------------- */
.c-ctaSec {
  position: relative;
  padding-block: 152px 120px;
  background-color: var(--c-black);
  color: var(--c-white);
  overflow: hidden;
}

.c-ctaSec_container { position: relative; z-index: 2; text-align: center; }

.c-ctaSec_title { max-width: 13em; margin-inline: auto; }

.c-ctaSec_note { margin-top: 88px; font-size: 14px; color: var(--c-muted-3); }


@media (max-width: 991px) {
  .c-ctaSec { padding-block: 88px 72px; }
  .c-ctaSec_note { margin-top: 48px; }
}

/* -------------------------------------------------------------------------
   10. FOOTER
   ---------------------------------------------------------------------- */
.l-footer {
  background-color: var(--c-black);
  color: var(--c-white);
  overflow: hidden;
}

.l-footer_row {
  display: grid;
  grid-template-columns: 437px 1fr;
  max-width: var(--container-max);
  margin-inline: auto;
}

.l-footer_cell {
  padding: 56px var(--container-pad);
  border-bottom: 1px solid var(--line-dark);
}

.l-footer_cell.-left {
  padding-inline: var(--container-pad) 33px;
  border-inline-end: 1px solid var(--line-dark);
}

.l-footer_slogan { display: flex; align-items: center; min-height: 168px; }

.l-footer_brand { font-size: 13px; line-height: 1.6; color: var(--c-muted-3); }

.l-footer_logo { display: block; width: 190px; height: auto; }

.l-footer_newsletterCopy {
  max-width: 30em;
  margin-block: 16px 28px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--c-muted-3);
}

.c-field {
  width: 100%;
  padding: 15px 18px;
  border: 0;
  border-bottom: 1px solid var(--line-dark);
  background-color: rgba(236, 221, 186, 0.08);
  color: var(--c-white);
  font-size: 15px;
}

.c-field::placeholder { color: var(--c-muted-2); }

.l-footer_linkCols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)); /* Studio + Case studies; Resources was removed 24.11.2026 */
  gap: 32px;
}

.l-footer_colTitle {
  margin-bottom: 24px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-muted-2);
}

.l-footer_links li { margin-bottom: 12px; }

.l-footer_links a {
  font-size: 15px;
  color: var(--c-muted-3);
  transition: color 0.3s var(--ease);
}

.l-footer_links a:hover { color: var(--c-white); }

.l-footer_contactGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-muted-3);
}

.l-footer_social {
  display: flex;
  align-items: center;
  gap: 22px;
  max-width: var(--container-max);
  margin-inline: auto;
  padding: 26px var(--container-pad);
  border-bottom: 1px solid var(--line-dark);
}

.l-footer_social a {
  display: inline-flex;
  color: var(--c-muted-3);
  transition: color 0.3s var(--ease);
}

.l-footer_social a:hover { color: var(--c-white); }

.l-footer_legal {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  max-width: var(--container-max);
  margin-inline: auto;
  padding: 22px var(--container-pad) 40px;
  font-size: 12px;
  color: var(--c-muted-2);
}

.l-footer_legal a:hover { color: var(--c-white); }

/* the newsletter CTA runs on one line, as on the reference */
.l-footer_form .c-btn {
  min-height: 56px;
  padding: 12px 22px;
  font-size: 14px;
}

@media (max-width: 991px) {
  .l-footer_row { grid-template-columns: 1fr; }
  .l-footer_cell.-left { padding-inline: var(--container-pad); }
  .l-footer_cell { padding: 40px var(--container-pad); }
  .l-footer_cell.-left { border-inline-end: 0; }
  .l-footer_slogan { min-height: 0; }
  .l-footer_linkCols { grid-template-columns: 1fr 1fr; gap: 24px; }
  .l-footer_contactGrid { grid-template-columns: 1fr; gap: 20px; }
}

/* header while a mega-menu panel is open: stays dark so it reads on the panel */
.l-header.-menuOpen {
  background-color: var(--c-black);
  box-shadow: none;
}

.l-header.-menuOpen .c-navHorizontal .c-link { color: var(--c-white); }


/* ---------------------------------------------------------------------
   11. LATE OVERRIDES — these must win over the section-level md rules
   ------------------------------------------------------------------ */
@media (max-width: 575px) {
  .c-marquee { --cell: 180px; --gap: 32px; gap: 36px; }
  .c-clientLogo { height: 64px; }
}

/* reduced motion on a phone: smaller cells, so the static grid isn't one long column */
@media (prefers-reduced-motion: reduce) and (max-width: 767px) {
  .c-marquee { --cell: 140px; --gap: 24px; gap: 56px; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 359px) {
  .c-marquee { --cell: 120px; --gap: 16px; }
}

/* =========================================================================
   12. BRAND IDENTITY PAGE  (brand-identity.html)
   Flying Bisons' skeleton — numbered heads, a sticky section nav, a strict
   dark/light rhythm — carrying Sayre's warmth:
   packages that say what's included, a process that says what you get.
   ========================================================================= */

/* --- a soft cross-fade between the homepage and this page --- */
@view-transition { navigation: auto; }

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.45s;
  animation-timing-function: cubic-bezier(0.5, 0.3, 0, 1);
}

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}

/* declared here so it lands after .c-case_media img (section 9.4) */
.m-wipe > :is(img, video) {
  height: 100%;
  transition: clip-path 1.2s var(--ease-io), scale 1.6s var(--ease-out), transform 0.6s var(--ease);
}

.-bgInk { background-color: var(--c-ink); color: var(--c-white); }

.c-idSec { position: relative; padding-block: 128px; }
.c-idSec_muted { color: var(--c-muted); }
.-bgBlack .c-idSec_muted { color: var(--c-muted-3); }

.c-figCap { display: block; margin-top: 16px; }
.c-figCap.-withBtn { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 12px; }
.c-figCap_btn {
  padding-block: 3px;
  font-size: 12px;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* the wide-face arrow that opens every second heading line */
.h-arrow {
  display: inline-block;
  width: 0.62em;
  height: 0.62em;
  margin-inline-end: 0.22em;
  vertical-align: 0.02em;
}

.c-inlineLink {
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  transition: background-size 0.3s var(--ease-ui);
}

.c-inlineLink:hover { background-size: 0 1px; background-position: right bottom; }

/* --- hero ----------------------------------------------------------- */
.c-heroSec.-sub {
  display: block;
  min-height: 0;
  padding-block: calc(var(--header-h) + 88px) 112px;
}

.c-heroSec.-sub .c-heroSec_row { align-items: flex-end; }

.c-crumbs { margin-bottom: 56px; }

.c-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--c-muted-2);
}

.c-crumbs li + li::before { content: "/"; margin-inline: 12px; }

.c-crumbs a {
  background: linear-gradient(currentColor, currentColor) right bottom / 0 1px no-repeat;
  transition: color 0.3s var(--ease-ui), background-size 0.3s var(--ease-ui);
}

.c-crumbs a:hover {
  color: var(--c-white);
  background-size: 100% 1px;
  background-position: left bottom;
}

.c-crumbs [aria-current] { color: var(--c-white); }

.c-heroSec_lede { max-width: 20em; margin-top: 56px; line-height: 1.25; }

.c-heroSec_body {
  max-width: 30em;
  margin-top: 24px;
  font-size: 18px;
  color: var(--c-muted-3);
}

.c-heroSec_ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 36px;
  margin-top: 48px;
}

@media (max-width: 991px) {
  .c-heroSec.-sub { padding-block: calc(var(--header-h) + 40px) 64px; }
  .c-heroSec_lede { margin-top: 32px; }
  .c-heroSec_figure { margin-top: 56px; }
}

@media (max-width: 575px) {
  .c-heroSec_ctas .c-btn { width: 100%; }
}

@media (min-width: 992px) {
  .c-heroSec.-sub .c-heroSec_title { font-size: min(112px, 10.5vw); }
  .c-heroSec.-sub .c-heroSec_title .-line1 { margin-inline-start: calc(-100% / 6); }
}

@media (min-width: 992px) and (max-height: 820px) {
  .c-heroSec.-sub { padding-block: calc(var(--header-h) + 40px) 72px; }
  .c-heroSec.-sub .c-heroSec_title { font-size: min(88px, 10.5vw); }
  .c-crumbs { margin-bottom: 32px; }
  .c-heroSec_lede,
  .c-heroSec_ctas { margin-top: 32px; }
}

/* --- sticky section nav --------------------------------------------- */
/* The header (z 100, fixed) slides over this bar when it comes back on a
   scroll up and off it on a scroll down, so the two never stack. */
.l-subNavWay { --subnav-h: 56px; }

.c-subNav {
  position: sticky;
  top: 0;
  z-index: 90;
  height: var(--subnav-h);
  background-color: var(--c-white);
  border-bottom: 1px solid var(--line-light);
}

.c-subNav_inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}

.c-subNav_list {
  position: relative;   /* offsetParent for the scroll-spy's centring maths */
  display: flex;
  gap: 32px;
  min-width: 0;
  height: 100%;
}

.c-subNav_list a {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
  color: var(--c-muted);
  transition: color 0.3s var(--ease-ui);
}

.c-subNav_list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background-color: var(--c-black);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s var(--ease-ui);
}

.c-subNav_list a:hover,
.c-subNav_list a[aria-current] { color: var(--c-black); }

.c-subNav_list a[aria-current]::after { transform: scaleX(1); }

.c-subNav_cta { flex-shrink: 0; min-height: 36px; padding: 6px 18px; font-size: 14px; }

@media (max-width: 991px) {
  .l-subNavWay { --subnav-h: 48px; }
  .c-subNav_list {
    flex: 1;
    gap: 24px;
    padding-inline-end: 32px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent);
    mask-image: linear-gradient(90deg, #000 85%, transparent);
  }
  .c-subNav_list::-webkit-scrollbar { display: none; }
  .c-subNav_list { scroll-padding-inline: 0 20%; }
  .c-subNav_list a::after { bottom: 0; }
  .c-subNav_list a:focus-visible { outline-offset: -4px; }
}

@media (max-width: 767px) {
  .c-subNav_cta { display: none; }
}

/* --- numbered section head: H2 left, "01 —— [ LABEL ]" right ------------ */
.c-secHead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 96px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-light);
}

.c-secHead_title { max-width: 15em; }

@media (min-width: 992px) {
  .c-secHead_title { font-size: clamp(40px, 4.6vw, 64px); }
}

.c-secHead_meta {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding-top: 16px;
  font-size: 12px;
  letter-spacing: 0.08em;
  line-height: 1.5;
}

.c-secHead_num { color: var(--c-muted); }

.c-secHead_num::after {
  content: "";
  display: inline-block;
  width: 32px;
  height: 1px;
  margin-inline: 16px;
  vertical-align: middle;
  background-color: currentColor;
}

.-bgBlack .c-secHead { border-color: var(--line-dark); }
.-bgBlack .c-secHead_num { color: var(--c-accent); }

@media (max-width: 991px) {
  .c-idSec { padding-block: 72px; }
  .c-secHead {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
    padding-bottom: 28px;
  }
  .c-secHead_meta { order: -1; padding-top: 0; }
}

/* --- 01 approach ----------------------------------------------------- */
.c-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 56px 40px;
  margin-top: 112px;
}

/* a label over the grid (Design Strategy: "The numbers we read") takes the grid's top gap */
.c-benefits_head { margin-top: 112px; }
.c-benefits_head + .c-benefits { margin-top: 32px; }

.c-benefit {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--line-light);
}

.c-benefit h3, .c-benefit h5 { max-width: 11em; }

.c-benefit p { font-size: 16px; line-height: 1.6; color: var(--c-muted); }

@media (max-width: 991px) {
  .c-idSec_figure { margin-top: 48px; }
  .c-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 28px; margin-top: 64px; }
  .c-benefits_head { margin-top: 64px; }
}

@media (max-width: 575px) {
  .c-benefits { grid-template-columns: 1fr; }
}

/* --- 02 work --------------------------------------------------------- */
/* Hovering a case washes the whole section in that brand's darkest colour.
   A colour change, not movement, so it stays on under reduced motion. */
.c-idWork {
  background-color: var(--wash, var(--c-black));
  transition: background-color 0.6s var(--ease-ui);
}

.c-idWork_lead { max-width: 30em; margin-bottom: 128px; color: var(--c-muted-3); }

.c-idWork_right { padding-top: 160px; }

/* three cases, one tall card on the right: centre it against the left pair */
.c-idWork_wall.-centre { align-items: center; }
.c-idWork_wall.-centre .c-idWork_right { padding-top: 0; }

.c-idCase + .c-idCase { margin-top: 112px; }

.c-idCase .c-case_media { margin-bottom: 0; }
.c-idCase .c-case_title { font-weight: 400; }

/* the brand's own palette, flush under its image */
.c-swatches {
  display: flex;
  height: 6px;
  margin-bottom: 24px;
  transform-origin: top center;
  transition: transform 0.5s var(--ease-ui);
}

.c-swatches li { flex: 1; background-color: var(--c); }

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .c-idCase:hover .c-swatches { transform: scaleY(3); }
}

.c-idCase_meta {
  margin-top: 12px;
  font-size: 12px;
  letter-spacing: 0.08em;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--c-muted-2);
}

/* --- recent work ------------------------------------------------------ */
/* One brand per slide: its name on the left, its brand page and two frames
   in use on the right. The ground takes the brand's own colour, and the
   images lie on it like printed sheets (the only shadows on the page). */
.c-recent {
  --tint: #ecb2bd;
  --c-accent: var(--c-black);
  background-color: var(--tint);
  color: var(--c-black);
  transition: background-color 0.6s var(--ease-ui);
}

.c-recent_title { margin-bottom: 48px; }

/* the rail bleeds into the container padding, so the shadows have room */
.c-recent_rail {
  margin-inline: calc(-1 * var(--container-pad));
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  cursor: grab;
}
.c-recent_rail::-webkit-scrollbar { display: none; }
.c-recent_list { display: flex; }

.c-recent_slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  column-gap: 8%;
  padding: 0 var(--container-pad) 48px;
  scroll-snap-align: start;
}

.c-recent_text { display: flex; flex-direction: column; }

.c-recent_kind {
  display: flex;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.c-recent_kind span::after {
  content: "";
  display: inline-block;
  width: 32px;
  height: 1px;
  margin-inline: 16px;
  vertical-align: middle;
  background-color: currentColor;
}

.c-recent_name {
  margin-top: 28px;
  font-size: clamp(40px, 4.6vw, 72px);
  line-height: 1;
  overflow-wrap: break-word;
}

.c-recent_about { margin-top: auto; padding-top: 40px; }

.c-recent_lede { max-width: 24em; font-size: 18px; line-height: 1.55; }

.c-recent_dots { display: flex; gap: 8px; margin-top: 28px; }

.c-recent_dots i {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--c);
  box-shadow: 0 0 0 1px var(--line-light);
}

.c-recent .c-idCase_meta { margin-top: 16px; color: inherit; }

/* the brand page spans both rows at its own proportions; the two photos
   share its height and crop to fit */
.c-recent_media {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  grid-template-rows: 1fr 1fr;
  gap: 20px;
  align-self: start;
}

.c-recent_media > * {
  position: relative;
  box-shadow: 0 2px 4px rgba(48, 21, 20, 0.08), 0 28px 48px -20px rgba(48, 21, 20, 0.45);
  transition: box-shadow 0.8s var(--ease-out) 0.5s;
}

/* no shadow under an image that has not wiped in yet */
@media screen and (prefers-reduced-motion: no-preference) {
  .js .c-recent_media > .m-wipe:not(.is-visible) { box-shadow: none; }
}

.c-recent_sheet { grid-row: span 2; }
.c-recent_sheet > img { display: block; width: 100%; height: auto; }
.c-recent_shot > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.c-recent_foot { display: flex; align-items: flex-end; gap: 40px; margin-top: 16px; }

/* the index doubles as progress: the current project's line fills in */
.c-recent_index {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.c-recent_index button {
  position: relative;
  width: 100%;
  padding-top: 16px;
  border-top: 2px solid var(--line-light);
  font-size: 12px;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-align: left;
  text-transform: uppercase;
  color: inherit;
  cursor: pointer;
}

.c-recent_index button::before {
  content: "";
  position: absolute;
  inset: -2px 0 auto;
  height: 2px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out);
}

.c-recent_index button:hover::before { transform: scaleX(0.25); }
.c-recent_index [aria-current="true"]::before { transform: scaleX(1); }
.c-recent_index button > span:first-child { margin-inline-end: 12px; }

.c-recent_nav { display: flex; gap: 12px; }

@media (max-width: 991px) {
  .c-idWork_lead { margin-bottom: 48px; }
  .c-idWork_right { padding-top: 0; }
  .c-idCase + .c-idCase,
  .c-idWork_right { margin-top: 64px; }
}

@media (max-width: 991px) {
  /* one column: the name, the images, then the words */
  .c-recent_slide { grid-template-columns: minmax(0, 1fr); align-content: start; padding-bottom: 40px; }
  .c-recent_text { display: contents; }
  .c-recent_name { margin-top: 16px; margin-bottom: 32px; }
  .c-recent_media { order: 1; gap: 12px; }
  .c-recent_about { order: 2; padding-top: 32px; }
  .c-recent_title { margin-bottom: 32px; }
}

@media (max-width: 575px) {
  .c-recent_tabName { display: none; }
  .c-recent_foot { gap: 24px; }
}

/* --- 03 capabilities -------------------------------------------------- */
.c-kit_figure { position: sticky; top: calc(var(--header-h) + 24px); }

.c-listRow.-static { cursor: default; }
.c-listRow.-static:hover { color: inherit; }

.c-kit .c-listRow_label { flex: 0 0 40%; font-size: 22px; }

.c-listRow_desc { flex: 1; font-size: 16px; line-height: 1.5; color: var(--c-muted); }

@media (max-width: 767px) {
  .c-listRow.-static { flex-wrap: wrap; row-gap: 6px; }
  .c-kit .c-listRow_label { flex: 1; font-size: 20px; }
  .c-listRow.-static .c-listRow_desc { flex-basis: 100%; padding-inline-start: 40px; }
}

/* --- 04 offerings ----------------------------------------------------- */
/* The open package floods with its own colour; the collage beside the list
   switches to the project that shows that package (CSS :has, no JS). */
.c-collapse.-offer { position: relative; isolation: isolate; }
.c-collapse_head { font: inherit; }

.c-collapse.-offer::before {
  content: "";
  position: absolute;
  inset: 0 -20px;
  z-index: -1;
  background-color: var(--tint);
  opacity: 0;
  transition: opacity 0.4s var(--ease-ui);
}

.c-collapse.-offer[data-tier="1"] { --tint: var(--c-offwhite); }
.c-collapse.-offer[data-tier="2"] { --tint: var(--c-light); }
.c-collapse.-offer[data-tier="3"] { --tint: #b8b172; }
/* brand-identity: The System olive, The World pink */
.c-offers.-swapTints .c-collapse.-offer[data-tier="2"] { --tint: #b8b172; }
.c-offers.-swapTints .c-collapse.-offer[data-tier="3"] { --tint: var(--c-light); }

.c-collapse.-offer.is-open::before { opacity: 1; }

.c-collapse.-offer .c-collapse_trigger { align-items: baseline; padding-block: 28px; }

.c-offer_name {
  font-family: var(--ff-title);
  font-stretch: 125%;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.c-offer_meta {
  flex-shrink: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.c-collapse.-offer .c-collapse_icon { align-self: center; }

@media (hover: hover) and (pointer: fine) {
  .c-offer_name { transition: translate 0.3s var(--ease-ui); }
  .c-collapse.-offer .c-collapse_trigger:hover .c-offer_name { translate: 8px 0; }
}

.c-offer {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 20px 24px;
  margin: 0;
  padding: 4px 0 32px 52px;
}

.c-offer dt { padding-top: 3px; }

.c-offer dd { margin: 0; font-size: 16px; line-height: 1.6; }

.c-offer_incl li { position: relative; padding-inline-start: 20px; }
.c-offer_incl li + li { margin-top: 4px; }
.c-offer_incl li::before { content: "+"; position: absolute; left: 0; }

/* "Everything in X, plus:" introduces the list rather than joining it */
.c-offer_incl .-lead { padding-inline-start: 0; font-weight: 500; }
.c-offer_incl .-lead::before { content: none; }

.c-offer_cta { margin: 0 0 36px 52px; }

.c-offers_aside { position: sticky; top: calc(var(--header-h) + 24px); }

.c-collages { display: grid; }

.c-collage {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease-ui), visibility 0.5s;
}

.c-collage_box { position: relative; aspect-ratio: 1 / 1.1; }
.c-collage_box > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; } /* one photo per package (logo-design) */

/* flat frames, no shadow, no radius — one art-directed spread per package */
.c-collage_frame {
  position: absolute;
  overflow: hidden;
  transform: translateY(16px);
  transition: transform 0.8s var(--ease-out);
}

.c-collage_frame img { width: 100%; height: 100%; object-fit: cover; }
.c-collage.-screens .c-collage_frame img { object-position: 50% 0; }

/* a flat label keeps its own shape instead of being cropped to a portrait */
.c-collage_frame.-flat { top: 62%; width: 58%; aspect-ratio: 900 / 332; }

.c-collage_frame.-a { left: 0; top: 6%; width: 64%; aspect-ratio: 4 / 5; }
.c-collage_frame.-b { right: 0; top: 0; width: 34%; aspect-ratio: 3 / 4; transition-delay: 60ms; }
.c-collage_frame.-c { left: 42%; top: 52%; z-index: 2; width: 36%; aspect-ratio: 4 / 5; transition-delay: 120ms; }
.c-collage_frame.-a.-full { top: 20%; width: 100%; aspect-ratio: 3 / 2; }   /* one landscape photo, uncropped */

/* devices instead of flat frames: laptops and a phone, overlapping */
.c-collage.-devices .c-collage_box { aspect-ratio: 10 / 9; }
.c-collage.-devices .c-collage_frame { overflow: visible; aspect-ratio: auto; }
.c-collage.-devices .c-collage_frame.-a { left: 0; top: 7%; width: 66%; }
.c-collage.-devices .c-collage_frame.-b { left: auto; right: 0; top: 47%; width: 66%; z-index: 1; }
.c-collage.-devices .c-collage_frame.-c { left: 2%; top: 38%; width: 22%; z-index: 2; }
.c-collage.-devices .c-collage_frame.-solo { width: 100%; top: 17%; }
.c-collage.-devices .c-collage_frame.-b.-high { top: 37%; }
.c-collage.-devices .c-collage_frame.-a.-high { top: 3%; }
/* three phones (mobile-app-design); a square mark keeps its own shape */
.c-collage.-phones .c-collage_box { aspect-ratio: 1 / 1.1; }
.c-collage.-phones .c-collage_frame.-a { left: 2%; top: 8%; width: 38%; }
.c-collage.-phones .c-collage_frame.-b { right: 2%; top: 0; width: 34%; z-index: auto; }
.c-collage.-phones .c-collage_frame.-c { left: 33%; top: 26%; width: 36%; }
.c-collage.-phones .c-collage_frame > img { height: auto; aspect-ratio: 1; border-radius: 22.5%; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.5); }

.c-offers:has(.c-collapse.is-open[data-tier="1"]) .c-collage[data-tier="1"],
.c-offers:has(.c-collapse.is-open[data-tier="2"]) .c-collage[data-tier="2"],
.c-offers:has(.c-collapse.is-open[data-tier="3"]) .c-collage[data-tier="3"],
.c-offers:not(:has(.c-collapse.is-open)) .c-collage[data-tier="2"] {
  opacity: 1;
  visibility: visible;
}

.c-offers:has(.c-collapse.is-open[data-tier="1"]) .c-collage[data-tier="1"] .c-collage_frame,
.c-offers:has(.c-collapse.is-open[data-tier="2"]) .c-collage[data-tier="2"] .c-collage_frame,
.c-offers:has(.c-collapse.is-open[data-tier="3"]) .c-collage[data-tier="3"] .c-collage_frame,
.c-offers:not(:has(.c-collapse.is-open)) .c-collage[data-tier="2"] .c-collage_frame {
  transform: none;
}

.c-collage.-single { opacity: 1; visibility: visible; }
.c-collage.-single .c-collage_frame { transform: none; }
.c-collage.-single .-b > img { transition-delay: 0.15s; }
.c-collage.-single .-c > img { transition-delay: 0.3s; }

@media (max-width: 991px) {
  .c-collage.-single { max-width: 520px; }
}

/* the frames drift against each other while the section crosses the screen */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .c-offers,
    .c-collage.-single { view-timeline-name: --collage; }
    .c-collage_frame.-a { animation: drift-up linear both; animation-timeline: --collage; }
    .c-collage_frame.-b,
    .c-collage_frame.-c { animation: drift-down linear both; animation-timeline: --collage; }
  }
}

@keyframes drift-up { from { translate: 0 24px; } to { translate: 0 -24px; } }
@keyframes drift-down { from { translate: 0 -16px; } to { translate: 0 16px; } }

@media (prefers-reduced-motion: reduce) {
  .c-collage_frame { transform: none; transition: none; }
}

@media (max-width: 991px) {
  .c-collapse.-offer::before { inset: 0 calc(-1 * var(--container-pad)); }
  .c-offers .row { flex-direction: column-reverse; }
  .c-offers_aside { position: static; max-width: 520px; margin-bottom: 48px; }
}

@media (max-width: 1199px) {
  .c-offer_meta { display: none; }
  .c-offer { grid-template-columns: 1fr; gap: 6px; padding-inline-start: 0; }
  .c-offer dd + dt { margin-top: 14px; }
  .c-offer_cta { margin-inline-start: 0; }
}

@media (max-width: 575px) {
  .c-offer_name { font-size: 24px; }
}

/* --- 05 process: cards stack as you scroll --------------------------- */
.c-steps_aside { position: sticky; top: calc(var(--header-h) + 24px); }

.c-steps_list { display: grid; gap: 24px; }

.c-step {
  position: sticky;
  top: calc(var(--header-h) + 24px + var(--n, 0) * 20px);
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 32px;
  min-height: min(340px, 60vh);
  padding: 40px 48px;
  background-color: var(--c-ink);
  border-top: 1px solid var(--line-dark);
}

.c-step_num {
  font-family: var(--ff-title);
  font-stretch: 125%;
  font-size: 64px;
  line-height: 1;
  color: var(--c-accent);
}

.c-step p { font-size: 16px; line-height: 1.6; color: var(--c-muted-3); }

.c-step .c-step_get {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
  color: var(--c-white);
}

.c-step_get .c-label { display: block; margin-bottom: 6px; color: var(--c-accent); }

@media (max-width: 991px) {
  .c-steps_aside { position: static; margin-bottom: 40px; }
  .c-step {
    position: relative;
    top: auto;
    grid-template-columns: 1fr;
    gap: 16px;
    min-height: 0;
    padding: 28px 24px;
  }
  .c-step_num { font-size: 40px; }
}

/* --- closing call to action ------------------------------------------ */
.c-ctaSec.-ink { background-color: var(--c-ink); }

.c-ctaSec_sub {
  max-width: 32em;
  margin: 0 auto 40px;
  font-size: 18px;
  color: var(--c-muted-3);
}

/* =========================================================================
   13. PACKAGING & WEBSITE PAGES  (packaging-design.html, website-design.html)
   Same system as section 12. Each page adds one signature: the packaging
   page's jar range (.c-range), the website page's scroll-through browser with
   its live sitemap (.c-shot + .c-ia).
   ========================================================================= */

/* --- dark-ground styling also on the deep-red sections --- */
.-bgInk .c-secHead { border-color: var(--line-dark); }
.-bgInk .c-secHead_num { color: var(--c-accent); }
.-bgInk .c-idSec_muted { color: var(--c-muted-3); }
.-bgInk .c-listRow { border-color: var(--line-dark); }
.-bgInk .c-listRow_num { color: var(--c-accent); }
.-bgInk .c-listRow_desc { color: var(--c-muted-3); }
.-bgInk .c-circleArrow { background-color: var(--c-white); color: var(--c-black); }

/* --- more services: the three service pages point at each other --- */
.c-more { padding-block: 0 128px; background-color: var(--c-white); }
.c-more_inner { padding-top: 64px; border-top: 1px solid var(--line-light); }

@media (max-width: 991px) {
  .c-more { padding-block: 0 72px; }
  .c-more_inner { padding-top: 40px; }
  .c-more .c-label { margin-bottom: 24px; }
}

/* service pages, once the "Sounds familiar" band is gone ------------- */
/* beige meets beige (brand-identity, logo-design, packaging-design): a hairline, like .c-more */
.c-idSec.-bgWhite + .c-offers.-bgWhite { padding-top: 0; }
.c-idSec.-bgWhite + .c-offers.-bgWhite .c-secHead { padding-top: 64px; border-top: 1px solid var(--line-light); }

/* the way back to the index, under [ More services ] */
.c-more_start { margin-top: 16px; font-size: 16px; line-height: 1.5; color: var(--c-muted); }
.c-more_start a { color: var(--c-black); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 991px) {
  .c-idSec.-bgWhite + .c-offers.-bgWhite .c-secHead { padding-top: 40px; }
  .c-more_start { margin: -8px 0 24px; }
}

/* --- a note under the packages: what is not included --- */
.c-offers_note {
  margin-top: 24px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--c-muted);
}

.c-offers_note a,
.c-offer dd a { text-decoration: underline; text-underline-offset: 3px; }

/* =========================================================================
   13a. WEBSITE DESIGN
   ========================================================================= */

/* hero: one phone, standing on the section's own ground */
.c-heroShot { display: grid; place-items: center; }
.c-heroShot > .c-phone { width: min(62%, 300px); }

/* laptop: a thin-bezel lid with the notch (::before, drawn as the macOS menu bar
   around it) on a keyboard deck seen from just above (::after, assets/img/laptop-base.svg).
   Every size is a share of the lid's width; the margins leave room for the wider base. */
.c-browser,
.c-laptop {
  position: relative;
  margin: 0 8.7% 12.4%;
  padding: 1.25% 1.25% 0.8%;
  border-radius: 2.4% 2.4% 0 0 / 3.6% 3.6% 0 0;
  background-color: #0a0a0b;
  box-shadow: 0 0 0 1px #2c2c2f, 0 0 0 2.5px #b9b9be;
}

.c-browser::before,
.c-laptop::before {
  content: "";
  display: block;
  aspect-ratio: 1275 / 25;
  border-radius: 0.7% 0.7% 0 0 / 36% 36% 0 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1275 25'%3E%3Crect width='1275' height='25' fill='%23ececee'/%3E%3Cg fill='%23838388' opacity='.6'%3E%3Crect x='20' y='8' width='11' height='9' rx='2'/%3E%3Crect x='44' y='10' width='34' height='5' rx='2.5'/%3E%3Crect x='88' y='10' width='22' height='5' rx='2.5'/%3E%3Crect x='120' y='10' width='28' height='5' rx='2.5'/%3E%3Crect x='158' y='10' width='38' height='5' rx='2.5'/%3E%3C/g%3E%3Cpath d='M1171.6 13.4a9 9 0 0 1 12.8 0M1174.4 16.2a5 5 0 0 1 7.2 0' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3Ccircle cx='1178' cy='19' r='1.5'/%3E%3Crect x='1197.5' y='7.5' width='22' height='10' rx='2.8' fill='none' stroke='black' stroke-opacity='.5'/%3E%3Crect x='1199.5' y='9.5' width='16' height='6' rx='1.4'/%3E%3Crect x='1221' y='10.5' width='1.6' height='4' rx='.8' fill-opacity='.5'/%3E%3Ctext x='1258' y='17' text-anchor='end' font-family='-apple-system,BlinkMacSystemFont,Helvetica Neue,Arial,sans-serif' font-size='12' font-weight='500'%3E9:41%3C/text%3E%3Cpath d='M570 0H705V16Q705 25 696 25H579Q570 25 570 16Z' fill='%230a0a0b'/%3E%3Ccircle cx='637.5' cy='10' r='3.2' fill='%231d1d22'/%3E%3Ccircle cx='637.5' cy='10' r='1.4' fill='%232b3646'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.c-browser::after,
.c-laptop::after {
  content: "";
  position: absolute;
  top: 100%;
  left: -10.47%;
  width: 120.4%;
  aspect-ratio: 1575 / 195;
  background: url("../img/laptop-base.svg") center / 100% 100% no-repeat;
  pointer-events: none;
}

.c-laptop > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: 50% 0;
}

.c-laptop > .c-compare_stage { border-radius: 0; box-shadow: none; }

/* inside the lid: a browser window, a plain bar, never a URL */
.c-browser_bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding-inline: 14px;
  border-bottom: 1px solid var(--line-light);
  background-color: var(--c-offwhite);
}

.c-browser_bar i { width: 8px; height: 8px; border-radius: 50%; background-color: rgba(48, 21, 20, 0.22); }

.c-browser_label {
  flex: 1;
  margin-inline-end: 38px;   /* balances the three dots so the label centres */
  font-size: 11px;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  color: var(--c-muted);
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.c-browser_view {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: clip;
  container-type: size;
  background-color: #fff;
}

.c-browser_view > img { display: block; width: 100%; height: auto; }

/* a work case laid out as text beside a browser, then a row of phones */
.c-shot + .c-shot { margin-top: 160px; }
.c-shot_text .c-case_title { margin-top: 0; }
.c-shot_body { margin-top: 20px; font-size: 16px; line-height: 1.6; color: var(--c-muted-3); }
.c-shot_body a,
.c-shot_link { text-decoration: underline; text-underline-offset: 3px; }
.c-shot_link { display: inline-block; margin-top: 24px; font-size: 14px; }

/* the page's sitemap, one row under another: lights row by row while the page
   scrolls in the frame; a click brings that part of the page into the frame */
.c-ia {
  margin-top: 32px;
  padding-top: 12px;
  border-top: 1px solid var(--line-dark);
  counter-reset: ia;
}

.c-ia li {
  display: flex;
  gap: 12px;
  margin-inline-start: -10px;
  padding: 7px 0 7px 10px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--c-muted-3);
  counter-increment: ia;
}

.c-ia li::before {
  content: counter(ia, decimal-leading-zero);
  flex-shrink: 0;
  min-width: 1.5em;
  font-variant-numeric: tabular-nums;
  padding-top: 1px;
  font-size: 12px;
  color: var(--c-accent);
}

.c-ia small { display: block; color: var(--c-muted-2); font-size: 12px; }

.c-ia_go {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.c-ia_go:hover { color: var(--c-white); text-decoration: underline; text-underline-offset: 3px; }
.c-ia_go:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; }

/* without the scroll-through, the clicked row stays lit and the screenshot glides to it */
.c-ia li.is-on { color: var(--c-white); box-shadow: inset 2px 0 var(--c-accent); }
.c-browser_view > img { transition: translate 0.8s var(--ease-out); }

/* the live page over the screenshot (Obornicka): drawn at 1440 × 900 and scaled to the
   screen by main.js; it never takes the pointer, so the wheel keeps scrolling this page */
.c-browser_live {
  position: absolute;
  top: 0;
  left: 0;
  width: 1440px;
  height: 900px;
  border: 0;
  transform-origin: 0 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s var(--ease-ui);
}
.c-browser_view.is-live > .c-browser_live { opacity: 1; }

/* phones: four screens, every second one dropped half a step */
.c-phones {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin-top: 96px;
}

.c-phones > li:nth-child(even) { margin-top: 64px; }

/* phone: a black bezel in a titanium band, side buttons in ::after. App captures
   carry their own status bar; web captures (.-web) get one drawn above them, with
   the Dynamic Island, so the page is not covered */
.c-phone {
  position: relative;
  padding: 2.2%;
  border-radius: 14% / 6.4%;
  background-color: #0b0b0c;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    0 0 0 1.5px #55555a,
    0 0 0 2.5px #1c1c1e,
    0 30px 60px -30px rgba(0, 0, 0, 0.6);
}

.c-phone > :is(img, video) { display: block; width: 100%; height: auto; border-radius: 12.4% / 5.7%; }

/* one strip as wide as the phone; only its two edge columns are painted */
.c-phone::after {
  content: "";
  position: absolute;
  top: 17%;
  left: -3px;
  right: -3px;
  height: 30%;
  pointer-events: none;
  background:
    linear-gradient(#55555a, #55555a) left 0 top 0 / 2px 9% no-repeat,
    linear-gradient(#55555a, #55555a) left 0 top 32% / 2px 20% no-repeat,
    linear-gradient(#55555a, #55555a) left 0 top 66% / 2px 20% no-repeat,
    linear-gradient(#55555a, #55555a) right 0 top 25% / 2px 32% no-repeat;
}

.c-phone.-web::before {
  content: "";
  display: block;
  aspect-ratio: 390 / 54;
  border-radius: 12.4% 12.4% 0 0 / 89% 89% 0 0;
  background: var(--sb, #fff) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 390 54'%3E%3Ctext x='54' y='35.5' text-anchor='middle' font-family='-apple-system,BlinkMacSystemFont,Helvetica Neue,Arial,sans-serif' font-size='17' font-weight='600'%3E9:41%3C/text%3E%3Crect x='132.5' y='11' width='125' height='35' rx='17.5'/%3E%3Crect x='293' y='33.5' width='3' height='4' rx='1'/%3E%3Crect x='298' y='31.5' width='3' height='6' rx='1'/%3E%3Crect x='303' y='29' width='3' height='8.5' rx='1'/%3E%3Crect x='308' y='26.5' width='3' height='11' rx='1'/%3E%3Cpath d='M321.9 30.4a10 10 0 0 1 14.2 0M324.8 33.3a6 6 0 0 1 8.5 0' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='329' cy='36.4' r='1.8'/%3E%3Crect x='343.5' y='25.5' width='24' height='12' rx='3.8' fill='none' stroke='black' stroke-opacity='.4'/%3E%3Crect x='345.5' y='27.5' width='20' height='8' rx='2.2'/%3E%3Crect x='369' y='29.5' width='1.6' height='4' rx='.8' fill-opacity='.4'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.c-phone.-web > :is(img, video, .c-wf) { border-radius: 0 0 12.4% 12.4% / 0 0 5.7% 5.7%; }

/* a phone arrives whole: frame and screen rise together, the screen never wipes on its own */
.c-phone.m-wipe { overflow: visible; transition: opacity 0.9s var(--ease-out), translate 1.2s var(--ease-out); }

@media screen and (prefers-reduced-motion: no-preference) {
  .js .c-phone.m-wipe:not(.is-visible) { opacity: 0; translate: 0 56px; }
  .js .c-phone.m-wipe:not(.is-visible) > :is(img, video) { clip-path: none; scale: none; }
}

@media (max-width: 767px) {
  .c-phones { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
  .c-phones > li:nth-child(even) { margin-top: 32px; }
}

@media (max-width: 991px) {
  .c-shot_stage,
  .c-shot_side { margin-top: 40px; }
  .c-shot + .c-shot { margin-top: 96px; }
}

/* scroll-through (desktop, motion welcome, scroll-driven animations only):
   the stage is 260vh tall, the browser sticks, and the screenshot travels
   from the top of the page to the bottom while the stage covers the screen.
   Elsewhere the frame simply shows the top of the page. */
@supports (animation-timeline: view()) {
  @media (min-width: 992px) and (prefers-reduced-motion: no-preference) {
    .c-shot_row { view-timeline-name: --shot; }
    .c-shot_stage { min-height: 260vh; }
    .c-shot_stage.-long { min-height: 700vh; }   /* Obornicka: nine beats of the run before the page */
    .c-shot_stage .c-browser,
    .c-shot_row .c-ia { position: sticky; top: calc(var(--header-h) + 24px); }
    .c-shot_stage .c-browser_view > img {
      animation: shot linear both;
      animation-timeline: --shot;
      animation-range: contain 5% contain 95%;
    }
    .c-ia li[style] {
      animation: ia-on linear both;
      animation-timeline: --shot;
      animation-range: contain var(--a) contain var(--b);
    }
    .c-phones > li:nth-child(odd) { animation: drift-up linear both; animation-timeline: view(); }
    .c-phones > li:nth-child(even) { animation: drift-down linear both; animation-timeline: view(); }
  }
}

@keyframes shot { to { translate: 0 calc(-100% + 100cqh); } }
@keyframes ia-on {
  0%, 100% { color: var(--c-muted-2); box-shadow: inset 2px 0 transparent; }
  12%, 88% { color: var(--c-white); box-shadow: inset 2px 0 var(--c-accent); }
}

/* wireframe | design comparison: a range input drives --pos */
.c-compare { --pos: 50%; }

.c-compare_stage {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 30px 60px -36px rgba(48, 21, 20, 0.45);
}

.c-compare_stage > img,
.c-compare_top {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.c-compare_stage img { object-fit: cover; object-position: top center; }
.c-compare_top > img { display: block; width: 100%; height: 100%; }

/* the wireframe sits on top, cut away from the right */
.c-compare_top { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }

.c-compare_tag {
  position: absolute;
  top: 16px;
  padding: 6px 10px;
  background-color: var(--c-black);
  color: var(--c-white);
  font-size: 11px;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  pointer-events: none;
}

.c-compare_tag.-a { left: 16px; }
.c-compare_tag.-b { right: 16px; }

.c-compare_handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  margin-left: -1px;
  background-color: var(--c-black);
  pointer-events: none;
}

.c-compare_knob {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border-radius: 50%;
  background-color: var(--c-black);
  color: var(--c-white);
}

.c-compare:has(.c-compare_range:focus-visible) .c-compare_knob {
  outline: 2px solid var(--c-white);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px var(--c-black);
}

/* the whole stage is the slider; the thumb is invisible and as tall as it */
.c-compare_range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  -webkit-appearance: none;
  appearance: none;
}

.c-compare_range::-webkit-slider-thumb { -webkit-appearance: none; width: 48px; height: 2000px; }
.c-compare_range::-moz-range-thumb { width: 48px; height: 2000px; border: 0; }

.c-compare figcaption { margin-top: 16px; }

/* the handover: what stays with the developer */
.c-fit {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 40px;
  border: 1px solid var(--line-dark);
}

.c-fit ul { margin-top: 20px; }

.c-fit li,
.c-sFeat li {
  display: flex;
  gap: 12px;
  padding-block: 10px;
  border-top: 1px solid var(--line-dark);
  font-size: 18px;
  line-height: 1.4;
}

.c-fit li::before,
.c-sFeat li::before { content: "\2014"; color: var(--c-accent); }

.c-fit_note { margin-top: 24px; font-size: 14px; color: var(--c-muted-3); }

@media (max-width: 991px) {
  .c-fit { position: static; margin-top: 48px; padding: 28px; }
}

/* =========================================================================
   13b. PACKAGING DESIGN
   ========================================================================= */

/* the flat label above the same label on the bottle, one flavour per slide:
   scrolling the rail moves both together */
.c-onPack_rail {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  cursor: grab;
}
.c-onPack_rail::-webkit-scrollbar { display: none; }
.c-onPack_list { display: flex; }
.c-onPack_slide { flex: 0 0 100%; display: grid; gap: 20px; scroll-snap-align: start; }
.c-onPack_flat { aspect-ratio: 2330 / 815; }
.c-onPack_on { aspect-ratio: 3 / 2; }
.c-onPack_flat > img,
.c-onPack_on > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.c-onPack_on > img { transition-delay: 0.15s; }

.c-onPack_foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.c-onPack_nav { display: flex; align-items: center; gap: 12px; }
.c-onPack_count { margin-inline-end: 4px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-muted); white-space: nowrap; }

/* the deck's round buttons, on a light ground */
.c-deck_btn.-light { border-color: var(--line-light); color: var(--c-black); }
.c-deck_btn.-light:hover { background-color: var(--c-black); color: var(--c-white); }

@media (max-width: 991px) {
  .c-onPack { margin-top: 48px; }
}

@media (max-width: 575px) {
  .c-onPack_foot { flex-direction: column; align-items: flex-start; }
}

/* round previous / next buttons (Farmbucha carousel) */
.c-deck_btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  color: var(--c-white);
  transition: background-color 0.3s var(--ease-ui), color 0.3s var(--ease-ui);
}

.c-deck_btn:hover { background-color: var(--c-white); color: var(--c-black); }
.c-deck_btn[data-dir="-1"] svg { rotate: 180deg; }

/* the range: one jar per audience; the section takes the jar's colour and
   only the last letter of the name changes */
.c-range {
  --ink: var(--c-white);
  --tint: #564881;
  --c-accent: var(--ink);
  background-color: var(--tint);
  color: var(--ink);
  transition: background-color 0.6s var(--ease-ui), color 0.6s var(--ease-ui);
}

.c-range[data-v="2"] { --tint: #4a182b; }
.c-range[data-v="3"] { --tint: #9b99e0; --ink: var(--c-black); }
.c-range[data-v="4"] { --tint: #bdb7dd; --ink: var(--c-black); }

/* King's Cup: four views of one box, every tint light enough for dark ink */
.c-range.-kc { --ink: var(--c-black); --tint: #f6a8b5; }
.c-range.-kc[data-v="2"] { --tint: #f7985e; }
.c-range.-kc[data-v="3"] { --tint: #e8735a; }
.c-range.-kc[data-v="4"] { --tint: var(--c-white); }   /* the cards on the site's own beige */
/* a taller frame than the jars: the box stands upright, and the Cards view is a 5 × 5 grid */
.c-range.-kc .c-range_figs { aspect-ratio: 4 / 5; }

/* the Cards view: 25 of the 50 cards, fitted to the frame's height (5 × 1016 by 5 × 1489) */
.c-cardGrid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-template-rows: repeat(5, minmax(0, 1fr));
  gap: 10px;
  height: 100%;
  aspect-ratio: 1016 / 1489;
  margin-inline: auto;
}

.c-cardGrid img { border-radius: 5% / 3.4%; box-shadow: 0 10px 18px -12px rgba(48, 21, 20, 0.55); }

@media (max-width: 767px) {
  .c-range.-kc .c-range_figs { aspect-ratio: 1016 / 1489; }
  .c-cardGrid { gap: 6px; }
}

/* the coral view needs the idle tabs a touch stronger to keep 4.5:1 */
.c-range.-kc .c-range_tab:not([aria-selected="true"]):not(:hover) { opacity: 0.9; }

.c-range :is(.c-secHead_num, .c-label) { color: inherit; }
.c-range .c-secHead { border-color: color-mix(in srgb, var(--ink) 24%, transparent); }

/* minmax(0, 1fr) lets the aspect ratio win over a tall photo */
.c-range_figs { display: grid; grid-template-rows: minmax(0, 1fr); aspect-ratio: 8 / 9; }

.c-range_fig img { width: 100%; height: 100%; object-fit: cover; }

.c-range_name {
  display: flex;
  margin-bottom: 32px;
  font-family: var(--ff-title);
  font-stretch: 125%;
  font-size: clamp(48px, 5.8vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.c-range_end { display: inline-grid; overflow: clip; }
.c-range_end > span { grid-area: 1 / 1; }

.c-range_intro { margin-bottom: 40px; font-size: 18px; line-height: 1.6; }

.c-range_tab {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 0;
  border-top: 1px solid color-mix(in srgb, var(--ink) 24%, transparent);
  font-family: var(--ff-title);
  font-stretch: 125%;
  font-size: 24px;
  line-height: 1.2;
  text-align: left;
  opacity: 0.85;
  transition: opacity 0.3s var(--ease-ui), padding 0.3s var(--ease-ui), box-shadow 0.3s var(--ease-ui);
}

/* the picked tab steps in behind a bar in the section's ink */
.c-range_tab[aria-selected="true"] { padding-inline-start: 14px; box-shadow: inset 3px 0 0 currentColor; }

.c-range_tab:last-child { border-bottom: 1px solid color-mix(in srgb, var(--ink) 24%, transparent); }
.c-range_tab small { font-family: var(--ff-text); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.c-range_tab:hover,
.c-range_tab[aria-selected="true"] { opacity: 1; }

.c-range_panels { display: grid; margin-top: 28px; }
.c-range_panels p { font-size: 18px; line-height: 1.6; }
.c-range_note { margin-top: 24px; font-size: 16px; line-height: 1.6; }

/* without JS: every jar and every panel shows, the tabs go */
html:not(.js) .c-range_tabs { display: none; }
html:not(.js) .c-range_figs { grid-template-columns: 1fr 1fr; gap: 12px; aspect-ratio: auto; }
html:not(.js) .c-range_panels { gap: 12px; }

/* with JS: one jar and one panel at a time */
.js .c-range_fig,
.js .c-range_panels > p {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease-ui), visibility 0s 0.3s;
}

.js .c-range .is-on {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.7s var(--ease-out) 0.1s;
}

.js .c-range_end > span { translate: 0 105%; transition: translate 0.5s var(--ease-out); }
.js .c-range[data-v="1"] .c-range_end > :nth-child(1),
.js .c-range[data-v="2"] .c-range_end > :nth-child(2),
.js .c-range[data-v="3"] .c-range_end > :nth-child(3),
.js .c-range[data-v="4"] .c-range_end > :nth-child(4) { translate: 0 0; }
html:not(.js) .c-range_end > :not(:first-child) { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .js .c-range_fig.is-on img { animation: jar-in 0.9s var(--ease-out); }
}

@keyframes jar-in { from { scale: 1.04; } }

@media (prefers-reduced-motion: reduce) {
  .js .c-range_end > span { transition: none; }
}

@media (max-width: 991px) {
  .c-range .c-figCap { margin-bottom: 40px; }
}

@media (max-width: 575px) {
  .c-range_tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .c-range_tab {
    flex-direction: column;
    gap: 4px;
    padding: 14px;
    border: 1px solid color-mix(in srgb, var(--ink) 24%, transparent);
    font-size: 20px;
  }
  .c-range_tab:last-child { border-bottom: 1px solid color-mix(in srgb, var(--ink) 24%, transparent); }
}

/* =========================================================================
   14. REBRANDING PAGE  (rebranding.html)
   A lift-or-rebuild comparison, then one case module per client:
   before & after side by side, then "under the loupe" — a sticky figure
   with numbered pins next to one row per detail (what changed, and why).
   Logos always sit on cream frames, so dark ink reads on the black section.
   ========================================================================= */

/* lift vs rebrand */
/* Design Strategy 01: a redesign vs design strategy, row by row; our column is the dark one */
.c-cmp { width: 100%; margin-top: 72px; border-collapse: collapse; table-layout: fixed; }
.c-cmp th, .c-cmp td { padding: 26px 32px; border-top: 1px solid var(--line-light); text-align: left; vertical-align: top; font-size: 18px; line-height: 1.5; font-weight: 400; }
.c-cmp thead th, .c-cmp thead td { border-top: 0; font-size: 24px; line-height: 1.25; }
.c-cmp thead td, .c-cmp tbody th { width: 24%; padding-left: 0; }
.c-cmp tbody th { color: var(--c-muted); font-size: 16px; }
.c-cmp_head { margin-top: 72px; }
.c-cmp_head + .c-cmp { margin-top: 24px; }
.c-cmp_also { margin-top: 28px; font-size: 16px; color: var(--c-muted); }
.c-cmp .-us { background-color: var(--c-black); color: var(--c-white); border-top-color: var(--line-dark); }

@media (max-width: 767px) {
  .c-cmp { margin-top: 48px; }
  .c-cmp_head { margin-top: 48px; }
  .c-cmp, .c-cmp tbody, .c-cmp tr, .c-cmp th, .c-cmp td { display: block; width: auto; }
  .c-cmp thead { display: none; }
  .c-cmp tbody tr + tr { margin-top: 32px; }
  .c-cmp tbody th { width: auto; padding: 0 0 12px; border-top: 0; color: inherit; font-family: var(--ff-title); font-stretch: 125%; font-size: 20px; }
  .c-cmp tbody td { padding: 16px 20px; border: 1px solid var(--line-light); }
  .c-cmp tbody td.-us { border-color: var(--c-black); }
  .c-cmp tbody td::before { content: attr(data-label); display: block; margin-bottom: 6px; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.7; }
}
@media (max-width: 991px) { .c-cmp_intro { margin-top: 24px; } }

.c-vs { display: grid; gap: 20px; }
.c-vs_col { padding: 28px; border: 1px solid var(--line-light); }
.c-vs .c-offer { grid-template-columns: 88px minmax(0, 1fr); gap: 12px 16px; padding: 0; }
.c-vs .c-offer dd + dt { margin-top: 0; }

/* side by side only when the column is the full width */
@media (min-width: 576px) and (max-width: 991px) {
  .c-vs { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 991px) {
  .c-vs { margin-top: 48px; }
}

/* a case: three parts, each with its own eyebrow */
.c-rb_part + .c-rb_part { margin-top: 128px; }
.-bgWhite .c-idWork_lead { color: var(--c-muted); }

/* before & after: two equal cream frames, captions in plain text */
.c-ba { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 900px; }
.c-ba_frame {
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);  /* the square wins over the file's own size */
  place-items: center;
  aspect-ratio: 1;
  border: 1px solid var(--line-light);
  background-color: var(--c-white);
}
.c-ba_frame > img { width: 80%; height: 80%; object-fit: contain; }
.c-ba_frame > .c-wf { height: 100%; border: 0; }
.c-ba figcaption { margin-top: 14px; font-size: 16px; line-height: 1.5; }
/* marks shown on the section's own ground, no cream frame */
.c-ba.-bare .c-ba_frame { border: 0; background: none; }
/* logos supplied on white: shown on white, side by side (Świat Krzeseł) */
.c-ba.-white .c-ba_frame { background-color: #fff; }
.c-ba figcaption .c-label { margin-inline-end: 8px; }

/* under the loupe */
.c-loupe_fig { position: relative; background-color: var(--c-white); }
.c-loupe_fig > img { display: block; width: 100%; height: auto; }
.c-loupe_fig.-bare,
.c-lens.-bare { background: none; }

.c-pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  translate: -50% -50%;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--c-accent-2);
  color: var(--c-black);
  font-family: var(--ff-text);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.c-loupeRow {
  display: grid;
  gap: 16px;
  padding: 32px 0;
  border-top: 1px solid var(--line-light);
}
.c-loupeRow:last-child { border-bottom: 1px solid var(--line-light); }
.-bgBlack :is(.c-loupeRow, .c-loupeRow:last-child, .c-ba_frame) { border-color: var(--line-dark); }

.c-loupeRow_head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-family: var(--ff-title);
  font-stretch: 125%;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
}
.c-loupeRow_num { font-family: var(--ff-text); font-size: 12px; letter-spacing: 0.08em; }
.c-loupeTag {
  margin-inline-start: auto;
  padding: 4px 12px;
  border: 1px solid currentColor;
  border-radius: 100px;
  font-family: var(--ff-text);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.c-loupeRow_lenses { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 360px; }
.c-loupeRow_lenses.-one { grid-template-columns: 1fr; max-width: 172px; }
.c-loupeRow_lenses figure { text-align: center; }
.c-loupeRow_lenses figcaption { margin-top: 8px; }

/* a detail, cropped round like a loupe */
.c-lens {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  background-color: var(--c-white);
}
.c-lens > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.c-lens > .c-wf { height: 100%; border-style: dashed; border-radius: 50%; }

.c-loupeRow > p { font-size: 16px; line-height: 1.6; }
.c-loupeRow > p .c-label { margin-inline-end: 10px; }

.c-loupeRow_palettes { display: grid; gap: 8px; max-width: 360px; }
.c-loupeRow_palettes .c-swatches { height: 24px; margin-bottom: 8px; }
.c-swatches.-placeholder { border: 1px dashed currentColor; opacity: 0.4; }

/* in use */
.c-rb_use { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

@media (max-width: 991px) {
  .c-rb_part + .c-rb_part { margin-top: 72px; }
  .c-loupe_figure { position: static; max-width: 360px; margin-bottom: 40px; }
}

@media (max-width: 575px) {
  .c-ba { gap: 12px; }
  .c-rb_use { grid-template-columns: 1fr; }
  .c-loupeRow_head { flex-wrap: wrap; font-size: 20px; }
}

/* =========================================================================
   15. WEBSITE DESIGN — PATHS  (website-design.html, section "Flow")
   A real path through a site, one phone per step, the steps joined by a
   line. Under 768px the steps become a swipeable rail.
   ========================================================================= */
.c-flow + .c-flow { margin-top: 128px; }

.c-flow_head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  margin-bottom: 48px;
}

.c-flow_title { font-family: var(--ff-title); font-stretch: 125%; font-size: 32px; font-weight: 400; line-height: 1.1; }
.c-flow_intro { max-width: 34em; margin-top: 12px; font-size: 16px; line-height: 1.6; color: var(--c-muted); }
.c-flow_facts { display: flex; flex-wrap: wrap; gap: 8px; }

/* position: relative keeps the steps' visually hidden labels inside the rail,
   or they widen the page once the rail scrolls */
.c-flow_steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }

/* the step number, then a line running on towards the next step */
.c-flow_num {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--c-muted);
}
.c-flow_num::after { content: ""; flex: 1; height: 1px; background-color: var(--line-light); }

.c-flow_label { margin-top: 24px; font-family: var(--ff-title); font-stretch: 125%; font-size: 20px; font-weight: 400; line-height: 1.2; }
.c-flow_step > p:not(.c-flow_num) { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--c-muted); }

@media (max-width: 767px) {
  .c-flow + .c-flow { margin-top: 80px; }
  .c-flow_steps {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 72%;
    gap: 20px;
    margin-inline: calc(-1 * var(--container-pad));
    padding-inline: var(--container-pad);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--container-pad);
    scrollbar-width: none;
  }
  .c-flow_steps::-webkit-scrollbar { display: none; }
  .c-flow_step { scroll-snap-align: start; }
}
/* the shipped editor captures are a little shorter than live screens: one frame for all */
.c-flow_step .c-phone > img { aspect-ratio: 390 / 844; object-fit: cover; object-position: 50% 0; }
.c-flow_lead { max-width: 30em; }

/* King's Cup box shots cut out of their background: the box stands on the
   section's own colour instead of a white photo rectangle */
.c-range_fig.-cut img { object-fit: contain; padding: 8% 10%; filter: drop-shadow(0 24px 28px rgba(48, 21, 20, 0.28)); }
.m-wipe.-cut > img { object-fit: contain; padding: 6% 8%; filter: drop-shadow(0 24px 28px rgba(48, 21, 20, 0.28)); }

/* =========================================================================
   16. CASE STUDIES  (website-design.html)
   Each case is a teaser — the site in a browser, one sentence, a button — that
   opens into the full case right under it. No overflow:hidden anywhere on the
   way, so the sticky scroll-through browser inside keeps working.
   ========================================================================= */
.c-caseCard + .c-caseCard { margin-top: 96px; padding-top: 96px; border-top: 1px solid var(--line-dark); }
.c-caseCard,
.c-caseCard_paths { scroll-margin-top: calc(var(--header-h) + 72px); }
.c-caseCard_teaser { align-items: center; }
.c-caseCard_title {
  margin-top: 8px;
  font-family: var(--ff-title);
  font-stretch: 125%;
  font-size: clamp(32px, 3.4vw, 48px);
  font-weight: 400;
  line-height: 1.05;
  color: var(--c-white);
}
.c-caseCard_text .c-swatches { max-width: 220px; margin: 20px 0 24px; }
.c-caseCard_lede { margin-top: 16px; font-size: 18px; line-height: 1.55; color: var(--c-muted-3); }
.c-caseCard_text .c-idCase_meta { margin-top: 16px; }
.c-caseCard_toggle { margin-top: 32px; }
.c-caseCard_toggle .c-btn_icon svg { transition: rotate 0.35s var(--ease); }
.c-caseCard.is-open .c-caseCard_toggle .c-btn_icon svg { rotate: 180deg; }

.c-caseCard_details { margin-top: 96px; }
.js .c-caseCard:not(.is-open) .c-caseCard_details { display: none; }
html:not(.js) .c-caseCard_toggle,
html:not(.js) .c-caseCard_close { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .c-caseCard.is-open .c-caseCard_details { animation: case-in 0.6s var(--ease-out); }
}
@keyframes case-in { from { opacity: 0; translate: 0 24px; } }

.c-caseCard_close {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 72px;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--c-white);
}
.c-caseCard_close svg { rotate: -90deg; }

/* Miejsce Na Event's paths, inside the dark work section */
.c-caseCard_paths { margin-top: 128px; padding-top: 64px; border-top: 1px solid var(--line-dark); }
.c-caseCard_sub {
  margin: 12px 0 56px;
  font-family: var(--ff-title);
  font-stretch: 125%;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--c-white);
}
.c-idWork .c-flow_title,
.c-idWork .c-benefit h3, .c-idWork .c-benefit h5 { color: var(--c-white); }
.c-idWork .c-flow_intro,
.c-idWork .c-flow_step > p:not(.c-flow_num),
.c-idWork .c-benefit p { color: var(--c-muted-3); }
.c-idWork .c-flow_num { color: var(--c-muted-2); }
.c-idWork .c-flow_num::after { background-color: var(--line-dark); }
.c-idWork .c-tag { border-color: var(--line-dark); color: var(--c-white); }
.c-idWork .c-benefit { border-color: var(--line-dark); }

@media (max-width: 991px) {
  .c-caseCard_text { margin-top: 32px; }
  .c-caseCard_details { margin-top: 64px; }
  .c-caseCard + .c-caseCard { margin-top: 64px; padding-top: 64px; }
  .c-caseCard_paths { margin-top: 80px; }
}

/* owner fill-in placeholders: [WPISZ: …] / [POTWIERDŹ: …], visible until replaced */
.c-owner {
  padding: 0.05em 0.3em;
  border: 1px dashed currentColor;
  border-radius: 3px;
  background-color: rgba(203, 155, 163, 0.35);
  color: inherit;
  font-style: normal;
}
.c-browser_view > video,
.c-phone > video { display: block; width: 100%; height: 100%; object-fit: cover; }
.c-phone > video { height: auto; aspect-ratio: 390 / 844; }
.c-caseCard_video { margin-top: 20px; font-size: 13px; color: var(--c-muted-2); }
.c-shot_phoneNote { max-width: 40em; margin-top: 96px; }
@media (max-width: 991px) { .c-shot_phoneNote { margin-top: 56px; } }
.c-shot_phoneNote + .c-phones { margin-top: 40px; }


/* =========================================================================
   LOGO DESIGN  (logo-design.html)
   Long slot labels, the sketch | final slider without images, and the
   file table. (.c-owner is already in the stylesheet.)
   ========================================================================= */

/* a slot label that says which file goes there: wraps inside its box */
.c-wf_label.-long { max-width: calc(100% - 32px); white-space: normal; line-height: 1.5; text-align: center; }

/* sketch | final with placeholder layers: the top layer is opaque, and each
   label keeps to its own side of the handle */
.c-compare_stage > .c-wf { justify-content: flex-end; padding: 16px; }
.c-compare_top > .c-wf { justify-content: flex-start; padding: 16px; background-color: var(--c-white); }
.c-compare .c-wf_label.-long { max-width: 38%; }

/* which file for which job */
.c-files { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
.c-files + .c-files { margin-top: 64px; }
.c-files caption { padding-bottom: 20px; text-align: left; }
.c-files th,
.c-files td { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line-light); text-align: left; vertical-align: top; }
.c-files thead :is(th, td) { padding-block: 0 12px; font-size: 12px; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-muted); }
.c-files tbody th { font-weight: 500; }
.c-files .c-owner { overflow-wrap: anywhere; } /* long owner notes must not widen the table at 320 */
.c-files_note { display: block; font-size: 14px; font-weight: 400; color: var(--c-muted); }
.c-files.-matrix { table-layout: fixed; }
.c-files.-matrix thead td { width: 28%; }
.c-files.-matrix :is(td, thead th) { padding-inline: 4px; text-align: center; }

@media (max-width: 575px) {
  .c-files { font-size: 14px; }
  .c-files th,
  .c-files td { padding-inline-end: 10px; }
}


/* =========================================================================
   17. MOBILE APP DESIGN  (mobile-app-design.html)
   ========================================================================= */
/* the app icon as it sits on a Home Screen */
.c-appIcon {
  width: min(100%, 280px);
  height: auto;
  border-radius: 22.5%;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}

@media (max-width: 991px) {
  .c-appIcon { width: 128px; }
}


/* =========================================================================
   18. DESIGN STRATEGY  (design-strategy.html)
   The Okulary.pl case walks the loop: data, weak spot, redesign, re-check.
   The funnel and the before/after bars are drawn in HTML and carry no figures
   on purpose: the page shows the ratio the owner states (almost 2x), never
   the shop's own numbers. The funnel narrows in even steps, as a picture.
   ========================================================================= */
.c-sCase_lead { margin-bottom: 96px; }

/* one case step: the words on the left, the proof on the right */
.c-sStep { position: relative; padding-top: 40px; }
.c-sStep::before { content: ""; position: absolute; top: 0; inset-inline: 20px; border-top: 1px solid var(--line-dark); }
.c-sStep + .c-sStep { margin-top: 128px; }
.c-sStep_num { display: flex; align-items: baseline; gap: 16px; margin-bottom: 24px; }
.c-sStep_num > span:first-child { color: var(--c-accent); font-size: 14px; }
.c-sStep_title { max-width: 12em; margin-bottom: 24px; }
.c-sStep_text { max-width: 26em; font-size: 18px; line-height: 1.6; color: var(--c-muted-3); }
.c-sFeat_head { margin: 48px 0 8px; }
.c-sStep_text + .c-sFeat { margin-top: 32px; }

@media (min-width: 992px) and (max-width: 1199px) {
  .c-sStep_title { font-size: 30px; }
}

/* the funnel: five steps from visit to order */
.c-funnel { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; counter-reset: funnel; }
.c-funnel li {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  min-height: 72px;
  padding: 14px 20px 14px 80px;
  background-color: rgba(236, 221, 186, 0.06);
  counter-increment: funnel;
}
.c-funnel li:nth-child(2) { width: 92%; }
.c-funnel li:nth-child(3) { width: 84%; }
.c-funnel li:nth-child(4) { width: 76%; }
.c-funnel li:nth-child(5) { width: 68%; }
.c-funnel li::before {
  content: counter(funnel, decimal-leading-zero);
  position: absolute;
  top: 50%;
  left: 20px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  color: var(--c-muted-3);
  font-size: 13px;
  translate: 0 -50%;
}
.c-funnel_name { font-family: var(--ff-title); font-stretch: 125%; font-size: 22px; line-height: 1.2; }
.c-funnel_what { flex-basis: 100%; color: var(--c-muted-3); font-size: 15px; line-height: 1.4; }

/* the weak spot */
.c-funnel li.-leak { background-color: rgba(203, 155, 163, 0.16); box-shadow: inset 3px 0 0 var(--c-light); }
.c-funnel li.-leak::before { border-color: var(--c-light); background-color: var(--c-light); color: var(--c-black); }
.c-funnel li.-leak .c-funnel_name { color: var(--c-light); }
.c-funnel_leak {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border: 1px solid var(--c-light);
  border-radius: 999px;
  color: var(--c-light);
  font-size: 14px;
  line-height: 1.4;
}
.c-funnel_leak::before { content: "\2197"; }

/* before / after: the bars are only as long as the ratio */
.c-ratio { margin: 0; padding: clamp(28px, 4vw, 56px); border: 1px solid var(--line-dark); }
.c-ratio_big { color: var(--c-accent); }
.c-ratio_what { margin-top: 12px; color: var(--c-muted-3); font-size: 18px; line-height: 1.5; }
.c-ratio_bars { display: grid; gap: 16px; margin-top: 48px; }
.c-ratio_row { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; align-items: center; gap: 16px; }
.c-ratio_bar { height: 20px; background-color: rgba(236, 221, 186, 0.08); }
.c-ratio_bar i { display: block; width: var(--w); height: 100%; background-color: var(--c-muted-2); }
.c-ratio_row.-after .c-ratio_bar i { background-color: var(--c-accent); }
.c-ratio_val { min-width: 6em; font-size: 15px; }
.c-ratio_also { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line-dark); color: var(--c-muted-3); font-size: 18px; line-height: 1.5; }
.c-ratio_also .t-title { color: var(--c-accent); }
/* the client's quote under the result */
.c-sQuote { margin-top: 56px; padding-left: 28px; }
.c-sQuote .c-quote { margin-bottom: 24px; }
.c-sQuote .c-author_role { color: var(--c-muted-2); }
.c-ctaSec_ctas { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px 32px; }
.c-ratio_note { margin-top: 32px; color: var(--c-muted-2); font-size: 14px; line-height: 1.6; }

@media (prefers-reduced-motion: no-preference) {
  .js .c-ratio:not(.is-visible) .c-ratio_bar i { width: 0; }
  .c-ratio_bar i { transition: width 1.2s var(--ease-out) 0.3s; }
  .c-ratio_row.-after .c-ratio_bar i { transition-delay: 0.6s; }
}

/* the redesign: the old and the new page on a phone, then a laptop and two more phones */
.c-ba.-phones { max-width: 560px; margin-bottom: 24px; }
/* before, after (top of the page), after (scrolled down) */
.c-ba.-phones.-three { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 800px; }
@media (max-width: 575px) {
  .c-ba.-phones.-three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .c-ba.-phones.-three .-more { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: center; margin-top: 16px; }
  .c-ba.-phones.-three .-more figcaption { margin-top: 0; }
  .c-ba.-phones.-three .-more .c-label { display: block; margin-bottom: 6px; }
}
.c-ba.-phones .c-wf { aspect-ratio: 390 / 844; }
.c-phones.-two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 560px; margin-top: 72px; }

/* offerings: the Audit and the Loop are dark panels, not photos */
.c-collage_frame.-panel { position: relative; width: 100%; margin-top: 4%; overflow: visible; }
.c-sPanel { --c-accent: #b8b172; padding: clamp(24px, 3vw, 40px); background-color: var(--c-black); color: var(--c-white); }
.c-sPanel .c-label.-muted { color: var(--c-muted-2); }
.c-sPanel .c-funnel { margin-top: 24px; }
.c-sPanel_big { margin: 16px 0 8px; color: var(--c-accent); }
.c-sPanel_next { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--line-dark); color: var(--c-muted-3); font-size: 15px; }
.c-collage.-devices .c-collage_frame.-c.-low { left: auto; right: 0; top: 36%; width: 26%; }
.c-collage_box:has(> .c-collage_frame.-panel) { aspect-ratio: auto; }
.c-collages:has(.c-collage_frame.-panel) > .c-collage { align-self: center; }
.c-sPanel .c-funnel li { min-height: 52px; padding-block: 8px; }
.c-sPanel .c-ratio_row { grid-template-columns: 96px minmax(0, 1fr); }

@media (max-width: 991px) {
  .c-sCase_lead { margin-bottom: 64px; }
  .c-sStep + .c-sStep { margin-top: 80px; }
  .c-sStep > [class*="col-"] + [class*="col-"] { margin-top: 40px; }
  .c-ba.-phones { margin-bottom: 20px; }
  .c-phones.-two { margin-top: 40px; }
}

@media (max-width: 575px) {
  .c-funnel li { min-height: 60px; padding: 12px 14px 12px 60px; }
  .c-funnel li::before { left: 14px; width: 32px; height: 32px; font-size: 12px; }
  .c-funnel li:nth-child(2) { width: 95%; }
  .c-funnel li:nth-child(3) { width: 90%; }
  .c-funnel li:nth-child(4) { width: 85%; }
  .c-funnel li:nth-child(5) { width: 80%; }
  .c-funnel_name { font-size: 18px; }
  .c-ratio_row { grid-template-columns: 96px minmax(0, 1fr); }
  .c-ratio_val { grid-column: 2; min-width: 0; margin-top: -8px; }
}

/* Logo Design: the box under the one package that points to Brand Identity */
.c-offers_more { margin-top: 48px; }

/* Logo Design, 04 Logo set: a row or the arrows pick which version the
   figure shows; the picked row stays lit */
.c-setView { scroll-margin-top: calc(var(--header-h) + 24px); }
.c-setView .m-wipe { position: relative; }
/* the next picture fades in over the current one, then takes its place */
.c-setView .m-wipe > .c-setView_next { position: absolute; inset: 0; opacity: 0; transition: clip-path 1.2s var(--ease-io), scale 1.6s var(--ease-out), opacity 0.5s var(--ease); }
.c-setView .m-wipe > .c-setView_next.is-in { opacity: 1; }
.c-setView .m-wipe > .c-setView_next.is-reset { transition: none; }
.-bgInk .c-onPack_count { color: var(--c-muted-2); }
.c-listRow.-pick { cursor: pointer; }
.c-listRow.-pick:hover,
.c-listRow.-pick[aria-current="true"] { color: var(--c-accent); }
.c-listRow.-pick[aria-current="true"] .c-listRow_label { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }

/* Website Design, Banan24 compare in the laptop: the two tags sit on their own
   bar above the captures, so they never cover the site's logo and menu. The
   captures lose the same strip at the bottom, which is empty space there. */
.c-laptop > .c-compare_stage { --bar: 36px; background-color: var(--c-offwhite); }
.c-laptop > .c-compare_stage::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: var(--bar);
  border-bottom: 1px solid var(--line-light);
}
.c-laptop > .c-compare_stage > img,
.c-laptop > .c-compare_stage > .c-compare_top { top: var(--bar); height: calc(100% - var(--bar)); }
.c-laptop > .c-compare_stage > .c-compare_tag { top: calc(var(--bar) / 2); translate: 0 -50%; }
.c-laptop > .c-compare_stage > .c-compare_handle { top: var(--bar); }

@media (max-width: 767px) {
  .c-laptop > .c-compare_stage { --bar: 24px; }
  .c-laptop > .c-compare_stage > .c-compare_tag { padding: 4px 6px; font-size: 8px; }
  .c-laptop > .c-compare_stage > .c-compare_tag.-a { left: 8px; }
  .c-laptop > .c-compare_stage > .c-compare_tag.-b { right: 8px; }
}

/* Packaging approach: "Work with" + the client's logo; every Farma Foks
   logo and link on the site lands here (packaging-design.html#farma-foks) */
.c-workWith { display: flex; align-items: center; gap: 20px; margin-bottom: 40px; scroll-margin-top: calc(var(--header-h) + 96px); }
.c-workWith_logo { display: block; width: auto; height: 72px; }
/* a client logo that links to its case: the link fills the logo's cell */
.c-clientLogo_link { position: absolute; inset: 0; display: block; transition: opacity 0.3s var(--ease); }
.c-clientLogo_link:hover { opacity: 0.7; }

/* case cards reached from another page (homepage tiles, menu, footer) land
   below the sticky header and the section nav */
.c-caseCard,
.c-idCase[id] { scroll-margin-top: calc(var(--header-h) + 72px); }

/* homepage: the testimonial's role line was dark-on-dark; the CTA logos are
   the ink files turned light for the dark ground */
.c-spotlightSec .c-author_role { color: var(--c-muted-2); }

/* homepage CTA: the five client logos run in one row (owner, 25.11.2026), light ink at half strength.
   Only five logos, so the gap grows with the window: one set (5 x (cell + gap)) stays wider than the
   window plus a cell, and the same logo never shows at both ends of the row at once. */
.c-ctaSec_marquee { --cell: 220px; --gap: max(48px, calc(20vw - var(--cell) * 0.8 + 8px)); margin-top: 72px; }
.c-ctaSec_marquee .c-clientLogo { height: 80px; }
.c-ctaSec_marquee .c-clientLogo_img { filter: brightness(0) invert(1); opacity: 0.5; transition: opacity 0.3s var(--ease); }
.c-ctaSec_marquee .c-clientLogo_link:hover .c-clientLogo_img { opacity: 0.85; }
.c-ctaSec_marquee + .c-marquee_foot { position: relative; z-index: 2; margin-top: 24px; }
@media (max-width: 575px) {
  .c-ctaSec_marquee { --cell: 140px; margin-top: 48px; }
  .c-ctaSec_marquee .c-clientLogo { height: 56px; }
}

/* Rebranding, Lift vs Rebrand: each column ends with its own case, old → new (owner, 25.11.2026) */
.c-vs_example { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line-light); }
.c-vs_pair { display: flex; flex: none; align-items: center; gap: 8px; }
.c-vs_pair img { width: 72px; height: 72px; background-color: #fff; object-fit: contain; } /* trimmed thumbs: rebrand/*-thumb-160 */
.c-vs_pair.-wide img { width: 112px; }
.c-vs_arrow { flex: none; color: var(--c-muted); }
.c-vs_example .c-label { display: block; margin-bottom: 4px; color: var(--c-muted); }
.c-vs_name { font-size: 17px; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.c-vs_example:hover .c-vs_name { color: var(--c-accent); }

/* homepage: Hilker Team mirrors the Okulary.pl row (quote left, photo right); on phones the photo leads */
.c-spotlightSec_flip { align-items: center; }
@media (max-width: 991px) {
  .c-spotlightSec_flipQuote { order: 2; margin-top: 40px; }
}

/* a short client quote under a work card or a case teaser (owner, 25.11.2026) */
.c-miniQuote { margin-top: 24px; padding-left: 16px; border-left: 2px solid var(--c-accent); }
.c-miniQuote p { font-size: 16px; line-height: 1.55; }
.c-miniQuote footer { margin-top: 8px; font-size: 13px; color: var(--c-muted); }
.-bgBlack .c-miniQuote footer, .c-caseCard .c-miniQuote footer { color: var(--c-muted-2); }
