/* ==========================================================================
   THEME — "Profile"
   The look every page shares, in the register of the large brand
   consultancies: flat, typographic and sparse. One grotesque set large, one
   italic serif for quotes, one red with its warm family as solid fields,
   black hairlines, square corners. No glows, shadows, rounded cards, icon
   tiles or pills. A narrow label column sits left of the content.

   Loaded after style.css and scoped to html.theme-profile. Components carry
   a pf- prefix. The home page adds its own layer on top (css/landing.css).
   The one exception to the palette is the Lindi block (.lindi), which wears
   Lindi's own brand: its blue, its logo, its round buttons.
   ========================================================================== */

html.theme-profile {
  --gutter: clamp(16px, 2.2vw, 36px);
  --gap: clamp(16px, 2vw, 32px);

  /* the palette: one red, and a warm family that sits with it */
  --canvas: #F3EFE8;   /* paper */
  --ink: #141110;      /* warm black */
  --red: #C8363A;      /* the brand's red */
  --deep: #4A1519;     /* oxblood, the red in shadow */
  --blush: #EFC6BF;    /* the red in light */
  --sand: #DBD3C6;     /* warm neutral */
  --ink-60: #3D3936;
  --ink-40: #7A746E;
  --line: rgba(20, 17, 16, 0.2);
  --line-soft: rgba(20, 17, 16, 0.12);
  --ghost: rgba(20, 17, 16, 0.04);
  --pill: #141110;
  --accent: var(--red);
  --card: transparent;
  --navy: #141110;

  /* the five old brand colours still appear in markup (style="--c:…");
     they all resolve into the new family */
  --green: #C8363A;
  --teal: #C8363A;
  --blue: #141110;
  --violet: #4A1519;
  --crimson: #C8363A;
  --spectrum: linear-gradient(90deg, #141110, #141110);

  --nav-h: 56px;
  --radius: 0px;
  --shadow: none;
  --font-serif: var(--font-sans);
  --font-aside: "Zodiak", "Iowan Old Style", Georgia, serif;
}

/* the page is flat: no glows, no edge stripe, no custom cursor */
html.theme-profile body { background: var(--canvas); color: var(--ink); cursor: auto; }
html.theme-profile body::before,
html.theme-profile body::after { display: none; }
html.theme-profile main { background: transparent; }
html.theme-profile .wash,
html.theme-profile .cursor-dot,
html.theme-profile .cursor-ring { display: none; }
html.theme-profile a,
html.theme-profile button,
html.theme-profile summary { cursor: pointer; }
html.theme-profile ::selection { background: var(--ink); color: var(--canvas); }
html.theme-profile :focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 0; }

/* ---------- chrome ---------- */
html.theme-profile .nav,
html.theme-profile .nav.is-scrolled {
  background: var(--canvas);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom: 0;
  box-shadow: none;
  transition: none;
}
html.theme-profile .nav.is-scrolled { box-shadow: 0 1px 0 var(--ink); }
html.theme-profile .mark-word {
  background: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: -0.05em;
}
html.theme-profile .mark-domain { display: none; }
html.theme-profile .nav-link {
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
}
html.theme-profile .nav-link::after { background: var(--ink); height: 1px; }
html.theme-profile .nav .pill {
  border-radius: 0;
  padding: 0.75em 1em;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  box-shadow: none;
}
html.theme-profile .nav .pill:hover { transform: none; background: var(--canvas); color: var(--ink); }

/* every button that used to be a pill is a flat block */
html.theme-profile .pill {
  border-radius: 0;
  padding: 1em 1.3em;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  box-shadow: none;
}
html.theme-profile .pill:hover { transform: none; box-shadow: none; background: var(--canvas); color: var(--ink); }
/* the old monospace labels are the same small caps as every other label */
html.theme-profile .mono { font-family: inherit; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.02em; text-transform: uppercase; }

/* the Clients dropdown: a ruled list on paper */
html.theme-profile .nav-dd-toggle { font-weight: 500; }
html.theme-profile .dd-caret { width: 5px; height: 5px; border-width: 1px; opacity: 1; }
html.theme-profile .nav-dd-menu {
  top: calc(100% + 12px);
  left: auto;
  right: -16px;
  min-width: 300px;
  padding: 0;
  gap: 0;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--canvas);
  box-shadow: none;
  transform: translateY(-6px);
}
html.theme-profile .nav-dd:hover .nav-dd-menu,
html.theme-profile .nav-dd:focus-within .nav-dd-menu,
html.theme-profile .nav-dd-toggle[aria-expanded="true"] + .nav-dd-menu { transform: translateY(0); }
html.theme-profile .nav-dd-item {
  gap: 6px;
  padding: 14px 16px 16px;
  border-radius: 0;
  color: var(--ink);
  transition: background-color 0.2s, color 0.2s;
}
html.theme-profile .nav-dd-item + .nav-dd-item { border-top: 1px solid var(--ink); }
html.theme-profile .nav-dd-item:hover,
html.theme-profile .nav-dd-item:focus-visible { background: var(--ink); color: var(--canvas); }
html.theme-profile .dd-title { font-size: 1.25rem; font-weight: 500; line-height: 1; letter-spacing: -0.035em; color: inherit; }
html.theme-profile .dd-desc { font-size: 0.72rem; letter-spacing: 0.02em; color: inherit; opacity: 0.7; }

