/* Case study pages (work/*.html). Tokens and base styles mirror index.html; keep the two in step.
   Positioning and wording live in the Sónia Gomes OS, not here. */
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/instrument-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/instrument-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink-black: #1a1a1a; --ink-charcoal: #2d2a26; --line-on-dark: #3e3a39;
  --cream: #f5f1e9; --cream-warm: #faf6f0; --butter: #fbf4bd;
  --gray-warm-1: #c4b6aa; --gray-warm-2: #6e6863;
  --font: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --fs-hero: clamp(46px, 7vw, 112px); --fs-display-l: clamp(34px, 4.4vw, 64px); --fs-display-m: clamp(24px, 2.3vw, 32px);
  --fs-lead: clamp(19px, 1.45vw, 22px); --fs-body: 17px; --fs-small: 15px; --fs-label: 13px;
  --tracking-display: -0.025em; --tracking-tight: -0.012em; --tracking-label: 0.12em;
  --gutter: clamp(20px, 5.5vw, 88px); --max: 1240px; --col-gap: clamp(16px, 2.2vw, 36px);
  --space-section: clamp(72px, 9vw, 136px); --space-block: clamp(36px, 4.5vw, 64px);
  --header-h: 76px; --radius-md: 16px; --radius-pill: 999px;
}
.light { background: var(--cream); color: var(--ink-black); --muted: var(--gray-warm-2); --line: #d6ccc0; --edge: var(--ink-black); --rule: var(--ink-black); --focus: var(--ink-black); --btn-bg: var(--ink-black); --btn-fg: var(--cream); }
.warm { background: var(--cream-warm); color: var(--ink-black); --muted: var(--gray-warm-2); --line: #dbd1c5; --edge: var(--ink-black); --rule: var(--ink-black); --focus: var(--ink-black); --btn-bg: var(--ink-black); --btn-fg: var(--cream); }
.dark { background: var(--ink-black); color: var(--cream); --muted: var(--gray-warm-1); --line: var(--gray-warm-2); --edge: var(--gray-warm-2); --rule: var(--butter); --focus: var(--butter); --btn-bg: var(--butter); --btn-fg: var(--ink-black); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--ink-black); color: var(--cream); font: 400 var(--fs-body)/1.6 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
h1, h2, h3, h4 { font-weight: 400; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--focus, var(--butter)); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }
.section { position: relative; padding: var(--space-section) 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 12px 20px; background: var(--butter); color: var(--ink-black); font-weight: 500; border-radius: var(--radius-pill); text-decoration: none; }
.skip-link:focus { top: 12px; }
.eyebrow { font: 500 var(--fs-label)/1.35 var(--font); letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--muted); }
.display-l { font-size: var(--fs-display-l); line-height: 1.06; letter-spacing: var(--tracking-display); text-wrap: balance; }
.display-m { font-size: var(--fs-display-m); line-height: 1.18; letter-spacing: var(--tracking-tight); }
.lead { font-size: var(--fs-lead); line-height: 1.55; }
.muted { color: var(--muted); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 26px; border-radius: var(--radius-pill); font: 500 15px/1.2 var(--font); white-space: nowrap; text-decoration: none; border: 1px solid transparent; transition: opacity .15s ease; }
.btn:hover { opacity: .82; }
.btn-sm { min-height: 40px; padding: 8px 20px; font-size: 14px; }
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); }
.arr { width: 16px; height: 16px; flex: none; }
.arr path { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.arrow-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 500; font-size: 15px; text-decoration: none; }
.arrow-link span { padding-bottom: 5px; border-bottom: 1px solid var(--rule); }
.arrow-link .arr { transition: transform .15s ease; }
.arrow-link:hover .arr { transform: translateX(3px); }
.arrow-link.back .arr { transform: rotate(180deg); }
.arrow-link.back:hover .arr { transform: rotate(180deg) translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
@media (prefers-reduced-motion: reduce) { .btn, .arrow-link .arr { transition: none; } }

/* Header and footer: same as the homepage */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line-on-dark); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.logo { display: block; flex: none; border-radius: 4px; }
.logo img { width: 172px; height: auto; }
.nav { display: flex; align-items: center; gap: 36px; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font: 400 14px/1.4 var(--font); text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav-links a:hover, .nav-links a[aria-current] { border-bottom-color: var(--butter); }
.menu-toggle { display: none; }
@media (max-width: 900px) {
  .nav { gap: 12px; }
  .menu-toggle { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border: 1px solid var(--line-on-dark); border-radius: var(--radius-pill); background: transparent; color: var(--cream); font: 500 14px/1 var(--font); cursor: pointer; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: var(--header-h); flex-direction: column; gap: 0; padding: 8px var(--gutter) 24px; background: var(--ink-black); border-bottom: 1px solid var(--line-on-dark); }
  .nav-links a { display: block; padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line-on-dark); }
  .nav-links li:last-child a { border-bottom: 0; }
  .site-header.is-open .nav-links { display: flex; }
  .no-js .menu-toggle { display: none; }
  .no-js .site-header .wrap { height: auto; min-height: var(--header-h); flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
  .no-js .nav-links { display: flex; position: static; flex-direction: row; flex-wrap: wrap; gap: 4px 20px; padding: 0; border: 0; }
  .no-js .nav-links a { padding: 4px 0; font-size: 14px; border: 0; }
}
.nav-links .nav-book { display: none; }
@media (max-width: 460px) { .logo img { width: 132px; } .nav .btn-sm { display: none; } .nav-links .nav-book { display: block; } } /* the header button hides on small phones, so the menu carries it */
.site-footer { border-top: 1px solid var(--line-on-dark); padding: 28px 0 36px; font-size: var(--fs-small); color: var(--gray-warm-1); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; }
.site-footer ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer a { text-decoration: none; }
@media (max-width: 760px) { .site-footer ul { gap: 0 24px; } .site-footer a { display: inline-block; padding: 12px 0; } } /* 44px-tall tap area on phones (1 Dec 2026) */
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--butter); text-underline-offset: 5px; }

