/* Guiomar Niso: personal site
   Palette: five oscillation colours, one per frequency band. */
:root {
  --turquoise: #00C2CB;
  --mint: #7FE0D4;
  --yellow: #FFE38A;
  --salmon: #FF9A76;
  --pink: #FF5D8F;

  /* text-safe versions of the palette */
  --turquoise-ink: #006E75;
  --pink-ink: #B8285A;
  --salmon-ink: #A8441F;

  --paper: #FAFDFD;
  --surface: #FFFFFF;
  --ink: #12333A;
  --ink-soft: #4A666C;
  --line: #D9E8E9;

  --display: "Source Sans 3", "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
  --body: "Source Sans 3", "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3125rem;
  --step-2: 1.75rem;
  --step-3: 2.5rem;
  --step-4: clamp(2.75rem, 7vw, 5.25rem);

  --wrap: 72rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 300 var(--step-0)/1.65 var(--body);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--turquoise-ink); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--pink-ink); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.1; letter-spacing: -0.015em; margin: 0; }
h2 { font-size: var(--step-2); }
h3 { font-size: var(--step-1); }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; }

/* ---------- header ---------- */
.site-head { border-bottom: 1px solid var(--line); background: var(--surface); }
.site-head__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--ink); text-decoration: none; font: 400 1.35rem/1 var(--display); }
.brand:hover { color: var(--ink); }
.mark { width: 2.4rem; height: auto; fill: none; stroke-width: 1.8; stroke-linecap: round; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(.9rem, 2.4vw, 2rem); }
.site-nav a { color: var(--ink); text-decoration: none; font-size: var(--step-0); font-weight: 400; padding-block: .4rem; border-bottom: 2px solid transparent; }
.site-nav a:hover { color: var(--turquoise-ink); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--turquoise); }
.nav-toggle { display: none; }

@media (max-width: 760px) {
  .nav-toggle { display: inline-block; font: inherit; background: none; border: 1px solid var(--line); border-radius: 6px; padding: .4rem .8rem; color: var(--ink); }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 4.5rem; background: var(--surface); border-bottom: 1px solid var(--line); z-index: 5; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: .5rem var(--gutter) 1rem; }
  .site-nav a { display: block; padding: .6rem 0; }
  .site-head { position: relative; }
}