/* the phone menu: the page list at statement size, on plain paper */
html.theme-profile .menu-overlay {
  place-items: stretch;
  padding: calc(var(--nav-h) + 12px) var(--gutter) 24px;
  overflow-y: auto;
  background: var(--canvas);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition: opacity 0.25s ease, visibility 0.25s;
}
html.theme-profile .menu-list { align-content: start; gap: 0; text-align: left; border-top: 1px solid var(--ink); }
html.theme-profile .menu-list a {
  padding: 0.28em 0 0.3em;
  border-bottom: 1px solid var(--ink);
  font-family: inherit;
  font-size: clamp(2rem, 9.5vw, 3.6rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--ink);
}
html.theme-profile .menu-list a:hover { color: var(--red); }
html.theme-profile .menu-list .mono { margin-top: 18px; color: var(--ink-40); }
/* while it is open the bar above it is paper with ink marks, whatever the page was doing */
html.theme-profile body.menu-open .nav { background: var(--canvas) !important; box-shadow: none !important; }
html.theme-profile body.menu-open .menu-btn i { background: var(--ink) !important; }
html.theme-profile body.menu-open .nav-mark { opacity: 1 !important; pointer-events: auto !important; }

/* the contact form: paper, ink, underlined fields */
html.theme-profile .cmodal-backdrop { background: rgba(20, 17, 16, 0.72); -webkit-backdrop-filter: none; backdrop-filter: none; }
html.theme-profile .cmodal-panel {
  width: min(640px, 100%);
  padding: clamp(22px, 3.4vw, 44px);
  border: 0;
  background: var(--canvas);
  box-shadow: none;
}
html.theme-profile .cmodal-x { top: 12px; right: 12px; border: 1px solid var(--ink); background: none; color: var(--ink); }
html.theme-profile .cmodal-x:hover { background: var(--ink); color: var(--canvas); }
html.theme-profile .cmodal .eyebrow { margin-bottom: clamp(20px, 3vw, 36px); color: var(--ink); }
html.theme-profile .cmodal-title { margin: 0 0 10px; font-size: clamp(1.9rem, 4.4vw, 3.4rem); font-weight: 500; line-height: 0.98; letter-spacing: -0.045em; text-wrap: balance; }
html.theme-profile .cmodal-sub { margin-bottom: clamp(20px, 3vw, 32px); color: var(--ink); }
html.theme-profile .cmodal-form { gap: 18px; }
html.theme-profile .cmodal-form .row { gap: 18px var(--gap); }
html.theme-profile .cmodal-form label { gap: 2px; font-family: inherit; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.02em; color: var(--ink); }
html.theme-profile .cmodal-form input,
html.theme-profile .cmodal-form select,
html.theme-profile .cmodal-form textarea {
  padding: 0.5em 0;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--ink);
}
html.theme-profile .cmodal-form ::placeholder { color: var(--ink-40); opacity: 1; }
html.theme-profile .cmodal-form input:focus,
html.theme-profile .cmodal-form select:focus,
html.theme-profile .cmodal-form textarea:focus { outline: none; border-bottom-color: var(--red); box-shadow: 0 1px 0 var(--red); }
html.theme-profile .cmodal-form button[type="submit"] { margin-top: 8px; }
html.theme-profile .cmodal-status { font-family: inherit; font-size: 0.9rem; color: var(--ink); }
html.theme-profile .cmodal-status.is-err { color: var(--red); }
html.theme-profile .cmodal-status a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
html.theme-profile .cmodal-done { padding: 12px 0 4px; text-align: left; }
html.theme-profile .cmodal-done .check { margin: 0 0 clamp(20px, 3vw, 36px); background: var(--red); color: var(--canvas); }
html.theme-profile .cmodal-done h3 { font-size: clamp(1.9rem, 4.4vw, 3.4rem); font-weight: 500; line-height: 0.98; letter-spacing: -0.045em; }

html.theme-profile .footer {
  background: var(--canvas);
  border-top: 0;
  text-align: left;
  padding: 18px var(--gutter) 22px;
}
html.theme-profile .footer-mark,
html.theme-profile .footer-tag { display: none; }
html.theme-profile .footer-nav,
html.theme-profile .footer-meta { justify-content: flex-start; }
html.theme-profile .footer-nav { font-size: 0.78rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 12px; }
html.theme-profile .footer-nav a { color: var(--ink); }
html.theme-profile .footer-meta { color: var(--ink-40); }

/* ---------- loading and page changes: the switch, thrown across the screen ----------
   The hero's motifs at full size. A red knob, ruled with the same thin lines
   as the hero, is as tall as the window and slides over the page from the
   left; in the middle a small switch is thrown; then the knob carries on and
   leaves to the right, and the new page is underneath.
   A page opens already covered (so nothing unstyled flashes) and the script
   plays the second half. If the script never runs, the knob leaves on its
   own after a few seconds. No motion, or no script: no cover at all. */
html.theme-profile .transit {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: block;
  overflow: hidden;
  background: none;
  opacity: 1;
  visibility: visible;
  pointer-events: none;
}
.transit-knob {
  position: absolute;
  top: -10vh;
  left: 0;
  width: 180vw;
  height: 120vh;
  border-radius: 60vh;
  background-color: var(--red);
  background-image: repeating-linear-gradient(to bottom, rgba(243, 239, 232, 0.34) 0 1px, transparent 1px 15px);
  transform: translate3d(-40vw, 0, 0);          /* covering the window */
  will-change: transform;
}
.transit-switch {
  --h: clamp(76px, 9vw, 132px);            /* the small switch in the middle */
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(var(--h) * 1.9);
  height: var(--h);
  margin: calc(var(--h) * -0.5) 0 0 calc(var(--h) * -0.95);
  border-radius: 999px;
  background: var(--ink);
}
.transit-switch i {
  position: absolute;
  top: 10%;
  left: calc(var(--h) * 0.1);
  width: calc(var(--h) * 0.8);
  height: 80%;
  border-radius: 50%;
  background: var(--red);
}
/* the safety net, for when the script does not take over */
html.theme-profile .transit:not(.is-live) .transit-knob { animation: transit-leave 0.9s 4s cubic-bezier(0.8, 0, 0.2, 1) forwards; }
html.theme-profile .transit:not(.is-live) .transit-switch { animation: transit-fade 0.3s 4s forwards; }
@keyframes transit-leave { to { transform: translate3d(110vw, 0, 0); } }
@keyframes transit-fade { to { opacity: 0; } }
html.static .transit { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  html.theme-profile .transit { display: none !important; }
}