/* ---------------- Case study layout ---------------- */
.case-hero { padding: clamp(40px, 5vw, 72px) 0 clamp(48px, 6vw, 88px); }
.case-hero .back { margin-bottom: clamp(28px, 4vw, 56px); }
.case-hero .eyebrow { margin-bottom: 18px; }
.case-hero h1 { font-size: var(--fs-hero); line-height: .98; letter-spacing: -0.035em; }
.case-hero .lead { margin-top: clamp(20px, 2.4vw, 32px); max-width: 26em; font-size: clamp(22px, 2.3vw, 32px); line-height: 1.25; letter-spacing: var(--tracking-tight); text-wrap: balance; }
.meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 28px; margin-top: var(--space-block); }
.meta > div { padding-top: 16px; border-top: 1px solid var(--edge); }
.meta dt { font: 500 var(--fs-label)/1.35 var(--font); letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.meta dd { font-size: var(--fs-small); line-height: 1.5; }

.figures { padding: clamp(48px, 6vw, 88px) 0; }
.figures ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 36px; }
.figures li { padding-top: 20px; border-top: 1px solid var(--line); }
.figures b { display: block; font-weight: 400; font-size: clamp(34px, 4.2vw, 60px); line-height: 1.02; letter-spacing: var(--tracking-display); color: var(--butter); font-variant-numeric: tabular-nums; }
.figures span { display: block; margin-top: 12px; color: var(--muted); font-size: var(--fs-small); line-height: 1.45; max-width: 16em; }

.block .wrap { row-gap: 28px; }
.block .label { grid-column: 1 / 5; }
.block .label .eyebrow { margin-bottom: 16px; }
.block .label h2 { font-size: var(--fs-display-m); line-height: 1.15; letter-spacing: var(--tracking-tight); text-wrap: balance; max-width: 14em; }
.block .body { grid-column: 6 / -1; max-width: 40em; font-size: 18px; line-height: 1.65; }
.block .body > * + * { margin-top: 1.1em; }
.block + .block { padding-top: 0; }
.block.ruled .wrap::before { content: ""; grid-column: 1 / -1; height: 1px; background: var(--line); margin-bottom: clamp(28px, 4vw, 56px); }
blockquote.pull { font-size: var(--fs-display-m); line-height: 1.2; letter-spacing: var(--tracking-tight); padding: .5em 0 .2em; }
blockquote.pull + .cite { margin-top: 10px; font-size: var(--fs-small); color: var(--muted); }

.steps { margin-top: 8px; border-top: 1px solid var(--edge); }
.steps li { display: grid; grid-template-columns: 56px 1fr; padding: 24px 0; border-bottom: 1px solid var(--line); }
.steps .n { font-size: var(--fs-small); font-variant-numeric: tabular-nums; color: var(--muted); padding-top: 5px; }
.steps h3 { font-size: clamp(20px, 1.8vw, 24px); line-height: 1.2; letter-spacing: var(--tracking-tight); }
.steps p { grid-column: 2; margin-top: 8px; color: var(--muted); font-size: var(--fs-body); line-height: 1.6; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--col-gap); margin-top: 8px; }
.pair > div { padding: 22px 24px 24px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--cream-warm); }
.warm .pair > div { background: var(--cream); }
.pair .eyebrow { margin-bottom: 10px; }
.pair h3 { font-size: 22px; line-height: 1.2; letter-spacing: var(--tracking-tight); margin-bottom: 8px; }
.pair p { color: var(--muted); font-size: var(--fs-body); line-height: 1.55; }