/* ---------- hero ---------- */
.hero { padding-block: clamp(2.5rem, 7vw, 5rem); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(14rem, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: end; }
.hero h1 { font-size: var(--step-4); font-weight: 300; letter-spacing: -0.02em; line-height: 1; }
.hero__role { font-size: var(--step-1); line-height: 1.45; color: var(--ink-soft); max-width: 34ch; margin-top: 1.4rem; }
.hero__role strong { color: var(--ink); font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.8rem; }
.btn { display: inline-block; padding: .7rem 1.2rem; border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid var(--ink); color: var(--ink); }
.btn:hover { background: var(--ink); color: #fff; }
.btn--fill { background: var(--ink); color: #fff; }
.btn--fill:hover { background: var(--turquoise-ink); border-color: var(--turquoise-ink); }
.hero__photo { position: relative; }
.hero__photo img { width: 100%; max-width: 26rem; aspect-ratio: 1; object-fit: contain; margin-left: auto; }

/* the signal band: five frequency bands drawn once on load */
.signal { margin-top: clamp(2rem, 5vw, 3.5rem); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.signal svg { display: block; width: 100%; height: clamp(150px, 20vw, 230px); }
.signal path { fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.signal { position: relative; margin-inline: 0; margin-bottom: 0; }
.signal__labels { position: absolute; inset: 0 auto 0 var(--gutter); list-style: none; margin: 0; padding: 0; pointer-events: none; }
.signal__labels li { position: absolute; transform: translateY(-50%); font-size: .75rem; color: var(--ink-soft); white-space: nowrap; }
.signal__labels b { font: 600 1rem var(--display); color: var(--ink); margin-right: .15rem; }
.signal.is-drawing path { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: draw 2.4s cubic-bezier(.3,.1,.2,1) forwards; }
.signal.is-drawing path:nth-of-type(2) { animation-delay: .12s; }
.signal.is-drawing path:nth-of-type(3) { animation-delay: .24s; }
.signal.is-drawing path:nth-of-type(4) { animation-delay: .36s; }
.signal.is-drawing path:nth-of-type(5) { animation-delay: .48s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- home sections ---------- */
.section { padding-block: clamp(3rem, 7vw, 5rem); }
.section + .section { border-top: 1px solid var(--line); }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.8rem; }
.section__more { font-weight: 600; white-space: nowrap; }

.about { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(16rem, 1fr); gap: clamp(2rem, 5vw, 4.5rem); }
.about__text { max-width: 66ch; }
.about__text p:first-child { font-size: var(--step-1); line-height: 1.5; }
.now { border-left: 4px solid var(--yellow); padding-left: 1.4rem; }
.now h2 { font-size: var(--step-1); margin-bottom: 1rem; }
.now ul { list-style: none; margin: 0; padding: 0; }
.now li { padding-block: .55rem; border-bottom: 1px solid var(--line); font-size: var(--step--1); line-height: 1.45; }
.now li:last-child { border-bottom: 0; }
.now .yr { display: block; font-weight: 600; color: var(--ink); font-size: var(--step--1); }

/* initiatives strip on home */
.logo-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); gap: 1rem; list-style: none; margin: 0; padding: 0; }
.logo-row a { display: grid; place-items: center; aspect-ratio: 1; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem; }
.logo-row a:hover { border-color: var(--turquoise); }
.logo-row img { max-height: 100%; object-fit: contain; }

/* ---------- publications ---------- */
.pubs { list-style: none; margin: 0; padding: 0; max-width: 62rem; }
.pub { padding-block: 1.1rem; border-bottom: 1px solid var(--line); }
.pub p { margin: 0; }
.pub__title { font: 600 1.125rem/1.35 var(--display); }

.pub__authors { color: var(--ink-soft); font-size: 1rem; margin-top: .25rem; }
.pub__authors strong { color: var(--ink); }
.pub__venue { font-size: 1rem; margin-top: .1rem; }
.pub__venue a { white-space: nowrap; }
.year-group { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 1.5rem; padding-block: 1.5rem; border-top: 1px solid var(--line); }
.year-group__year { font: 300 var(--step-3)/1 var(--display); color: var(--turquoise-ink); letter-spacing: -0.02em; position: sticky; top: 1rem; align-self: start; }
.year-group .pub:first-child { padding-top: 0; }
.year-group .pub:last-child { border-bottom: 0; }

/* ---------- inner pages ---------- */
.page-head { padding-block: clamp(2.5rem, 6vw, 4.5rem) 1.5rem; }
.page-head h1 { font-size: var(--step-4); font-weight: 300; letter-spacing: -0.02em; }
.lede { font-size: var(--step-1); color: var(--ink-soft); max-width: 46ch; margin-top: 1rem; }
.page-body { padding-bottom: clamp(3rem, 8vw, 6rem); }

/* vitae */
.cv-section { display: grid; grid-template-columns: 14rem minmax(0, 1fr); gap: 1.5rem; padding-block: 2rem; border-top: 1px solid var(--line); }
.cv-section h2 { font-size: var(--step-1); position: sticky; top: 1rem; align-self: start; }
.cv-list { list-style: none; margin: 0; padding: 0; }
.cv-list li { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 1rem; padding-block: .55rem; }
.cv-list .yr { font-weight: 600; color: var(--turquoise-ink); font-variant-numeric: tabular-nums; }
.cv-section:nth-of-type(5n+2) .yr { color: var(--salmon-ink); }
.cv-section:nth-of-type(5n+3) .yr { color: var(--pink-ink); }

.cv-block { display: grid; grid-template-columns: 14rem minmax(0, 1fr); gap: 1.5rem 3rem; padding-block: 2.25rem; border-top: 1px solid var(--line); }
.cv-block h2 { font-size: var(--step-2); font-weight: 300; position: sticky; top: 1rem; align-self: start; padding-left: .9rem; border-left: 4px solid var(--turquoise); }
.cv-block--2 h2 { border-left-color: var(--mint); }
.cv-block--3 h2 { border-left-color: var(--yellow); }
.cv-block--4 h2 { border-left-color: var(--salmon); }
.cv-block--5 h2 { border-left-color: var(--pink); }
.cv-entries { list-style: none; margin: 0; padding: 0; max-width: 46rem; }
.cv-entries li { padding-block: .8rem; }
.cv-entries li + li { border-top: 1px dashed var(--line); }
.cv-entries p { margin: 0; }
.cv-entry__text { font-size: var(--step-1); font-weight: 400; line-height: 1.4; }
.cv-entry__link { font-size: var(--step-0); font-weight: 600; white-space: nowrap; }
.cv-entry__date { font-size: var(--step--1); color: var(--ink-soft); margin-top: .2rem !important; }

/* initiatives */
.init-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 30rem), 1fr)); gap: 0 3rem; }
.init { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1.4rem; padding-block: 1.6rem; border-top: 1px solid var(--line); }
.init__logo { display: grid; place-items: center; aspect-ratio: 1; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: .8rem; }
.init__logo img { max-height: 100%; object-fit: contain; }
.init h2 { font-size: var(--step-1); margin-bottom: .4rem; }
.init h2 a { color: var(--ink); text-decoration: none; }
.init h2 a:hover { color: var(--turquoise-ink); text-decoration: underline; }
.init__role { margin-top: .5rem !important; font-weight: 600; color: var(--ink) !important; }
.init p { font-size: var(--step--1); color: var(--ink-soft); margin: 0; }