/* for screen readers only */
.pf-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- type ---------- */
/* the small uppercase label: the only "eyebrow" there is */
.pf-eyebrow,
.pf-tag,
.pf-for,
.pf-num,
.pf-brand-note {
  display: block;
  margin: 0;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: inherit;
}
.pf-h1 {
  font-size: clamp(2.6rem, 8.2vw, 9rem);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.06em;
  text-wrap: balance;
}
.pf-h1 em { font-style: normal; color: var(--red); }
/* the statement size: sentence case, tight, medium weight */
.pf-h2 {
  font-size: clamp(1.75rem, 4.15vw, 4.5rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.038em;
  text-wrap: balance;
}
.pf-lede {
  margin-top: clamp(16px, 2vw, 28px);
  max-width: 52ch;
  font-size: clamp(1.05rem, 1.35vw, 1.35rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: inherit;
}

/* ---------- layout: a narrow label column, then the content ---------- */
.pf-section { position: relative; padding: clamp(96px, 13vw, 220px) var(--gutter) 0; }
.pf-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  gap: 0 var(--gap);
  max-width: none;
  margin-bottom: clamp(32px, 5vw, 80px);
}
.pf-head > .pf-eyebrow { grid-column: 1; grid-row: 1 / span 3; }
.pf-head > :not(.pf-eyebrow) { grid-column: 2; }
.pf-head .pf-h2 { max-width: 22ch; }

.pf-grid { display: grid; gap: clamp(32px, 4vw, 56px) var(--gap); }
.pf-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pf-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pf-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- hero: one statement ---------- */
.pf-hero,
.pf-hero--solo {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--gap);
  align-items: end;
  padding: calc(var(--nav-h) + clamp(56px, 9vw, 150px)) var(--gutter) 0;
}
.pf-hero > div,
.pf-hero--solo > div { max-width: none; }
.pf-hero .pf-eyebrow { margin-bottom: clamp(16px, 2vw, 28px); }
.pf-hero .pf-lede { margin-top: clamp(24px, 3vw, 44px); }
/* the old stacked mark and its card are retired */
.pf-brand,
.pf-mark,
.pf-trust { display: none; }

/* ---------- "cards" are now plain cells under a hairline ---------- */
.pf-card {
  padding: 14px clamp(8px, 1.4vw, 24px) 0 0;
  border: 0;
  border-top: 1px solid currentColor;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
.pf-card h3 {
  font-size: clamp(1.3rem, 2vw, 2rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.pf-card h3 a { color: inherit; }
.pf-card p { margin-top: 12px; max-width: 44ch; font-size: 0.98rem; line-height: 1.4; color: inherit; }
.pf-card > .pf-tag,
.pf-card > .pf-for,
.pf-card > .pf-num { margin-bottom: clamp(28px, 4vw, 64px); }
.pf-card--row { display: block; }
.pf-card--tint { background: none; border-color: currentColor; }
/* icon tiles are gone */
.pf-ico { display: none; }

/* offering cards: a title, a line, then a ruled list */
.pf-offer { display: flex; flex-direction: column; padding-top: 14px; }
.pf-offer::before { content: none; }
.pf-offer h3 { text-transform: uppercase; letter-spacing: -0.045em; line-height: 0.95; }
.pf-offer ul,
.pf-practice ul,
.pf-product ul { margin-top: clamp(20px, 2.4vw, 36px); display: block; }
.pf-offer li,
.pf-practice li,
.pf-product ul li {
  position: static;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  line-height: 1.3;
  color: inherit;
}
.pf-offer li::before,
.pf-product ul li::before { content: none; }
.pf-offer li b,
.pf-practice li b { font-weight: 500; }

/* chips: square, hairline, small caps */
.pf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.7em 1em;
  border: 1px solid currentColor;
  border-radius: 0;
  background: none;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: inherit;
}
.pf-chip svg { display: none; }
.pf-chip--plain { background: none; border-color: currentColor; font-weight: 500; }
.pf-chip--btn { padding: 0.9em 1.2em; font-size: 0.82rem; transition: background-color 0.25s, color 0.25s; }
.pf-chip--btn:hover { transform: none; background: var(--ink); color: var(--canvas); border-color: var(--ink); }
.pf-strip {
  margin-top: clamp(24px, 3vw, 40px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  padding: 12px 0;
  border: 0;
  border-block: 1px solid currentColor;
  border-radius: 0;
  background: none;
  font-size: 0.95rem;
}
.pf-strip b { font-weight: 500; color: inherit; }
.pf-steps { margin-top: clamp(32px, 4vw, 56px); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pf-steps .pf-arrow { color: inherit; font-size: 0.9rem; }

/* buttons: a flat block, or an underline */
.pf-actions { margin-top: clamp(28px, 3.4vw, 48px); display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pf-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 1em 1.3em;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: var(--canvas);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: background-color 0.25s, color 0.25s;
}
.pf-btn:hover { transform: none; box-shadow: none; background: var(--canvas); color: var(--ink); }
.pf-btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transform: rotate(-45deg); }
.pf-btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.pf-btn--ghost:hover { background: var(--ink); color: var(--canvas); }
.pf-btn--light { background: var(--canvas); color: var(--ink); border-color: var(--canvas); }
.pf-btn--light:hover { background: transparent; color: var(--canvas); }
.pf-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding-bottom: 1px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: inherit;
}
.pf-link svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transform: rotate(-45deg); }

/* ---------- figures ---------- */
.pf-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gap); justify-content: start; margin-top: clamp(40px, 6vw, 96px); border-top: 1px solid currentColor; }
.pf-stat { display: grid; gap: clamp(20px, 3vw, 48px); padding-top: 12px; text-align: left; }
.pf-stat b { font-size: clamp(2.4rem, 6vw, 6.4rem); font-weight: 500; line-height: 0.9; letter-spacing: -0.055em; }
.pf-stat span { max-width: 22ch; font-size: 0.92rem; line-height: 1.3; color: inherit; }