/* Images: full width of the page column; "half" sits two to a row */
.shot { grid-column: 1 / -1; margin-top: clamp(8px, 1.6vw, 24px); }
.shot.half { grid-column: span 6; }
.shot img { width: 100%; height: auto; border-radius: var(--radius-md); border: 1px solid var(--line); background: var(--cream-warm); }
.shot figcaption { margin-top: 12px; font-size: var(--fs-small); line-height: 1.5; color: var(--muted); max-width: 46em; }
@media (max-width: 900px) { .shot.half { grid-column: 1 / -1; } }
/* A very wide image stays readable on phones: it keeps a useful height and scrolls sideways inside its own frame */
@media (max-width: 760px) {
  .shot.wide { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-md); }
  .shot.wide img { width: auto; max-width: none; height: 230px; }
  .shot.wide figcaption { position: sticky; left: 0; }
}

/* Work index (work/index.html) */
.work-hero h1 { font-size: var(--fs-hero); line-height: .98; letter-spacing: -0.035em; max-width: 12em; text-wrap: balance; } /* hero size on every page (Sónia, 25 Nov 2026) */
.work-hero .lead { color: var(--muted); font-size: var(--fs-lead); line-height: 1.5; letter-spacing: 0; max-width: 32em; }
.work-index { padding: clamp(40px, 5vw, 72px) 0 var(--space-section); }
.work-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 24px; align-items: center; padding: clamp(32px, 4.5vw, 64px) 0; border-top: 1px solid var(--line); }
.work-row:first-child { border-top-color: var(--edge); }
.work-row .thumb { grid-column: 1 / 8; display: block; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--line); background: var(--cream); }
.work-row .thumb img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 50%; }
.work-row .text { grid-column: 8 / -1; padding-left: clamp(0px, 1.5vw, 24px); }
.work-row:nth-child(even) .thumb { grid-column: 6 / -1; order: 2; }
.work-row:nth-child(even) .text { grid-column: 1 / 6; padding-left: 0; padding-right: clamp(0px, 1.5vw, 24px); }
.work-row .eyebrow { margin-bottom: 14px; }
.work-row .eyebrow .n { margin-right: 10px; font-variant-numeric: tabular-nums; }
.work-row h2 { font-size: var(--fs-display-l); line-height: 1.04; letter-spacing: var(--tracking-display); }
.work-row h2 a { text-decoration: none; }
.work-row h2 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.work-row .what { margin-top: 16px; font-size: 18px; line-height: 1.55; max-width: 30em; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--col-gap); margin: 26px 0 18px; }
.facts > div { padding-top: 18px; border-top: 1px solid var(--line); }
.facts dt { font-size: clamp(30px, 3.2vw, 46px); line-height: 1.1; letter-spacing: var(--tracking-tight); font-variant-numeric: tabular-nums; }
.facts dd { margin-top: 6px; color: var(--muted); font-size: var(--fs-small); line-height: 1.45; }
/* Earlier work: a compact track record under the case studies (Sónia, 26 Nov 2026) */
.earlier { padding: var(--space-section) 0; }
.earlier-head { max-width: 40em; margin-bottom: clamp(32px, 4vw, 56px); }
.earlier-head h2 { margin-top: 14px; font-size: var(--fs-display-l); line-height: 1.04; letter-spacing: var(--tracking-display); }
.earlier-head .lead { margin-top: 16px; color: var(--muted); }
.earlier-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: clamp(40px, 4.5vw, 64px); border-top: 1px solid var(--edge); padding-top: clamp(28px, 3vw, 40px); }
.earlier-card img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-md); border: 1px solid var(--line); background: var(--cream-warm); margin-bottom: 18px; }
.earlier-card h3 { margin-top: 10px; font-size: var(--fs-display-m); line-height: 1.15; letter-spacing: var(--tracking-tight); }
.earlier-card .kind { margin-top: 4px; color: var(--muted); font-size: var(--fs-small); }
.earlier-card .what { margin-top: 12px; font-size: var(--fs-small); line-height: 1.6; }
@media (max-width: 1000px) { .earlier-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .earlier-grid { grid-template-columns: 1fr; } }
.next p.big { font-size: var(--fs-display-m); line-height: 1.15; letter-spacing: var(--tracking-tight); max-width: 16em; text-wrap: balance; }
@media (max-width: 900px) {
  .work-row .thumb, .work-row:nth-child(even) .thumb, .work-row .text, .work-row:nth-child(even) .text { grid-column: 1 / -1; order: 0; padding: 0; }
}
@media (prefers-reduced-motion: reduce) { .work-row .thumb img { transition: none; } }