/* media */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filters button { font: 600 var(--step--1) var(--body); padding: .5rem 1rem; border-radius: 999px; border: 2px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.filters button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.media-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 26rem), 1fr)); gap: 1.25rem 2.5rem; }
.media-item { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1.1rem; padding-block: 1rem; border-top: 1px solid var(--line); }
.media-item[hidden] { display: none; }
.media-item__thumb { aspect-ratio: 13 / 15; border-radius: 10px; overflow: hidden; background: color-mix(in srgb, var(--turquoise) 18%, white); border-top: 4px solid var(--turquoise); }
.media-item--tv .media-item__thumb { background: color-mix(in srgb, var(--salmon) 20%, white); border-top-color: var(--salmon); }
.media-item--radio .media-item__thumb { background: color-mix(in srgb, var(--pink) 16%, white); border-top-color: var(--pink); }
.media-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.media-item p { margin: 0; }
.media-item__outlet { font: 600 var(--step-1)/1.2 var(--display); color: var(--ink); }
.media-item__title { margin-top: .3rem; line-height: 1.4; }
.media-item__title a { font-weight: 600; white-space: nowrap; }
.media-item__meta { font-size: var(--step--1); color: var(--ink-soft); margin-top: .35rem !important; }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 3rem; }
.contact dl { margin: 0; }
.contact dt { font-weight: 600; margin-top: 1.4rem; }
.contact dt:first-child { margin-top: 0; }
.contact dd { margin: .2rem 0 0; }
.contact iframe { width: 100%; aspect-ratio: 4 / 3; border: 1px solid var(--line); border-radius: 14px; }