.pf-tiles { margin-top: clamp(40px, 6vw, 96px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid currentColor; }
.pf-tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pf-tile {
  display: grid;
  gap: clamp(20px, 3vw, 48px);
  align-items: start;
  padding: 12px clamp(10px, 1.2vw, 20px) 0 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
.pf-tile + .pf-tile { padding-left: clamp(10px, 1.2vw, 20px); border-left: 1px solid currentColor; }
.pf-tile b { font-size: clamp(2rem, 4.6vw, 5rem); font-weight: 500; line-height: 0.95; letter-spacing: -0.05em; color: inherit; }
.pf-tile span { max-width: 22ch; font-size: 0.92rem; line-height: 1.3; color: inherit; }

/* practice columns ("some of our work") */
.pf-practice h3 { text-transform: uppercase; letter-spacing: -0.045em; line-height: 0.95; }
.pf-practice .pf-chip { margin-top: 20px; align-self: flex-start; }
.pf-practice dl { margin-top: clamp(20px, 2.4vw, 36px); }
.pf-practice dt { position: static; margin: 0; padding: 9px 0 0; border-top: 1px solid var(--line); font-size: 0.95rem; font-weight: 500; line-height: 1.3; }
.pf-practice dt::before { content: none; }
.pf-practice dd { margin: 2px 0 0; padding: 0 0 9px; font-size: 0.9rem; line-height: 1.35; color: var(--ink-60); }

/* ---------- dark field ---------- */
.pf-dark {
  position: relative;
  overflow: hidden;
  margin: clamp(96px, 13vw, 220px) 0 0;
  padding: clamp(56px, 8vw, 128px) var(--gutter) clamp(56px, 8vw, 128px);
  background: var(--ink);
  color: var(--canvas);
}
.pf-dark::before { content: none; }
.pf-dark > * { position: relative; }
.pf-dark > .pf-eyebrow { margin-bottom: clamp(16px, 2vw, 28px); }
.pf-dark > .pf-h2 { max-width: 20ch; }
.pf-dark .pf-eyebrow,
.pf-dark .pf-for,
.pf-dark .pf-lede,
.pf-dark .pf-card p,
.pf-dark .pf-stat span { color: inherit; }
.pf-dark-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: clamp(32px, 5vw, 80px) var(--gap); align-items: start; }
.pf-dark .pf-card { background: none; border-color: currentColor; -webkit-backdrop-filter: none; backdrop-filter: none; }
.pf-dark .pf-card > .pf-for { margin-bottom: 16px; }
.pf-dark .pf-stack { display: grid; gap: clamp(24px, 3vw, 40px); }
.pf-dark .pf-grid { margin-top: clamp(40px, 6vw, 96px); }
.pf-dark .pf-big h3 { font-size: clamp(1.3rem, 2.2vw, 2.2rem); line-height: 1.05; }
.pf-dark .pf-big p { margin-top: 14px; font-size: 1rem; }
.pf-dark + .pf-section { padding-top: clamp(96px, 13vw, 220px); }

/* the kept offering: own your tools */
.pf-own {
  margin-top: clamp(40px, 6vw, 96px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--gap);
  align-items: end;
  padding: clamp(20px, 2.6vw, 40px);
  border: 0;
  background: var(--ink);
  color: var(--canvas);
}
.pf-own h3 { font-size: clamp(1.5rem, 3vw, 3rem); }
.pf-own p { max-width: 56ch; color: inherit; font-size: 1rem; }
.pf-own .pf-tag { margin-bottom: clamp(20px, 3vw, 48px); color: inherit; }

/* product cards */
.pf-product h3 { margin-top: 0; font-size: clamp(1.5rem, 2.6vw, 2.6rem); }
.pf-equation { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 0.86rem; color: inherit; }

/* a one-line banner above a grid */
.pf-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
  margin-bottom: clamp(24px, 3vw, 40px);
  padding: 12px 0;
  border: 0;
  border-block: 1px solid currentColor;
  border-radius: 0;
  background: none;
}
.pf-banner b { font-size: 1.1rem; font-weight: 500; }
.pf-banner span { font-size: 0.92rem; color: inherit; }

/* numbered lists */
.pf-numbered { margin-top: clamp(20px, 2.4vw, 36px); display: block; counter-reset: pf; border-top: 1px solid currentColor; }
.pf-numbered li {
  counter-increment: pf;
  position: static;
  display: grid;
  grid-template-columns: 3ch minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid currentColor;
}
.pf-numbered li::before {
  content: "0" counter(pf);
  position: static;
  width: auto;
  height: auto;
  display: block;
  border: 0;
  border-radius: 0;
  background: none;
  padding-top: 0.2em;
  font-size: 0.78rem;
  font-weight: 500;
  color: inherit;
}
.pf-numbered b { font-weight: 500; font-size: 1rem; }
.pf-numbered span { font-size: 0.95rem; line-height: 1.35; color: inherit; }

.pf-step h3 { font-size: clamp(1.3rem, 2.2vw, 2.2rem); }
.pf-note { margin-top: clamp(20px, 2.4vw, 32px); font-size: 0.95rem; color: var(--ink-60); }