/* About page (about.html) */
.about-hero h1 { font-size: var(--fs-hero); line-height: .98; letter-spacing: -0.035em; max-width: 12em; text-wrap: balance; } /* hero size on every page (Sónia, 25 Nov 2026) */
.about-hero .lead { max-width: 30em; }
.block .body.wide { max-width: none; }
.block .body.full { grid-column: 1 / -1; }
@media (min-width: 901px) { .block .label:has(+ .body.full) { grid-column: 1 / 9; } .block .label:has(+ .body.full) h2 { max-width: none; } }
.block .body.wide > * + * { margin-top: 0; }
.group { font: 500 var(--fs-label)/1.35 var(--font); letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--muted); padding-bottom: 14px; }
.exp + .group { margin-top: clamp(36px, 4vw, 56px) !important; }
.exp { border-top: 1px solid var(--edge); }
.exp li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--col-gap); row-gap: 6px; padding: 22px 0 24px; border-bottom: 1px solid var(--line); }
.exp h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.15; letter-spacing: var(--tracking-tight); }
.exp .title { font-size: var(--fs-body); line-height: 1.4; padding-top: 5px; }
.exp .what { grid-column: 2; color: var(--muted); font-size: var(--fs-body); line-height: 1.6; }
.exp .what .arrow-link { color: var(--ink-black); margin-top: 4px; }
.block .more { margin-top: 20px !important; }
.about-community .belief { font-size: var(--fs-display-m); line-height: 1.15; letter-spacing: var(--tracking-tight); color: var(--butter); margin-top: .6em; }
.block.dark + .block, .block + .block.dark, .block.warm + .block.light, .block.light + .block.warm { padding-top: var(--space-section); }
.pair.three { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 0; }
.pair.three > div { display: flex; flex-direction: column; }
.pair.three .arrow-link { margin-top: auto; padding-top: 14px; align-self: flex-start; max-width: 100%; }
.pair.three .arrow-link span { overflow-wrap: anywhere; }
@media (max-width: 1000px) { .pair.three { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .exp li { grid-template-columns: 1fr; } .exp .what { grid-column: 1; } }

/* Mentoring page (mentoring.html) */
.mentoring-hero h1 { font-size: var(--fs-hero); line-height: .98; letter-spacing: -0.035em; max-width: 12em; text-wrap: balance; } /* hero size on every page (Sónia, 25 Nov 2026) */
.mentoring-hero .lead { max-width: 30em; }
.case-hero .btn-row { margin-top: var(--space-block); }
.block .label .note { margin-top: 16px; color: var(--muted); font-size: var(--fs-body); line-height: 1.55; max-width: 20em; }
.offers-full { border-top: 1px solid var(--edge); }
.offer-full { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--col-gap); row-gap: 16px; padding: 28px 0 32px; border-bottom: 1px solid var(--line); }
.offer-full .n { display: block; font-size: var(--fs-small); font-variant-numeric: tabular-nums; color: var(--muted); margin-bottom: 8px; }
.offer-full h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.15; letter-spacing: var(--tracking-tight); text-wrap: balance; }
.offer-full .soon { display: inline-block; margin-top: 14px; padding: 5px 12px; border: 1px solid var(--edge); border-radius: var(--radius-pill); font: 500 12px/1.3 var(--font); letter-spacing: var(--tracking-label); text-transform: uppercase; }
.offer-full .what { font-size: 18px; line-height: 1.55; }
.offer-full dl { margin-top: 18px; }
.offer-full dl > div { padding: 14px 0; border-top: 1px solid var(--line); }
.offer-full dt { font: 500 var(--fs-label)/1.35 var(--font); letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.offer-full dd { font-size: var(--fs-body); line-height: 1.6; }
a.inline { text-decoration: underline; text-decoration-color: var(--rule); text-decoration-thickness: 1px; text-underline-offset: 4px; }
@media (max-width: 600px) { .offer-full { grid-template-columns: 1fr; } }

/* Speaking page (speaking.html) */
.speaking-hero h1 { font-size: var(--fs-hero); line-height: .98; letter-spacing: -0.035em; max-width: 12em; text-wrap: balance; } /* hero size on every page (Sónia, 25 Nov 2026) */
.speaking-hero .lead { max-width: 32em; }
.territory { padding: clamp(56px, 7vw, 104px) 0; }
.territory .eyebrow { margin-bottom: 20px; }
.territory .line { font-size: var(--fs-display-l); line-height: 1.06; letter-spacing: var(--tracking-display); color: var(--butter); max-width: 16em; text-wrap: balance; }
.territory .aside { margin-top: 24px; font-size: var(--fs-lead); line-height: 1.5; color: var(--muted); max-width: 30em; }
.offer-full .sub { margin-top: 10px; color: var(--muted); font-size: var(--fs-body); line-height: 1.45; max-width: 22em; }
.archive { border-top: 1px solid var(--edge); }
.archive li { display: grid; grid-template-columns: 72px minmax(0, 6fr) minmax(0, 5fr); column-gap: var(--col-gap); align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); }
.archive .when { font-size: var(--fs-small); font-variant-numeric: tabular-nums; color: var(--muted); }
.archive h3 { font-size: clamp(20px, 1.8vw, 24px); line-height: 1.2; letter-spacing: var(--tracking-tight); }
.archive .where { color: var(--muted); font-size: var(--fs-body); line-height: 1.45; }
.next.ruled-top { border-top: 1px solid var(--line-on-dark); }
@media (max-width: 700px) { .archive li { grid-template-columns: 56px minmax(0, 1fr); row-gap: 4px; } .archive .where { grid-column: 2; } }