/* ---------- footer ---------- */
.site-foot { background: var(--ink); color: #DCEDEE; padding-block: 3rem; font-size: var(--step--1); }
.site-foot__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; }
.site-foot__name { font: 400 var(--step-1) var(--display); color: #fff; margin-bottom: .5rem; }
.site-foot a { color: var(--mint); }
.site-foot a:hover { color: var(--yellow); }
.site-foot__links { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .hero__grid, .about, .contact { grid-template-columns: 1fr; }
  .hero__photo { max-width: 20rem; }
  .cv-section, .year-group, .cv-block { grid-template-columns: 1fr; gap: .8rem; }
  .cv-block h2 { position: static; }
  .cv-section h2, .year-group__year { position: static; }
  .cv-list li { grid-template-columns: 1fr; gap: .1rem; }
}
@media (max-width: 520px) {
  .init { grid-template-columns: 4.5rem minmax(0, 1fr); gap: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .signal.is-drawing path { animation: none; stroke-dashoffset: 0; }
}
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 600px) { .signal__labels li { font-size: 0; } .signal__labels b { font-size: .95rem; } }

/* ---------- vitae v2 ---------- */
.cv-jump { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; }
.cv-jump a { padding: .35rem .9rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 400; }
.cv-jump a:hover { border-color: var(--turquoise); }
.cv2 { --c: var(--turquoise); padding-block: 2.5rem; border-top: 1px solid var(--line); scroll-margin-top: 1rem; }
.cv2--c2 { --c: var(--salmon); }
.cv2--c3 { --c: var(--pink); }
.cv2--c4 { --c: var(--mint); }
.cv2--c0 { --c: var(--yellow); }
.cv2 h2 { font-size: var(--step-2); font-weight: 300; margin-bottom: 1.5rem; }
.cv2 h2::after { content: ""; display: block; width: 3rem; height: 4px; border-radius: 2px; background: var(--c); margin-top: .6rem; }
.cv2 ul { list-style: none; margin: 0; padding: 0; }
.cv2 p { margin: 0; }
.cv2__head { font-size: var(--step-1); font-weight: 600; line-height: 1.3; }
.cv2__rest { color: var(--ink-soft); margin-top: .2rem !important; line-height: 1.45; }
.cv2__rest a { font-weight: 600; white-space: nowrap; }
.cv2__date { font-size: var(--step--1); color: var(--ink-soft); margin-top: .4rem !important; }

/* current positions and accreditations: cards */
.cv2--cards ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr)); gap: 1rem; }
.cv2--cards li { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem 1.25rem; border-top: 5px solid var(--c); }
.cv2--cards .cv2__date { display: inline-block; margin-top: .7rem !important; padding: .1rem .6rem; border-radius: 999px; background: color-mix(in srgb, var(--c) 22%, white); color: var(--ink); font-weight: 600; }

/* past positions, education, visits: timeline */
.cv2--timeline ul { position: relative; padding-left: 1.6rem; max-width: 50rem; }
.cv2--timeline ul::before { content: ""; position: absolute; left: .35rem; top: .5rem; bottom: .5rem; width: 2px; background: color-mix(in srgb, var(--c) 45%, white); }
.cv2--timeline li { position: relative; padding-block: .75rem; }
.cv2--timeline li::before { content: ""; position: absolute; left: -1.6rem; top: 1.15rem; width: .85rem; height: .85rem; border-radius: 50%; background: var(--surface); border: 3px solid var(--c); transform: translateX(-.05rem); }

/* awards: grid with the year as the visual anchor */
.cv2--awards ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: 1.75rem 2rem; }
.cv2--awards li { border-top: 1px solid var(--line); padding-top: .9rem; }
.cv2__year { display: block; font-size: var(--step-2); font-weight: 300; color: var(--pink-ink); line-height: 1; margin-bottom: .5rem; }
.cv2--awards .cv2__head { font-size: var(--step-0); }
.cv2--awards .cv2__rest { font-size: var(--step--1); }