/* long-form text (privacy, the story) */
.pf-prose { max-width: 68ch; margin-left: calc(25% + var(--gap) * 0.75); }
.pf-prose p,
.pf-prose li { font-size: 1.05rem; line-height: 1.55; color: inherit; }
.pf-prose p + p { margin-top: 16px; }
.pf-prose strong { font-weight: 500; color: inherit; }
.pf-prose h3 { margin: 40px 0 12px; font-size: clamp(1.3rem, 2vw, 1.9rem); font-weight: 500; letter-spacing: -0.035em; line-height: 1.05; }
.pf-prose h3:first-child { margin-top: 0; }
.pf-prose ul { display: grid; gap: 10px; padding-left: 18px; list-style: disc; }
.pf-prose a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.pf-prose .legal { opacity: 1 !important; visibility: visible !important; transform: none !important; }

/* questions: ruled rows that open */
.pf-faq { display: block; max-width: none; margin-left: calc(25% + var(--gap) * 0.75); border-top: 1px solid currentColor; }
.pf-faq details { padding: 0; border: 0; border-bottom: 1px solid currentColor; }
.pf-faq summary {
  position: relative;
  list-style: none;
  padding: clamp(14px, 1.6vw, 22px) 48px clamp(14px, 1.6vw, 22px) 0;
  font-size: clamp(1.2rem, 1.9vw, 1.8rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.pf-faq summary::-webkit-details-marker { display: none; }
.pf-faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-52%); font-size: 1.6em; font-weight: 300; line-height: 1; color: inherit; }
.pf-faq details[open] summary::after { content: "\2212"; }
.pf-faq details p { margin: 0; padding: 0 0 clamp(18px, 2vw, 28px); max-width: 62ch; font-size: 1rem; line-height: 1.5; }

/* ---------- closing band: the red field ---------- */
.pf-dark.pf-cta { background: var(--red); color: var(--canvas); text-align: left; }
.pf-cta .pf-h2 { max-width: 14ch; font-size: clamp(2.6rem, 8.2vw, 9rem); font-weight: 600; line-height: 0.9; letter-spacing: -0.06em; }
.pf-cta-row { margin-top: clamp(48px, 7vw, 120px); padding-top: 12px; border-top: 1px solid currentColor; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: flex-end; }
.pf-cta-line { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.02em; text-transform: uppercase; }
.pf-contact { margin-top: clamp(32px, 4vw, 56px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.pf-contact .pf-card b { display: block; margin-top: 2px; font-size: 1.1rem; font-weight: 500; color: inherit; }
.pf-contact .pf-card small { display: block; font-size: 0.78rem; color: inherit; opacity: 0.8; }
.pf-contact .pf-card p { font-size: 0.9rem; }

/* ---------- CMS-rendered blocks ---------- */
/* a section whose CMS grid is empty disappears instead of showing a bare heading */
.pf-cms:has(.teasers:empty),
.pf-cms:has(.quotes-grid:empty),
.pf-cms:has(.notes-grid:empty),
.pf-cms:has(.sw-grid:empty) { display: none; }

html.theme-profile .teasers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
html.theme-profile .teaser {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 0 0;
  border: 0;
  border-top: 1px solid var(--ink);
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--ink);
}
html.theme-profile .teaser:hover { transform: none; }
html.theme-profile .teaser-thumb { order: -1; aspect-ratio: 16 / 10; overflow: hidden; border: 0; border-radius: 0; background: #fff; }
html.theme-profile .teaser-thumb * { border-radius: 0; }
html.theme-profile .teaser-thumb img { display: block; width: 100%; height: 100% !important; border-radius: 0 !important; object-fit: cover; object-position: 50% 0; transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1); }
html.theme-profile .teaser:hover .teaser-thumb img { transform: scale(1.03); }
html.theme-profile .teaser h3 { font-size: clamp(1.7rem, 3.3vw, 3.4rem); font-weight: 500; line-height: 0.95; letter-spacing: -0.045em; }
html.theme-profile .teaser p { max-width: 52ch; font-size: 0.95rem; line-height: 1.4; color: var(--ink); }
html.theme-profile .teaser-from { padding: 0; font-family: inherit; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink) !important; }
html.theme-profile .teaser .go::after { content: "\00a0\2197"; }
html.theme-profile .teaser .go { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink); }

html.theme-profile .quotes-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
html.theme-profile .quote-card,
html.theme-profile .case-quote {
  padding: 16px 0 0;
  border: 0;
  border-top: 1px solid var(--ink);
  border-radius: 0;
  background: none;
  box-shadow: none;
}
html.theme-profile .quote-card blockquote,
html.theme-profile .case-quote blockquote {
  font-family: var(--font-aside);
  font-style: italic;
  font-size: clamp(1.25rem, 2vw, 2rem);
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--ink);
}
html.theme-profile .quote-card blockquote::before,
html.theme-profile .quote-card blockquote::after,
html.theme-profile .case-quote blockquote::before,
html.theme-profile .case-quote blockquote::after { color: inherit; }
html.theme-profile .quote-card .ph,
html.theme-profile .quote-card img,
html.theme-profile .case-quote .ph,
html.theme-profile .case-quote img { border-radius: 0; }
html.theme-profile .quote-who { margin-top: 16px; }
html.theme-profile .who-name { font-weight: 500; }

html.theme-profile .clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 0;
  border-top: 1px solid var(--ink);
}
html.theme-profile .client-logo {
  display: grid;
  gap: 6px;
  align-content: center;
  justify-items: start;
  min-height: clamp(120px, 15vw, 220px);
  padding: 18px 20px 18px 0;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  background: none;
  box-shadow: none;
}
html.theme-profile .client-logo + .client-logo { padding-left: 20px; border-left: 1px solid var(--ink); }
html.theme-profile .client-logo::before,
html.theme-profile .client-logo::after { content: none; }
html.theme-profile .client-logo img { max-height: 40px; width: auto; }
html.theme-profile .client-logo { text-align: left; }
html.theme-profile .client-name { font-size: clamp(1.4rem, 2.4vw, 2.4rem); font-weight: 500; line-height: 1; letter-spacing: -0.045em; }
html.theme-profile .client-sub { font-family: inherit; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink); }