/* Contact page (contact.html) */
.contact-hero .lead { max-width: 26em; }
.exp.ways .what p { max-width: 34em; }
.exp.ways .links { display: flex; flex-wrap: wrap; column-gap: 28px; margin-top: 6px; }
.exp.ways .links .arrow-link { margin-top: 0; }

/* Placeholders (mentoring.html): bracketed text Sónia still has to supply. Nothing with .ph or .ph-tag goes live. */
.ph-tag { display: inline-block; margin-top: 16px; padding: 5px 12px; border: 1px dashed var(--edge); border-radius: var(--radius-pill); font: 500 12px/1.3 var(--font); letter-spacing: var(--tracking-label); text-transform: uppercase; }
.ph h3, .ph p, .ph blockquote, .ph b, .ph figcaption span { color: var(--muted); }
.label .ph-tag + .note { display: block; }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--col-gap); }
.quote { display: flex; flex-direction: column; padding: 26px 26px 24px; border: 1px dashed var(--muted); border-radius: var(--radius-md); }
.quote blockquote { font-size: 19px; line-height: 1.5; letter-spacing: var(--tracking-tight); }
.quote figcaption { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 28px; font-size: var(--fs-small); line-height: 1.4; }
.quote figcaption b { display: block; font-weight: 500; }
.quote .avatar { flex: none; width: 48px; height: 48px; border-radius: 50%; border: 1px dashed var(--muted); }
@media (max-width: 1000px) { .quotes { grid-template-columns: 1fr; } }
/* Real testimonials (mentoring.html) */
.quotes.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.quote.real { border: 1px solid var(--line); padding: 32px 32px 28px; }
.quote.real blockquote { font-size: 20px; line-height: 1.5; }
.quote figcaption img { flex: none; width: 52px; height: 52px; border-radius: 50%; } /* round black-and-white portraits, as on the homepage */
.quote.real figcaption span { display: block; }
@media (max-width: 1000px) { .quotes.two { grid-template-columns: 1fr; } }