/* group banner on the home page */
.group-banner { background: #12333B; color: #DCEDEE; padding-block: clamp(2.5rem, 6vw, 3.5rem); }
.group-banner__inner { display: grid; grid-template-columns: 10rem minmax(0, 1fr); gap: 2.5rem; align-items: center; }
.group-banner__logo { width: 100%; height: auto; background: #fff; border-radius: 28px; padding: 1.1rem; }
.group-banner__name { font-family: "Plus Jakarta Sans", var(--display); font-weight: 800; font-size: var(--step-2); color: #fff; margin: 0 0 .6rem; line-height: 1; }
.group-banner__name span { color: var(--turquoise); }
.group-banner p { max-width: 60ch; }
.group-banner__links { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.2rem 0 0; }
.btn--light { background: #fff; border-color: #fff; color: #12333B; }
.btn--light:hover { background: var(--turquoise); border-color: var(--turquoise); color: #12333B; }
.btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost:hover { background: #fff; color: #12333B; }
@media (max-width: 640px) { .group-banner__inner { grid-template-columns: 1fr; } .group-banner__logo { width: 8rem; } }

/* Vitae: current positions with logo */
.cv2__pos { position: relative; padding-right: 5.2rem !important; }
.cv2__logo { position: absolute; top: 1rem; right: 1.1rem; width: 3.6rem; height: 3.6rem; object-fit: contain; }
.cv2__pos .cv2__head { font-size: var(--step-1); font-weight: 700; }
.cv2__role { display: inline; font-weight: 700; margin-top: .35rem !important; padding: .05rem .4rem; border-radius: 6px; line-height: 1.7;
  background: color-mix(in srgb, var(--c) 22%, white); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.cv2__pos .cv2__rest { font-size: var(--step--1); margin-top: .45rem !important; }
.cv2__when { font-size: var(--step--1); color: var(--ink-soft); margin-top: .35rem !important; }
.cv2__role { display: block; width: fit-content; line-height: 1.35; padding: .2rem .55rem; }
.cv2__role { background: none !important; padding: 0 !important; font-size: var(--step-0); font-weight: 600; margin-top: .25rem !important; }

/* compact footer */
.site-foot { padding-block: 1.6rem !important; }
.site-foot__inner { align-items: center; gap: 1rem 2rem !important; }
.site-foot__name { margin-bottom: .25rem !important; }
.site-foot p { margin: 0; }
.site-foot__inst img { height: 2.1rem !important; }
.site-foot__inst a { padding: .4rem .7rem !important; }
.site-foot__inner { flex-direction: column; align-items: flex-start; }
.site-foot__links--row { display: flex !important; flex-wrap: wrap; gap: .3rem 0 !important; }
.site-foot__links--row li + li::before { content: "·"; margin: 0 .55rem; color: #DCEDEE; }

/* Vitae positions v2 */
#positions ul { grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); gap: 1.1rem; }
#positions li.cv2__pos { display: flex; flex-direction: column; border: 1px solid var(--line); border-top: 1px solid var(--line);
  border-radius: 18px; padding: 1.3rem 5.6rem 1.1rem 1.3rem !important; background: var(--surface); min-height: 11.5rem;
  transition: border-color .2s, box-shadow .2s; }
#positions li.cv2__pos:hover { border-color: color-mix(in srgb, var(--turquoise) 60%, white); box-shadow: 0 6px 20px -12px rgba(18,51,58,.35); }
#positions .cv2__logo { position: absolute; top: 1.1rem; right: 1.1rem; width: 3.6rem; height: 3.6rem; display: grid; place-items: center;
  border-radius: 12px; background: #fff; border: 1px solid var(--line); padding: .35rem; }
#positions .cv2__logo img { position: static; width: 100%; height: 100%; object-fit: contain; }
#positions .cv2__head { font-size: 1.12rem; font-weight: 700; line-height: 1.25; }
#positions .cv2__role { font-size: .95rem; font-weight: 600; color: #006E75; margin-top: .35rem !important; }
#positions .cv2__rest { font-size: .88rem; line-height: 1.45; margin-top: .4rem !important; }
#positions .cv2__when { margin-top: auto !important; padding-top: .9rem; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
#positions li.cv2__pos--featured { grid-column: 1 / -1; min-height: 0; padding-right: 8rem !important;
  background: linear-gradient(135deg, color-mix(in srgb, var(--turquoise) 10%, white), color-mix(in srgb, var(--yellow) 18%, white)); border-color: transparent; }
#positions .cv2__pos--featured .cv2__head { font-size: 1.35rem; }
#positions .cv2__pos--featured .cv2__role { font-size: 1.05rem; }
#positions .cv2__pos--featured .cv2__logo { width: 6.2rem; height: 4.2rem; top: 50%; transform: translateY(-50%); }
#positions li.cv2__pos--featured .cv2__when { padding-top: .6rem; }

/* Vitae awards, same design as positions */
#awards ul { grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); gap: 1.1rem; }
#awards li.cv2__pos { display: flex; flex-direction: column; border: 1px solid var(--line); border-top: 1px solid var(--line);
  border-radius: 18px; padding: 1.3rem 5.6rem 1.1rem 1.3rem !important; background: var(--surface); min-height: 11.5rem;
  transition: border-color .2s, box-shadow .2s; }
#awards li.cv2__pos:hover { border-color: color-mix(in srgb, var(--turquoise) 60%, white); box-shadow: 0 6px 20px -12px rgba(18,51,58,.35); }
#awards .cv2__logo { position: absolute; top: 1.1rem; right: 1.1rem; width: 3.6rem; height: 3.6rem; display: grid; place-items: center;
  border-radius: 12px; background: #fff; border: 1px solid var(--line); padding: .35rem; }
#awards .cv2__logo img { position: static; width: 100%; height: 100%; object-fit: contain; }
#awards .cv2__head { font-size: 1.12rem; font-weight: 700; line-height: 1.25; }
#awards .cv2__role { font-size: .95rem; font-weight: 600; color: #006E75; margin-top: .35rem !important; }
#awards .cv2__rest { font-size: .88rem; line-height: 1.45; margin-top: .4rem !important; }
#awards .cv2__when { margin-top: auto !important; padding-top: .9rem; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
#awards li.cv2__pos--featured { grid-column: 1 / -1; min-height: 0; padding-right: 8rem !important;
  background: linear-gradient(135deg, color-mix(in srgb, var(--turquoise) 10%, white), color-mix(in srgb, var(--yellow) 18%, white)); border-color: transparent; }
#awards .cv2__pos--featured .cv2__head { font-size: 1.35rem; }
#awards .cv2__pos--featured .cv2__role { font-size: 1.05rem; }
#awards .cv2__pos--featured .cv2__logo { width: 6.2rem; height: 4.2rem; top: 50%; transform: translateY(-50%); }
#awards li.cv2__pos--featured .cv2__when { padding-top: .6rem; }

#awards .cv2__yeartile { font-size: 1.15rem; font-weight: 300; color: #B8285A; background: color-mix(in srgb, var(--pink) 10%, white); border-color: transparent; }
#awards li.cv2__pos--featured .cv2__yeartile { font-size: 1.8rem; }
#awards li.cv2__pos { min-height: 8.5rem; }

/* positions: logos without a box */
#positions .cv2__logo { background: none; border: 0; padding: 0; border-radius: 0; }
#positions li.cv2__pos--featured { padding-right: 15rem !important; }
#positions .cv2__logo--two { width: 13rem !important; height: 3.4rem !important; display: flex; gap: 1rem; align-items: center; justify-content: flex-end; }
#positions .cv2__logo--two img { width: auto !important; height: 100% !important; max-width: 48%; }
@media (max-width: 640px) { #positions li.cv2__pos--featured { padding-right: 1.3rem !important; padding-top: 5rem !important; } #positions .cv2__logo--two { top: 1.1rem !important; transform: none !important; left: 1.3rem; justify-content: flex-start; } }
#positions .cv2__logo img { mix-blend-mode: multiply; }
#positions .cv2__logo img[src$="ciber-bbn.svg"] { width: 5.2rem; height: auto; max-width: none; margin-right: 1.6rem; }
#awards li.cv2__pos { padding-right: 1.3rem !important; min-height: 0; }
#awards li.cv2__pos { padding-right: 5.6rem !important; }