/* notes from the team */
html.theme-profile .notes-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 4vw, 56px) var(--gap); margin-top: 0; }
html.theme-profile .note-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px clamp(8px, 1.4vw, 24px) 0 0;
  border: 0;
  border-top: 1px solid var(--ink);
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--ink);
}
html.theme-profile .note-card:hover { box-shadow: none; border-color: var(--ink); }
html.theme-profile .note-card .mono,
html.theme-profile .note-card .go { font-family: inherit; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink); }
html.theme-profile .note-card h3 { margin-top: clamp(20px, 3vw, 48px); font-family: inherit; font-size: clamp(1.3rem, 2vw, 2rem); font-weight: 500; line-height: 1.02; letter-spacing: -0.035em; }
html.theme-profile .note-card p { max-width: 44ch; font-size: 0.98rem; line-height: 1.4; color: var(--ink); }
html.theme-profile .note-card .go { margin-top: 8px; }
html.theme-profile .note-card .go::after { content: "\00a0\2197"; }

/* work page: CMS cases and quotes are inserted before .case-next */
.pf-casehead { padding-bottom: 0; }
.pf-casehead .pf-head { margin-bottom: 0; }
html.theme-profile article.case {
  margin: clamp(32px, 5vw, 80px) var(--gutter) 0;
  padding: 16px 0 0;
  border: 0;
  border-top: 1px solid var(--ink);
  border-radius: 0;
  background: none;
  box-shadow: none;
}
html.theme-profile article.case .case-title { font-family: inherit; font-size: clamp(1.9rem, 4.6vw, 5rem); font-weight: 500; line-height: 0.95; letter-spacing: -0.05em; }
html.theme-profile article.case .case-visual,
html.theme-profile article.case .case-visual * { border-radius: 0 !important; box-shadow: none; }
html.theme-profile article.case .case-kicker,
html.theme-profile article.case .case-specs,
html.theme-profile article.case .case-rebuilt { font-family: inherit; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink) !important; }
html.theme-profile article.case .case-numeral { display: none; }
html.theme-profile .case-quote { margin: clamp(24px, 3vw, 48px) var(--gutter) 0; }
html.theme-profile .case-next {
  display: block;
  margin: clamp(40px, 6vw, 96px) var(--gutter) 0;
  padding: 16px 0 0;
  border: 0;
  border-top: 1px solid var(--ink);
  background: none;
  box-shadow: none;
  text-align: left;
}
html.theme-profile .case-next h3 { font-size: clamp(1.5rem, 3vw, 3rem); letter-spacing: -0.04em; }
html.theme-profile .case-next .pf-link { margin-top: 16px; }
/* selected work: one ruled row per project */
html.theme-profile .sw-grid { display: block; margin-top: 0; border-top: 1px solid var(--ink); }
html.theme-profile .sw-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  align-items: start;
  gap: 6px var(--gap);
  padding: clamp(14px, 1.6vw, 24px) 0;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  background: none;
  box-shadow: none;
}
html.theme-profile .sw-meta { grid-column: 1; grid-row: 1 / span 3; justify-self: start; font-family: inherit; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink); white-space: normal; }
html.theme-profile .sw-client,
html.theme-profile .sw-logo,
html.theme-profile .sw-desc,
html.theme-profile .sw-case { grid-column: 2; }
html.theme-profile .sw-client { font-size: clamp(1.5rem, 3vw, 3rem); font-weight: 500; line-height: 0.98; letter-spacing: -0.045em; color: var(--ink); }
html.theme-profile .sw-logo { max-height: 40px; }
html.theme-profile .sw-desc { margin-top: 6px; max-width: 56ch; font-size: 0.98rem; line-height: 1.4; color: var(--ink); }
html.theme-profile .sw-case { margin-top: 6px; }
html.theme-profile .sw-case a { padding-bottom: 1px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; font-family: inherit; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink); }

/* people page: the leadership grid (static fallback and CMS render) */
html.theme-profile .leaders-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(40px, 5vw, 72px) var(--gap); }
html.theme-profile .leader-card {
  --a: var(--ink) !important;      /* the CMS sets an accent per person; here they are all ink */
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
html.theme-profile .leader-card:hover { transform: none; }
html.theme-profile .leader-card::before,
html.theme-profile .leader-card::after,
html.theme-profile .leader-portrait::after,
html.theme-profile .leader-tag::before,
html.theme-profile .leader-tag::after { content: none; }
html.theme-profile .leader-portrait { border-radius: 0; background: var(--sand); }
html.theme-profile .leader-portrait img { border-radius: 0; filter: grayscale(1); }
html.theme-profile .leader-monogram { font-weight: 500; letter-spacing: -0.05em; }
html.theme-profile .leader-body { gap: 6px; padding: 12px 0 0; border-top: 1px solid var(--ink); margin-top: 12px; }
html.theme-profile .leader-tag,
html.theme-profile .leader-owns span,
html.theme-profile .leader-owns b { font-family: inherit; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink); }
html.theme-profile .leader-name { margin-top: clamp(12px, 1.6vw, 24px); font-size: clamp(1.5rem, 2.4vw, 2.4rem); font-weight: 500; line-height: 1; letter-spacing: -0.045em; }
html.theme-profile .leader-line { font-size: 0.98rem; line-height: 1.35; color: var(--ink); }
html.theme-profile .leader-owns { margin-top: 14px; gap: 4px 10px; padding-top: 10px; border-top: 1px solid var(--line); }
html.theme-profile .leader-owns span { border: 0; padding: 0; }
html.theme-profile .leader-owns b { color: var(--ink-40); }