.next { padding: clamp(56px, 7vw, 104px) 0; }
.next .wrap { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 28px 48px; }
.next .eyebrow { margin-bottom: 14px; }
.next a.big { display: inline-block; font-size: var(--fs-display-l); line-height: 1.04; letter-spacing: var(--tracking-display); text-decoration: none; }
.next a.big:hover { text-decoration: underline; text-decoration-color: var(--butter); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.next .lead { max-width: 24em; color: var(--muted); margin-top: 14px; }

@media (max-width: 900px) {
  .meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .figures ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .block .label, .block .body { grid-column: 1 / -1; }
  .block .body { font-size: 17px; }
}
@media (max-width: 520px) {
  .pair { grid-template-columns: 1fr; }
  .steps li { grid-template-columns: 44px 1fr; }
}
@media print { .site-header, .next { display: none; } body, .dark { background: #fff; color: #000; } }


/* My process as a timeline (mentoring.html): horizontal on wide screens, vertical on phones */
.timeline { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--col-gap); position: relative; margin-top: 8px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 1px; background: var(--edge); }
.timeline li { position: relative; }
.timeline .n { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--edge); background: var(--cream); font-size: var(--fs-small); font-variant-numeric: tabular-nums; }
.timeline li:first-child .n { background: var(--ink-black); color: var(--cream); border-color: var(--ink-black); }
.timeline h3 { margin-top: 24px; font-size: clamp(20px, 1.8vw, 24px); line-height: 1.2; letter-spacing: var(--tracking-tight); }
.timeline p { margin-top: 10px; color: var(--muted); font-size: var(--fs-body); line-height: 1.6; }
.timeline .step-cta { margin-top: 14px; }
@media (max-width: 860px) {
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before { left: 22px; right: auto; top: 22px; bottom: 22px; width: 1px; height: auto; }
  .timeline li { display: grid; grid-template-columns: 44px 1fr; column-gap: 20px; padding-bottom: 32px; }
  .timeline li:last-child { padding-bottom: 0; }
  .timeline h3 { margin-top: 10px; grid-column: 2; grid-row: 1; }
  .timeline .n { grid-row: 1 / span 3; }
  .timeline p, .timeline .step-cta { grid-column: 2; }
}

/* Butter accents on the Mentoring page (for designers) */
.timeline .n { background: var(--butter); }
.timeline li:first-child .n { background: var(--ink-black); color: var(--butter); }
.quote.real { background: var(--cream); border: 1px solid var(--line); }
/* Portrait in "Your mentor" (mentoring.html). Photo: Aline Macedo, Sept 2026 shoot, final (unwatermarked) file supplied by Sónia. */

/* "Your mentor": large round photo beside the text (mentoring.html) */
.mentor-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.mentor-photo { margin: 0; }
.mentor-photo img { display: block; width: 100%; max-width: 460px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 40%; border-radius: var(--radius-md); }
.mentor-text h2 { margin-top: 12px; font-size: var(--fs-display-m, clamp(28px, 3vw, 40px)); line-height: 1.12; letter-spacing: var(--tracking-tight); max-width: 16em; text-wrap: balance; }
.mentor-facts { margin-top: 32px; border-top: 1px solid var(--edge); }
.mentor-facts > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.mentor-facts dt { font: 500 var(--fs-label)/1.4 var(--font); letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.mentor-facts dd { font-size: var(--fs-body); line-height: 1.55; }
.mentor-text .more { margin-top: 28px; }
@media (max-width: 900px) {
  .mentor-grid { grid-template-columns: 1fr; gap: 36px; }
  .mentor-photo img { max-width: none; }
  .mentor-facts > div { grid-template-columns: 1fr; gap: 4px; }
}

/* "Your mentor" full bleed: photo runs to the left edge and the full height of the section */
section.section.block.light.mentor { padding: 0; }
.mentor .mentor-grid { max-width: none; width: 100%; margin: 0; padding: 0; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; align-items: stretch; }
.mentor .mentor-photo img { max-width: none; width: 100%; height: 100%; min-height: 680px; aspect-ratio: auto; object-position: 50% 35%; border-radius: 0; }
.mentor .mentor-text { align-self: center; padding: clamp(72px, 9vw, 136px) clamp(24px, 6vw, 96px); max-width: 680px; }
@media (max-width: 900px) {
  .mentor .mentor-grid { grid-template-columns: 1fr; }
  .mentor .mentor-photo img { height: auto; min-height: 0; aspect-ratio: 4 / 5; }
  .mentor .mentor-text { padding: 48px var(--gutter, 24px) 80px; }
}

/* Individuals / Organisations toggle (mentoring.html). Without JS both sections show and the toggle is hidden. */
.audience-bar { padding-bottom: 0; }
.no-js .audience-bar { display: none; }

/* Work list: case study images run full bleed to the page edge on their side (30 Nov 2026) */
.work-index { overflow-x: clip; }
.work-row { --bleed: calc((min(100vw - 2 * var(--gutter), var(--max)) - 100vw) / 2); }
.work-row .thumb { border: 0; border-radius: 0; margin-left: var(--bleed); }
.work-row:nth-child(even) .thumb { margin-left: 0; margin-right: var(--bleed); }
@media (max-width: 900px) {
  .work-row .thumb, .work-row:nth-child(even) .thumb { margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); }
}

/* Work list images: as on the homepage (1 Dec 2026), with a mouse or trackpad they rest in grey and come
   into colour when the pointer is anywhere on the project, or on keyboard focus; touch screens show colour. No zoom. */
.work-row .thumb img { transition: filter .6s ease; }
@media (hover: hover) and (pointer: fine) {
  .work-row .thumb img { filter: grayscale(1); }
  .work-row:hover .thumb img, .work-row:focus-within .thumb img { filter: none; }
}

/* Earlier work as a quiet list (1 Dec 2026): no images, so the four case studies above stay the focus. Each project is
   one row between hairlines: company and role, name and format on the left; the description on the right. The images
   stay in the HTML (hidden) in case they come back. */
.earlier-grid { display: block; border-top: 1px solid var(--edge); padding-top: 0; }
.earlier-card { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 6px; padding: clamp(22px, 2.6vw, 32px) 0; border-bottom: 1px solid var(--line); }
.earlier-card img { display: none; }
.earlier-card .eyebrow, .earlier-card h3, .earlier-card .kind { grid-column: 1 / 6; }
.earlier-card .what { grid-column: 7 / -1; grid-row: 1 / span 3; margin-top: 0; font-size: var(--fs-small); line-height: 1.6; color: var(--muted); max-width: 40em; }
.earlier-card h3 { margin-top: 6px; font-size: clamp(22px, 2vw, 28px); line-height: 1.1; letter-spacing: var(--tracking-tight); }
.earlier-card .kind { margin-top: 2px; font-size: var(--fs-small); color: var(--muted); }
@media (max-width: 760px) {
  .earlier-card .eyebrow, .earlier-card h3, .earlier-card .kind, .earlier-card .what { grid-column: 1 / -1; grid-row: auto; }
  .earlier-card .what { margin-top: 10px; }
}

/* Toggle as text tabs in the eyebrow style, active one underlined; replaces the sections' own eyebrows (Sónia, 30 Nov 2026) */
.audience-switch { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.block .label .audience-switch { margin-top: 28px; flex-direction: column; align-items: flex-start; gap: 2px; } /* vertical tabs under the heading; each 44px tall to tap */
/* Vertical tabs: the active one is marked by a line on its left instead of underneath (1 Dec 2026) */
.block .label .audience-switch button { padding: 10px 0 10px 14px; min-height: 44px; border-bottom: 0; border-left: 2px solid transparent; }
.block .label .audience-switch button[aria-selected="true"] { border-left-color: currentColor; }
.block .label .audience-switch button[aria-selected="false"]:hover { border-left-color: var(--butter); }
.audience-switch button { appearance: none; border: 0; background: none; padding: 0 0 8px; cursor: pointer; font: 500 var(--fs-label)/1.35 var(--font); letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--muted); border-bottom: 2px solid transparent; transition: color .2s ease, border-color .2s ease; }
.audience-switch button[aria-selected="true"] { color: inherit; border-bottom-color: currentColor; }
.audience-switch button[aria-selected="false"]:hover { color: inherit; border-bottom-color: var(--butter); }
html:not(.no-js) #designers .label > .eyebrow, html:not(.no-js) #organisations .label > .eyebrow { display: none; }
/* With JavaScript the bar is hidden and the tabs sit in the panel, so the panels keep their normal top space (1 Dec 2026) */
.no-js .block.audience-bar + .block, .no-js .block.audience-bar ~ #organisations.block { padding-top: 20px; }

/* About hero with a full-bleed photo on the right (about.html, 30 Nov 2026) */
.case-hero.about-hero.has-photo { padding: 0; }
.about-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; min-height: min(86vh, 820px); }
.about-hero-text { align-self: center; padding: clamp(48px, 6vw, 96px) clamp(24px, 5vw, 80px) clamp(48px, 6vw, 96px) calc(var(--gutter) + max(0px, (100vw - var(--max) - 2 * var(--gutter)) / 2)); }
.about-hero-photo { margin: 0; }
.about-hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
/* Photo under a section heading (about.html Teaching) */
.label-photo { margin: 32px 0 0; max-width: 320px; }
.label-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-md); }
@media (max-width: 900px) {
  .about-hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .about-hero-text { padding: 40px var(--gutter) 48px; }
  .about-hero-photo img { height: auto; aspect-ratio: 4 / 5; }
  .label-photo { max-width: 240px; margin-bottom: 8px; }
}

/* Company logos in the About lists, from the homepage's white set, shown in ink on light sections (30 Nov 2026) */
.exp h3.logo-h { display: flex; align-items: center; min-height: 40px; }
.exp-logo { display: block; width: auto; max-width: 100%; filter: brightness(0); opacity: .9; }
.dark .exp-logo { filter: none; }
.exp-logo.is-raster { filter: grayscale(1); mix-blend-mode: multiply; opacity: 1; } /* FEUP logo is a PNG on white: multiply drops the white into the background */
.case-hero.contact-hero.has-photo { padding: 0; } /* Contact hero uses the same split layout as About (30 Nov 2026) */
.contact-hero .about-hero-photo img { object-position: 50% 40%; }

/* About Community: full-bleed photo on the left, text on the right (30 Nov 2026) */
section.section.block.dark.bleed { padding: 0; }
.bleed-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
.bleed-photo { margin: 0; }
.bleed-photo img { display: block; width: 100%; height: 100%; min-height: 640px; object-fit: cover; object-position: 50% 60%; }
.bleed-text { align-self: center; padding: clamp(72px, 9vw, 136px) calc(var(--gutter) + max(0px, (100vw - var(--max) - 2 * var(--gutter)) / 2)) clamp(72px, 9vw, 136px) clamp(24px, 6vw, 96px); max-width: 760px; }
.bleed-text h2 { margin-top: 16px; font-size: var(--fs-display-m); line-height: 1.15; letter-spacing: var(--tracking-tight); text-wrap: balance; max-width: 14em; }
.bleed-text .body { margin-top: 28px; font-size: 18px; line-height: 1.65; }
.bleed-text .body > * + * { margin-top: 1.1em; }
@media (max-width: 900px) {
  .bleed-grid { grid-template-columns: 1fr; }
  .bleed-photo img { height: auto; min-height: 0; aspect-ratio: 4 / 5; }
  .bleed-text { padding: 48px var(--gutter) 80px; }
}
.case-hero.speaking-hero.has-photo { padding: 0; } /* Speaking hero: same split as About and Contact, ProductTank Porto photo (30 Nov 2026) */
.speaking-hero .about-hero-photo img { object-position: 55% 35%; }

.about-community .bleed-photo img { filter: grayscale(1) contrast(1.05); } /* low-res source (553px): black and white hides the compression (Sónia, 30 Nov 2026) */
@media (min-width: 901px) {
  .about-community .bleed-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
  .about-community .bleed-photo img { min-height: 480px; max-height: 640px; }
}