/* ==========================================================================
   LINDI — our product, in its own brand
   Wherever Lindi gets a section of its own it wears Lindi's identity, not
   ours: its blue field, its logo, its round white buttons. The logo is the
   #lindi-logo symbol in each page's SVG defs; on the blue field the two
   L-shapes go white (--lindi-l), the green dot and red corner stay.
   ========================================================================== */
.lindi {
  --lindi-blue: #2153D4;
  --lindi-l: #FFFFFF;
  margin-top: clamp(96px, 13vw, 220px);
  padding: 0 var(--gutter) clamp(56px, 8vw, 128px);
  background: var(--lindi-blue);
  color: #fff;
}
.lindi-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
/* the big logo is itself the way out to lindi.design */
.lindi-logo-link { display: block; width: max-content; max-width: 100%; color: #fff; }
.lindi-logo { display: block; width: min(62vw, 980px); aspect-ratio: 169 / 46; height: auto; margin: clamp(40px, 6vw, 104px) 0 clamp(56px, 8vw, 136px); color: #fff; }
.lindi-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: var(--gap); }
.lindi-label { font-size: 0.78rem; font-weight: 500; line-height: 1.3; letter-spacing: 0.02em; text-transform: uppercase; }
.lindi-say { max-width: 26ch; font-size: clamp(1.75rem, 4.15vw, 4.5rem); font-weight: 500; line-height: 1.02; letter-spacing: -0.038em; text-wrap: balance; }
.lindi-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(28px, 3.6vw, 56px); }
.lindi-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.95em 1.5em;
  border: 1px solid #fff;
  border-radius: 999px;
  background: #fff;
  color: #14224A;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  transition: background-color 0.25s, color 0.25s;
}
.lindi-btn::after { content: "\2197"; }
.lindi-btn:hover { background: transparent; color: #fff; }
.lindi-btn--ghost { border-color: rgba(255, 255, 255, 0.5); background: transparent; color: #fff; }
.lindi-btn--ghost:hover { background: #fff; color: #14224A; }

/* a small Lindi mention inside our own sections: the mark, the name, a link out */
.lindi-inline { --lindi-l: #3562E3; display: inline-flex; align-items: center; gap: 0.6em; margin-top: clamp(16px, 2vw, 24px); color: inherit; }
.lindi-inline svg { display: block; width: 76px; aspect-ratio: 169 / 46; height: auto; }
.lindi-inline span { padding-bottom: 1px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.02em; text-transform: uppercase; }
.lindi-inline span::after { content: "\00a0\2197"; }
.pf-dark .lindi-inline { --lindi-l: #FFFFFF; }

/* ==========================================================================
   uTestMe — our other product, in its own brand
   Same idea as Lindi: where uTestMe gets a section it wears uTestMe's
   identity (utest.me): the lime field, the two half-circles, the wordmark
   with a bold "Test" set in Geist, and dark, barely rounded buttons.
   ========================================================================== */
.utest {
  --utest-lime: #E0ECA7;
  --utest-ink: #17191C;
  padding: 0 var(--gutter) clamp(56px, 8vw, 128px);
  background: var(--utest-lime);
  color: var(--utest-ink);
}
.utest-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(23, 25, 28, 0.45);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
/* the wordmark: "u" and "Me" regular, "Test" bold, as on utest.me */
.utest-word { font-family: "Geist", var(--font-sans); font-weight: 700; letter-spacing: -0.025em; line-height: 1; white-space: nowrap; }
.utest-word i { font-style: normal; font-weight: 400; }
.utest-logo {
  display: flex;
  align-items: center;
  gap: 0.12em;
  width: max-content;
  max-width: 100%;
  color: inherit;
  margin: clamp(40px, 6vw, 104px) 0 clamp(56px, 8vw, 136px) -0.06em;
  font-size: clamp(4rem, 15.5vw, 17rem);
}
.utest-logo svg { flex: none; width: 1.02em; height: 1.02em; }
.utest-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: var(--gap); }
.utest-label { font-size: 0.78rem; font-weight: 500; line-height: 1.3; letter-spacing: 0.02em; text-transform: uppercase; }
.utest-say { max-width: 26ch; font-size: clamp(1.75rem, 4.15vw, 4.5rem); font-weight: 500; line-height: 1.02; letter-spacing: -0.038em; text-wrap: balance; }
.utest-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(28px, 3.6vw, 56px); }
.utest-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.95em 1.4em;
  border: 1px solid #17191C;
  border-radius: 4px;
  background: #17191C;
  color: #F7F7F8;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  transition: background-color 0.25s, color 0.25s;
}
.utest-btn::after { content: "\2197"; }
.utest-btn:hover { background: transparent; color: #17191C; }
.utest-btn--ghost { background: transparent; color: #17191C; }
.utest-btn--ghost:hover { background: #17191C; color: #F7F7F8; }

/* a small uTestMe mention inside our own sections */
.utest-inline { display: inline-flex; align-items: center; gap: 0.4em; margin-top: clamp(12px, 1.4vw, 18px); color: inherit; }
.utest-inline svg { display: block; width: 22px; height: 22px; }
.utest-inline .utest-word { font-size: 1.15rem; }
.utest-go { margin-left: 0.5em; padding-bottom: 1px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.02em; text-transform: uppercase; }
.utest-go::after { content: "\00a0\2197"; }
.pf-card .lindi-inline,
.pf-card .utest-inline { display: flex; }
.pf-dark .utest-inline { --utest-top: #F3EFE8; --utest-bottom: #A9C247; }

/* ==========================================================================
   MEDUZA — our own device, in its own look
   Meduza has no domain, so its links stay on our site: the 3D viewer and the
   contact form. Its look comes from the device itself: an ink field, the red
   device, the wordmark as printed on the shell (heavy, wide-tracked caps),
   and square red buttons.
   ========================================================================== */
.meduza {
  padding: 0 var(--gutter) clamp(56px, 8vw, 128px);
  background: var(--ink);
  color: var(--canvas);
}
.meduza-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(243, 239, 232, 0.35);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.meduza-word { font-family: var(--font-sans); font-weight: 800; letter-spacing: 0.14em; line-height: 1; text-transform: uppercase; white-space: nowrap; }
.meduza-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  align-items: center;
  gap: var(--gap);
  margin: clamp(32px, 5vw, 88px) 0 clamp(40px, 6vw, 96px);
}
.meduza-logo { margin-right: -0.14em; font-size: clamp(3.2rem, 9.6vw, 10.5rem); }
.meduza-shot { display: block; width: 100%; height: auto; }
.meduza-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: var(--gap); }
.meduza-label { font-size: 0.78rem; font-weight: 500; line-height: 1.3; letter-spacing: 0.02em; text-transform: uppercase; }
.meduza-say { max-width: 26ch; font-size: clamp(1.75rem, 4.15vw, 4.5rem); font-weight: 500; line-height: 1.02; letter-spacing: -0.038em; text-wrap: balance; }
.meduza-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(28px, 3.6vw, 56px); }
.meduza-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.95em 1.4em;
  border: 1px solid var(--red);
  border-radius: 0;
  background: var(--red);
  color: var(--canvas);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.meduza-btn::after { content: "\2192"; }
.meduza-btn:hover { border-color: var(--canvas); background: transparent; color: var(--canvas); }
.meduza-btn--ghost { border-color: rgba(243, 239, 232, 0.5); background: transparent; color: var(--canvas); }
.meduza-btn--ghost:hover { border-color: var(--canvas); background: var(--canvas); color: var(--ink); }
/* three more views, each on a paper plate */
.meduza-views {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
  margin: clamp(56px, 8vw, 128px) 0 0;
  padding: 0;
  list-style: none;
}
.meduza-views figure { margin: 0; }
.meduza-views img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; padding: clamp(10px, 1.4vw, 24px); background: var(--canvas); }
.meduza-views figcaption { padding-top: 10px; font-size: 0.78rem; font-weight: 500; line-height: 1.3; letter-spacing: 0.02em; text-transform: uppercase; }

/* a small Meduza mention inside our own sections: the wordmark and a link */
.meduza-inline { display: inline-flex; align-items: baseline; gap: 0.7em; margin-top: clamp(12px, 1.4vw, 18px); color: inherit; }
.meduza-inline .meduza-word { font-size: 1.05rem; }
.meduza-go { padding-bottom: 1px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.02em; text-transform: uppercase; }
.meduza-go::after { content: "\00a0\2192"; }
.pf-card .meduza-inline { display: flex; }

/* ---------- small screens ---------- */
@media (max-width: 1040px) {
  .pf-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf-tiles .pf-tile:nth-child(odd) { padding-left: 0; border-left: 0; }
  .pf-tiles .pf-tile:nth-child(n + 3) { border-top: 1px solid currentColor; }
  .pf-tiles .pf-tile { padding-bottom: 28px; }
  .pf-tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pf-tiles--3 .pf-tile:nth-child(odd) { padding-left: clamp(10px, 1.2vw, 20px); border-left: 1px solid currentColor; }
  .pf-tiles--3 .pf-tile:first-child { padding-left: 0; border-left: 0; }
  .pf-tiles--3 .pf-tile:nth-child(n + 3) { border-top: 0; }
  html.theme-profile .leaders-grid,
  html.theme-profile .notes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .pf-head,
  .lindi-grid,
  .utest-grid,
  .meduza-grid,
  .meduza-hero { grid-template-columns: minmax(0, 1fr); gap: clamp(16px, 2vw, 28px) 0; }
  .pf-head > .pf-eyebrow,
  .pf-head > :not(.pf-eyebrow) { grid-column: 1; grid-row: auto; }
  .pf-head .pf-h2 { max-width: none; }
  .pf-dark-grid { grid-template-columns: minmax(0, 1fr); }
  .pf-own { grid-template-columns: minmax(0, 1fr); }
  .pf-contact { grid-template-columns: minmax(0, 1fr); }
  .pf-prose,
  .pf-faq { margin-left: 0; }
  .lindi-logo { width: min(78vw, 620px); }
}
@media (max-width: 620px) {
  .pf-grid--2,
  .pf-grid--3,
  .pf-grid--4 { grid-template-columns: minmax(0, 1fr); }
  .pf-tiles--3 { grid-template-columns: minmax(0, 1fr); }
  .pf-tiles--3 .pf-tile,
  .pf-tiles--3 .pf-tile:nth-child(odd) { padding-left: 0; border-left: 0; border-top: 1px solid currentColor; }
  .pf-tiles--3 .pf-tile:first-child { border-top: 0; }
  .meduza-views { grid-template-columns: minmax(0, 1fr); }
  .pf-numbered li { grid-template-columns: 3ch minmax(0, 1fr); }
  .pf-numbered li span { grid-column: 2; }
  html.theme-profile .teasers,
  html.theme-profile .quotes-grid,
  html.theme-profile .leaders-grid,
  html.theme-profile .notes-grid { grid-template-columns: minmax(0, 1fr); }
  html.theme-profile .sw-row { grid-template-columns: minmax(0, 1fr); }
  html.theme-profile .sw-meta,
  html.theme-profile .sw-client,
  html.theme-profile .sw-logo,
  html.theme-profile .sw-desc,
  html.theme-profile .sw-case { grid-column: 1; grid-row: auto; }
  html.theme-profile .client-logo + .client-logo { padding-left: 0; border-left: 0; }
}