/* Community logos (about.html): UXPA Portugal official SVG (uxpa-portugal.org); Porto AI Week app icon (portoaiweek.org) + name; Product Design Club as text (no logo file found) */
.community-logos { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; margin-top: 40px !important; padding-top: 28px; border-top: 1px solid var(--line); }
.community-logos li { display: flex; align-items: center; gap: 10px; }
.community-logos img { display: block; width: auto; }
.community-logos img[src$="porto-ai-week-icon.png"] { border-radius: 8px; }
.community-logos .name-mark { font: 600 15px/1.1 var(--font); letter-spacing: .02em; text-transform: uppercase; }
.community-logos img.tile { border-radius: 8px; } /* Product Design Club: neon sign cropped from Sónia's 2019 Instagram post */
.community-logos img { filter: grayscale(1); } /* community logos in black and white (Sónia, 30 Nov 2026) */
.community-logos img.tile { filter: grayscale(1) brightness(1.9) contrast(1.5); }
.venture-mark { display: flex; align-items: center; min-height: 44px; margin: 10px 0 6px; }
.venture-mark img { display: block; width: auto; max-width: 100%; filter: brightness(0); } /* About "Today" cards: venture logos in ink (30 Nov 2026) */

/* About "Today": whole card is the link, with a lift and shadow on hover (30 Nov 2026) */
.venture-cards > div { position: relative; transition: box-shadow .25s ease, transform .25s ease; }
.venture-cards > div .arrow-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.venture-cards > div:hover, .venture-cards > div:focus-within { box-shadow: 0 14px 36px rgba(26, 26, 26, .12); transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) { .venture-cards > div { transition: none; } .venture-cards > div:hover, .venture-cards > div:focus-within { transform: none; } }
.venture-cards .eyebrow { font: 500 var(--fs-label)/1.35 var(--font); letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--muted); } /* card labels at true eyebrow size */
/* Figures: a short vertical rule on the left of each number instead of a long line above (30 Nov 2026) */
.figures li { padding-top: 0; border-top: 0; border-left: 1px solid var(--line); padding-left: clamp(16px, 1.8vw, 28px); }
section.section.block.light.bleed { padding: 0; }
#formats .bleed-photo img { object-position: 45% 50%; } /* Speaking 'Formats and rooms': full-bleed event photo (30 Nov 2026) */
.offer-full .soon { margin-right: 6px; } /* several tags sit side by side and wrap as whole pills */
#formats .bleed-photo img { filter: grayscale(1) contrast(1.05); } /* Speaking Formats photo in black and white (Sónia, 30 Nov 2026) */

/* Speaking talks: details on demand (30 Nov 2026) */

/* Work list in the homepage layout (1 Dec 2026): Uphold as a wide open row, OutSystems and Prozis as two open cards,
   Net-a-Porter as a wide row with the image on the right. Same sizes, figures and hover as the homepage Work section. */
.work-index .feature { margin-top: 0; display: grid; grid-template-columns: 7fr 5fr; column-gap: clamp(32px, 5vw, 80px); row-gap: 28px; align-items: center; }
.work-index .feature.flip { grid-template-columns: 5fr 7fr; margin-top: clamp(48px, 6vw, 88px); }
.work-index .feature.flip .work-img { order: 2; }
.work-index .feature h2 { font-size: clamp(40px, 5vw, 72px); line-height: 1; letter-spacing: -0.03em; margin-top: 14px; }
.work-index .feature .what { margin-top: 24px; font-size: 18px; line-height: 1.6; max-width: 26em; }
.work-index .feature .arrow-link { margin-top: 28px; }
.work-index .stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: 32px; }
.work-index .stat { padding: 18px 0 0; border-top: 1px solid var(--line); }
.work-index .stat:nth-child(odd) { padding-right: 24px; }
.work-index .stat b { display: block; font-weight: 400; font-size: clamp(30px, 3.2vw, 46px); line-height: 1.05; letter-spacing: var(--tracking-display); font-variant-numeric: tabular-nums; }
.work-index .stat > span { display: block; margin-top: 8px; font-size: var(--fs-small); color: var(--muted); max-width: 16em; }
.work-index .work-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--col-gap); margin-top: clamp(48px, 6vw, 88px); }
.work-index .work-card { display: flex; flex-direction: column; }
.work-index .work-card h2 { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.05; letter-spacing: var(--tracking-display); margin-top: 14px; }
.work-index .work-card .what { margin-top: 18px; max-width: 30em; }
.work-index .work-card .stats { margin-top: auto; padding-top: 28px; }
.work-index .work-card .arrow-link { margin-top: 24px; align-self: flex-start; }
.work-index .work-img { margin: 0; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: rgba(26, 26, 26, .06); }
.work-index .work-img a { display: block; width: 100%; height: 100%; }
.work-index .work-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: filter .6s ease; }
.work-index .work-card .work-img { margin-bottom: 24px; }
@media (hover: hover) and (pointer: fine) {
  .work-index .work-img img { filter: grayscale(1); }
  .work-index .feature:hover .work-img img, .work-index .work-card:hover .work-img img,
  .work-index .feature:focus-within .work-img img, .work-index .work-card:focus-within .work-img img { filter: none; }
}
@media (max-width: 900px) { .work-index .feature, .work-index .feature.flip { grid-template-columns: 1fr; } .work-index .feature.flip .work-img { order: 0; } }
@media (max-width: 760px) { .work-index .work-pair { grid-template-columns: 1fr; } }
